All functions:
  Elements:
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/hooks/unmount-namespace.c:37,1
    - Dst: syscall
      Src: /src/lxc/hooks/unmount-namespace.c:39,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 2
    argNames:
    - fd
    - nstype
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 44
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 44
    functionName: setns
    functionSourceFile: /src/lxc/hooks/unmount-namespace.c
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int setns(int fd, int nstype)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:54,1
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:55,1
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:56,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - mnt
    argTypes:
    - struct mount*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 57
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 57
    functionName: mount_free
    functionSourceFile: /src/lxc/hooks/unmount-namespace.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void mount_free(struct mount *mnt)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/hooks/unmount-namespace.c:62,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - a_
    - b_
    argTypes:
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 63
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 63
    functionName: mount_cmp_dst
    functionSourceFile: /src/lxc/hooks/unmount-namespace.c
    functionUses: 0
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: int mount_cmp_dst(const void *a_, const void *b_)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/hooks/unmount-namespace.c:70,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mnt
    argTypes:
    - struct mount*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 71
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 71
    functionName: mount_should_error
    functionSourceFile: /src/lxc/hooks/unmount-namespace.c
    functionUses: 0
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: int
    signature: int mount_should_error(const struct mount *mnt)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/hooks/unmount-namespace.c:84,1
    - Dst: openat
      Src: /src/lxc/hooks/unmount-namespace.c:94,1
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:96,1
    - Dst: fdopen
      Src: /src/lxc/hooks/unmount-namespace.c:100,1
    - Dst: close
      Src: /src/lxc/hooks/unmount-namespace.c:103,1
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:105,1
    - Dst: getmntent
      Src: /src/lxc/hooks/unmount-namespace.c:108,1
    - Dst: realloc::realloc
      Src: /src/lxc/hooks/unmount-namespace.c:112,1
    - Dst: mounts::mounts
      Src: /src/lxc/hooks/unmount-namespace.c:117,1
    - Dst: strdup
      Src: /src/lxc/hooks/unmount-namespace.c:118,1
    - Dst: strdup
      Src: /src/lxc/hooks/unmount-namespace.c:119,1
    - Dst: strdup
      Src: /src/lxc/hooks/unmount-namespace.c:120,1
    - Dst: src::src
      Src: /src/lxc/hooks/unmount-namespace.c:121,1
    - Dst: dst::dst
      Src: /src/lxc/hooks/unmount-namespace.c:121,1
    - Dst: fs::fs
      Src: /src/lxc/hooks/unmount-namespace.c:121,1
    - Dst: endmntent
      Src: /src/lxc/hooks/unmount-namespace.c:124,1
    - Dst: endmntent
      Src: /src/lxc/hooks/unmount-namespace.c:132,1
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:134,1
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:135,1
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:136,1
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:138,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 51
    argCount: 3
    argNames:
    - procfd
    - mp
    - countp
    argTypes:
    - int
    - struct mount**
    - size_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 141
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 141
    functionName: read_mounts
    functionSourceFile: /src/lxc/hooks/unmount-namespace.c
    functionUses: 0
    functionsReached:
    - malloc
    - src::src
    - fdopen
    - endmntent
    - mounts::mounts
    - openat
    - realloc::realloc
    - dst::dst
    - fs::fs
    - strdup
    - getmntent
    - close
    - free
    linkageType: ''
    returnType: int
    signature: int read_mounts(int procfd, struct mount **mp, size_t *countp)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/hooks/unmount-namespace.c:149,1
    - Dst: fprintf
      Src: /src/lxc/hooks/unmount-namespace.c:150,1
    - Dst: strcmp
      Src: /src/lxc/hooks/unmount-namespace.c:154,1
    - Dst: strncmp
      Src: /src/lxc/hooks/unmount-namespace.c:158,1
    - Dst: fprintf
      Src: /src/lxc/hooks/unmount-namespace.c:165,1
    - Dst: open
      Src: /src/lxc/hooks/unmount-namespace.c:172,1
    - Dst: fprintf
      Src: /src/lxc/hooks/unmount-namespace.c:174,1
    - Dst: strerror
      Src: /src/lxc/hooks/unmount-namespace.c:174,1
    - Dst: open
      Src: /src/lxc/hooks/unmount-namespace.c:179,1
    - Dst: fprintf
      Src: /src/lxc/hooks/unmount-namespace.c:181,1
    - Dst: strerror
      Src: /src/lxc/hooks/unmount-namespace.c:182,1
    - Dst: close
      Src: /src/lxc/hooks/unmount-namespace.c:183,1
    - Dst: setns
      Src: /src/lxc/hooks/unmount-namespace.c:187,1
    - Dst: fprintf
      Src: /src/lxc/hooks/unmount-namespace.c:188,1
    - Dst: strerror
      Src: /src/lxc/hooks/unmount-namespace.c:189,1
    - Dst: close
      Src: /src/lxc/hooks/unmount-namespace.c:190,1
    - Dst: close
      Src: /src/lxc/hooks/unmount-namespace.c:191,1
    - Dst: close
      Src: /src/lxc/hooks/unmount-namespace.c:194,1
    - Dst: read_mounts
      Src: /src/lxc/hooks/unmount-namespace.c:197,1
    - Dst: fprintf
      Src: /src/lxc/hooks/unmount-namespace.c:198,1
    - Dst: strerror
      Src: /src/lxc/hooks/unmount-namespace.c:199,1
    - Dst: close
      Src: /src/lxc/hooks/unmount-namespace.c:200,1
    - Dst: close
      Src: /src/lxc/hooks/unmount-namespace.c:203,1
    - Dst: qsort
      Src: /src/lxc/hooks/unmount-namespace.c:206,1
    - Dst: umount2
      Src: /src/lxc/hooks/unmount-namespace.c:210,1
    - Dst: mount_should_error
      Src: /src/lxc/hooks/unmount-namespace.c:212,1
    - Dst: fprintf
      Src: /src/lxc/hooks/unmount-namespace.c:213,1
    - Dst: strerror
      Src: /src/lxc/hooks/unmount-namespace.c:214,1
    - Dst: mount_free
      Src: /src/lxc/hooks/unmount-namespace.c:217,1
    - Dst: free
      Src: /src/lxc/hooks/unmount-namespace.c:219,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 52
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 222
      start: 143
    functionDepth: 1
    functionLinenumber: 143
    functionLinenumberEnd: 222
    functionName: main
    functionSourceFile: /src/lxc/hooks/unmount-namespace.c
    functionUses: 0
    functionsReached:
    - open
    - strerror
    - fprintf
    - read_mounts
    - setns
    - free
    - mount_free
    - qsort
    - umount2
    - mount_should_error
    - close
    - strcmp
    - strncmp
    linkageType: ''
    returnType: int
    signature: int main(int argc, char **argv)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/tests/fuzz-lxc-config-read.c:27,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/fuzz-lxc-config-read.c:28,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/tests/fuzz-lxc-config-read.c:29,1
    - Dst: close
      Src: /src/lxc/src/tests/fuzz-lxc-config-read.c:30,1
    - Dst: lxc_conf_init
      Src: /src/lxc/src/tests/fuzz-lxc-config-read.c:32,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/fuzz-lxc-config-read.c:33,1
    - Dst: lxc_config_read
      Src: /src/lxc/src/tests/fuzz-lxc-config-read.c:34,1
    - Dst: lxc_conf_free
      Src: /src/lxc/src/tests/fuzz-lxc-config-read.c:35,1
    - Dst: unlink
      Src: /src/lxc/src/tests/fuzz-lxc-config-read.c:37,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 2
    argNames:
    - data
    - size
    argTypes:
    - uint8_t*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 39
      start: 15
    functionDepth: 1
    functionLinenumber: 15
    functionLinenumberEnd: 39
    functionName: LLVMFuzzerTestOneInput
    functionSourceFile: /src/lxc/src/tests/fuzz-lxc-config-read.c
    functionUses: 0
    functionsReached:
    - lxc_conf_init
    - lxc_make_tmpfile
    - lxc_config_read
    - lxc_conf_free
    - lxc_test_assert_abort
    - unlink
    - close
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/console_log.c:35,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:37,1
    - Dst: exit
      Src: /src/lxc/src/tests/console_log.c:38,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/console_log.c:41,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:42,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/console_log.c:47,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:48,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/console_log.c:53,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:54,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/console_log.c:58,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:59,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/console_log.c:63,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:64,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/console_log.c:68,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/console_log.c:70,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:71,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/console_log.c:75,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:76,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/console_log.c:80,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:81,1
    - Dst: sleep
      Src: /src/lxc/src/tests/console_log.c:86,1
    - Dst: struct lxc_container*::console_log
      Src: /src/lxc/src/tests/console_log.c:93,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:95,1
    - Dst: strerror
      Src: /src/lxc/src/tests/console_log.c:95,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/console_log.c:98,1
    - Dst: free
      Src: /src/lxc/src/tests/console_log.c:101,1
    - Dst: sleep
      Src: /src/lxc/src/tests/console_log.c:105,1
    - Dst: struct lxc_container*::console_log
      Src: /src/lxc/src/tests/console_log.c:111,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:114,1
    - Dst: strerror
      Src: /src/lxc/src/tests/console_log.c:114,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/console_log.c:119,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:120,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/console_log.c:124,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:125,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/console_log.c:129,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/console_log.c:131,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:132,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/console_log.c:136,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:137,1
    - Dst: sleep
      Src: /src/lxc/src/tests/console_log.c:142,1
    - Dst: stat
      Src: /src/lxc/src/tests/console_log.c:144,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:146,1
    - Dst: strerror
      Src: /src/lxc/src/tests/console_log.c:146,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/console_log.c:151,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:152,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/console_log.c:156,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:157,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/console_log.c:161,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:162,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/console_log.c:166,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:167,1
    - Dst: sleep
      Src: /src/lxc/src/tests/console_log.c:172,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/console_log.c:177,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/console_log.c:177,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:178,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/console_log.c:181,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:182,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/console_log.c:185,1
    - Dst: unlink
      Src: /src/lxc/src/tests/console_log.c:187,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:189,1
    - Dst: strerror
      Src: /src/lxc/src/tests/console_log.c:190,1
    - Dst: unlink
      Src: /src/lxc/src/tests/console_log.c:192,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/console_log.c:194,1
    - Dst: strerror
      Src: /src/lxc/src/tests/console_log.c:195,1
    - Dst: exit
      Src: /src/lxc/src/tests/console_log.c:197,1
    CyclomaticComplexity: 46
    EdgeCount: 46
    ICount: 142
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 198
      start: 26
    functionDepth: 1
    functionLinenumber: 26
    functionLinenumberEnd: 198
    functionName: main
    functionSourceFile: /src/lxc/src/tests/console_log.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - struct lxc_container*::load_config
    - struct lxc_container*::is_running
    - lxc_container_new
    - lxc_container_put
    - free
    - strerror
    - struct lxc_container*::set_config_item
    - sleep
    - struct lxc_container*::startl
    - lxc_debug
    - struct lxc_container*::is_defined
    - struct lxc_container*::console_log
    - exit
    - struct lxc_container*::destroy
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - stat
    - unlink
    - struct lxc_container*::createl
    - struct lxc_container*::clear_config
    - struct lxc_container*::wait
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - stream
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 21
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 21
    functionName: lxc_debug_stream
    functionSourceFile: /src/lxc/src/tests/lxctest.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_debug_stream(stream, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 23
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 23
    functionName: lxc_error
    functionSourceFile: /src/lxc/src/tests/lxctest.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_error(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 24
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 24
    functionName: lxc_debug
    functionSourceFile: /src/lxc/src/tests/lxctest.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_debug(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - expression
    - ','
    - stringify_expression
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 33
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 33
    functionName: lxc_test_assert_stringify
    functionSourceFile: /src/lxc/src/tests/lxctest.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_test_assert_stringify(expression, stringify_expression)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - expression
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 35
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 35
    functionName: lxc_test_assert_abort
    functionSourceFile: /src/lxc/src/tests/lxctest.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_test_assert_abort(expression)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 42
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 42
    functionName: test_error_ret
    functionSourceFile: /src/lxc/src/tests/lxctest.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: test_error_ret(__ret__, format, ...)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/shortlived.c:33,1
    - Dst: perror
      Src: /src/lxc/src/tests/shortlived.c:36,1
    - Dst: execlp
      Src: /src/lxc/src/tests/shortlived.c:41,1
    - Dst: exit
      Src: /src/lxc/src/tests/shortlived.c:42,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/shortlived.c:46,1
    - Dst: perror
      Src: /src/lxc/src/tests/shortlived.c:50,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/shortlived.c:57,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:58,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/shortlived.c:62,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 63
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 63
    functionName: destroy_container
    functionSourceFile: /src/lxc/src/tests/shortlived.c
    functionUses: 0
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int destroy_container(void)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/shortlived.c:68,1
    - Dst: perror
      Src: /src/lxc/src/tests/shortlived.c:71,1
    - Dst: execlp
      Src: /src/lxc/src/tests/shortlived.c:76,1
    - Dst: exit
      Src: /src/lxc/src/tests/shortlived.c:77,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/shortlived.c:81,1
    - Dst: perror
      Src: /src/lxc/src/tests/shortlived.c:86,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/shortlived.c:93,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:94,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/shortlived.c:98,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 99
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 99
    functionName: create_container
    functionSourceFile: /src/lxc/src/tests/shortlived.c
    functionUses: 0
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int create_container(void)
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: lxc_error
      Src: /src/lxc/src/tests/shortlived.c:115,1
    - Dst: exit
      Src: /src/lxc/src/tests/shortlived.c:116,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/shortlived.c:118,1
    - Dst: close
      Src: /src/lxc/src/tests/shortlived.c:119,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/shortlived.c:129,1
    - Dst: exit
      Src: /src/lxc/src/tests/shortlived.c:130,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/shortlived.c:133,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:135,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/shortlived.c:139,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:140,1
    - Dst: create_container
      Src: /src/lxc/src/tests/shortlived.c:144,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:145,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/shortlived.c:149,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:151,1
    - Dst: struct lxc_container*::state
      Src: /src/lxc/src/tests/shortlived.c:155,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/shortlived.c:156,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:157,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/shortlived.c:161,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:163,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/shortlived.c:167,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:168,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/shortlived.c:172,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:173,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/shortlived.c:177,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/shortlived.c:181,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:182,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/shortlived.c:186,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:187,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/shortlived.c:194,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:195,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/shortlived.c:199,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:200,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/shortlived.c:205,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:206,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/shortlived.c:210,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:211,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/shortlived.c:217,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:218,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/shortlived.c:222,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:223,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/shortlived.c:233,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:234,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/shortlived.c:238,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:239,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/shortlived.c:244,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shortlived.c:246,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/shortlived.c:251,1
    - Dst: destroy_container
      Src: /src/lxc/src/tests/shortlived.c:252,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/shortlived.c:254,1
    - Dst: open
      Src: /src/lxc/src/tests/shortlived.c:257,1
    - Dst: read
      Src: /src/lxc/src/tests/shortlived.c:262,1
    - Dst: write
      Src: /src/lxc/src/tests/shortlived.c:263,1
    - Dst: close
      Src: /src/lxc/src/tests/shortlived.c:268,1
    - Dst: unlink
      Src: /src/lxc/src/tests/shortlived.c:272,1
    - Dst: exit
      Src: /src/lxc/src/tests/shortlived.c:273,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 144
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 274
      start: 101
    functionDepth: 1
    functionLinenumber: 101
    functionLinenumberEnd: 274
    functionName: main
    functionSourceFile: /src/lxc/src/tests/shortlived.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - read
    - struct lxc_container*::load_config
    - lxc_container_put
    - lxc_container_new
    - open
    - fprintf
    - struct lxc_container*::set_config_item
    - struct lxc_container*::startl
    - lxc_debug
    - struct lxc_container*::is_defined
    - lxc_log_init
    - struct lxc_container*::state
    - exit
    - write
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - unlink
    - create_container
    - destroy_container
    - strcmp
    - struct lxc_container*::wait
    - close
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:30,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:31,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:32,1
    - Dst: close
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:33,1
    - Dst: lxc_conf_init
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:35,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:36,1
    - Dst: cgroup_init
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:39,1
    - Dst: cgroup_exit
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:40,1
    - Dst: lxc_config_read
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:42,1
    - Dst: cgroup_init
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:45,1
    - Dst: cgroup_exit
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:46,1
    - Dst: lxc_conf_free
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:48,1
    - Dst: unlink
      Src: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c:50,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 19
    argCount: 2
    argNames:
    - data
    - size
    argTypes:
    - uint8_t*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 16
    functionDepth: 1
    functionLinenumber: 16
    functionLinenumberEnd: 53
    functionName: LLVMFuzzerTestOneInput
    functionSourceFile: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c
    functionUses: 0
    functionsReached:
    - lxc_conf_init
    - lxc_make_tmpfile
    - cgroup_exit
    - lxc_config_read
    - cgroup_init
    - lxc_conf_free
    - lxc_test_assert_abort
    - unlink
    - close
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: statvfs
      Src: /src/lxc/src/tests/rootfs_options.c:37,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - path
    - flags
    argTypes:
    - char*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 49
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 49
    functionName: has_mount_properties
    functionSourceFile: /src/lxc/src/tests/rootfs_options.c
    functionUses: 0
    functionsReached:
    - statvfs
    linkageType: ''
    returnType: int
    signature: int has_mount_properties(const char *path, unsigned int flags)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: has_mount_properties
      Src: /src/lxc/src/tests/rootfs_options.c:55,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 67
      start: 51
    functionDepth: 1
    functionLinenumber: 51
    functionLinenumberEnd: 67
    functionName: rootfs_options
    functionSourceFile: /src/lxc/src/tests/rootfs_options.c
    functionUses: 0
    functionsReached:
    - has_mount_properties
    linkageType: ''
    returnType: int
    signature: int rootfs_options(void *payload)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/rootfs_options.c:77,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:79,1
    - Dst: exit
      Src: /src/lxc/src/tests/rootfs_options.c:80,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/rootfs_options.c:83,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:84,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/rootfs_options.c:88,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:89,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/rootfs_options.c:93,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:94,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/rootfs_options.c:98,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/rootfs_options.c:100,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:101,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/rootfs_options.c:105,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:106,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/rootfs_options.c:110,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:111,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/rootfs_options.c:115,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:116,1
    - Dst: sleep
      Src: /src/lxc/src/tests/rootfs_options.c:121,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/rootfs_options.c:123,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:125,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/rootfs_options.c:129,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:131,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/rootfs_options.c:138,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/rootfs_options.c:138,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:139,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/rootfs_options.c:141,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/rootfs_options.c:142,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/rootfs_options.c:145,1
    - Dst: exit
      Src: /src/lxc/src/tests/rootfs_options.c:146,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 66
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 147
      start: 69
    functionDepth: 1
    functionLinenumber: 69
    functionLinenumberEnd: 147
    functionName: main
    functionSourceFile: /src/lxc/src/tests/rootfs_options.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::createl
    - lxc_error
    - struct lxc_container*::clear_config
    - wait_for_pid
    - struct lxc_container*::load_config
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::set_config_item
    - struct lxc_container*::attach
    - struct lxc_container*::is_running
    - lxc_container_new
    - sleep
    - struct lxc_container*::startl
    - lxc_container_put
    - struct lxc_container*::is_defined
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/snapshot.c:26,1
    - Dst: struct lxc_container*::snapshot_destroy_all
      Src: /src/lxc/src/tests/snapshot.c:28,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/snapshot.c:29,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/snapshot.c:30,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/snapshot.c:32,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/snapshot.c:35,1
    - Dst: struct lxc_container*::destroy_with_snapshots
      Src: /src/lxc/src/tests/snapshot.c:37,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/snapshot.c:38,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/snapshot.c:41,1
    - Dst: struct lxc_container*::snapshot_destroy_all
      Src: /src/lxc/src/tests/snapshot.c:43,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/snapshot.c:44,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/snapshot.c:45,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/snapshot.c:47,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 49
      start: 22
    functionDepth: 1
    functionLinenumber: 22
    functionLinenumberEnd: 49
    functionName: try_to_remove
    functionSourceFile: /src/lxc/src/tests/snapshot.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::destroy_with_snapshots
    - struct lxc_container*::snapshot_destroy_all
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::is_defined
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: void
    signature: void try_to_remove(void)
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:67,1
    - Dst: exit
      Src: /src/lxc/src/tests/snapshot.c:68,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/snapshot.c:71,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:72,1
    - Dst: struct lxc_container*::destroy_with_snapshots
      Src: /src/lxc/src/tests/snapshot.c:73,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/snapshot.c:76,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:77,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/snapshot.c:81,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/snapshot.c:83,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:84,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/snapshot.c:88,1
    - Dst: struct lxc_container*::snapshot
      Src: /src/lxc/src/tests/snapshot.c:90,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:91,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/snapshot.c:96,1
    - Dst: lxc_get_global_config_item
      Src: /src/lxc/src/tests/snapshot.c:96,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:98,1
    - Dst: stat
      Src: /src/lxc/src/tests/snapshot.c:102,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:104,1
    - Dst: struct lxc_container*::snapshot_list
      Src: /src/lxc/src/tests/snapshot.c:108,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:110,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/snapshot.c:114,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:115,1
    - Dst: free
      Src: /src/lxc/src/tests/snapshot.c:120,1
    - Dst: free
      Src: /src/lxc/src/tests/snapshot.c:121,1
    - Dst: struct lxc_container*::snapshot_restore
      Src: /src/lxc/src/tests/snapshot.c:123,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:124,1
    - Dst: struct lxc_container*::snapshot_destroy
      Src: /src/lxc/src/tests/snapshot.c:128,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:129,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/snapshot.c:133,1
    - Dst: is_defined
      Src: /src/lxc/src/tests/snapshot.c:134,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:135,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/snapshot.c:138,1
    - Dst: struct lxc_container*::clone
      Src: /src/lxc/src/tests/snapshot.c:140,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:142,1
    - Dst: snapshot
      Src: /src/lxc/src/tests/snapshot.c:146,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:147,1
    - Dst: snapshot_list
      Src: /src/lxc/src/tests/snapshot.c:151,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:153,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/snapshot.c:157,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:158,1
    - Dst: free
      Src: /src/lxc/src/tests/snapshot.c:163,1
    - Dst: free
      Src: /src/lxc/src/tests/snapshot.c:164,1
    - Dst: snapshot_restore
      Src: /src/lxc/src/tests/snapshot.c:166,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:167,1
    - Dst: snapshot_destroy
      Src: /src/lxc/src/tests/snapshot.c:171,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:172,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/snapshot.c:177,1
    - Dst: try_to_remove
      Src: /src/lxc/src/tests/snapshot.c:178,1
    - Dst: printf
      Src: /src/lxc/src/tests/snapshot.c:180,1
    - Dst: exit
      Src: /src/lxc/src/tests/snapshot.c:181,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/snapshot.c:184,1
    - Dst: try_to_remove
      Src: /src/lxc/src/tests/snapshot.c:185,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/snapshot.c:187,1
    - Dst: exit
      Src: /src/lxc/src/tests/snapshot.c:188,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 119
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 189
      start: 51
    functionDepth: 1
    functionLinenumber: 51
    functionLinenumberEnd: 189
    functionName: main
    functionSourceFile: /src/lxc/src/tests/snapshot.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::load_config
    - is_defined
    - snprintf
    - snapshot_list
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::snapshot_list
    - free
    - struct lxc_container*::clone
    - fprintf
    - snapshot_restore
    - struct lxc_container*::set_config_item
    - printf
    - struct lxc_container*::is_defined
    - try_to_remove
    - exit
    - lxc_get_global_config_item
    - struct lxc_container*::save_config
    - struct lxc_container*::snapshot
    - struct lxc_container*::snapshot_destroy
    - stat
    - struct lxc_container*::snapshot_restore
    - snapshot_destroy
    - strcmp
    - struct lxc_container*::createl
    - struct lxc_container*::destroy_with_snapshots
    - snapshot
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: TSTERR
    functionSourceFile: /src/lxc/src/tests/lxcpath.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: TSTERR(x)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/lxcpath.c:35,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/lxcpath.c:37,1
    - Dst: struct lxc_container*::get_config_path
      Src: /src/lxc/src/tests/lxcpath.c:41,1
    - Dst: struct lxc_container*::config_file_name
      Src: /src/lxc/src/tests/lxcpath.c:42,1
    - Dst: strncmp
      Src: /src/lxc/src/tests/lxcpath.c:43,1
    - Dst: strlen
      Src: /src/lxc/src/tests/lxcpath.c:43,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/lxcpath.c:44,1
    - Dst: struct lxc_container*::set_config_path
      Src: /src/lxc/src/tests/lxcpath.c:50,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/lxcpath.c:51,1
    - Dst: struct lxc_container*::get_config_path
      Src: /src/lxc/src/tests/lxcpath.c:55,1
    - Dst: free
      Src: /src/lxc/src/tests/lxcpath.c:56,1
    - Dst: struct lxc_container*::config_file_name
      Src: /src/lxc/src/tests/lxcpath.c:57,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxcpath.c:58,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxcpath.c:58,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/lxcpath.c:59,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/lxcpath.c:62,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/lxcpath.c:64,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/lxcpath.c:66,1
    - Dst: struct lxc_container*::get_config_path
      Src: /src/lxc/src/tests/lxcpath.c:70,1
    - Dst: free
      Src: /src/lxc/src/tests/lxcpath.c:71,1
    - Dst: struct lxc_container*::config_file_name
      Src: /src/lxc/src/tests/lxcpath.c:72,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxcpath.c:73,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxcpath.c:73,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/lxcpath.c:74,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/lxcpath.c:81,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 47
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 83
      start: 28
    functionDepth: 1
    functionLinenumber: 28
    functionLinenumberEnd: 83
    functionName: main
    functionSourceFile: /src/lxc/src/tests/lxcpath.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::set_config_path
    - struct lxc_container*::config_file_name
    - TSTERR
    - struct lxc_container*::get_config_path
    - free
    - lxc_container_put
    - lxc_container_new
    - strlen
    - strcmp
    - strncmp
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: lxc_error
      Src: /src/lxc/src/tests/device_add_remove.c:36,1
    - Dst: exit
      Src: /src/lxc/src/tests/device_add_remove.c:37,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/device_add_remove.c:45,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/device_add_remove.c:48,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/device_add_remove.c:50,1
    - Dst: struct lxc_container*::create
      Src: /src/lxc/src/tests/device_add_remove.c:54,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/device_add_remove.c:55,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/device_add_remove.c:59,1
    - Dst: struct lxc_container*::start
      Src: /src/lxc/src/tests/device_add_remove.c:61,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/device_add_remove.c:62,1
    - Dst: struct lxc_container*::add_device_node
      Src: /src/lxc/src/tests/device_add_remove.c:66,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/device_add_remove.c:67,1
    - Dst: struct lxc_container*::remove_device_node
      Src: /src/lxc/src/tests/device_add_remove.c:71,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/device_add_remove.c:72,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/device_add_remove.c:76,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/device_add_remove.c:77,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/device_add_remove.c:81,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/device_add_remove.c:82,1
    - Dst: read
      Src: /src/lxc/src/tests/device_add_remove.c:92,1
    - Dst: write
      Src: /src/lxc/src/tests/device_add_remove.c:93,1
    - Dst: unlink
      Src: /src/lxc/src/tests/device_add_remove.c:98,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/device_add_remove.c:101,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 67
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 103
      start: 24
    functionDepth: 1
    functionLinenumber: 24
    functionLinenumberEnd: 103
    functionName: main
    functionSourceFile: /src/lxc/src/tests/device_add_remove.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - read
    - write
    - fprintf
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::remove_device_node
    - struct lxc_container*::start
    - unlink
    - lxc_container_new
    - lxc_container_put
    - struct lxc_container*::add_device_node
    - lxc_log_init
    - struct lxc_container*::create
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:22,1
    - Dst: func
      Src: /src/lxc/src/tests/list.c:24,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:25,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:26,1
    - Dst: func
      Src: /src/lxc/src/tests/list.c:28,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:30,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:34,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/list.c:35,1
    - Dst: free
      Src: /src/lxc/src/tests/list.c:39,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:43,1
    - Dst: func
      Src: /src/lxc/src/tests/list.c:44,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:46,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:49,1
    - Dst: free
      Src: /src/lxc/src/tests/list.c:50,1
    - Dst: free
      Src: /src/lxc/src/tests/list.c:54,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:58,1
    - Dst: func
      Src: /src/lxc/src/tests/list.c:59,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:61,1
    - Dst: printf
      Src: /src/lxc/src/tests/list.c:65,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/list.c:67,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/list.c:68,1
    - Dst: free
      Src: /src/lxc/src/tests/list.c:70,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/list.c:71,1
    - Dst: free
      Src: /src/lxc/src/tests/list.c:75,1
    - Dst: free
      Src: /src/lxc/src/tests/list.c:76,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 43
    argCount: 2
    argNames:
    - lxcpath
    - type
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 78
      start: 14
    functionDepth: 1
    functionLinenumber: 14
    functionLinenumberEnd: 78
    functionName: test_list_func
    functionSourceFile: /src/lxc/src/tests/list.c
    functionUses: 0
    functionsReached:
    - fprintf
    - printf
    - lxc_container_put
    - func
    - strcmp
    - free
    linkageType: ''
    returnType: void
    signature: "void test_list_func(const char *lxcpath, const char *type,\n\t\t\t
      \  int (*func)(const char *path, char ***names,\n\t\t\t\t       struct lxc_container
      ***cret))"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: test_list_func
      Src: /src/lxc/src/tests/list.c:87,1
    - Dst: test_list_func
      Src: /src/lxc/src/tests/list.c:88,1
    - Dst: test_list_func
      Src: /src/lxc/src/tests/list.c:89,1
    - Dst: exit
      Src: /src/lxc/src/tests/list.c:91,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 92
      start: 80
    functionDepth: 2
    functionLinenumber: 80
    functionLinenumberEnd: 92
    functionName: main
    functionSourceFile: /src/lxc/src/tests/list.c
    functionUses: 0
    functionsReached:
    - exit
    - test_list_func
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/criu_check_feature.c:23,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/criu_check_feature.c:25,1
    - Dst: exit
      Src: /src/lxc/src/tests/criu_check_feature.c:26,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/criu_check_feature.c:29,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/criu_check_feature.c:30,1
    - Dst: struct lxc_container*::migrate
      Src: /src/lxc/src/tests/criu_check_feature.c:35,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/criu_check_feature.c:37,1
    - Dst: struct lxc_container*::migrate
      Src: /src/lxc/src/tests/criu_check_feature.c:43,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/criu_check_feature.c:44,1
    - Dst: struct lxc_container*::migrate
      Src: /src/lxc/src/tests/criu_check_feature.c:49,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/criu_check_feature.c:50,1
    - Dst: struct lxc_container*::migrate
      Src: /src/lxc/src/tests/criu_check_feature.c:55,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/criu_check_feature.c:57,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/criu_check_feature.c:59,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/criu_check_feature.c:61,1
    - Dst: struct lxc_container*::migrate
      Src: /src/lxc/src/tests/criu_check_feature.c:68,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/criu_check_feature.c:69,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/criu_check_feature.c:76,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/criu_check_feature.c:78,1
    - Dst: exit
      Src: /src/lxc/src/tests/criu_check_feature.c:80,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 45
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 81
      start: 15
    functionDepth: 1
    functionLinenumber: 15
    functionLinenumberEnd: 81
    functionName: main
    functionSourceFile: /src/lxc/src/tests/criu_check_feature.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - struct lxc_container*::migrate
    - lxc_container_put
    - lxc_container_new
    - lxc_debug
    - struct lxc_container*::is_defined
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/tests/proc_pid.c:21,1
    - Dst: open
      Src: /src/lxc/src/tests/proc_pid.c:24,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:26,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/tests/proc_pid.c:30,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:32,1
    - Dst: remove_trailing_newlines
      Src: /src/lxc/src/tests/proc_pid.c:37,1
    - Dst: strequal
      Src: /src/lxc/src/tests/proc_pid.c:39,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:40,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 45
      start: 18
    functionDepth: 1
    functionLinenumber: 18
    functionLinenumberEnd: 45
    functionName: check_oom_score_adj
    functionSourceFile: /src/lxc/src/tests/proc_pid.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_error
    - strequal
    - INTTYPE_TO_STRLEN
    - remove_trailing_newlines
    - lxc_read_nointr
    linkageType: ''
    returnType: int
    signature: int check_oom_score_adj(void *payload)
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: file_exists
      Src: /src/lxc/src/tests/proc_pid.c:57,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/proc_pid.c:58,1
    - Dst: exit
      Src: /src/lxc/src/tests/proc_pid.c:59,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:66,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/proc_pid.c:77,1
    - Dst: exit
      Src: /src/lxc/src/tests/proc_pid.c:78,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/proc_pid.c:80,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:82,1
    - Dst: exit
      Src: /src/lxc/src/tests/proc_pid.c:83,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/proc_pid.c:86,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:87,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/proc_pid.c:91,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:92,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/proc_pid.c:96,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:97,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/proc_pid.c:101,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:102,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/proc_pid.c:106,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:107,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/proc_pid.c:111,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:112,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/proc_pid.c:116,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:117,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/proc_pid.c:121,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:122,1
    - Dst: sleep
      Src: /src/lxc/src/tests/proc_pid.c:127,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/proc_pid.c:129,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:131,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/proc_pid.c:135,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:137,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/proc_pid.c:144,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/proc_pid.c:144,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:145,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/proc_pid.c:148,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/proc_pid.c:149,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/proc_pid.c:152,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/proc_pid.c:155,1
    - Dst: read
      Src: /src/lxc/src/tests/proc_pid.c:160,1
    - Dst: write
      Src: /src/lxc/src/tests/proc_pid.c:161,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/tests/proc_pid.c:166,1
    - Dst: unlink
      Src: /src/lxc/src/tests/proc_pid.c:167,1
    - Dst: exit
      Src: /src/lxc/src/tests/proc_pid.c:169,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 101
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 170
      start: 47
    functionDepth: 1
    functionLinenumber: 47
    functionLinenumberEnd: 170
    functionName: main
    functionSourceFile: /src/lxc/src/tests/proc_pid.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - read
    - struct lxc_container*::is_running
    - lxc_container_new
    - lxc_container_put
    - close_prot_errno_disarm
    - file_exists
    - struct lxc_container*::set_config_item
    - sleep
    - struct lxc_container*::startl
    - lxc_debug
    - struct lxc_container*::is_defined
    - lxc_log_init
    - exit
    - struct lxc_container*::destroy
    - write
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::attach
    - unlink
    - struct lxc_container*::clear_config_item
    - struct lxc_container*::createl
    - wait_for_pid
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:35,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:36,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:41,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:43,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/parse_config_file.c:48,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:50,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/parse_config_file.c:59,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:60,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/parse_config_file.c:64,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/parse_config_file.c:67,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:68,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:73,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:74,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/parse_config_file.c:78,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 36
    argCount: 5
    argNames:
    - c
    - key
    - value
    - config_file
    - compare
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 82
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 82
    functionName: set_get_compare_clear_save_load
    functionSourceFile: /src/lxc/src/tests/parse_config_file.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - struct lxc_container*::save_config
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - struct lxc_container*::set_config_item
    - struct lxc_container*::clear_config_item
    - strcmp
    - struct lxc_container*::get_config_item
    linkageType: ''
    returnType: int
    signature: "int set_get_compare_clear_save_load(struct lxc_container *c,\n\t\t\t\t\t
      \  const char *key, const char *value,\n\t\t\t\t\t   const char *config_file,\n\t\t\t\t\t
      \  bool compare)"
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:86,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:87,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:91,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:92,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:96,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:97,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:101,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:102,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:106,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:107,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:111,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:113,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:117,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:119,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:123,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:124,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:128,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:129,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:133,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:134,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:138,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:139,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:143,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:144,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:148,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:149,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:153,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:154,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:158,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:160,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:164,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:165,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:169,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:170,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/parse_config_file.c:174,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 72
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 178
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 178
    functionName: set_and_clear_complete_netdev
    functionSourceFile: /src/lxc/src/tests/parse_config_file.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::clear_config_item
    - lxc_error
    - struct lxc_container*::clear_config
    - struct lxc_container*::set_config_item
    linkageType: ''
    returnType: int
    signature: int set_and_clear_complete_netdev(struct lxc_container *c)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:181,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:182,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:186,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:187,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:191,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:192,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/parse_config_file.c:196,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 200
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 200
    functionName: set_invalid_netdev
    functionSourceFile: /src/lxc/src/tests/parse_config_file.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - struct lxc_container*::clear_config
    - struct lxc_container*::set_config_item
    linkageType: ''
    returnType: int
    signature: int set_invalid_netdev(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: parse_idmaps
      Src: /src/lxc/src/tests/parse_config_file.c:240,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:244,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 251
      start: 202
    functionDepth: 1
    functionLinenumber: 202
    functionLinenumberEnd: 251
    functionName: test_idmap_parser
    functionSourceFile: /src/lxc/src/tests/parse_config_file.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - parse_idmaps
    linkageType: ''
    returnType: int
    signature: int test_idmap_parser(void)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:260,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:261,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:265,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:266,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:271,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:273,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/parse_config_file.c:278,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:280,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/parse_config_file.c:289,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:290,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/parse_config_file.c:294,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/parse_config_file.c:297,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:298,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:303,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:304,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/parse_config_file.c:308,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/parse_config_file.c:309,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/parse_config_file.c:313,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 44
    argCount: 6
    argNames:
    - c
    - key
    - value
    - config_file
    - compare
    - network_type
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - char*
    - bool
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 317
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 317
    functionName: set_get_compare_clear_save_load_network
    functionSourceFile: /src/lxc/src/tests/parse_config_file.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - struct lxc_container*::save_config
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - struct lxc_container*::set_config_item
    - struct lxc_container*::clear_config_item
    - strcmp
    - struct lxc_container*::get_config_item
    linkageType: ''
    returnType: int
    signature: "int set_get_compare_clear_save_load_network(\n    struct lxc_container
      *c, const char *key, const char *value,\n    const char *config_file, bool compare,
      const char *network_type)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/basic.c:21,1
    - Dst: exit
      Src: /src/lxc/src/tests/basic.c:23,1
    - Dst: struct lxc_container*::init_pid
      Src: /src/lxc/src/tests/basic.c:25,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/basic.c:26,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/basic.c:27,1
    - Dst: exit
      Src: /src/lxc/src/tests/basic.c:32,1
    - Dst: exit
      Src: /src/lxc/src/tests/basic.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 35
      start: 16
    functionDepth: 1
    functionLinenumber: 16
    functionLinenumberEnd: 35
    functionName: main
    functionSourceFile: /src/lxc/src/tests/basic.c
    functionUses: 0
    functionsReached:
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::init_pid
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/clonetest.c:27,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/clonetest.c:28,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/clonetest.c:30,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:31,1
    - Dst: destroy
      Src: /src/lxc/src/tests/clonetest.c:36,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:37,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/clonetest.c:41,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:42,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/clonetest.c:47,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/clonetest.c:49,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:50,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/clonetest.c:54,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/clonetest.c:56,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:57,1
    - Dst: struct lxc_container*::clone
      Src: /src/lxc/src/tests/clonetest.c:61,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:63,1
    - Dst: is_defined
      Src: /src/lxc/src/tests/clonetest.c:67,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:68,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:72,1
    - Dst: destroy
      Src: /src/lxc/src/tests/clonetest.c:77,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:78,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/clonetest.c:79,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:80,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/clonetest.c:83,1
    - Dst: is_defined
      Src: /src/lxc/src/tests/clonetest.c:85,1
    - Dst: destroy
      Src: /src/lxc/src/tests/clonetest.c:86,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:87,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/clonetest.c:90,1
    - Dst: is_defined
      Src: /src/lxc/src/tests/clonetest.c:92,1
    - Dst: destroy
      Src: /src/lxc/src/tests/clonetest.c:93,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:94,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/clonetest.c:97,1
    - Dst: is_defined
      Src: /src/lxc/src/tests/clonetest.c:99,1
    - Dst: destroy
      Src: /src/lxc/src/tests/clonetest.c:100,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:101,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/clonetest.c:106,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:108,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/clonetest.c:112,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:113,1
    - Dst: struct lxc_container*::clone
      Src: /src/lxc/src/tests/clonetest.c:118,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:119,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:123,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/clonetest.c:126,1
    - Dst: is_defined
      Src: /src/lxc/src/tests/clonetest.c:128,1
    - Dst: destroy
      Src: /src/lxc/src/tests/clonetest.c:129,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:130,1
    - Dst: struct lxc_container*::clone
      Src: /src/lxc/src/tests/clonetest.c:134,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:135,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:139,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:140,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/clonetest.c:143,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:144,1
    - Dst: struct lxc_container*::clone
      Src: /src/lxc/src/tests/clonetest.c:149,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:150,1
    - Dst: clone
      Src: /src/lxc/src/tests/clonetest.c:155,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:156,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/clonetest.c:160,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:165,1
    - Dst: destroy
      Src: /src/lxc/src/tests/clonetest.c:169,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:170,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/clonetest.c:174,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/clonetest.c:175,1
    - Dst: exit
      Src: /src/lxc/src/tests/clonetest.c:178,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 131
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 179
      start: 22
    functionDepth: 1
    functionLinenumber: 22
    functionLinenumberEnd: 179
    functionName: main
    functionSourceFile: /src/lxc/src/tests/clonetest.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::createl
    - struct lxc_container*::save_config
    - struct lxc_container*::load_config
    - is_defined
    - fprintf
    - destroy
    - clone
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::is_defined
    - struct lxc_container*::clone
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/createtest.c:26,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:27,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/createtest.c:32,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:33,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/createtest.c:37,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:38,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/createtest.c:42,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/createtest.c:43,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/createtest.c:45,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:46,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/createtest.c:50,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:51,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/createtest.c:55,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/createtest.c:56,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/createtest.c:57,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/createtest.c:59,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:60,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/createtest.c:64,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:65,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/createtest.c:69,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:70,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/createtest.c:74,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:75,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/createtest.c:79,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/createtest.c:83,1
    - Dst: exit
      Src: /src/lxc/src/tests/createtest.c:84,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 58
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 85
      start: 21
    functionDepth: 1
    functionLinenumber: 21
    functionLinenumberEnd: 85
    functionName: main
    functionSourceFile: /src/lxc/src/tests/createtest.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::createl
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - fprintf
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::set_config_item
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::startl
    - struct lxc_container*::is_defined
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/tests/sysctls.c:22,1
    - Dst: open
      Src: /src/lxc/src/tests/sysctls.c:25,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:27,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/tests/sysctls.c:31,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:33,1
    - Dst: remove_trailing_newlines
      Src: /src/lxc/src/tests/sysctls.c:38,1
    - Dst: strequal
      Src: /src/lxc/src/tests/sysctls.c:40,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 46
      start: 19
    functionDepth: 1
    functionLinenumber: 19
    functionLinenumberEnd: 46
    functionName: check_sysctls
    functionSourceFile: /src/lxc/src/tests/sysctls.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_error
    - strequal
    - INTTYPE_TO_STRLEN
    - remove_trailing_newlines
    - lxc_read_nointr
    linkageType: ''
    returnType: int
    signature: int check_sysctls(void *payload)
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: file_exists
      Src: /src/lxc/src/tests/sysctls.c:58,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/sysctls.c:59,1
    - Dst: exit
      Src: /src/lxc/src/tests/sysctls.c:60,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:67,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/sysctls.c:78,1
    - Dst: exit
      Src: /src/lxc/src/tests/sysctls.c:79,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/sysctls.c:81,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:83,1
    - Dst: exit
      Src: /src/lxc/src/tests/sysctls.c:84,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/sysctls.c:87,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:88,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/sysctls.c:92,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:93,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/sysctls.c:97,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:98,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/sysctls.c:102,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:103,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/sysctls.c:107,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:108,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/sysctls.c:112,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:113,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/sysctls.c:117,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:118,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/sysctls.c:122,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:123,1
    - Dst: sleep
      Src: /src/lxc/src/tests/sysctls.c:128,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/sysctls.c:130,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:132,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/sysctls.c:136,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:138,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/sysctls.c:145,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/sysctls.c:145,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:146,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/sysctls.c:149,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sysctls.c:150,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/sysctls.c:153,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/sysctls.c:156,1
    - Dst: read
      Src: /src/lxc/src/tests/sysctls.c:161,1
    - Dst: write
      Src: /src/lxc/src/tests/sysctls.c:162,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/tests/sysctls.c:167,1
    - Dst: unlink
      Src: /src/lxc/src/tests/sysctls.c:168,1
    - Dst: exit
      Src: /src/lxc/src/tests/sysctls.c:170,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 101
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 171
      start: 48
    functionDepth: 1
    functionLinenumber: 48
    functionLinenumberEnd: 171
    functionName: main
    functionSourceFile: /src/lxc/src/tests/sysctls.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - read
    - struct lxc_container*::is_running
    - lxc_container_new
    - lxc_container_put
    - close_prot_errno_disarm
    - file_exists
    - struct lxc_container*::set_config_item
    - sleep
    - struct lxc_container*::startl
    - lxc_debug
    - struct lxc_container*::is_defined
    - lxc_log_init
    - exit
    - struct lxc_container*::destroy
    - write
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::attach
    - unlink
    - struct lxc_container*::clear_config_item
    - struct lxc_container*::createl
    - wait_for_pid
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/arch_parse.c:39,1
    - Dst: test_error_ret
      Src: /src/lxc/src/tests/arch_parse.c:41,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/tests/arch_parse.c:43,1
    - Dst: __put_lxc_container*::set_config_item
      Src: /src/lxc/src/tests/arch_parse.c:46,1
    - Dst: test_error_ret
      Src: /src/lxc/src/tests/arch_parse.c:47,1
    - Dst: __put_lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/arch_parse.c:49,1
    - Dst: test_error_ret
      Src: /src/lxc/src/tests/arch_parse.c:50,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 54
      start: 35
    functionDepth: 1
    functionLinenumber: 35
    functionLinenumberEnd: 54
    functionName: parse_valid_architectures
    functionSourceFile: /src/lxc/src/tests/arch_parse.c
    functionUses: 0
    functionsReached:
    - ARRAY_SIZE
    - __put_lxc_container*::clear_config_item
    - test_error_ret
    - lxc_container_new
    - __put_lxc_container*::set_config_item
    linkageType: ''
    returnType: bool
    signature: bool parse_valid_architectures(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: parse_valid_architectures
      Src: /src/lxc/src/tests/arch_parse.c:58,1
    - Dst: exit
      Src: /src/lxc/src/tests/arch_parse.c:59,1
    - Dst: exit
      Src: /src/lxc/src/tests/arch_parse.c:61,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 62
      start: 56
    functionDepth: 2
    functionLinenumber: 56
    functionLinenumberEnd: 62
    functionName: main
    functionSourceFile: /src/lxc/src/tests/arch_parse.c
    functionUses: 0
    functionsReached:
    - parse_valid_architectures
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/cve-2019-5736.c:28,1
    - Dst: perror
      Src: /src/lxc/src/tests/cve-2019-5736.c:31,1
    - Dst: execlp
      Src: /src/lxc/src/tests/cve-2019-5736.c:35,1
    - Dst: exit
      Src: /src/lxc/src/tests/cve-2019-5736.c:36,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/cve-2019-5736.c:39,1
    - Dst: perror
      Src: /src/lxc/src/tests/cve-2019-5736.c:43,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/cve-2019-5736.c:48,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:49,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/cve-2019-5736.c:52,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 53
    functionName: destroy_container
    functionSourceFile: /src/lxc/src/tests/cve-2019-5736.c
    functionUses: 1
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int destroy_container(void)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/cve-2019-5736.c:58,1
    - Dst: perror
      Src: /src/lxc/src/tests/cve-2019-5736.c:61,1
    - Dst: execlp
      Src: /src/lxc/src/tests/cve-2019-5736.c:65,1
    - Dst: exit
      Src: /src/lxc/src/tests/cve-2019-5736.c:66,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/cve-2019-5736.c:69,1
    - Dst: perror
      Src: /src/lxc/src/tests/cve-2019-5736.c:73,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/cve-2019-5736.c:78,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:79,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/cve-2019-5736.c:82,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 83
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 83
    functionName: create_container
    functionSourceFile: /src/lxc/src/tests/cve-2019-5736.c
    functionUses: 1
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int create_container(void)
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/cve-2019-5736.c:94,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:96,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/cve-2019-5736.c:100,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:101,1
    - Dst: create_container
      Src: /src/lxc/src/tests/cve-2019-5736.c:105,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:106,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/cve-2019-5736.c:110,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:112,1
    - Dst: struct lxc_container*::state
      Src: /src/lxc/src/tests/cve-2019-5736.c:116,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/cve-2019-5736.c:117,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:118,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/cve-2019-5736.c:122,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:124,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/cve-2019-5736.c:128,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:129,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/cve-2019-5736.c:133,1
    - Dst: setenv
      Src: /src/lxc/src/tests/cve-2019-5736.c:135,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:136,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/cve-2019-5736.c:142,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:143,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/cve-2019-5736.c:147,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:148,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/cve-2019-5736.c:155,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:156,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/cve-2019-5736.c:160,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:161,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/cve-2019-5736.c:166,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/cve-2019-5736.c:168,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/cve-2019-5736.c:173,1
    - Dst: destroy_container
      Src: /src/lxc/src/tests/cve-2019-5736.c:174,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/cve-2019-5736.c:176,1
    - Dst: exit
      Src: /src/lxc/src/tests/cve-2019-5736.c:177,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 81
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 178
      start: 85
    functionDepth: 1
    functionLinenumber: 85
    functionLinenumberEnd: 178
    functionName: main
    functionSourceFile: /src/lxc/src/tests/cve-2019-5736.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::load_config
    - fprintf
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::set_config_item
    - struct lxc_container*::wait
    - destroy_container
    - setenv
    - lxc_container_put
    - lxc_container_new
    - create_container
    - strcmp
    - struct lxc_container*::startl
    - struct lxc_container*::is_defined
    - struct lxc_container*::state
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/tests/aa.c:21,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:27,1
    - Dst: getline
      Src: /src/lxc/src/tests/aa.c:30,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:32,1
    - Dst: free
      Src: /src/lxc/src/tests/aa.c:33,1
    - Dst: fclose
      Src: /src/lxc/src/tests/aa.c:35,1
    - Dst: fclose
      Src: /src/lxc/src/tests/aa.c:39,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - fname
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 41
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 41
    functionName: read_file
    functionSourceFile: /src/lxc/src/tests/aa.c
    functionUses: 0
    functionsReached:
    - getline
    - fprintf
    - fopen
    - fclose
    - free
    linkageType: ''
    returnType: char
    signature: char *read_file(char *fname)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/aa.c:46,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/aa.c:48,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/aa.c:49,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/aa.c:50,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/aa.c:52,1
    - Dst: is_defined
      Src: /src/lxc/src/tests/aa.c:54,1
    - Dst: destroy
      Src: /src/lxc/src/tests/aa.c:55,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/aa.c:56,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 58
      start: 43
    functionDepth: 1
    functionLinenumber: 43
    functionLinenumberEnd: 58
    functionName: try_to_remove
    functionSourceFile: /src/lxc/src/tests/aa.c
    functionUses: 1
    functionsReached:
    - is_defined
    - destroy
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::is_defined
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: void
    signature: void try_to_remove(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/tests/aa.c:65,1
    - Dst: printf
      Src: /src/lxc/src/tests/aa.c:67,1
    - Dst: fclose
      Src: /src/lxc/src/tests/aa.c:68,1
    - Dst: fflush
      Src: /src/lxc/src/tests/aa.c:69,1
    - Dst: printf
      Src: /src/lxc/src/tests/aa.c:72,1
    - Dst: fflush
      Src: /src/lxc/src/tests/aa.c:73,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 75
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 75
    functionName: test_attach_write_file
    functionSourceFile: /src/lxc/src/tests/aa.c
    functionUses: 0
    functionsReached:
    - printf
    - fclose
    - fflush
    - fopen
    linkageType: ''
    returnType: int
    signature: int test_attach_write_file(void* payload)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: pipe
      Src: /src/lxc/src/tests/aa.c:91,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:93,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/aa.c:99,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:101,1
    - Dst: read
      Src: /src/lxc/src/tests/aa.c:105,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:107,1
    - Dst: strncmp
      Src: /src/lxc/src/tests/aa.c:112,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/aa.c:116,1
    - Dst: close
      Src: /src/lxc/src/tests/aa.c:118,1
    - Dst: close
      Src: /src/lxc/src/tests/aa.c:119,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 32
    argCount: 2
    argNames:
    - c
    - fnam
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 121
      start: 82
    functionDepth: 1
    functionLinenumber: 82
    functionLinenumberEnd: 121
    functionName: do_test_file_open
    functionSourceFile: /src/lxc/src/tests/aa.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - read
    - fprintf
    - struct lxc_container*::attach
    - close
    - pipe
    - strncmp
    linkageType: ''
    returnType: int
    signature: int do_test_file_open(struct lxc_container *c, char *fnam)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: do_test_file_open
      Src: /src/lxc/src/tests/aa.c:139,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:141,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:145,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:149,1
    - Dst: do_test_file_open
      Src: /src/lxc/src/tests/aa.c:153,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:155,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:159,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:163,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 167
      start: 134
    functionDepth: 2
    functionLinenumber: 134
    functionLinenumberEnd: 167
    functionName: test_aa_policy
    functionSourceFile: /src/lxc/src/tests/aa.c
    functionUses: 0
    functionsReached:
    - do_test_file_open
    - fprintf
    linkageType: ''
    returnType: bool
    signature: bool test_aa_policy(struct lxc_container *c)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: try_to_remove
      Src: /src/lxc/src/tests/aa.c:174,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/aa.c:175,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:177,1
    - Dst: exit
      Src: /src/lxc/src/tests/aa.c:178,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/aa.c:181,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:182,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/aa.c:185,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:186,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/aa.c:189,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/aa.c:190,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:191,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/aa.c:195,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/aa.c:196,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/aa.c:197,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/aa.c:198,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/aa.c:200,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/aa.c:201,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:202,1
    - Dst: test_aa_policy
      Src: /src/lxc/src/tests/aa.c:206,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/aa.c:207,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/aa.c:211,1
    - Dst: struct lxc_container*::clone
      Src: /src/lxc/src/tests/aa.c:213,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:215,1
    - Dst: want_daemonize
      Src: /src/lxc/src/tests/aa.c:219,1
    - Dst: startl
      Src: /src/lxc/src/tests/aa.c:220,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:221,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/aa.c:226,1
    - Dst: init_pid
      Src: /src/lxc/src/tests/aa.c:226,1
    - Dst: read_file
      Src: /src/lxc/src/tests/aa.c:227,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:229,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:233,1
    - Dst: strncmp
      Src: /src/lxc/src/tests/aa.c:235,1
    - Dst: strlen
      Src: /src/lxc/src/tests/aa.c:235,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:236,1
    - Dst: strstr
      Src: /src/lxc/src/tests/aa.c:239,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/aa.c:240,1
    - Dst: stop
      Src: /src/lxc/src/tests/aa.c:244,1
    - Dst: free
      Src: /src/lxc/src/tests/aa.c:246,1
    - Dst: try_to_remove
      Src: /src/lxc/src/tests/aa.c:247,1
    - Dst: exit
      Src: /src/lxc/src/tests/aa.c:248,1
    - Dst: free
      Src: /src/lxc/src/tests/aa.c:251,1
    - Dst: try_to_remove
      Src: /src/lxc/src/tests/aa.c:252,1
    - Dst: exit
      Src: /src/lxc/src/tests/aa.c:253,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 78
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 254
      start: 169
    functionDepth: 3
    functionLinenumber: 169
    functionLinenumberEnd: 254
    functionName: main
    functionSourceFile: /src/lxc/src/tests/aa.c
    functionUses: 0
    functionsReached:
    - snprintf
    - lxc_container_new
    - test_aa_policy
    - struct lxc_container*::clone
    - free
    - startl
    - fprintf
    - stop
    - struct lxc_container*::set_config_item
    - struct lxc_container*::startl
    - strlen
    - struct lxc_container*::is_defined
    - want_daemonize
    - try_to_remove
    - read_file
    - exit
    - struct lxc_container*::save_config
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - init_pid
    - struct lxc_container*::clear_config_item
    - struct lxc_container*::createl
    - strstr
    - strncmp
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 111
    BranchProfiles: []
    Callsites:
    - Dst: lxc_error
      Src: /src/lxc/src/tests/get_item.c:43,1
    - Dst: exit
      Src: /src/lxc/src/tests/get_item.c:44,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/get_item.c:52,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/get_item.c:55,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:56,1
    - Dst: exit
      Src: /src/lxc/src/tests/get_item.c:57,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:61,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/get_item.c:62,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:66,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/get_item.c:68,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:72,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/get_item.c:73,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/get_item.c:76,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:79,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/get_item.c:80,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/get_item.c:83,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:85,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:86,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:90,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:92,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:95,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:97,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:99,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:102,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:104,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:105,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:109,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:111,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:114,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:116,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:117,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:121,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:123,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:126,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:128,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:129,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:133,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:135,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:138,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:140,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:141,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:145,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:147,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:150,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:152,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:153,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:157,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:158,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:162,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:164,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:167,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:168,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:173,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:174,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:178,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:180,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:183,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:184,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:189,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:190,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:194,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:196,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:199,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:200,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:210,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:211,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:215,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:217,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:220,1
    - Dst: malloc
      Src: /src/lxc/src/tests/get_item.c:223,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:225,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:231,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:233,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:237,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:238,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:241,1
    - Dst: free
      Src: /src/lxc/src/tests/get_item.c:242,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:244,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:245,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:249,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:251,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:254,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:256,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:258,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:262,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:263,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:267,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:269,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:273,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:274,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:277,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:279,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:280,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:284,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:286,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:290,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:291,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:294,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:298,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:300,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:304,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:305,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:308,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/get_item.c:310,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:311,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:315,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:317,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:321,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:322,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:325,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:330,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:332,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:336,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:337,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:341,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:343,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:347,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:348,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:351,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:353,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:354,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:358,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:360,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:364,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:365,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:368,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:370,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:372,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:376,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:377,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:380,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/get_item.c:382,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:383,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:387,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:389,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:393,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:394,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:397,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:402,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:404,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:408,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:409,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:413,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:415,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:419,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:420,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:423,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:425,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:426,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:430,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:432,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:436,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:437,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:440,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:442,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:444,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:448,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:449,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:452,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/get_item.c:454,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:455,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:459,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:461,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/get_item.c:465,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:466,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:469,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:471,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:472,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:476,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:478,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:481,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/get_item.c:483,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/get_item.c:486,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:487,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/get_item.c:490,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/get_item.c:491,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/get_item.c:493,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:494,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/get_item.c:498,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:499,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/get_item.c:502,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/get_item.c:505,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:506,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:510,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:512,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:516,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:518,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:522,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:524,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:527,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:529,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:531,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:534,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:536,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:537,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:541,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:542,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:546,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:547,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:551,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:552,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:556,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:557,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:561,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:563,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/get_item.c:567,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:568,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:572,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:574,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:578,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:579,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:583,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:585,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:589,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:590,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:594,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:596,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:600,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:602,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:605,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:607,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:609,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:612,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/get_item.c:614,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:615,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:619,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:621,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:625,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:627,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:630,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/get_item.c:632,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:634,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:637,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/get_item.c:639,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:640,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/get_item.c:644,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:645,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/get_item.c:649,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:650,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/get_item.c:654,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:655,1
    - Dst: lxc_config_item_is_supported
      Src: /src/lxc/src/tests/get_item.c:659,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:660,1
    - Dst: lxc_config_item_is_supported
      Src: /src/lxc/src/tests/get_item.c:664,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:665,1
    - Dst: lxc_config_item_is_supported
      Src: /src/lxc/src/tests/get_item.c:669,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:670,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/get_item.c:674,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/get_item.c:675,1
    - Dst: printf
      Src: /src/lxc/src/tests/get_item.c:680,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/get_item.c:685,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/get_item.c:686,1
    - Dst: read
      Src: /src/lxc/src/tests/get_item.c:691,1
    - Dst: write
      Src: /src/lxc/src/tests/get_item.c:692,1
    - Dst: close
      Src: /src/lxc/src/tests/get_item.c:696,1
    - Dst: unlink
      Src: /src/lxc/src/tests/get_item.c:698,1
    - Dst: exit
      Src: /src/lxc/src/tests/get_item.c:700,1
    CyclomaticComplexity: 220
    EdgeCount: 220
    ICount: 639
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 701
      start: 30
    functionDepth: 1
    functionLinenumber: 30
    functionLinenumberEnd: 701
    functionName: main
    functionSourceFile: /src/lxc/src/tests/get_item.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - read
    - lxc_container_put
    - lxc_container_new
    - free
    - fprintf
    - struct lxc_container*::set_config_item
    - printf
    - lxc_debug
    - lxc_config_item_is_supported
    - lxc_log_init
    - exit
    - struct lxc_container*::destroy
    - malloc
    - struct lxc_container*::get_config_item
    - write
    - unlink
    - struct lxc_container*::clear_config_item
    - strcmp
    - struct lxc_container*::createl
    - close
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: reboot
      Src: /src/lxc/src/tests/reboot.c:32,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:33,1
    - Dst: strerror
      Src: /src/lxc/src/tests/reboot.c:33,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 36
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 36
    functionName: do_reboot
    functionSourceFile: /src/lxc/src/tests/reboot.c
    functionUses: 0
    functionsReached:
    - printf
    - strerror
    - reboot
    linkageType: ''
    returnType: int
    signature: int do_reboot(void *arg)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: alloca
      Src: /src/lxc/src/tests/reboot.c:41,1
    - Dst: __clone2
      Src: /src/lxc/src/tests/reboot.c:46,1
    - Dst: clone
      Src: /src/lxc/src/tests/reboot.c:49,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:52,1
    - Dst: strerror
      Src: /src/lxc/src/tests/reboot.c:52,1
    - Dst: wait
      Src: /src/lxc/src/tests/reboot.c:56,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:57,1
    - Dst: strerror
      Src: /src/lxc/src/tests/reboot.c:57,1
    - Dst: WIFSIGNALED
      Src: /src/lxc/src/tests/reboot.c:61,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:63,1
    - Dst: WTERMSIG
      Src: /src/lxc/src/tests/reboot.c:68,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:69,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 2
    argNames:
    - cmd
    - sig
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 74
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 74
    functionName: test_reboot
    functionSourceFile: /src/lxc/src/tests/reboot.c
    functionUses: 0
    functionsReached:
    - wait
    - __clone2
    - strerror
    - alloca
    - printf
    - clone
    - WIFSIGNALED
    - WTERMSIG
    linkageType: ''
    returnType: int
    signature: int test_reboot(int cmd, int sig)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/tests/reboot.c:78,1
    - Dst: fscanf
      Src: /src/lxc/src/tests/reboot.c:85,1
    - Dst: fclose
      Src: /src/lxc/src/tests/reboot.c:86,1
    - Dst: reboot
      Src: /src/lxc/src/tests/reboot.c:90,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 95
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 95
    functionName: have_reboot_patch
    functionSourceFile: /src/lxc/src/tests/reboot.c
    functionUses: 0
    functionsReached:
    - fscanf
    - fclose
    - reboot
    - fopen
    linkageType: ''
    returnType: int
    signature: int have_reboot_patch(void)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: getuid
      Src: /src/lxc/src/tests/reboot.c:101,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:102,1
    - Dst: have_reboot_patch
      Src: /src/lxc/src/tests/reboot.c:106,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:108,1
    - Dst: test_reboot
      Src: /src/lxc/src/tests/reboot.c:112,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:114,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:117,1
    - Dst: test_reboot
      Src: /src/lxc/src/tests/reboot.c:119,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:122,1
    - Dst: test_reboot
      Src: /src/lxc/src/tests/reboot.c:124,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:127,1
    - Dst: test_reboot
      Src: /src/lxc/src/tests/reboot.c:129,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:132,1
    - Dst: test_reboot
      Src: /src/lxc/src/tests/reboot.c:134,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:137,1
    - Dst: printf
      Src: /src/lxc/src/tests/reboot.c:139,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 34
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 141
      start: 97
    functionDepth: 1
    functionLinenumber: 97
    functionLinenumberEnd: 141
    functionName: main
    functionSourceFile: /src/lxc/src/tests/reboot.c
    functionUses: 0
    functionsReached:
    - getuid
    - have_reboot_patch
    - test_reboot
    - printf
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - fmt
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: TSTERR
    functionSourceFile: /src/lxc/src/tests/console.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: TSTERR(fmt, ...)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/lxc/src/tests/console.c:33,1
    - Dst: close
      Src: /src/lxc/src/tests/console.c:38,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - ttyfd
    - ptxfd
    argTypes:
    - int[]
    - int[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 42
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 42
    functionName: test_console_close_all
    functionSourceFile: /src/lxc/src/tests/console.c
    functionUses: 0
    functionsReached:
    - close
    linkageType: ''
    returnType: void
    signature: "void test_console_close_all(int ttyfd[MAXCONSOLES],\n\t\t\t\t   int
      ptxfd[MAXCONSOLES])"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::console_getfd
      Src: /src/lxc/src/tests/console.c:56,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/console.c:58,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/console.c:64,1
    - Dst: struct lxc_container*::console_getfd
      Src: /src/lxc/src/tests/console.c:69,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/console.c:71,1
    - Dst: close
      Src: /src/lxc/src/tests/console.c:74,1
    - Dst: close
      Src: /src/lxc/src/tests/console.c:75,1
    - Dst: struct lxc_container*::console_getfd
      Src: /src/lxc/src/tests/console.c:82,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/console.c:89,1
    - Dst: test_console_close_all
      Src: /src/lxc/src/tests/console.c:93,1
    - Dst: test_console_close_all
      Src: /src/lxc/src/tests/console.c:99,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 47
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 103
      start: 44
    functionDepth: 1
    functionLinenumber: 44
    functionLinenumberEnd: 103
    functionName: test_console_running_container
    functionSourceFile: /src/lxc/src/tests/console.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::console_getfd
    - test_console_close_all
    - TSTERR
    - close
    linkageType: ''
    returnType: int
    signature: int test_console_running_container(struct lxc_container *c)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mkdir
      Src: /src/lxc/src/tests/console.c:120,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/console.c:122,1
    - Dst: strerror
      Src: /src/lxc/src/tests/console.c:122,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/console.c:128,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/console.c:129,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/console.c:133,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/console.c:134,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/console.c:135,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/console.c:136,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/console.c:139,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/console.c:140,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/console.c:144,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/console.c:145,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/console.c:146,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/console.c:147,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/console.c:148,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/console.c:150,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/console.c:151,1
    - Dst: test_console_running_container
      Src: /src/lxc/src/tests/console.c:155,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/console.c:157,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/console.c:160,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/console.c:163,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 46
    argCount: 3
    argNames:
    - lxcpath
    - group
    - name
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 167
      start: 112
    functionDepth: 2
    functionLinenumber: 112
    functionLinenumberEnd: 167
    functionName: test_console
    functionSourceFile: /src/lxc/src/tests/console.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::createl
    - struct lxc_container*::save_config
    - strerror
    - struct lxc_container*::load_config
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - test_console_running_container
    - mkdir
    - TSTERR
    - struct lxc_container*::set_config_item
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::startl
    - struct lxc_container*::is_defined
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: "int test_console(const char *lxcpath,\n\t\t\tconst char *group, const
      char *name,\n\t\t\tconst char *template)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: test_console
      Src: /src/lxc/src/tests/console.c:173,1
    - Dst: test_console
      Src: /src/lxc/src/tests/console.c:177,1
    - Dst: printf
      Src: /src/lxc/src/tests/console.c:181,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 185
      start: 169
    functionDepth: 3
    functionLinenumber: 169
    functionLinenumberEnd: 185
    functionName: main
    functionSourceFile: /src/lxc/src/tests/console.c
    functionUses: 0
    functionsReached:
    - printf
    - test_console
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - fmt
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 30
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 30
    functionName: TSTOUT
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: TSTOUT(fmt, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - fmt
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: TSTERR
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 3
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: TSTERR(fmt, ...)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: enabled
      Src: /src/lxc/src/tests/attach.c:41,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/attach.c:42,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/attach.c:46,1
    - Dst: file_exists
      Src: /src/lxc/src/tests/attach.c:48,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:54,1
    - Dst: exit
      Src: /src/lxc/src/tests/attach.c:55,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 58
      start: 39
    functionDepth: 1
    functionLinenumber: 39
    functionLinenumberEnd: 58
    functionName: test_lsm_detect
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - enabled
    - file_exists
    - TSTERR
    - strcmp
    - exit
    linkageType: ''
    returnType: void
    signature: void test_lsm_detect(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/attach.c:63,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/attach.c:64,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/attach.c:65,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - ct
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 66
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 66
    functionName: test_attach_lsm_set_config
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::save_config
    - struct lxc_container*::load_config
    - struct lxc_container*::set_config_item
    linkageType: ''
    returnType: void
    signature: void test_attach_lsm_set_config(struct lxc_container *ct)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:70,1
    - Dst: process_label_get
      Src: /src/lxc/src/tests/attach.c:70,1
    - Dst: syscall
      Src: /src/lxc/src/tests/attach.c:70,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 72
      start: 68
    functionDepth: 1
    functionLinenumber: 68
    functionLinenumberEnd: 72
    functionName: test_attach_lsm_func_func
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - process_label_get
    - TSTOUT
    - syscall
    linkageType: ''
    returnType: int
    signature: int test_attach_lsm_func_func(void* payload)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:82,1
    - Dst: pipe
      Src: /src/lxc/src/tests/attach.c:84,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:86,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/attach.c:92,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:94,1
    - Dst: read
      Src: /src/lxc/src/tests/attach.c:98,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:100,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/attach.c:105,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:106,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/attach.c:113,1
    - Dst: close
      Src: /src/lxc/src/tests/attach.c:115,1
    - Dst: close
      Src: /src/lxc/src/tests/attach.c:116,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 38
    argCount: 1
    argNames:
    - ct
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 118
      start: 74
    functionDepth: 1
    functionLinenumber: 74
    functionLinenumberEnd: 118
    functionName: test_attach_lsm_func
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - read
    - TSTERR
    - struct lxc_container*::attach
    - TSTOUT
    - strcmp
    - close
    - pipe
    linkageType: ''
    returnType: int
    signature: int test_attach_lsm_func(struct lxc_container *ct)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:131,1
    - Dst: pipe
      Src: /src/lxc/src/tests/attach.c:133,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:135,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/attach.c:140,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:142,1
    - Dst: read
      Src: /src/lxc/src/tests/attach.c:146,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:148,1
    - Dst: strchr
      Src: /src/lxc/src/tests/attach.c:152,1
    - Dst: strchr
      Src: /src/lxc/src/tests/attach.c:155,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/attach.c:160,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:161,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/attach.c:167,1
    - Dst: close
      Src: /src/lxc/src/tests/attach.c:169,1
    - Dst: close
      Src: /src/lxc/src/tests/attach.c:170,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 42
    argCount: 1
    argNames:
    - ct
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 172
      start: 120
    functionDepth: 1
    functionLinenumber: 120
    functionLinenumberEnd: 172
    functionName: test_attach_lsm_cmd
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - read
    - strchr
    - TSTERR
    - struct lxc_container*::attach
    - TSTOUT
    - strcmp
    - close
    - pipe
    linkageType: ''
    returnType: int
    signature: int test_attach_lsm_cmd(struct lxc_container *ct)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 1
    argNames:
    - ct
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 174
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 174
    functionName: test_attach_lsm_set_config
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void test_attach_lsm_set_config(struct lxc_container *ct)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ct
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 175
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 175
    functionName: test_attach_lsm_func
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int test_attach_lsm_func(struct lxc_container *ct)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ct
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 176
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 176
    functionName: test_attach_lsm_cmd
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int test_attach_lsm_cmd(struct lxc_container *ct)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:181,1
    - Dst: syscall
      Src: /src/lxc/src/tests/attach.c:181,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 183
      start: 179
    functionDepth: 1
    functionLinenumber: 179
    functionLinenumberEnd: 183
    functionName: test_attach_func_func
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - syscall
    - TSTOUT
    linkageType: ''
    returnType: int
    signature: int test_attach_func_func(void* payload)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:193,1
    - Dst: pipe
      Src: /src/lxc/src/tests/attach.c:199,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:201,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/attach.c:206,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:208,1
    - Dst: read
      Src: /src/lxc/src/tests/attach.c:212,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:214,1
    - Dst: atoi
      Src: /src/lxc/src/tests/attach.c:224,1
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:225,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/attach.c:229,1
    - Dst: close
      Src: /src/lxc/src/tests/attach.c:231,1
    - Dst: close
      Src: /src/lxc/src/tests/attach.c:232,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 32
    argCount: 1
    argNames:
    - ct
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 234
      start: 185
    functionDepth: 1
    functionLinenumber: 185
    functionLinenumberEnd: 234
    functionName: test_attach_func
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - read
    - TSTERR
    - struct lxc_container*::attach
    - atoi
    - TSTOUT
    - close
    - pipe
    linkageType: ''
    returnType: int
    signature: int test_attach_func(struct lxc_container *ct)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:244,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/attach.c:245,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:247,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/attach.c:251,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:253,1
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:257,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/attach.c:259,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:261,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/attach.c:265,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:267,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - ct
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 271
      start: 236
    functionDepth: 1
    functionLinenumber: 236
    functionLinenumberEnd: 271
    functionName: test_attach_cmd
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - TSTOUT
    - TSTERR
    - struct lxc_container*::attach
    linkageType: ''
    returnType: int
    signature: int test_attach_cmd(struct lxc_container *ct)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/attach.c:279,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/attach.c:280,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/attach.c:281,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - ct
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 282
      start: 277
    functionDepth: 1
    functionLinenumber: 277
    functionLinenumberEnd: 282
    functionName: test_ct_destroy
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::stop
    - lxc_container_put
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: void
    signature: void test_ct_destroy(struct lxc_container *ct)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: mkdir
      Src: /src/lxc/src/tests/attach.c:299,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:301,1
    - Dst: strerror
      Src: /src/lxc/src/tests/attach.c:301,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/attach.c:306,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:307,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/attach.c:310,1
    - Dst: test_ct_destroy
      Src: /src/lxc/src/tests/attach.c:311,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/attach.c:312,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/attach.c:314,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:315,1
    - Dst: enabled
      Src: /src/lxc/src/tests/attach.c:319,1
    - Dst: test_attach_lsm_set_config
      Src: /src/lxc/src/tests/attach.c:320,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/attach.c:322,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/attach.c:323,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:324,1
    - Dst: test_ct_destroy
      Src: /src/lxc/src/tests/attach.c:330,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 39
    argCount: 3
    argNames:
    - lxcpath
    - group
    - name
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 334
      start: 291
    functionDepth: 2
    functionLinenumber: 291
    functionLinenumberEnd: 334
    functionName: test_ct_create
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::createl
    - strerror
    - test_attach_lsm_set_config
    - enabled
    - struct lxc_container*::want_daemonize
    - mkdir
    - test_ct_destroy
    - TSTERR
    - lxc_container_new
    - struct lxc_container*::startl
    - struct lxc_container*::is_defined
    linkageType: ''
    returnType: struct lxc_container
    signature: "struct lxc_container *test_ct_create(const char *lxcpath,\n\t\t\t\tconst
      char *group, const char *name,\n\t\t\t\tconst char *template)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:342,1
    - Dst: test_ct_create
      Src: /src/lxc/src/tests/attach.c:343,1
    - Dst: test_attach_cmd
      Src: /src/lxc/src/tests/attach.c:347,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:349,1
    - Dst: test_attach_func
      Src: /src/lxc/src/tests/attach.c:353,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:355,1
    - Dst: enabled
      Src: /src/lxc/src/tests/attach.c:359,1
    - Dst: test_attach_lsm_cmd
      Src: /src/lxc/src/tests/attach.c:360,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:362,1
    - Dst: test_attach_lsm_func
      Src: /src/lxc/src/tests/attach.c:366,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/attach.c:368,1
    - Dst: test_ct_destroy
      Src: /src/lxc/src/tests/attach.c:375,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 39
    argCount: 2
    argNames:
    - lxcpath
    - name
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 378
      start: 337
    functionDepth: 3
    functionLinenumber: 337
    functionLinenumberEnd: 378
    functionName: test_attach
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - test_attach_lsm_func
    - enabled
    - test_ct_create
    - test_attach_func
    - test_ct_destroy
    - TSTERR
    - TSTOUT
    - test_attach_lsm_cmd
    - test_attach_cmd
    linkageType: ''
    returnType: int
    signature: int test_attach(const char *lxcpath, const char *name, const char *template)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_error
      Src: /src/lxc/src/tests/attach.c:393,1
    - Dst: exit
      Src: /src/lxc/src/tests/attach.c:394,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/attach.c:396,1
    - Dst: close
      Src: /src/lxc/src/tests/attach.c:397,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/attach.c:406,1
    - Dst: test_lsm_detect
      Src: /src/lxc/src/tests/attach.c:409,1
    - Dst: test_attach
      Src: /src/lxc/src/tests/attach.c:410,1
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:414,1
    - Dst: test_attach
      Src: /src/lxc/src/tests/attach.c:415,1
    - Dst: TSTOUT
      Src: /src/lxc/src/tests/attach.c:419,1
    - Dst: open
      Src: /src/lxc/src/tests/attach.c:426,1
    - Dst: read
      Src: /src/lxc/src/tests/attach.c:430,1
    - Dst: write
      Src: /src/lxc/src/tests/attach.c:431,1
    - Dst: close
      Src: /src/lxc/src/tests/attach.c:435,1
    - Dst: rmdir
      Src: /src/lxc/src/tests/attach.c:438,1
    - Dst: unlink
      Src: /src/lxc/src/tests/attach.c:439,1
    - Dst: exit
      Src: /src/lxc/src/tests/attach.c:440,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 47
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 441
      start: 380
    functionDepth: 4
    functionLinenumber: 380
    functionLinenumberEnd: 441
    functionName: main
    functionSourceFile: /src/lxc/src/tests/attach.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_error
    - read
    - test_attach
    - write
    - test_lsm_detect
    - lxc_log_init
    - rmdir
    - unlink
    - TSTOUT
    - lxc_debug
    - close
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/tests/may_control.c:15,1
    - Dst: exit
      Src: /src/lxc/src/tests/may_control.c:16,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - me
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 17
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 17
    functionName: usage
    functionSourceFile: /src/lxc/src/tests/may_control.c
    functionUses: 0
    functionsReached:
    - printf
    - exit
    linkageType: ''
    returnType: void
    signature: void usage(const char *me)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: usage
      Src: /src/lxc/src/tests/may_control.c:26,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/may_control.c:33,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/tests/may_control.c:35,1
    - Dst: printf
      Src: /src/lxc/src/tests/may_control.c:37,1
    - Dst: exit
      Src: /src/lxc/src/tests/may_control.c:38,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 39
      start: 19
    functionDepth: 1
    functionLinenumber: 19
    functionLinenumberEnd: 39
    functionName: main
    functionSourceFile: /src/lxc/src/tests/may_control.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - usage
    - printf
    - lxc_container_new
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:42,1
    - Dst: exit
      Src: /src/lxc/src/tests/api_reboot.c:43,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/api_reboot.c:45,1
    - Dst: close
      Src: /src/lxc/src/tests/api_reboot.c:46,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/api_reboot.c:55,1
    - Dst: exit
      Src: /src/lxc/src/tests/api_reboot.c:56,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/api_reboot.c:61,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:63,1
    - Dst: exit
      Src: /src/lxc/src/tests/api_reboot.c:64,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/api_reboot.c:67,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:68,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/api_reboot.c:72,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:73,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/api_reboot.c:77,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:78,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/api_reboot.c:82,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/api_reboot.c:84,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:85,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/api_reboot.c:89,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:90,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/api_reboot.c:94,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:95,1
    - Dst: sleep
      Src: /src/lxc/src/tests/api_reboot.c:104,1
    - Dst: struct lxc_container*::reboot2
      Src: /src/lxc/src/tests/api_reboot.c:106,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:107,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/api_reboot.c:111,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:112,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/api_reboot.c:115,1
    - Dst: sleep
      Src: /src/lxc/src/tests/api_reboot.c:121,1
    - Dst: struct lxc_container*::reboot2
      Src: /src/lxc/src/tests/api_reboot.c:124,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:125,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/api_reboot.c:128,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/api_reboot.c:133,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/api_reboot.c:133,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:134,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/api_reboot.c:136,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/api_reboot.c:137,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/api_reboot.c:140,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/api_reboot.c:143,1
    - Dst: open
      Src: /src/lxc/src/tests/api_reboot.c:147,1
    - Dst: read
      Src: /src/lxc/src/tests/api_reboot.c:151,1
    - Dst: write
      Src: /src/lxc/src/tests/api_reboot.c:152,1
    - Dst: close
      Src: /src/lxc/src/tests/api_reboot.c:156,1
    - Dst: unlink
      Src: /src/lxc/src/tests/api_reboot.c:159,1
    - Dst: exit
      Src: /src/lxc/src/tests/api_reboot.c:161,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 100
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 162
      start: 30
    functionDepth: 1
    functionLinenumber: 30
    functionLinenumberEnd: 162
    functionName: main
    functionSourceFile: /src/lxc/src/tests/api_reboot.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - read
    - struct lxc_container*::load_config
    - struct lxc_container*::is_running
    - lxc_container_new
    - lxc_container_put
    - open
    - sleep
    - struct lxc_container*::startl
    - lxc_debug
    - struct lxc_container*::is_defined
    - lxc_log_init
    - exit
    - struct lxc_container*::destroy
    - write
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - unlink
    - struct lxc_container*::createl
    - struct lxc_container*::clear_config
    - struct lxc_container*::reboot2
    - close
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_set
      Src: /src/lxc/src/tests/capabilities.c:37,1
    - Dst: cap_get_bound
      Src: /src/lxc/src/tests/capabilities.c:41,1
    - Dst: cap_get_bound
      Src: /src/lxc/src/tests/capabilities.c:43,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:45,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 51
      start: 32
    functionDepth: 1
    functionLinenumber: 32
    functionLinenumberEnd: 51
    functionName: capabilities_allow
    functionSourceFile: /src/lxc/src/tests/capabilities.c
    functionUses: 0
    functionsReached:
    - cap_get_bound
    - lxc_error
    - is_set
    linkageType: ''
    returnType: int
    signature: int capabilities_allow(void *payload)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_set
      Src: /src/lxc/src/tests/capabilities.c:58,1
    - Dst: cap_get_bound
      Src: /src/lxc/src/tests/capabilities.c:62,1
    - Dst: cap_get_bound
      Src: /src/lxc/src/tests/capabilities.c:64,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:66,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 72
      start: 53
    functionDepth: 1
    functionLinenumber: 53
    functionLinenumberEnd: 72
    functionName: capabilities_deny
    functionSourceFile: /src/lxc/src/tests/capabilities.c
    functionUses: 0
    functionsReached:
    - cap_get_bound
    - lxc_error
    - is_set
    linkageType: ''
    returnType: int
    signature: int capabilities_deny(void *payload)
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:88,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/capabilities.c:99,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/capabilities.c:102,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:104,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/capabilities.c:108,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:109,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/capabilities.c:113,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:114,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/capabilities.c:118,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:119,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/capabilities.c:123,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:124,1
    - Dst: struct lxc_container*::clear_config_item
      Src: /src/lxc/src/tests/capabilities.c:128,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:129,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/capabilities.c:134,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:135,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/capabilities.c:139,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:140,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/capabilities.c:145,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:146,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/capabilities.c:150,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:151,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/capabilities.c:155,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:157,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/capabilities.c:161,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:163,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/capabilities.c:170,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/capabilities.c:170,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:171,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/capabilities.c:174,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/capabilities.c:175,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/capabilities.c:178,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/capabilities.c:181,1
    - Dst: open
      Src: /src/lxc/src/tests/capabilities.c:185,1
    - Dst: read
      Src: /src/lxc/src/tests/capabilities.c:189,1
    - Dst: write
      Src: /src/lxc/src/tests/capabilities.c:190,1
    - Dst: close
      Src: /src/lxc/src/tests/capabilities.c:194,1
    - Dst: unlink
      Src: /src/lxc/src/tests/capabilities.c:197,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 107
    argCount: 1
    argNames:
    - allow
    argTypes:
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 200
      start: 74
    functionDepth: 1
    functionLinenumber: 74
    functionLinenumberEnd: 200
    functionName: run
    functionSourceFile: /src/lxc/src/tests/capabilities.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - read
    - struct lxc_container*::is_running
    - lxc_container_new
    - lxc_container_put
    - open
    - struct lxc_container*::set_config_item
    - struct lxc_container*::startl
    - lxc_debug
    - struct lxc_container*::is_defined
    - lxc_log_init
    - struct lxc_container*::destroy
    - write
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::attach
    - unlink
    - struct lxc_container*::clear_config_item
    - struct lxc_container*::createl
    - wait_for_pid
    - close
    linkageType: ''
    returnType: int
    signature: int run(int (*test)(void *), bool allow)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_caps_last_cap
      Src: /src/lxc/src/tests/capabilities.c:207,1
    - Dst: _exit
      Src: /src/lxc/src/tests/capabilities.c:209,1
    - Dst: BITS_TO_LONGS
      Src: /src/lxc/src/tests/capabilities.c:211,1
    - Dst: zalloc
      Src: /src/lxc/src/tests/capabilities.c:212,1
    - Dst: _exit
      Src: /src/lxc/src/tests/capabilities.c:214,1
    - Dst: prctl
      Src: /src/lxc/src/tests/capabilities.c:217,1
    - Dst: prctl_arg
      Src: /src/lxc/src/tests/capabilities.c:217,1
    - Dst: set_bit
      Src: /src/lxc/src/tests/capabilities.c:220,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 222
      start: 202
    functionDepth: 1
    functionLinenumber: 202
    functionLinenumberEnd: 222
    functionName: capabilities_init
    functionSourceFile: /src/lxc/src/tests/capabilities.c
    functionUses: 0
    functionsReached:
    - lxc_caps_last_cap
    - prctl
    - BITS_TO_LONGS
    - set_bit
    - zalloc
    - _exit
    - prctl_arg
    linkageType: ''
    returnType: void
    signature: void capabilities_init(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/tests/capabilities.c:226,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 227
      start: 224
    functionDepth: 0
    functionLinenumber: 224
    functionLinenumberEnd: 227
    functionName: capabilities_exit
    functionSourceFile: /src/lxc/src/tests/capabilities.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void capabilities_exit(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: run
      Src: /src/lxc/src/tests/capabilities.c:231,1
    - Dst: exit
      Src: /src/lxc/src/tests/capabilities.c:232,1
    - Dst: run
      Src: /src/lxc/src/tests/capabilities.c:234,1
    - Dst: exit
      Src: /src/lxc/src/tests/capabilities.c:235,1
    - Dst: exit
      Src: /src/lxc/src/tests/capabilities.c:237,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 238
      start: 229
    functionDepth: 2
    functionLinenumber: 229
    functionLinenumberEnd: 238
    functionName: main
    functionSourceFile: /src/lxc/src/tests/capabilities.c
    functionUses: 0
    functionsReached:
    - run
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/capabilities.c:244,1
    - Dst: exit
      Src: /src/lxc/src/tests/capabilities.c:245,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 246
      start: 242
    functionDepth: 1
    functionLinenumber: 242
    functionLinenumberEnd: 246
    functionName: main
    functionSourceFile: /src/lxc/src/tests/capabilities.c
    functionUses: 0
    functionsReached:
    - exit
    - lxc_debug
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/share_ns.c:46,1
    - Dst: sprintf
      Src: /src/lxc/src/tests/share_ns.c:48,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/share_ns.c:49,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:51,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/share_ns.c:55,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:56,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/share_ns.c:60,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:61,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/share_ns.c:65,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:66,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/share_ns.c:70,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/share_ns.c:72,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:73,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/share_ns.c:78,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:79,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/share_ns.c:84,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:85,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/share_ns.c:89,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:90,1
    - Dst: sprintf
      Src: /src/lxc/src/tests/share_ns.c:94,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/share_ns.c:96,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:97,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/share_ns.c:101,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:102,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/share_ns.c:106,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:107,1
    - Dst: struct lxc_container*::init_pid
      Src: /src/lxc/src/tests/share_ns.c:111,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:113,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/share_ns.c:118,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:120,1
    - Dst: readlink
      Src: /src/lxc/src/tests/share_ns.c:124,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:126,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/share_ns.c:131,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:132,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/share_ns.c:135,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/share_ns.c:138,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:140,1
    - Dst: readlink
      Src: /src/lxc/src/tests/share_ns.c:144,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:146,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/share_ns.c:151,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:152,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/share_ns.c:155,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/share_ns.c:160,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/share_ns.c:160,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:161,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/share_ns.c:163,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:164,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/share_ns.c:166,1
    - Dst: pthread_exit
      Src: /src/lxc/src/tests/share_ns.c:169,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 116
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 170
      start: 35
    functionDepth: 1
    functionLinenumber: 35
    functionLinenumberEnd: 170
    functionName: ns_sharing_wrapper
    functionSourceFile: /src/lxc/src/tests/share_ns.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - struct lxc_container*::load_config
    - snprintf
    - struct lxc_container*::is_running
    - lxc_container_new
    - readlink
    - lxc_container_put
    - struct lxc_container*::set_config_item
    - struct lxc_container*::startl
    - lxc_debug
    - struct lxc_container*::is_defined
    - struct lxc_container*::destroy
    - sprintf
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::init_pid
    - strcmp
    - struct lxc_container*::createl
    - struct lxc_container*::clear_config
    - pthread_exit
    linkageType: ''
    returnType: __noreturn
    signature: __noreturn *ns_sharing_wrapper(void *data)
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: pthread_attr_init
      Src: /src/lxc/src/tests/share_ns.c:185,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/share_ns.c:187,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:189,1
    - Dst: exit
      Src: /src/lxc/src/tests/share_ns.c:190,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/share_ns.c:193,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:194,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/share_ns.c:198,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:199,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/share_ns.c:203,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:204,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/share_ns.c:208,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/share_ns.c:210,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:211,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/share_ns.c:215,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:216,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/share_ns.c:220,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:221,1
    - Dst: struct lxc_container*::init_pid
      Src: /src/lxc/src/tests/share_ns.c:225,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:227,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/share_ns.c:232,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:234,1
    - Dst: readlink
      Src: /src/lxc/src/tests/share_ns.c:238,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:240,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/share_ns.c:247,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:249,1
    - Dst: readlink
      Src: /src/lxc/src/tests/share_ns.c:253,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:255,1
    - Dst: sleep
      Src: /src/lxc/src/tests/share_ns.c:260,1
    - Dst: malloc
      Src: /src/lxc/src/tests/share_ns.c:262,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:264,1
    - Dst: malloc
      Src: /src/lxc/src/tests/share_ns.c:268,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:270,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/share_ns.c:277,1
    - Dst: memset
      Src: /src/lxc/src/tests/share_ns.c:280,1
    - Dst: memset
      Src: /src/lxc/src/tests/share_ns.c:281,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/share_ns.c:286,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/share_ns.c:287,1
    - Dst: pthread_create
      Src: /src/lxc/src/tests/share_ns.c:289,1
    - Dst: pthread_join
      Src: /src/lxc/src/tests/share_ns.c:295,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:300,1
    - Dst: free
      Src: /src/lxc/src/tests/share_ns.c:312,1
    - Dst: free
      Src: /src/lxc/src/tests/share_ns.c:313,1
    - Dst: pthread_attr_destroy
      Src: /src/lxc/src/tests/share_ns.c:314,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/share_ns.c:316,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/share_ns.c:316,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:317,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/share_ns.c:319,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/share_ns.c:320,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/share_ns.c:322,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/share_ns.c:324,1
    - Dst: exit
      Src: /src/lxc/src/tests/share_ns.c:326,1
    CyclomaticComplexity: 45
    EdgeCount: 45
    ICount: 126
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 327
      start: 172
    functionDepth: 1
    functionLinenumber: 172
    functionLinenumberEnd: 327
    functionName: main
    functionSourceFile: /src/lxc/src/tests/share_ns.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - struct lxc_container*::load_config
    - snprintf
    - struct lxc_container*::is_running
    - lxc_container_new
    - readlink
    - lxc_container_put
    - pthread_join
    - pthread_create
    - free
    - sleep
    - struct lxc_container*::startl
    - lxc_debug
    - struct lxc_container*::is_defined
    - pthread_attr_init
    - exit
    - struct lxc_container*::destroy
    - malloc
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::init_pid
    - struct lxc_container*::createl
    - struct lxc_container*::clear_config
    - pthread_attr_destroy
    - memset
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/state_server.c:36,1
    - Dst: struct thread_args*::c::shutdown
      Src: /src/lxc/src/tests/state_server.c:38,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/state_server.c:40,1
    - Dst: pthread_exit
      Src: /src/lxc/src/tests/state_server.c:43,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 44
      start: 32
    functionDepth: 1
    functionLinenumber: 32
    functionLinenumberEnd: 44
    functionName: state_wrapper
    functionSourceFile: /src/lxc/src/tests/state_server.c
    functionUses: 0
    functionsReached:
    - pthread_exit
    - struct thread_args*::c::shutdown
    - lxc_debug
    linkageType: ''
    returnType: __noreturn
    signature: __noreturn *state_wrapper(void *data)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/state_server.c:55,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:57,1
    - Dst: exit
      Src: /src/lxc/src/tests/state_server.c:58,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/state_server.c:61,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:62,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/state_server.c:66,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:67,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/state_server.c:71,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:72,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/state_server.c:76,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/state_server.c:78,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:79,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/state_server.c:83,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:84,1
    - Dst: pthread_attr_init
      Src: /src/lxc/src/tests/state_server.c:88,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/state_server.c:91,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/state_server.c:93,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:94,1
    - Dst: sleep
      Src: /src/lxc/src/tests/state_server.c:98,1
    - Dst: pthread_create
      Src: /src/lxc/src/tests/state_server.c:108,1
    - Dst: pthread_join
      Src: /src/lxc/src/tests/state_server.c:114,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:119,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/state_server.c:128,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/state_server.c:128,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:129,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/state_server.c:131,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/state_server.c:132,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/state_server.c:135,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/state_server.c:137,1
    - Dst: exit
      Src: /src/lxc/src/tests/state_server.c:139,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 77
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 140
      start: 46
    functionDepth: 1
    functionLinenumber: 46
    functionLinenumberEnd: 140
    functionName: main
    functionSourceFile: /src/lxc/src/tests/state_server.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::createl
    - lxc_error
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::is_running
    - lxc_container_new
    - sleep
    - struct lxc_container*::startl
    - lxc_debug
    - lxc_container_put
    - struct lxc_container*::is_defined
    - pthread_join
    - pthread_create
    - pthread_attr_init
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_path_simplify
      Src: /src/lxc/src/tests/lxc-test-utils.c:34,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:36,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:38,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:38,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:39,1
    - Dst: lxc_path_simplify
      Src: /src/lxc/src/tests/lxc-test-utils.c:43,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:45,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:47,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:47,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:48,1
    - Dst: lxc_path_simplify
      Src: /src/lxc/src/tests/lxc-test-utils.c:51,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:53,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:55,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:55,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:56,1
    - Dst: lxc_path_simplify
      Src: /src/lxc/src/tests/lxc-test-utils.c:60,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:62,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:64,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:64,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:65,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 66
      start: 29
    functionDepth: 1
    functionLinenumber: 29
    functionLinenumberEnd: 66
    functionName: test_lxc_path_simplify
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - exit
    - lxc_path_simplify
    - lxc_test_assert_abort
    - strcmp
    - free
    linkageType: ''
    returnType: void
    signature: void test_lxc_path_simplify(void)
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/tests/lxc-test-utils.c:117,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:119,1
    - Dst: open
      Src: /src/lxc/src/tests/lxc-test-utils.c:123,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:125,1
    - Dst: unshare
      Src: /src/lxc/src/tests/lxc-test-utils.c:129,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:130,1
    - Dst: close
      Src: /src/lxc/src/tests/lxc-test-utils.c:131,1
    - Dst: mount
      Src: /src/lxc/src/tests/lxc-test-utils.c:136,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:137,1
    - Dst: strerror
      Src: /src/lxc/src/tests/lxc-test-utils.c:137,1
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/tests/lxc-test-utils.c:141,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:143,1
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/tests/lxc-test-utils.c:147,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:149,1
    - Dst: fdopen
      Src: /src/lxc/src/tests/lxc-test-utils.c:153,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:155,1
    - Dst: fdopen
      Src: /src/lxc/src/tests/lxc-test-utils.c:159,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:161,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/lxc-test-utils.c:167,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:168,1
    - Dst: fclose
      Src: /src/lxc/src/tests/lxc-test-utils.c:172,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:178,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/lxc-test-utils.c:181,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:182,1
    - Dst: fclose
      Src: /src/lxc/src/tests/lxc-test-utils.c:186,1
    - Dst: mount
      Src: /src/lxc/src/tests/lxc-test-utils.c:190,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:191,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:195,1
    - Dst: detect_ramfs_rootfs
      Src: /src/lxc/src/tests/lxc-test-utils.c:195,1
    - Dst: mount
      Src: /src/lxc/src/tests/lxc-test-utils.c:197,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:198,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:202,1
    - Dst: detect_ramfs_rootfs
      Src: /src/lxc/src/tests/lxc-test-utils.c:202,1
    - Dst: fclose
      Src: /src/lxc/src/tests/lxc-test-utils.c:207,1
    - Dst: close
      Src: /src/lxc/src/tests/lxc-test-utils.c:209,1
    - Dst: fclose
      Src: /src/lxc/src/tests/lxc-test-utils.c:212,1
    - Dst: close
      Src: /src/lxc/src/tests/lxc-test-utils.c:214,1
    - Dst: setns
      Src: /src/lxc/src/tests/lxc-test-utils.c:217,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:218,1
    - Dst: strerror
      Src: /src/lxc/src/tests/lxc-test-utils.c:218,1
    - Dst: close
      Src: /src/lxc/src/tests/lxc-test-utils.c:221,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:227,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 104
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 228
      start: 70
    functionDepth: 1
    functionLinenumber: 70
    functionLinenumberEnd: 228
    functionName: test_detect_ramfs_rootfs
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_error
    - mount
    - strerror
    - lxc_make_tmpfile
    - fdopen
    - fprintf
    - setns
    - snprintf
    - unshare
    - lxc_test_assert_abort
    - detect_ramfs_rootfs
    - fclose
    - close
    - strcmp
    - exit
    linkageType: ''
    returnType: void
    signature: void test_detect_ramfs_rootfs(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/tests/lxc-test-utils.c:234,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:236,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:236,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:237,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:237,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/lxc-test-utils.c:239,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:241,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:243,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:243,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/lxc-test-utils.c:245,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:247,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:249,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:249,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:251,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:251,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:252,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:252,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:253,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:253,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:254,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:254,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:255,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:255,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:256,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:256,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:257,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:257,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:258,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:258,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:259,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:259,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:260,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:260,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:261,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:261,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:262,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:262,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:263,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:263,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 264
      start: 230
    functionDepth: 1
    functionLinenumber: 230
    functionLinenumberEnd: 264
    functionName: test_lxc_safe_uint
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - snprintf
    - INTTYPE_TO_STRLEN
    - lxc_test_assert_abort
    - exit
    linkageType: ''
    returnType: void
    signature: void test_lxc_safe_uint(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/tests/lxc-test-utils.c:270,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/lxc-test-utils.c:272,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:274,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:276,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:276,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/lxc-test-utils.c:278,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:280,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:282,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:282,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/lxc-test-utils.c:284,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:286,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:288,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:288,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/lxc-test-utils.c:290,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:292,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:294,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:294,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:296,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:296,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:297,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:297,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:298,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:298,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:299,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:299,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:300,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:300,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:301,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:301,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:302,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:302,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:303,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:303,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:304,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:304,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:305,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:305,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:306,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:306,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:307,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:307,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:308,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:308,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:309,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:309,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:310,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:310,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 32
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 311
      start: 266
    functionDepth: 1
    functionLinenumber: 266
    functionLinenumberEnd: 311
    functionName: test_lxc_safe_int
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - snprintf
    - INTTYPE_TO_STRLEN
    - lxc_test_assert_abort
    - lxc_safe_int
    - exit
    linkageType: ''
    returnType: void
    signature: void test_lxc_safe_int(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:317,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:317,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:318,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:318,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:319,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:319,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:320,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:320,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:321,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:321,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:322,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:322,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:323,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:323,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:324,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:324,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:325,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:325,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:326,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:326,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:327,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:327,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:328,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:328,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:329,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:329,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:330,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:330,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:331,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:331,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 332
      start: 313
    functionDepth: 1
    functionLinenumber: 313
    functionLinenumberEnd: 332
    functionName: test_lxc_safe_long
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - lxc_test_assert_abort
    - lxc_safe_long
    linkageType: ''
    returnType: void
    signature: void test_lxc_safe_long(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_string_replace
      Src: /src/lxc/src/tests/lxc-test-utils.c:338,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:339,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:339,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:340,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/tests/lxc-test-utils.c:342,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:343,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:343,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:344,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/tests/lxc-test-utils.c:346,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:347,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:347,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:348,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/tests/lxc-test-utils.c:350,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:351,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:351,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:352,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/tests/lxc-test-utils.c:354,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:355,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:355,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:356,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/tests/lxc-test-utils.c:358,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:359,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:359,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:360,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/tests/lxc-test-utils.c:362,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:363,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:363,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:364,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/tests/lxc-test-utils.c:366,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:367,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/lxc-test-utils.c:367,1
    - Dst: free
      Src: /src/lxc/src/tests/lxc-test-utils.c:368,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 25
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 369
      start: 334
    functionDepth: 1
    functionLinenumber: 334
    functionLinenumberEnd: 369
    functionName: test_lxc_string_replace
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - lxc_test_assert_abort
    - strcmp
    - lxc_string_replace
    - free
    linkageType: ''
    returnType: void
    signature: void test_lxc_string_replace(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:373,1
    - Dst: lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:373,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:374,1
    - Dst: lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:374,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:375,1
    - Dst: lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:375,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:377,1
    - Dst: lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:377,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:378,1
    - Dst: lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:378,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:379,1
    - Dst: lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:379,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:381,1
    - Dst: lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:381,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:382,1
    - Dst: lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:382,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:383,1
    - Dst: lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:383,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 384
      start: 371
    functionDepth: 1
    functionLinenumber: 371
    functionLinenumberEnd: 384
    functionName: test_lxc_string_in_array
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - lxc_string_in_array
    - lxc_test_assert_abort
    linkageType: ''
    returnType: void
    signature: void test_lxc_string_in_array(void)
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:391,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:393,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:394,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:398,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:399,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:402,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:404,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:405,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:409,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:410,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:413,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:415,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:416,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:419,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:421,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:422,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:426,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:427,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:430,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:432,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:433,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:437,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:438,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:441,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:443,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:444,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:448,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:449,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:452,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:454,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:455,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:458,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:460,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:461,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:465,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:466,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:469,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:471,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:472,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:476,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:477,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:480,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:482,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:483,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:487,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:488,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:491,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:493,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:494,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:497,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:499,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:500,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 93
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 502
      start: 386
    functionDepth: 1
    functionLinenumber: 386
    functionLinenumberEnd: 502
    functionName: test_parse_byte_size_string
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - parse_byte_size_string
    - lxc_error
    - exit
    linkageType: ''
    returnType: void
    signature: void test_parse_byte_size_string(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_net_is_hwaddr
      Src: /src/lxc/src/tests/lxc-test-utils.c:506,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:507,1
    - Dst: lxc_config_net_is_hwaddr
      Src: /src/lxc/src/tests/lxc-test-utils.c:509,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:510,1
    - Dst: lxc_config_net_is_hwaddr
      Src: /src/lxc/src/tests/lxc-test-utils.c:512,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:513,1
    - Dst: lxc_config_net_is_hwaddr
      Src: /src/lxc/src/tests/lxc-test-utils.c:515,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:516,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 517
      start: 504
    functionDepth: 1
    functionLinenumber: 504
    functionLinenumberEnd: 517
    functionName: test_lxc_config_net_is_hwaddr
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - exit
    - lxc_config_net_is_hwaddr
    linkageType: ''
    returnType: void
    signature: void test_lxc_config_net_is_hwaddr(void)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/lxc-test-utils.c:524,1
    - Dst: _exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:526,1
    - Dst: sigemptyset
      Src: /src/lxc/src/tests/lxc-test-utils.c:535,1
    - Dst: sigaddset
      Src: /src/lxc/src/tests/lxc-test-utils.c:538,1
    - Dst: _exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:540,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/tests/lxc-test-utils.c:543,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:545,1
    - Dst: _exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:546,1
    - Dst: task_blocks_signal
      Src: /src/lxc/src/tests/lxc-test-utils.c:550,1
    - Dst: getpid
      Src: /src/lxc/src/tests/lxc-test-utils.c:550,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:551,1
    - Dst: _exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:554,1
    - Dst: task_blocks_signal
      Src: /src/lxc/src/tests/lxc-test-utils.c:558,1
    - Dst: getpid
      Src: /src/lxc/src/tests/lxc-test-utils.c:558,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:559,1
    - Dst: _exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:561,1
    - Dst: task_blocks_signal
      Src: /src/lxc/src/tests/lxc-test-utils.c:564,1
    - Dst: getpid
      Src: /src/lxc/src/tests/lxc-test-utils.c:564,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc-test-utils.c:565,1
    - Dst: _exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:567,1
    - Dst: _exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:570,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/lxc-test-utils.c:573,1
    - Dst: _exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:575,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 36
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 578
      start: 519
    functionDepth: 1
    functionLinenumber: 519
    functionLinenumberEnd: 578
    functionName: test_task_blocks_signal
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - pthread_sigmask
    - lxc_error
    - wait_for_pid
    - sigemptyset
    - sigaddset
    - task_blocks_signal
    - getpid
    - _exit
    - fork
    linkageType: ''
    returnType: void
    signature: void test_task_blocks_signal(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:583,1
    - Dst: is_in_comm
      Src: /src/lxc/src/tests/lxc-test-utils.c:583,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:584,1
    - Dst: is_in_comm
      Src: /src/lxc/src/tests/lxc-test-utils.c:584,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/lxc-test-utils.c:585,1
    - Dst: is_in_comm
      Src: /src/lxc/src/tests/lxc-test-utils.c:585,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 587
      start: 580
    functionDepth: 1
    functionLinenumber: 580
    functionLinenumberEnd: 587
    functionName: test_is_in_comm
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - lxc_test_assert_abort
    - is_in_comm
    linkageType: ''
    returnType: void
    signature: void test_is_in_comm(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: test_lxc_string_replace
      Src: /src/lxc/src/tests/lxc-test-utils.c:591,1
    - Dst: test_lxc_string_in_array
      Src: /src/lxc/src/tests/lxc-test-utils.c:592,1
    - Dst: test_lxc_path_simplify
      Src: /src/lxc/src/tests/lxc-test-utils.c:593,1
    - Dst: test_detect_ramfs_rootfs
      Src: /src/lxc/src/tests/lxc-test-utils.c:594,1
    - Dst: test_lxc_safe_uint
      Src: /src/lxc/src/tests/lxc-test-utils.c:595,1
    - Dst: test_lxc_safe_int
      Src: /src/lxc/src/tests/lxc-test-utils.c:596,1
    - Dst: test_lxc_safe_long
      Src: /src/lxc/src/tests/lxc-test-utils.c:597,1
    - Dst: test_parse_byte_size_string
      Src: /src/lxc/src/tests/lxc-test-utils.c:598,1
    - Dst: test_lxc_config_net_is_hwaddr
      Src: /src/lxc/src/tests/lxc-test-utils.c:599,1
    - Dst: test_task_blocks_signal
      Src: /src/lxc/src/tests/lxc-test-utils.c:600,1
    - Dst: test_is_in_comm
      Src: /src/lxc/src/tests/lxc-test-utils.c:601,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc-test-utils.c:603,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 13
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 604
      start: 589
    functionDepth: 2
    functionLinenumber: 589
    functionLinenumberEnd: 604
    functionName: main
    functionSourceFile: /src/lxc/src/tests/lxc-test-utils.c
    functionUses: 0
    functionsReached:
    - test_parse_byte_size_string
    - test_lxc_safe_long
    - test_is_in_comm
    - test_lxc_string_replace
    - test_lxc_safe_uint
    - test_lxc_safe_int
    - test_lxc_config_net_is_hwaddr
    - test_task_blocks_signal
    - test_detect_ramfs_rootfs
    - test_lxc_path_simplify
    - exit
    - test_lxc_string_in_array
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/startone.c:26,1
    - Dst: perror
      Src: /src/lxc/src/tests/startone.c:29,1
    - Dst: execlp
      Src: /src/lxc/src/tests/startone.c:34,1
    - Dst: exit
      Src: /src/lxc/src/tests/startone.c:35,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/startone.c:39,1
    - Dst: perror
      Src: /src/lxc/src/tests/startone.c:44,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/startone.c:51,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:52,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/startone.c:56,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 57
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 57
    functionName: destroy_container
    functionSourceFile: /src/lxc/src/tests/startone.c
    functionUses: 2
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int destroy_container(void)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/startone.c:62,1
    - Dst: perror
      Src: /src/lxc/src/tests/startone.c:65,1
    - Dst: execlp
      Src: /src/lxc/src/tests/startone.c:70,1
    - Dst: exit
      Src: /src/lxc/src/tests/startone.c:71,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/startone.c:75,1
    - Dst: perror
      Src: /src/lxc/src/tests/startone.c:80,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/startone.c:87,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:88,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/startone.c:92,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 93
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 93
    functionName: create_container
    functionSourceFile: /src/lxc/src/tests/startone.c
    functionUses: 2
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int create_container(void)
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/startone.c:107,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:109,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/startone.c:114,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:115,1
    - Dst: create_container
      Src: /src/lxc/src/tests/startone.c:119,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:121,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/startone.c:125,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:127,1
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/tests/startone.c:131,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:133,1
    - Dst: sprintf
      Src: /src/lxc/src/tests/startone.c:137,1
    - Dst: struct lxc_container*::set_cgroup_item
      Src: /src/lxc/src/tests/startone.c:138,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:140,1
    - Dst: struct lxc_container*::state
      Src: /src/lxc/src/tests/startone.c:144,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/startone.c:145,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:146,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/startone.c:150,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:152,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/startone.c:156,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:157,1
    - Dst: lxc_container_get
      Src: /src/lxc/src/tests/startone.c:161,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:162,1
    - Dst: exit
      Src: /src/lxc/src/tests/startone.c:163,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/startone.c:166,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/startone.c:167,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:168,1
    - Dst: exit
      Src: /src/lxc/src/tests/startone.c:169,1
    - Dst: sleep
      Src: /src/lxc/src/tests/startone.c:172,1
    - Dst: struct lxc_container*::state
      Src: /src/lxc/src/tests/startone.c:174,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/startone.c:175,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:176,1
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/tests/startone.c:180,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:182,1
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/tests/startone.c:186,1
    - Dst: strncmp
      Src: /src/lxc/src/tests/startone.c:187,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:188,1
    - Dst: sprintf
      Src: /src/lxc/src/tests/startone.c:192,1
    - Dst: struct lxc_container*::set_cgroup_item
      Src: /src/lxc/src/tests/startone.c:193,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:195,1
    - Dst: sprintf
      Src: /src/lxc/src/tests/startone.c:199,1
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/tests/startone.c:200,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/startone.c:201,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/startone.c:201,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:202,1
    - Dst: struct lxc_container*::set_cgroup_item
      Src: /src/lxc/src/tests/startone.c:206,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/startone.c:208,1
    - Dst: system
      Src: /src/lxc/src/tests/startone.c:214,1
    - Dst: system
      Src: /src/lxc/src/tests/startone.c:216,1
    - Dst: system
      Src: /src/lxc/src/tests/startone.c:218,1
    - Dst: system
      Src: /src/lxc/src/tests/startone.c:220,1
    - Dst: system
      Src: /src/lxc/src/tests/startone.c:222,1
    - Dst: system
      Src: /src/lxc/src/tests/startone.c:224,1
    - Dst: system
      Src: /src/lxc/src/tests/startone.c:226,1
    - Dst: system
      Src: /src/lxc/src/tests/startone.c:228,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:230,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/startone.c:234,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:235,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/startone.c:242,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/startone.c:247,1
    - Dst: destroy_container
      Src: /src/lxc/src/tests/startone.c:248,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/startone.c:250,1
    - Dst: exit
      Src: /src/lxc/src/tests/startone.c:251,1
    CyclomaticComplexity: 48
    EdgeCount: 48
    ICount: 140
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 252
      start: 95
    functionDepth: 1
    functionLinenumber: 95
    functionLinenumberEnd: 252
    functionName: main
    functionSourceFile: /src/lxc/src/tests/startone.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::load_config
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::set_cgroup_item
    - struct lxc_container*::get_cgroup_item
    - fprintf
    - struct lxc_container*::set_config_item
    - system
    - sleep
    - struct lxc_container*::startl
    - struct lxc_container*::is_defined
    - struct lxc_container*::state
    - exit
    - sprintf
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - create_container
    - destroy_container
    - strcmp
    - lxc_container_get
    - strncmp
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/saveconfig.c:24,1
    - Dst: perror
      Src: /src/lxc/src/tests/saveconfig.c:27,1
    - Dst: execlp
      Src: /src/lxc/src/tests/saveconfig.c:32,1
    - Dst: exit
      Src: /src/lxc/src/tests/saveconfig.c:33,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/saveconfig.c:37,1
    - Dst: perror
      Src: /src/lxc/src/tests/saveconfig.c:42,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/saveconfig.c:49,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:50,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/saveconfig.c:54,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 55
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 55
    functionName: create_container
    functionSourceFile: /src/lxc/src/tests/saveconfig.c
    functionUses: 3
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int create_container(void)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/saveconfig.c:62,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:63,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/saveconfig.c:68,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:69,1
    - Dst: create_container
      Src: /src/lxc/src/tests/saveconfig.c:73,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:74,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/saveconfig.c:78,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:79,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/saveconfig.c:83,1
    - Dst: unlink
      Src: /src/lxc/src/tests/saveconfig.c:84,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/saveconfig.c:85,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:86,1
    - Dst: rename
      Src: /src/lxc/src/tests/saveconfig.c:90,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/tests/saveconfig.c:91,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:92,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/saveconfig.c:96,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:97,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/saveconfig.c:101,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:102,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/saveconfig.c:106,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/saveconfig.c:110,1
    - Dst: exit
      Src: /src/lxc/src/tests/saveconfig.c:111,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 51
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 112
      start: 57
    functionDepth: 1
    functionLinenumber: 57
    functionLinenumberEnd: 112
    functionName: main
    functionSourceFile: /src/lxc/src/tests/saveconfig.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::save_config
    - struct lxc_container*::load_config
    - fprintf
    - unlink
    - lxc_container_new
    - create_container
    - lxc_container_put
    - rename
    - struct lxc_container*::is_defined
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_config_items
      Src: /src/lxc/src/tests/config_jump_table.c:31,1
    - Dst: malloc
      Src: /src/lxc/src/tests/config_jump_table.c:33,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/config_jump_table.c:35,1
    - Dst: exit
      Src: /src/lxc/src/tests/config_jump_table.c:36,1
    - Dst: lxc_list_config_items
      Src: /src/lxc/src/tests/config_jump_table.c:39,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/config_jump_table.c:40,1
    - Dst: strtok_r
      Src: /src/lxc/src/tests/config_jump_table.c:44,1
    - Dst: strtok_r
      Src: /src/lxc/src/tests/config_jump_table.c:45,1
    - Dst: lxc_get_config
      Src: /src/lxc/src/tests/config_jump_table.c:48,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/config_jump_table.c:50,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/config_jump_table.c:57,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/config_jump_table.c:64,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/config_jump_table.c:71,1
    - Dst: free
      Src: /src/lxc/src/tests/config_jump_table.c:81,1
    - Dst: exit
      Src: /src/lxc/src/tests/config_jump_table.c:83,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 84
      start: 26
    functionDepth: 1
    functionLinenumber: 26
    functionLinenumberEnd: 84
    functionName: main
    functionSourceFile: /src/lxc/src/tests/config_jump_table.c
    functionUses: 0
    functionsReached:
    - malloc
    - lxc_error
    - lxc_get_config
    - lxc_list_config_items
    - strtok_r
    - free
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: statvfs
      Src: /src/lxc/src/tests/sys_mixed.c:37,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 45
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 45
    functionName: is_read_only
    functionSourceFile: /src/lxc/src/tests/sys_mixed.c
    functionUses: 0
    functionsReached:
    - statvfs
    linkageType: ''
    returnType: int
    signature: int is_read_only(const char *path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_read_only
      Src: /src/lxc/src/tests/sys_mixed.c:51,1
    - Dst: is_read_only
      Src: /src/lxc/src/tests/sys_mixed.c:58,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 62
      start: 47
    functionDepth: 1
    functionLinenumber: 47
    functionLinenumberEnd: 62
    functionName: sys_mixed
    functionSourceFile: /src/lxc/src/tests/sys_mixed.c
    functionUses: 0
    functionsReached:
    - is_read_only
    linkageType: ''
    returnType: int
    signature: int sys_mixed(void *payload)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/sys_mixed.c:72,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:74,1
    - Dst: exit
      Src: /src/lxc/src/tests/sys_mixed.c:75,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/sys_mixed.c:78,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:79,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/sys_mixed.c:83,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:84,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/sys_mixed.c:88,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:89,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/sys_mixed.c:93,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/sys_mixed.c:95,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:96,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/sys_mixed.c:100,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:101,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/sys_mixed.c:105,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:106,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/sys_mixed.c:110,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:111,1
    - Dst: sleep
      Src: /src/lxc/src/tests/sys_mixed.c:116,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/sys_mixed.c:118,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:120,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/sys_mixed.c:124,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:126,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/sys_mixed.c:133,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/sys_mixed.c:133,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:134,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/sys_mixed.c:136,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/sys_mixed.c:137,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/sys_mixed.c:140,1
    - Dst: exit
      Src: /src/lxc/src/tests/sys_mixed.c:141,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 66
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 142
      start: 64
    functionDepth: 1
    functionLinenumber: 64
    functionLinenumberEnd: 142
    functionName: main
    functionSourceFile: /src/lxc/src/tests/sys_mixed.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::createl
    - lxc_error
    - struct lxc_container*::clear_config
    - wait_for_pid
    - struct lxc_container*::load_config
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::set_config_item
    - struct lxc_container*::attach
    - struct lxc_container*::is_running
    - lxc_container_new
    - sleep
    - struct lxc_container*::startl
    - lxc_container_put
    - struct lxc_container*::is_defined
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: pipe
      Src: /src/lxc/src/tests/locktests.c:29,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:30,1
    - Dst: fork
      Src: /src/lxc/src/tests/locktests.c:32,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:33,1
    - Dst: read
      Src: /src/lxc/src/tests/locktests.c:36,1
    - Dst: perror
      Src: /src/lxc/src/tests/locktests.c:37,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:38,1
    - Dst: lxc_newlock
      Src: /src/lxc/src/tests/locktests.c:41,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:43,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:44,1
    - Dst: lxclock
      Src: /src/lxc/src/tests/locktests.c:47,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:48,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:49,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:52,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:53,1
    - Dst: lxc_newlock
      Src: /src/lxc/src/tests/locktests.c:56,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:58,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:59,1
    - Dst: lxclock
      Src: /src/lxc/src/tests/locktests.c:62,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:63,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:64,1
    - Dst: write
      Src: /src/lxc/src/tests/locktests.c:67,1
    - Dst: perror
      Src: /src/lxc/src/tests/locktests.c:68,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:69,1
    - Dst: sleep
      Src: /src/lxc/src/tests/locktests.c:72,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/locktests.c:74,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/locktests.c:76,1
    - Dst: printf
      Src: /src/lxc/src/tests/locktests.c:77,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/locktests.c:78,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/locktests.c:79,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:80,1
    - Dst: printf
      Src: /src/lxc/src/tests/locktests.c:82,1
    - Dst: perror
      Src: /src/lxc/src/tests/locktests.c:85,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:86,1
    - Dst: kill
      Src: /src/lxc/src/tests/locktests.c:89,1
    - Dst: wait
      Src: /src/lxc/src/tests/locktests.c:90,1
    - Dst: close
      Src: /src/lxc/src/tests/locktests.c:91,1
    - Dst: close
      Src: /src/lxc/src/tests/locktests.c:92,1
    - Dst: lxcunlock
      Src: /src/lxc/src/tests/locktests.c:93,1
    - Dst: lxc_putlock
      Src: /src/lxc/src/tests/locktests.c:94,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 56
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 95
      start: 21
    functionDepth: 1
    functionLinenumber: 21
    functionLinenumberEnd: 95
    functionName: test_two_locks
    functionSourceFile: /src/lxc/src/tests/locktests.c
    functionUses: 0
    functionsReached:
    - wait
    - waitpid
    - read
    - kill
    - lxcunlock
    - fprintf
    - printf
    - sleep
    - WEXITSTATUS
    - lxc_putlock
    - exit
    - write
    - lxclock
    - perror
    - WIFEXITED
    - fork
    - close
    - lxc_newlock
    - pipe
    linkageType: ''
    returnType: void
    signature: void test_two_locks(void)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_newlock
      Src: /src/lxc/src/tests/locktests.c:102,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:104,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:105,1
    - Dst: lxclock
      Src: /src/lxc/src/tests/locktests.c:108,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:110,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:111,1
    - Dst: lxcunlock
      Src: /src/lxc/src/tests/locktests.c:114,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:116,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:117,1
    - Dst: lxc_putlock
      Src: /src/lxc/src/tests/locktests.c:119,1
    - Dst: lxc_newlock
      Src: /src/lxc/src/tests/locktests.c:121,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:123,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:124,1
    - Dst: stat
      Src: /src/lxc/src/tests/locktests.c:130,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:132,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:134,1
    - Dst: lxc_putlock
      Src: /src/lxc/src/tests/locktests.c:136,1
    - Dst: test_two_locks
      Src: /src/lxc/src/tests/locktests.c:138,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/locktests.c:140,1
    - Dst: exit
      Src: /src/lxc/src/tests/locktests.c:142,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 143
      start: 97
    functionDepth: 2
    functionLinenumber: 97
    functionLinenumberEnd: 143
    functionName: main
    functionSourceFile: /src/lxc/src/tests/locktests.c
    functionUses: 0
    functionsReached:
    - test_two_locks
    - lxclock
    - fprintf
    - stat
    - lxcunlock
    - lxc_putlock
    - lxc_newlock
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/containertests.c:26,1
    - Dst: perror
      Src: /src/lxc/src/tests/containertests.c:29,1
    - Dst: execlp
      Src: /src/lxc/src/tests/containertests.c:34,1
    - Dst: exit
      Src: /src/lxc/src/tests/containertests.c:35,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/containertests.c:39,1
    - Dst: perror
      Src: /src/lxc/src/tests/containertests.c:43,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/containertests.c:50,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:51,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/containertests.c:55,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 56
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 56
    functionName: destroy_busybox
    functionSourceFile: /src/lxc/src/tests/containertests.c
    functionUses: 0
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int destroy_busybox(void)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/containertests.c:61,1
    - Dst: perror
      Src: /src/lxc/src/tests/containertests.c:64,1
    - Dst: execlp
      Src: /src/lxc/src/tests/containertests.c:69,1
    - Dst: exit
      Src: /src/lxc/src/tests/containertests.c:70,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/containertests.c:74,1
    - Dst: perror
      Src: /src/lxc/src/tests/containertests.c:78,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/containertests.c:85,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:86,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/containertests.c:90,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 91
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 91
    functionName: create_busybox
    functionSourceFile: /src/lxc/src/tests/containertests.c
    functionUses: 0
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int create_busybox(void)
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/containertests.c:104,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:106,1
    - Dst: lxc_container_get
      Src: /src/lxc/src/tests/containertests.c:110,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:111,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:117,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/containertests.c:121,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:122,1
    - Dst: struct lxc_container*::config_file_name
      Src: /src/lxc/src/tests/containertests.c:126,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/containertests.c:128,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:129,1
    - Dst: free
      Src: /src/lxc/src/tests/containertests.c:132,1
    - Dst: free
      Src: /src/lxc/src/tests/containertests.c:133,1
    - Dst: struct lxc_container*::config_file_name
      Src: /src/lxc/src/tests/containertests.c:136,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:138,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/containertests.c:142,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:144,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:149,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:155,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/containertests.c:159,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:160,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/containertests.c:165,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:167,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/containertests.c:172,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:174,1
    - Dst: struct lxc_container*::state
      Src: /src/lxc/src/tests/containertests.c:178,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/containertests.c:179,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:183,1
    - Dst: create_busybox
      Src: /src/lxc/src/tests/containertests.c:191,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:193,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/containertests.c:197,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:199,1
    - Dst: struct lxc_container*::state
      Src: /src/lxc/src/tests/containertests.c:203,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/containertests.c:204,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:205,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/containertests.c:209,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:211,1
    - Dst: lxc_get_wait_states
      Src: /src/lxc/src/tests/containertests.c:216,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:218,1
    - Dst: malloc
      Src: /src/lxc/src/tests/containertests.c:222,1
    - Dst: lxc_get_wait_states
      Src: /src/lxc/src/tests/containertests.c:223,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:227,1
    - Dst: free
      Src: /src/lxc/src/tests/containertests.c:229,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/containertests.c:232,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/containertests.c:233,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:234,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/containertests.c:238,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:239,1
    - Dst: sleep
      Src: /src/lxc/src/tests/containertests.c:243,1
    - Dst: struct lxc_container*::state
      Src: /src/lxc/src/tests/containertests.c:244,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/containertests.c:245,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:246,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/containertests.c:250,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/containertests.c:255,1
    - Dst: destroy_busybox
      Src: /src/lxc/src/tests/containertests.c:256,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/containertests.c:257,1
    - Dst: exit
      Src: /src/lxc/src/tests/containertests.c:260,1
    CyclomaticComplexity: 48
    EdgeCount: 48
    ICount: 142
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 261
      start: 93
    functionDepth: 1
    functionLinenumber: 93
    functionLinenumberEnd: 261
    functionName: main
    functionSourceFile: /src/lxc/src/tests/containertests.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::load_config
    - struct lxc_container*::config_file_name
    - lxc_container_put
    - lxc_container_new
    - free
    - fprintf
    - sleep
    - struct lxc_container*::startl
    - struct lxc_container*::is_defined
    - struct lxc_container*::state
    - exit
    - malloc
    - lxc_get_wait_states
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - create_busybox
    - strcmp
    - destroy_busybox
    - lxc_container_get
    - struct lxc_container*::wait
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/lxc/src/tests/concurrent.c:67,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/concurrent.c:71,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:73,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/concurrent.c:78,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/concurrent.c:80,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/concurrent.c:81,1
    - Dst: struct lxc_container*::create
      Src: /src/lxc/src/tests/concurrent.c:82,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:83,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/concurrent.c:87,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/concurrent.c:88,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/concurrent.c:88,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/concurrent.c:89,1
    - Dst: struct lxc_container*::start
      Src: /src/lxc/src/tests/concurrent.c:91,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:92,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/concurrent.c:96,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:97,1
    - Dst: sleep
      Src: /src/lxc/src/tests/concurrent.c:101,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/concurrent.c:103,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/concurrent.c:104,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/concurrent.c:104,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/concurrent.c:105,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:106,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/tests/concurrent.c:110,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:111,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/concurrent.c:115,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/concurrent.c:116,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/tests/concurrent.c:116,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/concurrent.c:117,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:118,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/concurrent.c:127,1
    - Dst: lxc_log_close
      Src: /src/lxc/src/tests/concurrent.c:130,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 64
    argCount: 1
    argNames:
    - arguments
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 131
      start: 61
    functionDepth: 1
    functionLinenumber: 61
    functionLinenumberEnd: 131
    functionName: do_function
    functionSourceFile: /src/lxc/src/tests/concurrent.c
    functionUses: 0
    functionsReached:
    - sprintf
    - lxc_log_close
    - fprintf
    - struct lxc_container*::create
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::stop
    - struct lxc_container*::start
    - struct lxc_container*::set_config_item
    - struct lxc_container*::wait
    - struct lxc_container*::is_running
    - lxc_container_new
    - sleep
    - lxc_container_put
    - struct lxc_container*::is_defined
    - strcmp
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: void
    signature: void do_function(void *arguments)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: do_function
      Src: /src/lxc/src/tests/concurrent.c:135,1
    - Dst: pthread_exit
      Src: /src/lxc/src/tests/concurrent.c:136,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - arguments
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 139
      start: 133
    functionDepth: 2
    functionLinenumber: 133
    functionLinenumberEnd: 139
    functionName: concurrent
    functionSourceFile: /src/lxc/src/tests/concurrent.c
    functionUses: 0
    functionsReached:
    - do_function
    - pthread_exit
    linkageType: ''
    returnType: void
    signature: void *concurrent(void *arguments)
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: pthread_attr_init
      Src: /src/lxc/src/tests/concurrent.c:150,1
    - Dst: getopt_long
      Src: /src/lxc/src/tests/concurrent.c:152,1
    - Dst: atoi
      Src: /src/lxc/src/tests/concurrent.c:155,1
    - Dst: atoi
      Src: /src/lxc/src/tests/concurrent.c:158,1
    - Dst: atoi
      Src: /src/lxc/src/tests/concurrent.c:164,1
    - Dst: strtok_r
      Src: /src/lxc/src/tests/concurrent.c:180,1
    - Dst: realloc
      Src: /src/lxc/src/tests/concurrent.c:182,1
    - Dst: perror
      Src: /src/lxc/src/tests/concurrent.c:184,1
    - Dst: exit
      Src: /src/lxc/src/tests/concurrent.c:185,1
    - Dst: usage
      Src: /src/lxc/src/tests/concurrent.c:195,1
    - Dst: exit
      Src: /src/lxc/src/tests/concurrent.c:196,1
    - Dst: malloc
      Src: /src/lxc/src/tests/concurrent.c:200,1
    - Dst: malloc
      Src: /src/lxc/src/tests/concurrent.c:201,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:203,1
    - Dst: exit
      Src: /src/lxc/src/tests/concurrent.c:204,1
    - Dst: open
      Src: /src/lxc/src/tests/concurrent.c:210,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:212,1
    - Dst: printf
      Src: /src/lxc/src/tests/concurrent.c:217,1
    - Dst: close
      Src: /src/lxc/src/tests/concurrent.c:219,1
    - Dst: printf
      Src: /src/lxc/src/tests/concurrent.c:223,1
    - Dst: pthread_create
      Src: /src/lxc/src/tests/concurrent.c:230,1
    - Dst: perror
      Src: /src/lxc/src/tests/concurrent.c:231,1
    - Dst: exit
      Src: /src/lxc/src/tests/concurrent.c:232,1
    - Dst: do_function
      Src: /src/lxc/src/tests/concurrent.c:235,1
    - Dst: pthread_join
      Src: /src/lxc/src/tests/concurrent.c:241,1
    - Dst: perror
      Src: /src/lxc/src/tests/concurrent.c:242,1
    - Dst: exit
      Src: /src/lxc/src/tests/concurrent.c:243,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/concurrent.c:248,1
    - Dst: exit
      Src: /src/lxc/src/tests/concurrent.c:249,1
    - Dst: free
      Src: /src/lxc/src/tests/concurrent.c:255,1
    - Dst: free
      Src: /src/lxc/src/tests/concurrent.c:256,1
    - Dst: pthread_attr_destroy
      Src: /src/lxc/src/tests/concurrent.c:257,1
    - Dst: exit
      Src: /src/lxc/src/tests/concurrent.c:258,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 91
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 259
      start: 141
    functionDepth: 2
    functionLinenumber: 141
    functionLinenumberEnd: 259
    functionName: main
    functionSourceFile: /src/lxc/src/tests/concurrent.c
    functionUses: 0
    functionsReached:
    - realloc
    - perror
    - malloc
    - open
    - fprintf
    - strtok_r
    - pthread_attr_destroy
    - usage
    - atoi
    - free
    - exit
    - printf
    - do_function
    - pthread_join
    - close
    - pthread_create
    - pthread_attr_init
    - getopt_long
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 31
    BranchProfiles: []
    Callsites:
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:36,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:38,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:40,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:43,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:45,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:47,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:50,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:52,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:54,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:57,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:59,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:61,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:64,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:66,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:68,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:71,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:73,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:74,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:78,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:79,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/lxc_raw_clone.c:82,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:84,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:85,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:88,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:90,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:91,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:95,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:96,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/lxc_raw_clone.c:99,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:101,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:102,1
    - Dst: cgns_supported
      Src: /src/lxc/src/tests/lxc_raw_clone.c:106,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:115,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:117,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:121,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:125,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:126,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/lxc_raw_clone.c:129,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:131,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:132,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:135,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:137,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:141,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:146,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:147,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/lxc_raw_clone.c:150,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:152,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:153,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:156,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:158,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:159,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:163,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:164,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/lxc_raw_clone.c:167,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:169,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:170,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:173,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:175,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:176,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:180,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:181,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/lxc_raw_clone.c:184,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:186,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:187,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:190,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:192,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:193,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:197,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:198,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/lxc_raw_clone.c:201,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:203,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:204,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/tests/lxc_raw_clone.c:207,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:209,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:210,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:214,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:215,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/lxc_raw_clone.c:218,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/lxc_raw_clone.c:220,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:221,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/lxc_raw_clone.c:224,1
    - Dst: exit
      Src: /src/lxc/src/tests/lxc_raw_clone.c:225,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 149
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 226
      start: 30
    functionDepth: 1
    functionLinenumber: 30
    functionLinenumberEnd: 226
    functionName: main
    functionSourceFile: /src/lxc/src/tests/lxc_raw_clone.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - lxc_error
    - lxc_raw_clone
    - cgns_supported
    - lxc_debug
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/tests/mount_injection.c:49,1
    - Dst: strchr
      Src: /src/lxc/src/tests/mount_injection.c:52,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/mount_injection.c:55,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 3
    argNames:
    - line
    - str
    - nfields
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 59
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 59
    functionName: comp_field
    functionSourceFile: /src/lxc/src/tests/mount_injection.c
    functionUses: 0
    functionsReached:
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: int comp_field(char *line, const char *str, int nfields)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:67,1
    - Dst: fopen
      Src: /src/lxc/src/tests/mount_injection.c:69,1
    - Dst: fgets
      Src: /src/lxc/src/tests/mount_injection.c:73,1
    - Dst: comp_field
      Src: /src/lxc/src/tests/mount_injection.c:81,1
    - Dst: comp_field
      Src: /src/lxc/src/tests/mount_injection.c:84,1
    - Dst: strchr
      Src: /src/lxc/src/tests/mount_injection.c:90,1
    - Dst: comp_field
      Src: /src/lxc/src/tests/mount_injection.c:91,1
    - Dst: comp_field
      Src: /src/lxc/src/tests/mount_injection.c:92,1
    - Dst: fclose
      Src: /src/lxc/src/tests/mount_injection.c:96,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:97,1
    - Dst: _exit
      Src: /src/lxc/src/tests/mount_injection.c:99,1
    - Dst: _exit
      Src: /src/lxc/src/tests/mount_injection.c:101,1
    - Dst: fclose
      Src: /src/lxc/src/tests/mount_injection.c:104,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:105,1
    - Dst: _exit
      Src: /src/lxc/src/tests/mount_injection.c:107,1
    - Dst: _exit
      Src: /src/lxc/src/tests/mount_injection.c:109,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 29
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 110
      start: 61
    functionDepth: 1
    functionLinenumber: 61
    functionLinenumberEnd: 110
    functionName: find_in_proc_mounts
    functionSourceFile: /src/lxc/src/tests/mount_injection.c
    functionUses: 0
    functionsReached:
    - fprintf
    - fgets
    - fopen
    - comp_field
    - _exit
    - fclose
    - strchr
    linkageType: ''
    returnType: int
    signature: int find_in_proc_mounts(void *data)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/tests/mount_injection.c:118,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:120,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/tests/mount_injection.c:124,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:126,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 2
    argNames:
    - c
    - d
    argTypes:
    - struct lxc_container*
    - struct mountinfo_data*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 129
      start: 112
    functionDepth: 1
    functionLinenumber: 112
    functionLinenumberEnd: 129
    functionName: check_containers_mountinfo
    functionSourceFile: /src/lxc/src/tests/mount_injection.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - fprintf
    - struct lxc_container*::attach
    linkageType: ''
    returnType: int
    signature: int check_containers_mountinfo(struct lxc_container *c, struct mountinfo_data
      *d)
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/tests/mount_injection.c:143,1
    - Dst: strlen
      Src: /src/lxc/src/tests/mount_injection.c:144,1
    - Dst: strlen
      Src: /src/lxc/src/tests/mount_injection.c:145,1
    - Dst: strcpy
      Src: /src/lxc/src/tests/mount_injection.c:170,1
    - Dst: mkdtemp
      Src: /src/lxc/src/tests/mount_injection.c:171,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/mount_injection.c:173,1
    - Dst: exit
      Src: /src/lxc/src/tests/mount_injection.c:174,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/mount_injection.c:177,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:179,1
    - Dst: exit
      Src: /src/lxc/src/tests/mount_injection.c:180,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/mount_injection.c:184,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:186,1
    - Dst: exit
      Src: /src/lxc/src/tests/mount_injection.c:187,1
    - Dst: snprintf
      Src: /src/lxc/src/tests/mount_injection.c:191,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:193,1
    - Dst: exit
      Src: /src/lxc/src/tests/mount_injection.c:194,1
    - Dst: strcpy
      Src: /src/lxc/src/tests/mount_injection.c:199,1
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/tests/mount_injection.c:200,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/mount_injection.c:202,1
    - Dst: exit
      Src: /src/lxc/src/tests/mount_injection.c:203,1
    - Dst: lxc_debug
      Src: /src/lxc/src/tests/mount_injection.c:205,1
    - Dst: close
      Src: /src/lxc/src/tests/mount_injection.c:206,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/mount_injection.c:215,1
    - Dst: exit
      Src: /src/lxc/src/tests/mount_injection.c:216,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/mount_injection.c:219,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:221,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/mount_injection.c:225,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:226,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/mount_injection.c:231,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:232,1
    - Dst: struct lxc_container*::create
      Src: /src/lxc/src/tests/mount_injection.c:237,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:238,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/mount_injection.c:242,1
    - Dst: struct lxc_container*::start
      Src: /src/lxc/src/tests/mount_injection.c:244,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:245,1
    - Dst: struct lxc_container*::mount
      Src: /src/lxc/src/tests/mount_injection.c:252,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:254,1
    - Dst: check_containers_mountinfo
      Src: /src/lxc/src/tests/mount_injection.c:258,1
    - Dst: struct lxc_container*::umount
      Src: /src/lxc/src/tests/mount_injection.c:264,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:266,1
    - Dst: check_containers_mountinfo
      Src: /src/lxc/src/tests/mount_injection.c:272,1
    - Dst: struct lxc_container*::mount
      Src: /src/lxc/src/tests/mount_injection.c:277,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:279,1
    - Dst: check_containers_mountinfo
      Src: /src/lxc/src/tests/mount_injection.c:283,1
    - Dst: struct lxc_container*::umount
      Src: /src/lxc/src/tests/mount_injection.c:289,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:291,1
    - Dst: check_containers_mountinfo
      Src: /src/lxc/src/tests/mount_injection.c:297,1
    - Dst: struct lxc_container*::mount
      Src: /src/lxc/src/tests/mount_injection.c:302,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:304,1
    - Dst: check_containers_mountinfo
      Src: /src/lxc/src/tests/mount_injection.c:308,1
    - Dst: struct lxc_container*::umount
      Src: /src/lxc/src/tests/mount_injection.c:314,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:316,1
    - Dst: check_containers_mountinfo
      Src: /src/lxc/src/tests/mount_injection.c:322,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/mount_injection.c:327,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:328,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/mount_injection.c:332,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:333,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/mount_injection.c:339,1
    - Dst: open
      Src: /src/lxc/src/tests/mount_injection.c:344,1
    - Dst: read
      Src: /src/lxc/src/tests/mount_injection.c:348,1
    - Dst: write
      Src: /src/lxc/src/tests/mount_injection.c:349,1
    - Dst: close
      Src: /src/lxc/src/tests/mount_injection.c:353,1
    - Dst: unlink
      Src: /src/lxc/src/tests/mount_injection.c:357,1
    - Dst: unlink
      Src: /src/lxc/src/tests/mount_injection.c:358,1
    CyclomaticComplexity: 53
    EdgeCount: 53
    ICount: 166
    argCount: 2
    argNames:
    - name
    - config_items
    argTypes:
    - char*
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 361
      start: 132
    functionDepth: 2
    functionLinenumber: 132
    functionLinenumberEnd: 361
    functionName: perform_container_test
    functionSourceFile: /src/lxc/src/tests/mount_injection.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - read
    - snprintf
    - lxc_container_put
    - lxc_container_new
    - open
    - lxc_make_tmpfile
    - fprintf
    - check_containers_mountinfo
    - struct lxc_container*::set_config_item
    - lxc_debug
    - strlen
    - struct lxc_container*::is_defined
    - lxc_log_init
    - struct lxc_container*::umount
    - exit
    - struct lxc_container*::destroy
    - mkdtemp
    - write
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - unlink
    - struct lxc_container*::mount
    - struct lxc_container*::create
    - strcpy
    - struct lxc_container*::start
    - close
    linkageType: ''
    returnType: int
    signature: int perform_container_test(const char *name, const char *config_items[])
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: perform_container_test
      Src: /src/lxc/src/tests/mount_injection.c:366,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 367
      start: 363
    functionDepth: 3
    functionLinenumber: 363
    functionLinenumberEnd: 367
    functionName: do_priv_container_test
    functionSourceFile: /src/lxc/src/tests/mount_injection.c
    functionUses: 0
    functionsReached:
    - perform_container_test
    linkageType: ''
    returnType: int
    signature: int do_priv_container_test(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: perform_container_test
      Src: /src/lxc/src/tests/mount_injection.c:375,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 376
      start: 369
    functionDepth: 3
    functionLinenumber: 369
    functionLinenumberEnd: 376
    functionName: do_unpriv_container_test
    functionSourceFile: /src/lxc/src/tests/mount_injection.c
    functionUses: 0
    functionsReached:
    - perform_container_test
    linkageType: ''
    returnType: int
    signature: int do_unpriv_container_test(void)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/tests/mount_injection.c:382,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:384,1
    - Dst: mount
      Src: /src/lxc/src/tests/mount_injection.c:389,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:391,1
    - Dst: mount
      Src: /src/lxc/src/tests/mount_injection.c:395,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:397,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - shmount_path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 402
      start: 378
    functionDepth: 1
    functionLinenumber: 378
    functionLinenumberEnd: 402
    functionName: lxc_setup_shmount
    functionSourceFile: /src/lxc/src/tests/mount_injection.c
    functionUses: 0
    functionsReached:
    - fprintf
    - mount
    - lxc_mkdir_p
    linkageType: ''
    returnType: bool
    signature: bool lxc_setup_shmount(const char *shmount_path)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: umount2
      Src: /src/lxc/src/tests/mount_injection.c:406,1
    - Dst: lxc_rm_rf
      Src: /src/lxc/src/tests/mount_injection.c:407,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - shmount_path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 408
      start: 404
    functionDepth: 1
    functionLinenumber: 404
    functionLinenumberEnd: 408
    functionName: lxc_teardown_shmount
    functionSourceFile: /src/lxc/src/tests/mount_injection.c
    functionUses: 0
    functionsReached:
    - umount2
    - lxc_rm_rf
    linkageType: ''
    returnType: void
    signature: void lxc_teardown_shmount(char *shmount_path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_setup_shmount
      Src: /src/lxc/src/tests/mount_injection.c:414,1
    - Dst: exit
      Src: /src/lxc/src/tests/mount_injection.c:415,1
    - Dst: do_priv_container_test
      Src: /src/lxc/src/tests/mount_injection.c:417,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:418,1
    - Dst: do_unpriv_container_test
      Src: /src/lxc/src/tests/mount_injection.c:423,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/mount_injection.c:424,1
    - Dst: lxc_teardown_shmount
      Src: /src/lxc/src/tests/mount_injection.c:430,1
    - Dst: exit
      Src: /src/lxc/src/tests/mount_injection.c:431,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 432
      start: 410
    functionDepth: 4
    functionLinenumber: 410
    functionLinenumberEnd: 432
    functionName: main
    functionSourceFile: /src/lxc/src/tests/mount_injection.c
    functionUses: 0
    functionsReached:
    - do_unpriv_container_test
    - fprintf
    - lxc_teardown_shmount
    - lxc_setup_shmount
    - do_priv_container_test
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/tests/destroytest.c:24,1
    - Dst: perror
      Src: /src/lxc/src/tests/destroytest.c:27,1
    - Dst: execlp
      Src: /src/lxc/src/tests/destroytest.c:32,1
    - Dst: exit
      Src: /src/lxc/src/tests/destroytest.c:33,1
    - Dst: waitpid
      Src: /src/lxc/src/tests/destroytest.c:37,1
    - Dst: perror
      Src: /src/lxc/src/tests/destroytest.c:42,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/tests/destroytest.c:49,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/destroytest.c:50,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/tests/destroytest.c:54,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 55
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 55
    functionName: create_container
    functionSourceFile: /src/lxc/src/tests/destroytest.c
    functionUses: 4
    functionsReached:
    - perror
    - waitpid
    - WIFEXITED
    - fprintf
    - execlp
    - WEXITSTATUS
    - fork
    - exit
    linkageType: ''
    returnType: int
    signature: int create_container(void)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/destroytest.c:62,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/destroytest.c:63,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/destroytest.c:68,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/destroytest.c:69,1
    - Dst: create_container
      Src: /src/lxc/src/tests/destroytest.c:73,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/destroytest.c:74,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/destroytest.c:78,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/destroytest.c:79,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/destroytest.c:83,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/destroytest.c:84,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/destroytest.c:88,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/destroytest.c:89,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/destroytest.c:93,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/destroytest.c:97,1
    - Dst: exit
      Src: /src/lxc/src/tests/destroytest.c:98,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 38
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 99
      start: 57
    functionDepth: 1
    functionLinenumber: 57
    functionLinenumberEnd: 99
    functionName: main
    functionSourceFile: /src/lxc/src/tests/destroytest.c
    functionUses: 0
    functionsReached:
    - fprintf
    - lxc_container_put
    - lxc_container_new
    - create_container
    - struct lxc_container*::is_defined
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/getkeys.c:29,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:30,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/getkeys.c:35,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:37,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:39,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:44,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:46,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:50,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:52,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:54,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:58,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:60,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:62,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:66,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:68,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:70,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:74,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:76,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:78,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:82,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:84,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:86,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:90,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:92,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:94,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:98,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:100,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:102,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:106,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:108,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:110,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:114,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:116,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:118,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:122,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:124,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:126,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:130,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:132,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:134,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:138,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:140,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:142,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:146,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:148,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:150,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:154,1
    - Dst: struct lxc_container*::get_keys
      Src: /src/lxc/src/tests/getkeys.c:156,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/getkeys.c:158,1
    - Dst: printf
      Src: /src/lxc/src/tests/getkeys.c:162,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/getkeys.c:167,1
    - Dst: exit
      Src: /src/lxc/src/tests/getkeys.c:168,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 140
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 169
      start: 23
    functionDepth: 1
    functionLinenumber: 23
    functionLinenumberEnd: 169
    functionName: main
    functionSourceFile: /src/lxc/src/tests/getkeys.c
    functionUses: 0
    functionsReached:
    - fprintf
    - struct lxc_container*::set_config_item
    - printf
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::get_keys
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:25,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:26,1
    - Dst: malloc
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:28,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:29,1
    - Dst: memcpy
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:30,1
    - Dst: lxc_list_init
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:33,1
    - Dst: lxc_config_define_add
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:35,1
    - Dst: lxc_config_define_load
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:38,1
    - Dst: open_devnull
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:41,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:42,1
    - Dst: lxc_list_for_each
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:44,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:49,1
    - Dst: malloc
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:53,1
    - Dst: lxc_test_assert_abort
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:54,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:56,1
    - Dst: dprintf
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:60,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:64,1
    - Dst: lxc_config_define_free
      Src: /src/lxc/src/tests/fuzz-lxc-define-load.c:65,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 34
    argCount: 2
    argNames:
    - data
    - size
    argTypes:
    - uint8_t*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 68
      start: 15
    functionDepth: 1
    functionLinenumber: 15
    functionLinenumberEnd: 68
    functionName: LLVMFuzzerTestOneInput
    functionSourceFile: /src/lxc/src/tests/fuzz-lxc-define-load.c
    functionUses: 0
    functionsReached:
    - malloc
    - memcpy
    - lxc_config_define_add
    - lxc_config_define_load
    - open_devnull
    - dprintf
    - lxc_config_define_free
    - lxc_test_assert_abort
    - lxc_container_new
    - lxc_list_for_each
    - lxc_container_put
    - lxc_list_init
    - struct lxc_container*::get_config_item
    linkageType: ''
    returnType: int
    signature: int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - fmt
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: TSTERR
    functionSourceFile: /src/lxc/src/tests/cgpath.c
    functionUses: 10
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: TSTERR(fmt, ...)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/tests/cgpath.c:53,1
    - Dst: lxc_error
      Src: /src/lxc/src/tests/cgpath.c:59,1
    - Dst: exit
      Src: /src/lxc/src/tests/cgpath.c:60,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/tests/cgpath.c:68,1
    - Dst: sprintf
      Src: /src/lxc/src/tests/cgpath.c:71,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/cgpath.c:73,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:74,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/cgpath.c:77,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:78,1
    - Dst: lxc_cmd_get_cgroup_path
      Src: /src/lxc/src/tests/cgpath.c:82,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:84,1
    - Dst: strstr
      Src: /src/lxc/src/tests/cgpath.c:87,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:88,1
    - Dst: cgroup_init
      Src: /src/lxc/src/tests/cgpath.c:92,1
    - Dst: struct cgroup_ops*::get
      Src: /src/lxc/src/tests/cgpath.c:97,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:100,1
    - Dst: strlcpy
      Src: /src/lxc/src/tests/cgpath.c:103,1
    - Dst: struct cgroup_ops*::set
      Src: /src/lxc/src/tests/cgpath.c:105,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:108,1
    - Dst: struct cgroup_ops*::get
      Src: /src/lxc/src/tests/cgpath.c:111,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:114,1
    - Dst: strcmp
      Src: /src/lxc/src/tests/cgpath.c:117,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:118,1
    - Dst: struct cgroup_ops*::set
      Src: /src/lxc/src/tests/cgpath.c:123,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:126,1
    - Dst: free
      Src: /src/lxc/src/tests/cgpath.c:133,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/cgpath.c:135,1
    - Dst: read
      Src: /src/lxc/src/tests/cgpath.c:141,1
    - Dst: write
      Src: /src/lxc/src/tests/cgpath.c:142,1
    - Dst: unlink
      Src: /src/lxc/src/tests/cgpath.c:147,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 91
    argCount: 2
    argNames:
    - lxcpath
    - name
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 149
      start: 43
    functionDepth: 1
    functionLinenumber: 43
    functionLinenumberEnd: 149
    functionName: test_running_container
    functionSourceFile: /src/lxc/src/tests/cgpath.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_cgroup_path
    - lxc_error
    - read
    - struct cgroup_ops*::get
    - lxc_container_put
    - lxc_container_new
    - cgroup_init
    - free
    - TSTERR
    - strlcpy
    - struct lxc_container*::is_defined
    - lxc_log_init
    - exit
    - sprintf
    - write
    - call_cleaner
    - unlink
    - strcmp
    - strstr
    - struct cgroup_ops*::set
    linkageType: ''
    returnType: int
    signature: int test_running_container(const char *lxcpath, const char *name)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mkdir
      Src: /src/lxc/src/tests/cgpath.c:158,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:160,1
    - Dst: strerror
      Src: /src/lxc/src/tests/cgpath.c:160,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/cgpath.c:166,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:167,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/cgpath.c:170,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/cgpath.c:171,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/cgpath.c:172,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/cgpath.c:173,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/cgpath.c:174,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/cgpath.c:176,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/cgpath.c:177,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:178,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/cgpath.c:181,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/cgpath.c:182,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/cgpath.c:183,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:184,1
    - Dst: test_running_container
      Src: /src/lxc/src/tests/cgpath.c:188,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/cgpath.c:190,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/cgpath.c:192,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/cgpath.c:194,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 45
    argCount: 2
    argNames:
    - lxcpath
    - name
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 197
      start: 151
    functionDepth: 2
    functionLinenumber: 151
    functionLinenumberEnd: 197
    functionName: test_container
    functionSourceFile: /src/lxc/src/tests/cgpath.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::createl
    - strerror
    - struct lxc_container*::load_config
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - mkdir
    - test_running_container
    - TSTERR
    - struct lxc_container*::set_config_item
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::startl
    - struct lxc_container*::is_defined
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: "int test_container(const char *lxcpath, const char *name,\n\t\t\t
      \ const char *template)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: geteuid
      Src: /src/lxc/src/tests/cgpath.c:205,1
    - Dst: TSTERR
      Src: /src/lxc/src/tests/cgpath.c:206,1
    - Dst: exit
      Src: /src/lxc/src/tests/cgpath.c:207,1
    - Dst: test_running_container
      Src: /src/lxc/src/tests/cgpath.c:218,1
    - Dst: printf
      Src: /src/lxc/src/tests/cgpath.c:220,1
    - Dst: test_container
      Src: /src/lxc/src/tests/cgpath.c:224,1
    - Dst: printf
      Src: /src/lxc/src/tests/cgpath.c:226,1
    - Dst: test_container
      Src: /src/lxc/src/tests/cgpath.c:228,1
    - Dst: printf
      Src: /src/lxc/src/tests/cgpath.c:230,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 237
      start: 199
    functionDepth: 3
    functionLinenumber: 199
    functionLinenumberEnd: 237
    functionName: main
    functionSourceFile: /src/lxc/src/tests/cgpath.c
    functionUses: 0
    functionsReached:
    - geteuid
    - test_running_container
    - TSTERR
    - test_container
    - printf
    - exit
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/tests/shutdowntest.c:26,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:27,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/shutdowntest.c:32,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:33,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/shutdowntest.c:37,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:38,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/shutdowntest.c:42,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/tests/shutdowntest.c:43,1
    - Dst: struct lxc_container*::createl
      Src: /src/lxc/src/tests/shutdowntest.c:45,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:46,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/shutdowntest.c:50,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:51,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/tests/shutdowntest.c:55,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/tests/shutdowntest.c:56,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/tests/shutdowntest.c:57,1
    - Dst: struct lxc_container*::startl
      Src: /src/lxc/src/tests/shutdowntest.c:59,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:60,1
    - Dst: sleep
      Src: /src/lxc/src/tests/shutdowntest.c:65,1
    - Dst: struct lxc_container*::shutdown
      Src: /src/lxc/src/tests/shutdowntest.c:67,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:68,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/tests/shutdowntest.c:69,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:70,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/shutdowntest.c:75,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:76,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/shutdowntest.c:80,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:81,1
    - Dst: fprintf
      Src: /src/lxc/src/tests/shutdowntest.c:85,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/tests/shutdowntest.c:89,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/tests/shutdowntest.c:90,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/tests/shutdowntest.c:92,1
    - Dst: exit
      Src: /src/lxc/src/tests/shutdowntest.c:93,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 63
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 94
      start: 21
    functionDepth: 1
    functionLinenumber: 21
    functionLinenumberEnd: 94
    functionName: main
    functionSourceFile: /src/lxc/src/tests/shutdowntest.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::createl
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - fprintf
    - struct lxc_container*::stop
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::set_config_item
    - lxc_container_put
    - lxc_container_new
    - sleep
    - struct lxc_container*::startl
    - struct lxc_container*::shutdown
    - struct lxc_container*::is_defined
    - exit
    - struct lxc_container*::destroy
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile_utils.c:42,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:44,1
    - Dst: strspn
      Src: /src/lxc/src/lxc/confile_utils.c:51,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:53,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:57,1
    - Dst: strspn
      Src: /src/lxc/src/lxc/confile_utils.c:67,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:70,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/confile_utils.c:75,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:78,1
    - Dst: lxc_safe_ulong
      Src: /src/lxc/src/lxc/confile_utils.c:83,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:85,1
    - Dst: strspn
      Src: /src/lxc/src/lxc/confile_utils.c:90,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:95,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/confile_utils.c:100,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:103,1
    - Dst: lxc_safe_ulong
      Src: /src/lxc/src/lxc/confile_utils.c:108,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:110,1
    - Dst: strspn
      Src: /src/lxc/src/lxc/confile_utils.c:115,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:120,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/confile_utils.c:125,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:128,1
    - Dst: strspn
      Src: /src/lxc/src/lxc/confile_utils.c:133,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:134,1
    - Dst: lxc_safe_ulong
      Src: /src/lxc/src/lxc/confile_utils.c:140,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:142,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 55
    argCount: 5
    argNames:
    - idmap
    - type
    - nsid
    - hostid
    - range
    argTypes:
    - char*
    - char*
    - unsigned long*
    - unsigned long*
    - unsigned long*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 151
      start: 32
    functionDepth: 1
    functionLinenumber: 32
    functionLinenumberEnd: 151
    functionName: parse_idmaps
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 1
    functionsReached:
    - lxc_safe_ulong
    - strspn
    - log_error_errno
    - ret_errno
    - strdup
    - strcspn
    linkageType: ''
    returnType: int
    signature: "int parse_idmaps(const char *idmap, char *type, unsigned long *nsid,\n\t\t
      unsigned long *hostid, unsigned long *range)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile_utils.c:155,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 159
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 159
    functionName: lxc_config_value_empty
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - strlen
    linkageType: ''
    returnType: bool
    signature: bool lxc_config_value_empty(const char *value)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile_utils.c:166,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/confile_utils.c:168,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/confile_utils.c:170,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/confile_utils.c:171,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile_utils.c:177,1
    - Dst: list_add
      Src: /src/lxc/src/lxc/confile_utils.c:179,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile_utils.c:181,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 3
    argNames:
    - head
    - idx
    - tail
    argTypes:
    - struct list_head*
    - int
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 182
      start: 161
    functionDepth: 1
    functionLinenumber: 161
    functionLinenumberEnd: 182
    functionName: lxc_network_add
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_set_errno
    - INIT_LIST_HEAD
    - list_add
    linkageType: ''
    returnType: struct lxc_netdev
    signature: struct lxc_netdev *lxc_network_add(struct list_head *head, int idx,
      bool tail)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/confile_utils.c:195,1
    - Dst: lxc_network_add
      Src: /src/lxc/src/lxc/confile_utils.c:209,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 3
    argNames:
    - conf
    - idx
    - allocate
    argTypes:
    - struct lxc_conf*
    - unsigned int
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 212
      start: 187
    functionDepth: 2
    functionLinenumber: 187
    functionLinenumberEnd: 212
    functionName: lxc_get_netdev_by_idx
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - lxc_network_add
    - list_empty
    linkageType: ''
    returnType: struct lxc_netdev
    signature: "struct lxc_netdev *lxc_get_netdev_by_idx(struct lxc_conf *conf,\n\t\t\t\t\t
      unsigned int idx, bool allocate)"
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 205
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 205
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(netdev, netdevs, head)
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/confile_utils.c:219,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/confile_utils.c:222,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:223,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:233,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:234,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:238,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:239,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:242,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:246,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:250,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:254,1
    - Dst: lxc_list_for_each_safe
      Src: /src/lxc/src/lxc/confile_utils.c:256,1
    - Dst: PTR_TO_USHORT
      Src: /src/lxc/src/lxc/confile_utils.c:257,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:258,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:263,1
    - Dst: lxc_macvlan_flag_to_mode
      Src: /src/lxc/src/lxc/confile_utils.c:268,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:270,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:275,1
    - Dst: lxc_ipvlan_flag_to_mode
      Src: /src/lxc/src/lxc/confile_utils.c:278,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:279,1
    - Dst: lxc_ipvlan_flag_to_isolation
      Src: /src/lxc/src/lxc/confile_utils.c:282,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:283,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:286,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:287,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:290,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:293,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:297,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:300,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/confile_utils.c:303,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:308,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:312,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:316,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:319,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:322,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:325,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:328,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:331,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:333,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:336,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:340,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:342,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile_utils.c:345,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:346,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:348,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:351,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:354,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:358,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:360,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile_utils.c:363,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:364,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:366,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile_utils.c:370,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:371,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/confile_utils.c:372,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:376,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile_utils.c:379,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:380,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/confile_utils.c:381,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:385,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 112
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 390
      start: 214
    functionDepth: 1
    functionLinenumber: 214
    functionLinenumberEnd: 390
    functionName: lxc_log_configured_netdevs
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - ERROR
    - list_for_each_entry
    - PTR_TO_USHORT
    - list_empty
    - lxc_list_for_each_safe
    - lxc_ipvlan_flag_to_isolation
    - lxc_log_trace
    - lxc_macvlan_flag_to_mode
    - TRACE
    - lxc_ipvlan_flag_to_mode
    - inet_ntop
    linkageType: ''
    returnType: void
    signature: void lxc_log_configured_netdevs(const struct lxc_conf *conf)
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:233,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:234,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:238,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:239,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:242,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:246,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:250,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:254,1
    - Dst: lxc_list_for_each_safe
      Src: /src/lxc/src/lxc/confile_utils.c:256,1
    - Dst: PTR_TO_USHORT
      Src: /src/lxc/src/lxc/confile_utils.c:257,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:258,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:263,1
    - Dst: lxc_macvlan_flag_to_mode
      Src: /src/lxc/src/lxc/confile_utils.c:268,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:270,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:275,1
    - Dst: lxc_ipvlan_flag_to_mode
      Src: /src/lxc/src/lxc/confile_utils.c:278,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:279,1
    - Dst: lxc_ipvlan_flag_to_isolation
      Src: /src/lxc/src/lxc/confile_utils.c:282,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:283,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:286,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:287,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:290,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:293,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:297,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:300,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/confile_utils.c:303,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:308,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:312,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:316,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:319,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:322,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:325,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:328,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:331,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:333,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:336,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:340,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:342,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile_utils.c:345,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:346,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:348,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:351,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:354,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:358,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:360,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile_utils.c:363,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:364,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:366,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile_utils.c:370,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:371,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/confile_utils.c:372,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:376,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile_utils.c:379,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile_utils.c:380,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/confile_utils.c:381,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/confile_utils.c:385,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 105
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 389
      start: 227
    functionDepth: 1
    functionLinenumber: 227
    functionLinenumberEnd: 389
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 2
    functionsReached:
    - ERROR
    - list_for_each_entry
    - PTR_TO_USHORT
    - lxc_list_for_each_safe
    - lxc_ipvlan_flag_to_isolation
    - lxc_macvlan_flag_to_mode
    - lxc_ipvlan_flag_to_mode
    - TRACE
    - inet_ntop
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(netdev, netdevs, head)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile_utils.c:405,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile_utils.c:406,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile_utils.c:407,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile_utils.c:408,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile_utils.c:410,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile_utils.c:411,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile_utils.c:412,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile_utils.c:413,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile_utils.c:416,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile_utils.c:417,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile_utils.c:418,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile_utils.c:419,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile_utils.c:423,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile_utils.c:424,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile_utils.c:425,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile_utils.c:428,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile_utils.c:429,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile_utils.c:430,1
    - Dst: lxc_list_for_each_safe
      Src: /src/lxc/src/lxc/confile_utils.c:433,1
    - Dst: lxc_list_del
      Src: /src/lxc/src/lxc/confile_utils.c:434,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile_utils.c:435,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/confile_utils.c:438,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile_utils.c:443,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/confile_utils.c:445,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/confile_utils.c:446,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 43
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 449
      start: 392
    functionDepth: 1
    functionLinenumber: 392
    functionLinenumberEnd: 449
    functionName: lxc_clear_netdev
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - free_string_list
    - free_disarm
    - list_del
    - lxc_list_for_each_safe
    - memset
    - INIT_LIST_HEAD
    - lxc_list_del
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_clear_netdev(struct lxc_netdev *netdev)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_netdev
      Src: /src/lxc/src/lxc/confile_utils.c:454,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile_utils.c:455,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 457
      start: 451
    functionDepth: 2
    functionLinenumber: 451
    functionLinenumberEnd: 457
    functionName: lxc_free_netdev
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - lxc_clear_netdev
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_free_netdev(struct lxc_netdev *netdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/confile_utils.c:463,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile_utils.c:466,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile_utils.c:470,1
    - Dst: lxc_free_netdev
      Src: /src/lxc/src/lxc/confile_utils.c:471,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - conf
    - idx
    argTypes:
    - struct lxc_conf*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 476
      start: 459
    functionDepth: 3
    functionLinenumber: 459
    functionLinenumberEnd: 476
    functionName: lxc_remove_nic_by_idx
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - list_del
    - list_for_each_entry
    - lxc_free_netdev
    - list_empty
    linkageType: ''
    returnType: bool
    signature: bool lxc_remove_nic_by_idx(struct lxc_conf *conf, unsigned int idx)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/confile_utils.c:482,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile_utils.c:485,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile_utils.c:486,1
    - Dst: lxc_free_netdev
      Src: /src/lxc/src/lxc/confile_utils.c:487,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/confile_utils.c:491,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 492
      start: 478
    functionDepth: 3
    functionLinenumber: 478
    functionLinenumberEnd: 492
    functionName: lxc_free_networks
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - list_empty
    - list_del
    - INIT_LIST_HEAD
    - lxc_free_netdev
    - list_for_each_entry_safe
    linkageType: ''
    returnType: void
    signature: void lxc_free_networks(struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile_utils.c:505,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:512,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - mode
    - value
    argTypes:
    - int*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 513
      start: 502
    functionDepth: 1
    functionLinenumber: 502
    functionLinenumberEnd: 513
    functionName: lxc_veth_mode_to_flag
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - strequal
    linkageType: ''
    returnType: int
    signature: int lxc_veth_mode_to_flag(int *mode, const char *value)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/confile_utils.c:524,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - mode
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 525
      start: 515
    functionDepth: 1
    functionLinenumber: 515
    functionLinenumberEnd: 525
    functionName: lxc_veth_flag_to_mode
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    linkageType: ''
    returnType: char
    signature: char *lxc_veth_flag_to_mode(int mode)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile_utils.c:540,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:547,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - mode
    - value
    argTypes:
    - int*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 548
      start: 537
    functionDepth: 1
    functionLinenumber: 537
    functionLinenumberEnd: 548
    functionName: lxc_macvlan_mode_to_flag
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - strequal
    linkageType: ''
    returnType: int
    signature: int lxc_macvlan_mode_to_flag(int *mode, const char *value)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/confile_utils.c:559,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - mode
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 560
      start: 550
    functionDepth: 1
    functionLinenumber: 550
    functionLinenumberEnd: 560
    functionName: lxc_macvlan_flag_to_mode
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 2
    functionsReached:
    - ret_set_errno
    linkageType: ''
    returnType: char
    signature: char *lxc_macvlan_flag_to_mode(int mode)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile_utils.c:574,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:581,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - mode
    - value
    argTypes:
    - int*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 582
      start: 571
    functionDepth: 1
    functionLinenumber: 571
    functionLinenumberEnd: 582
    functionName: lxc_ipvlan_mode_to_flag
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - strequal
    linkageType: ''
    returnType: int
    signature: int lxc_ipvlan_mode_to_flag(int *mode, const char *value)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/confile_utils.c:593,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - mode
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 594
      start: 584
    functionDepth: 1
    functionLinenumber: 584
    functionLinenumberEnd: 594
    functionName: lxc_ipvlan_flag_to_mode
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 2
    functionsReached:
    - ret_set_errno
    linkageType: ''
    returnType: char
    signature: char *lxc_ipvlan_flag_to_mode(int mode)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile_utils.c:608,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:615,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - flag
    - value
    argTypes:
    - int*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 616
      start: 605
    functionDepth: 1
    functionLinenumber: 605
    functionLinenumberEnd: 616
    functionName: lxc_ipvlan_isolation_to_flag
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - strequal
    linkageType: ''
    returnType: int
    signature: int lxc_ipvlan_isolation_to_flag(int *flag, const char *value)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/confile_utils.c:627,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - flag
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 628
      start: 618
    functionDepth: 1
    functionLinenumber: 618
    functionLinenumberEnd: 628
    functionName: lxc_ipvlan_flag_to_isolation
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 2
    functionsReached:
    - ret_set_errno
    linkageType: ''
    returnType: char
    signature: char *lxc_ipvlan_flag_to_isolation(int flag)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile_utils.c:634,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile_utils.c:635,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile_utils.c:639,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:641,1
    - Dst: free_move_ptr
      Src: /src/lxc/src/lxc/confile_utils.c:643,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 2
    argNames:
    - conf_item
    - value
    argTypes:
    - char**
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 645
      start: 630
    functionDepth: 1
    functionLinenumber: 630
    functionLinenumberEnd: 645
    functionName: set_config_string_item
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - free_disarm
    - free_move_ptr
    - log_error_errno
    - strdup
    linkageType: ''
    returnType: int
    signature: int set_config_string_item(char **conf_item, const char *value)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile_utils.c:649,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:650,1
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile_utils.c:652,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - conf_item
    - value
    - max
    argTypes:
    - char**
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 653
      start: 647
    functionDepth: 2
    functionLinenumber: 647
    functionLinenumberEnd: 653
    functionName: set_config_string_item_max
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - strlen
    - log_error_errno
    - set_config_string_item
    linkageType: ''
    returnType: int
    signature: int set_config_string_item_max(char **conf_item, const char *value,
      size_t max)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_path_simplify
      Src: /src/lxc/src/lxc/confile_utils.c:659,1
    - Dst: set_config_string_item_max
      Src: /src/lxc/src/lxc/confile_utils.c:663,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - conf_item
    - value
    argTypes:
    - char**
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 664
      start: 655
    functionDepth: 3
    functionLinenumber: 655
    functionLinenumberEnd: 664
    functionName: set_config_path_item
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - set_config_string_item_max
    - lxc_path_simplify
    linkageType: ''
    returnType: int
    signature: int set_config_path_item(char **conf_item, const char *value)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile_utils.c:671,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile_utils.c:676,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:689,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 3
    argNames:
    - conf_item
    - value
    - empty_conf_action
    argTypes:
    - bool*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 690
      start: 666
    functionDepth: 1
    functionLinenumber: 666
    functionLinenumberEnd: 690
    functionName: set_config_bool_item
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: int set_config_bool_item(bool *conf_item, const char *value, bool empty_conf_action)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: IN_CLASSA
      Src: /src/lxc/src/lxc/confile_utils.c:694,1
    - Dst: IN_CLASSB
      Src: /src/lxc/src/lxc/confile_utils.c:697,1
    - Dst: IN_CLASSC
      Src: /src/lxc/src/lxc/confile_utils.c:700,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - addr
    argTypes:
    - struct in_addr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 704
      start: 692
    functionDepth: 0
    functionLinenumber: 692
    functionLinenumberEnd: 704
    functionName: config_ip_prefix
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - IN_CLASSC
    - IN_CLASSA
    - IN_CLASSB
    linkageType: ''
    returnType: int
    signature: int config_ip_prefix(struct in_addr *addr)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:711,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/confile_utils.c:713,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/confile_utils.c:715,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - valuep
    - value
    - size
    argTypes:
    - char*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 718
      start: 706
    functionDepth: 1
    functionLinenumber: 706
    functionLinenumberEnd: 718
    functionName: network_ifname
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - ERROR
    - ret_errno
    - strlcpy
    linkageType: ''
    returnType: int
    signature: int network_ifname(char *valuep, const char *value, size_t size)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile_utils.c:725,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile_utils.c:728,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile_utils.c:731,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/confile_utils.c:734,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/confile_utils.c:735,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile_utils.c:736,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - line
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 739
      start: 720
    functionDepth: 1
    functionLinenumber: 720
    functionLinenumberEnd: 739
    functionName: lxc_config_net_is_hwaddr
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 2
    functionsReached:
    - sscanf
    - strnequal
    linkageType: ''
    returnType: bool
    signature: bool lxc_config_net_is_hwaddr(const char *line)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: randseed
      Src: /src/lxc/src/lxc/confile_utils.c:748,1
    - Dst: randseed
      Src: /src/lxc/src/lxc/confile_utils.c:751,1
    - Dst: rand_r
      Src: /src/lxc/src/lxc/confile_utils.c:759,1
    - Dst: rand_r
      Src: /src/lxc/src/lxc/confile_utils.c:761,1
    - Dst: rand
      Src: /src/lxc/src/lxc/confile_utils.c:763,1
    - Dst: rand
      Src: /src/lxc/src/lxc/confile_utils.c:765,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - hwaddr
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 770
      start: 741
    functionDepth: 1
    functionLinenumber: 741
    functionLinenumberEnd: 770
    functionName: rand_complete_hwaddr
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - rand
    - randseed
    - rand_r
    linkageType: ''
    returnType: void
    signature: void rand_complete_hwaddr(char *hwaddr)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: randseed
      Src: /src/lxc/src/lxc/confile_utils.c:779,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile_utils.c:781,1
    - Dst: rand_r
      Src: /src/lxc/src/lxc/confile_utils.c:781,1
    - Dst: rand_r
      Src: /src/lxc/src/lxc/confile_utils.c:782,1
    - Dst: rand_r
      Src: /src/lxc/src/lxc/confile_utils.c:782,1
    - Dst: randseed
      Src: /src/lxc/src/lxc/confile_utils.c:785,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile_utils.c:787,1
    - Dst: rand
      Src: /src/lxc/src/lxc/confile_utils.c:787,1
    - Dst: rand
      Src: /src/lxc/src/lxc/confile_utils.c:788,1
    - Dst: rand
      Src: /src/lxc/src/lxc/confile_utils.c:788,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:791,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 1
    argNames:
    - hwaddr
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 794
      start: 773
    functionDepth: 1
    functionLinenumber: 773
    functionLinenumberEnd: 794
    functionName: new_hwaddr
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - rand_r
    - rand
    - log_error_errno
    - randseed
    - strnprintf
    linkageType: ''
    returnType: bool
    signature: bool new_hwaddr(char *hwaddr)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile_utils.c:803,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/confile_utils.c:805,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - retv
    - inlen
    - value
    argTypes:
    - char*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 808
      start: 796
    functionDepth: 0
    functionLinenumber: 796
    functionLinenumberEnd: 808
    functionName: lxc_get_conf_str
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - strlen
    - memcpy
    linkageType: ''
    returnType: int
    signature: int lxc_get_conf_str(char *retv, int inlen, const char *value)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile_utils.c:818,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile_utils.c:820,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - c
    - retv
    - inlen
    - v
    argTypes:
    - struct lxc_conf*
    - char*
    - int
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 823
      start: 810
    functionDepth: 1
    functionLinenumber: 810
    functionLinenumberEnd: 823
    functionName: lxc_get_conf_bool
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: int lxc_get_conf_bool(struct lxc_conf *c, char *retv, int inlen, bool
      v)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile_utils.c:833,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile_utils.c:835,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - c
    - retv
    - inlen
    - v
    argTypes:
    - struct lxc_conf*
    - char*
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 838
      start: 825
    functionDepth: 1
    functionLinenumber: 825
    functionLinenumberEnd: 838
    functionName: lxc_get_conf_int
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: int lxc_get_conf_int(struct lxc_conf *c, char *retv, int inlen, int
      v)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile_utils.c:848,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile_utils.c:850,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - c
    - retv
    - inlen
    - v
    argTypes:
    - struct lxc_conf*
    - char*
    - int
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 853
      start: 840
    functionDepth: 1
    functionLinenumber: 840
    functionLinenumberEnd: 853
    functionName: lxc_get_conf_size_t
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: int lxc_get_conf_size_t(struct lxc_conf *c, char *retv, int inlen,
      size_t v)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile_utils.c:863,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile_utils.c:865,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - c
    - retv
    - inlen
    - v
    argTypes:
    - struct lxc_conf*
    - char*
    - int
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 868
      start: 855
    functionDepth: 1
    functionLinenumber: 855
    functionLinenumberEnd: 868
    functionName: lxc_get_conf_uint64
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: int lxc_get_conf_uint64(struct lxc_conf *c, char *retv, int inlen,
      uint64_t v)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/lxc/src/lxc/confile_utils.c:877,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/confile_utils.c:881,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:883,1
    - Dst: __put_lxc_container*::may_control
      Src: /src/lxc/src/lxc/confile_utils.c:885,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:886,1
    - Dst: __put_lxc_container*::init_pid
      Src: /src/lxc/src/lxc/confile_utils.c:888,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:890,1
    - Dst: kill
      Src: /src/lxc/src/lxc/confile_utils.c:894,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile_utils.c:896,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 2
    argNames:
    - lxcname_or_pid
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 899
      start: 870
    functionDepth: 1
    functionLinenumber: 870
    functionLinenumberEnd: 899
    functionName: lxc_container_name_to_pid
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - kill
    - __put_lxc_container*::may_control
    - strtol
    - __put_lxc_container*::init_pid
    - log_error_errno
    - lxc_container_new
    linkageType: ''
    returnType: int
    signature: "int lxc_container_name_to_pid(const char *lxcname_or_pid,\n\t\t\t\t
      \    const char *lxcpath)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/confile_utils.c:909,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/confile_utils.c:912,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile_utils.c:914,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:916,1
    - Dst: lxc_container_name_to_pid
      Src: /src/lxc/src/lxc/confile_utils.c:923,1
    - Dst: lxc_preserve_ns
      Src: /src/lxc/src/lxc/confile_utils.c:927,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 3
    argNames:
    - nsfd_path
    - lxcpath
    - namespace
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 932
      start: 901
    functionDepth: 2
    functionLinenumber: 901
    functionLinenumberEnd: 932
    functionName: lxc_inherit_namespace
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - open
    - strrchr
    - ret_errno
    - lxc_preserve_ns
    - strdup
    - lxc_container_name_to_pid
    linkageType: ''
    returnType: int
    signature: "int lxc_inherit_namespace(const char *nsfd_path, const char *lxcpath,\n\t\t\t
      \ const char *namespace)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile_utils.c:1023,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - sig
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1028
      start: 1018
    functionDepth: 1
    functionLinenumber: 1018
    functionLinenumberEnd: 1028
    functionName: sig_num
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    linkageType: ''
    returnType: int
    signature: int sig_num(const char *sig)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/confile_utils.c:1035,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:1036,1
    - Dst: strncasecmp
      Src: /src/lxc/src/lxc/confile_utils.c:1038,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile_utils.c:1038,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile_utils.c:1040,1
    - Dst: strncasecmp
      Src: /src/lxc/src/lxc/confile_utils.c:1041,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile_utils.c:1041,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile_utils.c:1043,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:1045,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/confile_utils.c:1048,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/confile_utils.c:1048,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:1049,1
    - Dst: sig_num
      Src: /src/lxc/src/lxc/confile_utils.c:1051,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:1053,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 1
    argNames:
    - signame
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1061
      start: 1030
    functionDepth: 2
    functionLinenumber: 1030
    functionLinenumberEnd: 1061
    functionName: rt_sig_num
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - sig_num
    - STRLITERALLEN
    - is_empty_string
    - ret_errno
    - isdigit
    - strncasecmp
    linkageType: ''
    returnType: int
    signature: int rt_sig_num(const char *signame)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: isdigit
      Src: /src/lxc/src/lxc/confile_utils.c:1065,1
    - Dst: sig_num
      Src: /src/lxc/src/lxc/confile_utils.c:1066,1
    - Dst: strncasecmp
      Src: /src/lxc/src/lxc/confile_utils.c:1068,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile_utils.c:1068,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile_utils.c:1069,1
    - Dst: strncasecmp
      Src: /src/lxc/src/lxc/confile_utils.c:1070,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile_utils.c:1070,1
    - Dst: rt_sig_num
      Src: /src/lxc/src/lxc/confile_utils.c:1071,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile_utils.c:1071,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/confile_utils.c:1073,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/confile_utils.c:1074,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile_utils.c:1078,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - signame
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1079
      start: 1063
    functionDepth: 3
    functionLinenumber: 1063
    functionLinenumberEnd: 1079
    functionName: sig_parse
    functionSourceFile: /src/lxc/src/lxc/confile_utils.c
    functionUses: 0
    functionsReached:
    - sig_num
    - STRLITERALLEN
    - ARRAY_SIZE
    - ret_errno
    - isdigit
    - rt_sig_num
    - strcasecmp
    - strncasecmp
    linkageType: ''
    returnType: int
    signature: int sig_parse(const char *signame)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - l
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 22
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 22
    functionName: lxc_init_list
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_init_list(l)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - __iterator
    - ','
    - __list
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: lxc_list_for_each
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_list_for_each(__iterator, __list)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __iterator
    - ','
    - __list
    - ','
    - __next
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 48
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 48
    functionName: lxc_list_for_each_safe
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 3
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_list_for_each_safe(__iterator, __list, __next)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - list
    argTypes:
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 54
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 54
    functionName: lxc_list_init
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_list_init(struct lxc_list *list)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - list
    - elem
    argTypes:
    - struct lxc_list*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 62
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 62
    functionName: lxc_list_add_elem
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_list_add_elem(struct lxc_list *list, void *elem)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - list
    argTypes:
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 68
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 68
    functionName: lxc_list_first_elem
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void *lxc_list_first_elem(const struct lxc_list *list)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - list
    argTypes:
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 74
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 74
    functionName: lxc_list_last_elem
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void *lxc_list_last_elem(const struct lxc_list *list)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - list
    argTypes:
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 80
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 80
    functionName: lxc_list_empty
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_list_empty(const struct lxc_list *list)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 3
    argNames:
    - new
    - prev
    - next
    argTypes:
    - struct lxc_list*
    - struct lxc_list*
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 90
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 90
    functionName: __lxc_list_add
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: "void __lxc_list_add(struct lxc_list *new, struct lxc_list *prev,\n\t\t\t\t
      \ struct lxc_list *next)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_list_add
      Src: /src/lxc/src/lxc/list.h:102,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - head
    - list
    argTypes:
    - struct lxc_list*
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 103
      start: 100
    functionDepth: 1
    functionLinenumber: 100
    functionLinenumberEnd: 103
    functionName: lxc_list_add
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 1
    functionsReached:
    - __lxc_list_add
    linkageType: ''
    returnType: void
    signature: void lxc_list_add(struct lxc_list *head, struct lxc_list *list)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_list_add
      Src: /src/lxc/src/lxc/list.h:116,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - head
    - list
    argTypes:
    - struct lxc_list*
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 117
      start: 113
    functionDepth: 1
    functionLinenumber: 113
    functionLinenumberEnd: 117
    functionName: lxc_list_add_tail
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 0
    functionsReached:
    - __lxc_list_add
    linkageType: ''
    returnType: void
    signature: "void lxc_list_add_tail(struct lxc_list *head,\n\t\t\t\t     struct
      lxc_list *list)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 1
    argNames:
    - list
    argTypes:
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 135
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 135
    functionName: lxc_list_del
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_list_del(struct lxc_list *list)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - list
    argTypes:
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 148
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 148
    functionName: lxc_list_len
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: size_t lxc_list_len(struct lxc_list *list)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 145
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 145
    functionName: lxc_list_for_each
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_list_for_each(iter, list)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/list.h:154,1
    - Dst: lxc_list_init
      Src: /src/lxc/src/lxc/list.h:156,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 158
      start: 150
    functionDepth: 1
    functionLinenumber: 150
    functionLinenumberEnd: 158
    functionName: lxc_list_new
    functionSourceFile: /src/lxc/src/lxc/list.h
    functionUses: 0
    functionsReached:
    - lxc_list_init
    - zalloc
    linkageType: ''
    returnType: struct lxc_list
    signature: struct lxc_list *lxc_list_new(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/namespace.c:54,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/namespace.c:57,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - namespace
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 59
      start: 49
    functionDepth: 1
    functionLinenumber: 49
    functionLinenumberEnd: 59
    functionName: lxc_namespace_2_cloneflag
    functionSourceFile: /src/lxc/src/lxc/namespace.c
    functionUses: 0
    functionsReached:
    - ERROR
    - strcasecmp
    linkageType: ''
    returnType: int
    signature: int lxc_namespace_2_cloneflag(const char *namespace)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/namespace.c:64,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/namespace.c:68,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - namespace
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 70
      start: 61
    functionDepth: 1
    functionLinenumber: 61
    functionLinenumberEnd: 70
    functionName: lxc_namespace_2_ns_idx
    functionSourceFile: /src/lxc/src/lxc/namespace.c
    functionUses: 0
    functionsReached:
    - ERROR
    - strequal
    linkageType: ''
    returnType: int
    signature: int lxc_namespace_2_ns_idx(const char *namespace)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/lxc/src/lxc/namespace.c:96,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/namespace.c:97,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/namespace.c:97,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/namespace.c:100,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/namespace.c:101,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/namespace.c:101,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - namespaces
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 104
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 104
    functionName: lxc_namespace_2_std_identifiers
    functionSourceFile: /src/lxc/src/lxc/namespace.c
    functionUses: 0
    functionsReached:
    - strlen
    - memmove
    - strstr
    linkageType: ''
    returnType: int
    signature: int lxc_namespace_2_std_identifiers(char *namespaces)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/namespace.c:112,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/namespace.c:116,1
    - Dst: lxc_namespace_2_cloneflag
      Src: /src/lxc/src/lxc/namespace.c:117,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 2
    argNames:
    - flaglist
    - flags
    argTypes:
    - char*
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 125
      start: 106
    functionDepth: 2
    functionLinenumber: 106
    functionLinenumberEnd: 125
    functionName: lxc_fill_namespace_flags
    functionSourceFile: /src/lxc/src/lxc/namespace.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_namespace_2_cloneflag
    - lxc_iterate_parts
    linkageType: ''
    returnType: int
    signature: int lxc_fill_namespace_flags(char *flaglist, int *flags)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: lxc_getpagesize
      Src: /src/lxc/src/lxc/ringbuf.c:32,1
    - Dst: mmap
      Src: /src/lxc/src/lxc/ringbuf.c:35,1
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/ringbuf.c:40,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/ringbuf.c:43,1
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/ringbuf.c:44,1
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/lxc/ringbuf.c:53,1
    - Dst: ftruncate
      Src: /src/lxc/src/lxc/ringbuf.c:58,1
    - Dst: mmap
      Src: /src/lxc/src/lxc/ringbuf.c:62,1
    - Dst: mmap
      Src: /src/lxc/src/lxc/ringbuf.c:67,1
    - Dst: lxc_ringbuf_release
      Src: /src/lxc/src/lxc/ringbuf.c:75,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 41
    argCount: 2
    argNames:
    - buf
    - size
    argTypes:
    - struct lxc_ringbuf*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 77
      start: 21
    functionDepth: 1
    functionLinenumber: 21
    functionLinenumberEnd: 77
    functionName: lxc_ringbuf_create
    functionSourceFile: /src/lxc/src/lxc/ringbuf.c
    functionUses: 0
    functionsReached:
    - mmap
    - lxc_make_tmpfile
    - ftruncate
    - lxc_ringbuf_release
    - lxc_getpagesize
    - TRACE
    - memfd_create
    linkageType: ''
    returnType: int
    signature: int lxc_ringbuf_create(struct lxc_ringbuf *buf, size_t size)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - buf
    - len
    argTypes:
    - struct lxc_ringbuf*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 89
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 89
    functionName: lxc_ringbuf_move_read_addr
    functionSourceFile: /src/lxc/src/lxc/ringbuf.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_ringbuf_move_read_addr(struct lxc_ringbuf *buf, size_t len)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ringbuf_free
      Src: /src/lxc/src/lxc/ringbuf.c:108,1
    - Dst: lxc_ringbuf_move_read_addr
      Src: /src/lxc/src/lxc/ringbuf.c:112,1
    - Dst: lxc_ringbuf_get_write_addr
      Src: /src/lxc/src/lxc/ringbuf.c:113,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/ringbuf.c:114,1
    - Dst: lxc_ringbuf_move_write_addr
      Src: /src/lxc/src/lxc/ringbuf.c:115,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 3
    argNames:
    - buf
    - msg
    - len
    argTypes:
    - struct lxc_ringbuf*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 117
      start: 99
    functionDepth: 1
    functionLinenumber: 99
    functionLinenumberEnd: 117
    functionName: lxc_ringbuf_write
    functionSourceFile: /src/lxc/src/lxc/ringbuf.c
    functionUses: 0
    functionsReached:
    - memcpy
    - lxc_ringbuf_free
    - lxc_ringbuf_move_write_addr
    - lxc_ringbuf_get_write_addr
    - lxc_ringbuf_move_read_addr
    linkageType: ''
    returnType: int
    signature: int lxc_ringbuf_write(struct lxc_ringbuf *buf, const char *msg, size_t
      len)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ringbuf_used
      Src: /src/lxc/src/lxc/ringbuf.c:128,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/ringbuf.c:133,1
    - Dst: lxc_ringbuf_get_read_addr
      Src: /src/lxc/src/lxc/ringbuf.c:133,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 3
    argNames:
    - buf
    - out
    - len
    argTypes:
    - struct lxc_ringbuf*
    - char*
    - size_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 136
      start: 119
    functionDepth: 1
    functionLinenumber: 119
    functionLinenumberEnd: 136
    functionName: lxc_ringbuf_read
    functionSourceFile: /src/lxc/src/lxc/ringbuf.c
    functionUses: 0
    functionsReached:
    - memcpy
    - lxc_ringbuf_get_read_addr
    - lxc_ringbuf_used
    linkageType: ''
    returnType: int
    signature: int lxc_ringbuf_read(struct lxc_ringbuf *buf, char *out, size_t *len)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - cmd
    - command
    argTypes:
    - struct lxc_cmd_rr*
    - lxc_cmd_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 84
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 84
    functionName: lxc_cmd_init
    functionSourceFile: /src/lxc/src/lxc/commands.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_cmd_init(struct lxc_cmd_rr *cmd, lxc_cmd_t command)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - cmd
    - len_data
    - data
    argTypes:
    - struct lxc_cmd_rr*
    - int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 90
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 90
    functionName: lxc_cmd_data
    functionSourceFile: /src/lxc/src/lxc/commands.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_cmd_data(struct lxc_cmd_rr *cmd, int len_data, const void
      *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: munmap
      Src: /src/lxc/src/lxc/ringbuf.h:44,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - buf
    argTypes:
    - struct lxc_ringbuf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 45
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 45
    functionName: lxc_ringbuf_release
    functionSourceFile: /src/lxc/src/lxc/ringbuf.h
    functionUses: 1
    functionsReached:
    - munmap
    linkageType: ''
    returnType: void
    signature: void lxc_ringbuf_release(struct lxc_ringbuf *buf)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - buf
    argTypes:
    - struct lxc_ringbuf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 51
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 51
    functionName: lxc_ringbuf_clear
    functionSourceFile: /src/lxc/src/lxc/ringbuf.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_ringbuf_clear(struct lxc_ringbuf *buf)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - buf
    argTypes:
    - struct lxc_ringbuf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 56
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 56
    functionName: lxc_ringbuf_used
    functionSourceFile: /src/lxc/src/lxc/ringbuf.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: uint64_t
    signature: uint64_t lxc_ringbuf_used(struct lxc_ringbuf *buf)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ringbuf_used
      Src: /src/lxc/src/lxc/ringbuf.h:60,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - buf
    argTypes:
    - struct lxc_ringbuf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 61
      start: 58
    functionDepth: 1
    functionLinenumber: 58
    functionLinenumberEnd: 61
    functionName: lxc_ringbuf_free
    functionSourceFile: /src/lxc/src/lxc/ringbuf.h
    functionUses: 1
    functionsReached:
    - lxc_ringbuf_used
    linkageType: ''
    returnType: uint64_t
    signature: uint64_t lxc_ringbuf_free(struct lxc_ringbuf *buf)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - buf
    argTypes:
    - struct lxc_ringbuf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 66
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 66
    functionName: lxc_ringbuf_get_read_addr
    functionSourceFile: /src/lxc/src/lxc/ringbuf.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_ringbuf_get_read_addr(struct lxc_ringbuf *buf)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - buf
    argTypes:
    - struct lxc_ringbuf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 71
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 71
    functionName: lxc_ringbuf_get_write_addr
    functionSourceFile: /src/lxc/src/lxc/ringbuf.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_ringbuf_get_write_addr(struct lxc_ringbuf *buf)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - buf
    - len
    argTypes:
    - struct lxc_ringbuf*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 76
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 76
    functionName: lxc_ringbuf_move_write_addr
    functionSourceFile: /src/lxc/src/lxc/ringbuf.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_ringbuf_move_write_addr(struct lxc_ringbuf *buf, size_t len)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/freezer.c:31,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/freezer.c:37,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/freezer.c:38,1
    - Dst: cgroup_init
      Src: /src/lxc/src/lxc/freezer.c:40,1
    - Dst: struct cgroup_ops*::set
      Src: /src/lxc/src/lxc/freezer.c:44,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/freezer.c:46,1
    - Dst: struct cgroup_ops*::get
      Src: /src/lxc/src/lxc/freezer.c:52,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/freezer.c:55,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/freezer.c:57,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/freezer.c:57,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/freezer.c:58,1
    - Dst: lxc_cmd_notify_state_listeners
      Src: /src/lxc/src/lxc/freezer.c:59,1
    - Dst: sleep
      Src: /src/lxc/src/lxc/freezer.c:63,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 4
    argNames:
    - freeze
    - conf
    - name
    - lxcpath
    argTypes:
    - bool
    - struct lxc_conf*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 67
      start: 28
    functionDepth: 1
    functionLinenumber: 28
    functionLinenumberEnd: 67
    functionName: do_freeze_thaw
    functionSourceFile: /src/lxc/src/lxc/freezer.c
    functionUses: 0
    functionsReached:
    - struct cgroup_ops*::get
    - call_cleaner
    - log_error
    - lxc_state2str
    - strnequal
    - lxc_cmd_notify_state_listeners
    - sleep
    - strlen
    - lxc_char_right_gc
    - cgroup_init
    - struct cgroup_ops*::set
    linkageType: ''
    returnType: int
    signature: "int do_freeze_thaw(bool freeze, struct lxc_conf *conf, const char
      *name,\n\t\t\t  const char *lxcpath)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_notify_state_listeners
      Src: /src/lxc/src/lxc/freezer.c:73,1
    - Dst: do_freeze_thaw
      Src: /src/lxc/src/lxc/freezer.c:74,1
    - Dst: lxc_cmd_notify_state_listeners
      Src: /src/lxc/src/lxc/freezer.c:75,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 3
    argNames:
    - conf
    - name
    - lxcpath
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 77
      start: 69
    functionDepth: 2
    functionLinenumber: 69
    functionLinenumberEnd: 77
    functionName: lxc_freeze
    functionSourceFile: /src/lxc/src/lxc/freezer.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_notify_state_listeners
    - do_freeze_thaw
    linkageType: ''
    returnType: int
    signature: int lxc_freeze(struct lxc_conf *conf, const char *name, const char
      *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_notify_state_listeners
      Src: /src/lxc/src/lxc/freezer.c:83,1
    - Dst: do_freeze_thaw
      Src: /src/lxc/src/lxc/freezer.c:84,1
    - Dst: lxc_cmd_notify_state_listeners
      Src: /src/lxc/src/lxc/freezer.c:85,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 3
    argNames:
    - conf
    - name
    - lxcpath
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 87
      start: 79
    functionDepth: 2
    functionLinenumber: 79
    functionLinenumberEnd: 87
    functionName: lxc_unfreeze
    functionSourceFile: /src/lxc/src/lxc/freezer.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_notify_state_listeners
    - do_freeze_thaw
    linkageType: ''
    returnType: int
    signature: int lxc_unfreeze(struct lxc_conf *conf, const char *name, const char
      *lxcpath)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 2
    argNames:
    - category
    - priority
    argTypes:
    - struct lxc_log_category*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 107
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 107
    functionName: lxc_log_priority_is_enabled
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int lxc_log_priority_is_enabled(const struct lxc_log_category *category,\n\t\t\t\t\t
      \     int priority)"
  - BBCount: 10
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 22
    argCount: 1
    argNames:
    - priority
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 136
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 136
    functionName: lxc_log_priority_to_string
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_log_priority_to_string(int priority)
  - BBCount: 10
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 22
    argCount: 1
    argNames:
    - priority
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 162
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 162
    functionName: lxc_syslog_priority_to_string
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_syslog_priority_to_string(int priority)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:169,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:171,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:173,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:175,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:177,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:179,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:181,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:183,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:185,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 189
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 189
    functionName: lxc_log_priority_to_int
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached:
    - strcasecmp
    linkageType: ''
    returnType: int
    signature: int lxc_log_priority_to_int(const char *name)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:193,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:195,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:197,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:199,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:201,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:203,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:205,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:207,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/log.h:209,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 213
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 213
    functionName: lxc_syslog_priority_to_int
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached:
    - strcasecmp
    linkageType: ''
    returnType: int
    signature: int lxc_syslog_priority_to_int(const char *name)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_copy
      Src: /src/lxc/src/lxc/log.h:222,1
    - Dst: struct lxc_log_appender*::append
      Src: /src/lxc/src/lxc/log.h:224,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/log.h:226,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 2
    argNames:
    - appender
    - event
    argTypes:
    - struct lxc_log_appender*
    - struct lxc_log_event*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 228
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 228
    functionName: __lxc_log_append
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached:
    - va_copy
    - struct lxc_log_appender*::append
    - va_end
    linkageType: ''
    returnType: void
    signature: "void __lxc_log_append(const struct lxc_log_appender *appender,\n\t\t\t\t
      \   struct lxc_log_event *event)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_log_append
      Src: /src/lxc/src/lxc/log.h:234,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - category
    - event
    argTypes:
    - struct lxc_log_category*
    - struct lxc_log_event*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 237
      start: 230
    functionDepth: 1
    functionLinenumber: 230
    functionLinenumberEnd: 237
    functionName: __lxc_log
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached:
    - __lxc_log_append
    linkageType: ''
    returnType: void
    signature: "void __lxc_log(const struct lxc_log_category *category,\n\t\t\t     struct
      lxc_log_event *event)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - acategory
    - ','
    - LEVEL
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 263
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 263
    functionName: lxc_log_priority_define
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_log_priority_define(acategory, LEVEL)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - name
    - ','
    - parent
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 286
      start: 278
    functionDepth: 0
    functionLinenumber: 278
    functionLinenumberEnd: 286
    functionName: lxc_log_category_define
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_log_category_define(name, parent)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - name
    - ','
    - parent
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 299
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 299
    functionName: lxc_log_define
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_log_define(name, parent)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - name
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 302
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 302
    functionName: lxc_log_category_priority
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_log_category_priority(name)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 351
      start: 347
    functionDepth: 0
    functionLinenumber: 347
    functionLinenumberEnd: 351
    functionName: TRACE
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 3
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: TRACE(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 356
      start: 352
    functionDepth: 0
    functionLinenumber: 352
    functionLinenumberEnd: 356
    functionName: DEBUG
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: DEBUG(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 361
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 361
    functionName: INFO
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: INFO(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 366
      start: 362
    functionDepth: 0
    functionLinenumber: 362
    functionLinenumberEnd: 366
    functionName: NOTICE
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: NOTICE(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 371
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 371
    functionName: WARN
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: WARN(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 376
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 376
    functionName: ERROR
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 6
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: ERROR(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 381
      start: 377
    functionDepth: 0
    functionLinenumber: 377
    functionLinenumberEnd: 381
    functionName: CRIT
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: CRIT(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 386
      start: 382
    functionDepth: 0
    functionLinenumber: 382
    functionLinenumberEnd: 386
    functionName: ALERT
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: ALERT(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 391
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 391
    functionName: FATAL
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: FATAL(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 395
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 395
    functionName: SYSTRACE
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSTRACE(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 401
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 401
    functionName: SYSTRACE
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSTRACE(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 406
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 406
    functionName: SYSDEBUG
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSDEBUG(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 412
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 412
    functionName: SYSDEBUG
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSDEBUG(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 418
      start: 416
    functionDepth: 0
    functionLinenumber: 416
    functionLinenumberEnd: 418
    functionName: SYSINFO
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSINFO(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 424
      start: 419
    functionDepth: 0
    functionLinenumber: 419
    functionLinenumberEnd: 424
    functionName: SYSINFO
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSINFO(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 429
      start: 427
    functionDepth: 0
    functionLinenumber: 427
    functionLinenumberEnd: 429
    functionName: SYSNOTICE
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSNOTICE(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 435
      start: 430
    functionDepth: 0
    functionLinenumber: 430
    functionLinenumberEnd: 435
    functionName: SYSNOTICE
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSNOTICE(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 440
      start: 438
    functionDepth: 0
    functionLinenumber: 438
    functionLinenumberEnd: 440
    functionName: SYSWARN
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSWARN(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 446
      start: 441
    functionDepth: 0
    functionLinenumber: 441
    functionLinenumberEnd: 446
    functionName: SYSWARN
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSWARN(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 451
      start: 449
    functionDepth: 0
    functionLinenumber: 449
    functionLinenumberEnd: 451
    functionName: SYSERROR
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSERROR(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 457
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 457
    functionName: SYSERROR
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: SYSERROR(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 463
      start: 460
    functionDepth: 0
    functionLinenumber: 460
    functionLinenumberEnd: 463
    functionName: CMD_SYSERROR
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: CMD_SYSERROR(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 470
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 470
    functionName: CMD_SYSERROR
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: CMD_SYSERROR(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 476
      start: 473
    functionDepth: 0
    functionLinenumber: 473
    functionLinenumberEnd: 476
    functionName: CMD_SYSINFO
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: CMD_SYSINFO(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 483
      start: 477
    functionDepth: 0
    functionLinenumber: 477
    functionLinenumberEnd: 483
    functionName: CMD_SYSINFO
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: CMD_SYSINFO(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - __ret__
    - ','
    - __errno__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 492
      start: 485
    functionDepth: 0
    functionLinenumber: 485
    functionLinenumberEnd: 492
    functionName: log_error_errno
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 5
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_error_errno(__ret__, __errno__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 499
      start: 493
    functionDepth: 0
    functionLinenumber: 493
    functionLinenumberEnd: 499
    functionName: log_error
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_error(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - __ret__
    - ','
    - __errno__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 507
      start: 500
    functionDepth: 0
    functionLinenumber: 500
    functionLinenumberEnd: 507
    functionName: log_trace_errno
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_trace_errno(__ret__, __errno__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 514
      start: 508
    functionDepth: 0
    functionLinenumber: 508
    functionLinenumberEnd: 514
    functionName: log_trace
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_trace(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - __ret__
    - ','
    - __errno__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 522
      start: 515
    functionDepth: 0
    functionLinenumber: 515
    functionLinenumberEnd: 522
    functionName: log_warn_errno
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_warn_errno(__ret__, __errno__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 529
      start: 523
    functionDepth: 0
    functionLinenumber: 523
    functionLinenumberEnd: 529
    functionName: log_warn
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_warn(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - __ret__
    - ','
    - __errno__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 537
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 537
    functionName: log_debug_errno
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_debug_errno(__ret__, __errno__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 544
      start: 538
    functionDepth: 0
    functionLinenumber: 538
    functionLinenumberEnd: 544
    functionName: log_debug
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_debug(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - __ret__
    - ','
    - __errno__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 552
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 552
    functionName: log_info_errno
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_info_errno(__ret__, __errno__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 559
      start: 553
    functionDepth: 0
    functionLinenumber: 553
    functionLinenumberEnd: 559
    functionName: log_info
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: log_info(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 566
      start: 561
    functionDepth: 0
    functionLinenumber: 561
    functionLinenumberEnd: 566
    functionName: syserror
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: syserror(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 574
      start: 567
    functionDepth: 0
    functionLinenumber: 567
    functionLinenumberEnd: 574
    functionName: syserror_set
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: syserror_set(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 581
      start: 575
    functionDepth: 0
    functionLinenumber: 575
    functionLinenumberEnd: 581
    functionName: syserror_ret
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: syserror_ret(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 588
      start: 582
    functionDepth: 0
    functionLinenumber: 582
    functionLinenumberEnd: 588
    functionName: error_ret
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: error_ret(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 594
      start: 589
    functionDepth: 0
    functionLinenumber: 589
    functionLinenumberEnd: 594
    functionName: syswarn
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: syswarn(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 602
      start: 595
    functionDepth: 0
    functionLinenumber: 595
    functionLinenumberEnd: 602
    functionName: syswarn_set
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: syswarn_set(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 609
      start: 603
    functionDepth: 0
    functionLinenumber: 603
    functionLinenumberEnd: 609
    functionName: syswarn_ret
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: syswarn_ret(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 615
      start: 610
    functionDepth: 0
    functionLinenumber: 610
    functionLinenumberEnd: 615
    functionName: sysinfo
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: sysinfo(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 623
      start: 616
    functionDepth: 0
    functionLinenumber: 616
    functionLinenumberEnd: 623
    functionName: sysinfo_set
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: sysinfo_set(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 630
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 630
    functionName: sysinfo_ret
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: sysinfo_ret(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 636
      start: 631
    functionDepth: 0
    functionLinenumber: 631
    functionLinenumberEnd: 636
    functionName: sysdebug
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: sysdebug(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 644
      start: 637
    functionDepth: 0
    functionLinenumber: 637
    functionLinenumberEnd: 644
    functionName: sysdebug_set
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: sysdebug_set(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 651
      start: 645
    functionDepth: 0
    functionLinenumber: 645
    functionLinenumberEnd: 651
    functionName: sysdebug_ret
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: sysdebug_ret(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 657
      start: 652
    functionDepth: 0
    functionLinenumber: 652
    functionLinenumberEnd: 657
    functionName: systrace
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: systrace(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 665
      start: 658
    functionDepth: 0
    functionLinenumber: 658
    functionLinenumberEnd: 665
    functionName: systrace_set
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: systrace_set(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __ret__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 672
      start: 666
    functionDepth: 0
    functionLinenumber: 666
    functionLinenumberEnd: 672
    functionName: systrace_ret
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: systrace_ret(__ret__, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_get_level
      Src: /src/lxc/src/lxc/log.h:682,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 683
      start: 680
    functionDepth: 1
    functionLinenumber: 680
    functionLinenumberEnd: 683
    functionName: lxc_log_trace
    functionSourceFile: /src/lxc/src/lxc/log.h
    functionUses: 1
    functionsReached:
    - lxc_log_get_level
    linkageType: ''
    returnType: bool
    signature: bool lxc_log_trace(void)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/error.c:28,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/error.c:29,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/error.c:31,1
    - Dst: WIFSIGNALED
      Src: /src/lxc/src/lxc/error.c:32,1
    - Dst: WTERMSIG
      Src: /src/lxc/src/lxc/error.c:33,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/error.c:34,1
    - Dst: signal_name
      Src: /src/lxc/src/lxc/error.c:34,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/error.c:37,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 2
    argNames:
    - pid
    - status
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 41
      start: 24
    functionDepth: 1
    functionLinenumber: 24
    functionLinenumberEnd: 41
    functionName: lxc_error_set_and_log
    functionSourceFile: /src/lxc/src/lxc/error.c
    functionUses: 0
    functionsReached:
    - ERROR
    - WIFEXITED
    - WEXITSTATUS
    - signal_name
    - INFO
    - WIFSIGNALED
    - WTERMSIG
    linkageType: ''
    returnType: int
    signature: int lxc_error_set_and_log(int pid, int status)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/rexec.c:48,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/rexec.c:50,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 3
    argNames:
    - data
    - data_length
    - output
    argTypes:
    - char*
    - int
    - char***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 58
      start: 37
    functionDepth: 1
    functionLinenumber: 37
    functionLinenumberEnd: 58
    functionName: push_vargs
    functionSourceFile: /src/lxc/src/lxc/rexec.c
    functionUses: 0
    functionsReached:
    - memcpy
    - must_realloc
    linkageType: ''
    returnType: int
    signature: int push_vargs(const char *data, int data_length, char ***output)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: file_to_buf
      Src: /src/lxc/src/lxc/rexec.c:66,1
    - Dst: push_vargs
      Src: /src/lxc/src/lxc/rexec.c:70,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - argv
    argTypes:
    - char***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 72
      start: 60
    functionDepth: 2
    functionLinenumber: 60
    functionLinenumberEnd: 72
    functionName: parse_argv
    functionSourceFile: /src/lxc/src/lxc/rexec.c
    functionUses: 0
    functionsReached:
    - file_to_buf
    - push_vargs
    linkageType: ''
    returnType: int
    signature: int parse_argv(char ***argv)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/rexec.c:79,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/rexec.c:83,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/rexec.c:87,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 94
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 94
    functionName: is_memfd
    functionSourceFile: /src/lxc/src/lxc/rexec.c
    functionUses: 0
    functionsReached:
    - open
    - fstat
    - fcntl
    linkageType: ''
    returnType: int
    signature: int is_memfd(void)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/rexec.c:104,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/rexec.c:107,1
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/rexec.c:108,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/rexec.c:114,1
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/lxc/rexec.c:119,1
    - Dst: fchmod
      Src: /src/lxc/src/lxc/rexec.c:123,1
    - Dst: open
      Src: /src/lxc/src/lxc/rexec.c:128,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/rexec.c:133,1
    - Dst: lxc_sendfile_nointr
      Src: /src/lxc/src/lxc/rexec.c:140,1
    - Dst: lseek
      Src: /src/lxc/src/lxc/rexec.c:147,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/rexec.c:148,1
    - Dst: fd_to_fd
      Src: /src/lxc/src/lxc/rexec.c:150,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/rexec.c:157,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/rexec.c:160,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/rexec.c:163,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/rexec.c:167,1
    - Dst: open
      Src: /src/lxc/src/lxc/rexec.c:171,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/rexec.c:172,1
    - Dst: fexecve
      Src: /src/lxc/src/lxc/rexec.c:178,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 49
    argCount: 3
    argNames:
    - argv
    - envp
    - memfd_name
    argTypes:
    - char**
    - char**
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 179
      start: 96
    functionDepth: 1
    functionLinenumber: 96
    functionLinenumberEnd: 179
    functionName: lxc_rexec_as_memfd
    functionSourceFile: /src/lxc/src/lxc/rexec.c
    functionUses: 0
    functionsReached:
    - open
    - fexecve
    - lxc_make_tmpfile
    - fprintf
    - fchmod
    - fstat
    - move_fd
    - TRACE
    - lxc_sendfile_nointr
    - close_prot_errno_disarm
    - strnprintf
    - fd_to_fd
    - fcntl
    - memfd_create
    - lseek
    linkageType: ''
    returnType: void
    signature: void lxc_rexec_as_memfd(char **argv, char **envp, const char *memfd_name)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_memfd
      Src: /src/lxc/src/lxc/rexec.c:192,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/rexec.c:194,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/rexec.c:195,1
    - Dst: parse_argv
      Src: /src/lxc/src/lxc/rexec.c:201,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/rexec.c:203,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/rexec.c:204,1
    - Dst: lxc_rexec_as_memfd
      Src: /src/lxc/src/lxc/rexec.c:208,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/rexec.c:209,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/rexec.c:209,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - memfd_name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 211
      start: 187
    functionDepth: 3
    functionLinenumber: 187
    functionLinenumberEnd: 211
    functionName: lxc_rexec
    functionSourceFile: /src/lxc/src/lxc/rexec.c
    functionUses: 0
    functionsReached:
    - strerror
    - lxc_rexec_as_memfd
    - fprintf
    - is_memfd
    - parse_argv
    linkageType: ''
    returnType: int
    signature: int lxc_rexec(const char *memfd_name)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getenv
      Src: /src/lxc/src/lxc/rexec.c:222,1
    - Dst: lxc_rexec
      Src: /src/lxc/src/lxc/rexec.c:222,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/rexec.c:223,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/rexec.c:224,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 226
      start: 220
    functionDepth: 4
    functionLinenumber: 220
    functionLinenumberEnd: 226
    functionName: liblxc_rexec
    functionSourceFile: /src/lxc/src/lxc/rexec.c
    functionUses: 0
    functionsReached:
    - lxc_rexec
    - getenv
    - _exit
    - fprintf
    linkageType: ''
    returnType: void
    signature: void liblxc_rexec(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - lxc_state_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 39
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 39
    functionName: lxc_state2str
    functionSourceFile: /src/lxc/src/lxc/state.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_state2str(lxc_state_t state)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/state.c:47,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/state.c:51,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 41
    functionDepth: 1
    functionLinenumber: 41
    functionLinenumberEnd: 53
    functionName: lxc_str2state
    functionSourceFile: /src/lxc/src/lxc/state.c
    functionUses: 0
    functionsReached:
    - ERROR
    - strequal
    linkageType: ''
    returnType: lxc_state_t
    signature: lxc_state_t lxc_str2state(const char *state)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_get_state
      Src: /src/lxc/src/lxc/state.c:59,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - name
    - lxcpath
    - timeout
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 60
      start: 57
    functionDepth: 1
    functionLinenumber: 57
    functionLinenumberEnd: 60
    functionName: lxc_getstate
    functionSourceFile: /src/lxc/src/lxc/state.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_state
    linkageType: ''
    returnType: lxc_state_t
    signature: lxc_state_t lxc_getstate(const char *name, const char *lxcpath, int
      timeout)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/state.c:68,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/state.c:72,1
    - Dst: lxc_str2state
      Src: /src/lxc/src/lxc/state.c:73,1
    - Dst: free
      Src: /src/lxc/src/lxc/state.c:75,1
    - Dst: free
      Src: /src/lxc/src/lxc/state.c:81,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 2
    argNames:
    - strstates
    - states
    argTypes:
    - char*
    - lxc_state_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 83
      start: 62
    functionDepth: 2
    functionLinenumber: 62
    functionLinenumberEnd: 83
    functionName: fillwaitedstates
    functionSourceFile: /src/lxc/src/lxc/state.c
    functionUses: 0
    functionsReached:
    - lxc_str2state
    - lxc_iterate_parts
    - free
    - strdup
    linkageType: ''
    returnType: int
    signature: int fillwaitedstates(const char *strstates, lxc_state_t *states)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fillwaitedstates
      Src: /src/lxc/src/lxc/state.c:91,1
    - Dst: lxc_cmd_sock_get_state
      Src: /src/lxc/src/lxc/state.c:100,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/state.c:105,1
    - Dst: nanosleep
      Src: /src/lxc/src/lxc/state.c:113,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/state.c:116,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/state.c:116,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 4
    argNames:
    - lxcname
    - states
    - timeout
    - lxcpath
    argTypes:
    - char*
    - char*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 121
      start: 85
    functionDepth: 3
    functionLinenumber: 85
    functionLinenumberEnd: 121
    functionName: lxc_wait
    functionSourceFile: /src/lxc/src/lxc/state.c
    functionUses: 0
    functionsReached:
    - fillwaitedstates
    - nanosleep
    - lxc_state2str
    - TRACE
    - log_error_errno
    - lxc_cmd_sock_get_state
    linkageType: ''
    returnType: int
    signature: "int lxc_wait(const char *lxcname, const char *states, int timeout,\n\t
      \    const char *lxcpath)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - glh
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 15
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 15
    functionName: RTNLMSG_DATA
    functionSourceFile: /src/lxc/src/lxc/rtnl.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: RTNLMSG_DATA(glh)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/commands_utils.c:37,1
    - Dst: setsockopt
      Src: /src/lxc/src/lxc/commands_utils.c:39,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands_utils.c:42,1
    - Dst: memset
      Src: /src/lxc/src/lxc/commands_utils.c:45,1
    - Dst: lxc_recv_nointr
      Src: /src/lxc/src/lxc/commands_utils.c:47,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands_utils.c:49,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/commands_utils.c:51,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/commands_utils.c:52,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 2
    argNames:
    - state_client_fd
    - timeout
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 30
    functionDepth: 1
    functionLinenumber: 30
    functionLinenumberEnd: 53
    functionName: lxc_cmd_sock_rcv_state
    functionSourceFile: /src/lxc/src/lxc/commands_utils.c
    functionUses: 0
    functionsReached:
    - lxc_recv_nointr
    - lxc_state2str
    - log_trace
    - log_error_errno
    - memset
    - setsockopt
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_sock_rcv_state(int state_client_fd, int timeout)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_add_state_client
      Src: /src/lxc/src/lxc/commands_utils.c:62,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/commands_utils.c:70,1
    - Dst: lxc_cmd_sock_rcv_state
      Src: /src/lxc/src/lxc/commands_utils.c:72,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 4
    argNames:
    - name
    - lxcpath
    - states
    - timeout
    argTypes:
    - char*
    - char*
    - lxc_state_t[]
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 73
      start: 56
    functionDepth: 2
    functionLinenumber: 56
    functionLinenumberEnd: 73
    functionName: lxc_cmd_sock_get_state
    functionSourceFile: /src/lxc/src/lxc/commands_utils.c
    functionUses: 1
    functionsReached:
    - ret_errno
    - lxc_cmd_sock_rcv_state
    - lxc_cmd_add_state_client
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_sock_get_state(const char *name, const char *lxcpath,\n\t\t\t
      \  lxc_state_t states[MAX_STATE], int timeout)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/commands_utils.c:106,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands_utils.c:108,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/commands_utils.c:113,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/commands_utils.c:115,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/commands_utils.c:122,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands_utils.c:124,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/commands_utils.c:131,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/commands_utils.c:131,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/commands_utils.c:132,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/commands_utils.c:133,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands_utils.c:135,1
    - Dst: fnv_64a_buf
      Src: /src/lxc/src/lxc/commands_utils.c:137,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/commands_utils.c:138,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands_utils.c:140,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 34
    argCount: 6
    argNames:
    - path
    - pathlen
    - lxcname
    - lxcpath
    - hashed_sock_name
    - suffix
    argTypes:
    - char*
    - size_t
    - char*
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 144
      start: 75
    functionDepth: 1
    functionLinenumber: 75
    functionLinenumberEnd: 144
    functionName: lxc_make_abstract_socket_name
    functionSourceFile: /src/lxc/src/lxc/commands_utils.c
    functionUses: 0
    functionsReached:
    - fnv_64a_buf
    - log_error
    - must_realloc
    - snprintf
    - log_error_errno
    - strlen
    - strnprintf
    - lxc_global_config_value
    linkageType: ''
    returnType: int
    signature: "int lxc_make_abstract_socket_name(char *path, size_t pathlen,\n\t\t\t\t
      \ const char *lxcname,\n\t\t\t\t  const char *lxcpath,\n\t\t\t\t  const char
      *hashed_sock_name,\n\t\t\t\t  const char *suffix)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_make_abstract_socket_name
      Src: /src/lxc/src/lxc/commands_utils.c:153,1
    - Dst: lxc_abstract_unix_connect
      Src: /src/lxc/src/lxc/commands_utils.c:159,1
    - Dst: lxc_socket_set_timeout
      Src: /src/lxc/src/lxc/commands_utils.c:163,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/commands_utils.c:164,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands_utils.c:166,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 5
    argNames:
    - name
    - lxcpath
    - hashed_sock_name
    - suffix
    - rcv_timeout
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 167
      start: 146
    functionDepth: 2
    functionLinenumber: 146
    functionLinenumberEnd: 167
    functionName: lxc_cmd_connect
    functionSourceFile: /src/lxc/src/lxc/commands_utils.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_connect
    - lxc_make_abstract_socket_name
    - lxc_socket_set_timeout
    - log_trace
    - move_fd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_connect(const char *name, const char *lxcpath,\n\t\t    const
      char *hashed_sock_name, const char *suffix, int rcv_timeout)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/commands_utils.c:175,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/commands_utils.c:180,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/commands_utils.c:185,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/commands_utils.c:186,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands_utils.c:188,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands_utils.c:192,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 3
    argNames:
    - state_client_fd
    - handler
    - states
    argTypes:
    - int
    - struct lxc_handler*
    - lxc_state_t[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 194
      start: 169
    functionDepth: 1
    functionLinenumber: 169
    functionLinenumberEnd: 194
    functionName: lxc_add_state_client
    functionSourceFile: /src/lxc/src/lxc/commands_utils.c
    functionUses: 0
    functionsReached:
    - memcpy
    - list_add_tail
    - TRACE
    - zalloc
    - move_ptr
    linkageType: ''
    returnType: int
    signature: "int lxc_add_state_client(int state_client_fd, struct lxc_handler *handler,\n\t\t\t
      lxc_state_t states[MAX_STATE])"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_serve_state_clients
      Src: /src/lxc/src/lxc/commands_utils.c:199,1
    - Dst: lxc_monitor_send_state
      Src: /src/lxc/src/lxc/commands_utils.c:200,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - name
    - lxcpath
    - state
    argTypes:
    - char*
    - char*
    - lxc_state_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 201
      start: 196
    functionDepth: 1
    functionLinenumber: 196
    functionLinenumberEnd: 201
    functionName: lxc_cmd_notify_state_listeners
    functionSourceFile: /src/lxc/src/lxc/commands_utils.c
    functionUses: 3
    functionsReached:
    - lxc_cmd_serve_state_clients
    - lxc_monitor_send_state
    linkageType: ''
    returnType: void
    signature: "void lxc_cmd_notify_state_listeners(const char *name, const char *lxcpath,\n\t\t\t\t
      \   lxc_state_t state)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - id
    argTypes:
    - lxc_id128_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 38
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 38
    functionName: make_v4_uuid
    functionSourceFile: /src/lxc/src/lxc/uuid.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: lxc_id128_t
    signature: lxc_id128_t make_v4_uuid(lxc_id128_t id)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/uuid.c:45,1
    - Dst: read
      Src: /src/lxc/src/lxc/uuid.c:49,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - p
    - n
    argTypes:
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 54
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 54
    functionName: get_random_bytes
    functionSourceFile: /src/lxc/src/lxc/uuid.c
    functionUses: 0
    functionsReached:
    - open
    - read
    linkageType: ''
    returnType: int
    signature: int get_random_bytes(void *p, size_t n)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: get_random_bytes
      Src: /src/lxc/src/lxc/uuid.c:63,1
    - Dst: make_v4_uuid
      Src: /src/lxc/src/lxc/uuid.c:71,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - ret
    argTypes:
    - lxc_id128_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 73
      start: 56
    functionDepth: 1
    functionLinenumber: 56
    functionLinenumberEnd: 73
    functionName: lxc_id128_randomize
    functionSourceFile: /src/lxc/src/lxc/uuid.c
    functionUses: 0
    functionsReached:
    - get_random_bytes
    - make_v4_uuid
    linkageType: ''
    returnType: int
    signature: int lxc_id128_randomize(lxc_id128_t *ret)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - x
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 83
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 83
    functionName: hexchar
    functionSourceFile: /src/lxc/src/lxc/uuid.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char hexchar(int x)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: hexchar
      Src: /src/lxc/src/lxc/uuid.c:94,1
    - Dst: hexchar
      Src: /src/lxc/src/lxc/uuid.c:95,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 2
    argNames:
    - id
    - s
    argTypes:
    - lxc_id128_t
    - char[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 101
      start: 85
    functionDepth: 1
    functionLinenumber: 85
    functionLinenumberEnd: 101
    functionName: id128_to_uuid_string
    functionSourceFile: /src/lxc/src/lxc/uuid.c
    functionUses: 0
    functionsReached:
    - hexchar
    linkageType: ''
    returnType: char
    signature: char *id128_to_uuid_string(lxc_id128_t id, char s[37])
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: id128_to_uuid_string
      Src: /src/lxc/src/lxc/uuid.c:109,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/uuid.c:113,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 2
    argNames:
    - fd
    - id
    argTypes:
    - int
    - lxc_id128_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 118
      start: 103
    functionDepth: 2
    functionLinenumber: 103
    functionLinenumberEnd: 118
    functionName: lxc_id128_write_fd
    functionSourceFile: /src/lxc/src/lxc/uuid.c
    functionUses: 0
    functionsReached:
    - id128_to_uuid_string
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int lxc_id128_write_fd(int fd, lxc_id128_t id)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/uuid.c:124,1
    - Dst: lxc_id128_write_fd
      Src: /src/lxc/src/lxc/uuid.c:128,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - p
    - id
    argTypes:
    - char*
    - lxc_id128_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 129
      start: 120
    functionDepth: 3
    functionLinenumber: 120
    functionLinenumberEnd: 129
    functionName: lxc_id128_write
    functionSourceFile: /src/lxc/src/lxc/uuid.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_id128_write_fd
    linkageType: ''
    returnType: int
    signature: int lxc_id128_write(const char *p, lxc_id128_t id)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fcntl
      Src: /src/lxc/src/lxc/utils.h:34,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: lxc_set_cloexec
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 0
    functionsReached:
    - fcntl
    linkageType: ''
    returnType: int
    signature: int lxc_set_cloexec(int fd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_pclose
      Src: /src/lxc/src/lxc/utils.h:67,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - f
    argTypes:
    - struct lxc_popen_FILE**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 68
      start: 64
    functionDepth: 1
    functionLinenumber: 64
    functionLinenumberEnd: 68
    functionName: __auto_lxc_pclose__
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 0
    functionsReached:
    - lxc_pclose
    linkageType: ''
    returnType: void
    signature: void __auto_lxc_pclose__(struct lxc_popen_FILE **f)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: geteuid
      Src: /src/lxc/src/lxc/utils.h:92,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 93
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 93
    functionName: am_guest_unpriv
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 0
    functionsReached:
    - geteuid
    linkageType: ''
    returnType: bool
    signature: bool am_guest_unpriv(void)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: geteuid
      Src: /src/lxc/src/lxc/utils.h:102,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/utils.h:108,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/utils.h:112,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 117
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 117
    functionName: am_host_unpriv
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 0
    functionsReached:
    - fscanf
    - geteuid
    - fopen
    linkageType: ''
    returnType: bool
    signature: bool am_host_unpriv(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: try_switch_to_ns
      Src: /src/lxc/src/lxc/utils.h:141,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - pid
    - ns
    argTypes:
    - pid_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 142
      start: 139
    functionDepth: 1
    functionLinenumber: 139
    functionLinenumberEnd: 142
    functionName: switch_to_ns
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 1
    functionsReached:
    - try_switch_to_ns
    linkageType: ''
    returnType: bool
    signature: bool switch_to_ns(pid_t pid, const char *ns)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/lxc/src/lxc/utils.h:207,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 212
      start: 203
    functionDepth: 0
    functionLinenumber: 203
    functionLinenumberEnd: 212
    functionName: lxc_getpagesize
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 1
    functionsReached:
    - sysconf
    linkageType: ''
    returnType: uint64_t
    signature: uint64_t lxc_getpagesize(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - uid
    argTypes:
    - uid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 234
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 234
    functionName: uid_valid
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool uid_valid(uid_t uid)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - gid
    argTypes:
    - gid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 239
      start: 236
    functionDepth: 0
    functionLinenumber: 236
    functionLinenumberEnd: 239
    functionName: gid_valid
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool gid_valid(gid_t gid)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: min
      Src: /src/lxc/src/lxc/utils.h:252,1
    - Dst: min
      Src: /src/lxc/src/lxc/utils.h:253,1
    - Dst: memset
      Src: /src/lxc/src/lxc/utils.h:257,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/utils.h:263,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 4
    argNames:
    - server_size
    - dst
    - client_size
    - src
    argTypes:
    - __u32
    - void*
    - __u32
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 265
      start: 249
    functionDepth: 1
    functionLinenumber: 249
    functionLinenumberEnd: 265
    functionName: copy_struct_from_client
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 0
    functionsReached:
    - memset
    - memcpy
    - min
    linkageType: ''
    returnType: int
    signature: "int copy_struct_from_client(__u32 server_size, void *dst,\n\t\t\t\t\t
      \ __u32 client_size, const void *src)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: min
      Src: /src/lxc/src/lxc/utils.h:270,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/utils.h:271,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 4
    argNames:
    - client_size
    - dst
    - server_size
    - src
    argTypes:
    - __u32
    - void*
    - __u32
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 273
      start: 267
    functionDepth: 1
    functionLinenumber: 267
    functionLinenumberEnd: 273
    functionName: copy_struct_to_client
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 0
    functionsReached:
    - memcpy
    - min
    linkageType: ''
    returnType: __u32
    signature: "__u32 copy_struct_to_client(__u32 client_size, void *dst,\n\t\t\t\t\t
      \ __u32 server_size, const void *src)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: file_to_buf
      Src: /src/lxc/src/lxc/utils.h:282,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/utils.h:289,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/utils.h:292,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/utils.h:295,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - s
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 296
      start: 276
    functionDepth: 1
    functionLinenumber: 276
    functionLinenumberEnd: 296
    functionName: is_in_comm
    functionSourceFile: /src/lxc/src/lxc/utils.h
    functionUses: 2
    functionsReached:
    - file_to_buf
    - memcpy
    - strstr
    - malloc
    linkageType: ''
    returnType: int
    signature: int is_in_comm(const char *s)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/rtnl.c:19,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct rtnl_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 20
      start: 17
    functionDepth: 1
    functionLinenumber: 17
    functionLinenumberEnd: 20
    functionName: rtnetlink_open
    functionSourceFile: /src/lxc/src/lxc/rtnl.c
    functionUses: 0
    functionsReached:
    - netlink_open
    linkageType: ''
    returnType: int
    signature: int rtnetlink_open(struct rtnl_handler *handler)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: netlink_close
      Src: /src/lxc/src/lxc/rtnl.c:24,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct rtnl_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 1
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: rtnetlink_close
    functionSourceFile: /src/lxc/src/lxc/rtnl.c
    functionUses: 0
    functionsReached:
    - netlink_close
    linkageType: ''
    returnType: void
    signature: void rtnetlink_close(struct rtnl_handler *handler)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: netlink_rcv
      Src: /src/lxc/src/lxc/rtnl.c:32,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - handler
    - rtnlmsg
    argTypes:
    - struct rtnl_handler*
    - struct rtnlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 1
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: rtnetlink_rcv
    functionSourceFile: /src/lxc/src/lxc/rtnl.c
    functionUses: 0
    functionsReached:
    - netlink_rcv
    linkageType: ''
    returnType: int
    signature: int rtnetlink_rcv(struct rtnl_handler *handler, struct rtnlmsg *rtnlmsg)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: netlink_send
      Src: /src/lxc/src/lxc/rtnl.c:38,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - handler
    - rtnlmsg
    argTypes:
    - struct rtnl_handler*
    - struct rtnlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 39
      start: 35
    functionDepth: 1
    functionLinenumber: 35
    functionLinenumberEnd: 39
    functionName: rtnetlink_send
    functionSourceFile: /src/lxc/src/lxc/rtnl.c
    functionUses: 0
    functionsReached:
    - netlink_send
    linkageType: ''
    returnType: int
    signature: int rtnetlink_send(struct rtnl_handler *handler, struct rtnlmsg *rtnlmsg)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/rtnl.c:44,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - handler
    - request
    - answer
    argTypes:
    - struct rtnl_handler*
    - struct rtnlmsg*
    - struct rtnlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 47
      start: 41
    functionDepth: 1
    functionLinenumber: 41
    functionLinenumberEnd: 47
    functionName: rtnetlink_transaction
    functionSourceFile: /src/lxc/src/lxc/rtnl.c
    functionUses: 0
    functionsReached:
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: "int rtnetlink_transaction(struct rtnl_handler *handler, struct rtnlmsg
      *request,\n\t\t\t  struct rtnlmsg *answer)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - size
    argTypes:
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 61
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 61
    functionName: rtnlmsg_alloc
    functionSourceFile: /src/lxc/src/lxc/rtnl.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: struct rtnlmsg
    signature: struct rtnlmsg *rtnlmsg_alloc(size_t size)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/rtnl.c:63,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - rtnlmsg
    argTypes:
    - struct rtnlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 63
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 63
    functionName: rtnlmsg_free
    functionSourceFile: /src/lxc/src/lxc/rtnl.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void rtnlmsg_free(struct rtnlmsg *rtnlmsg)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/seccomp.c:41,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - operation
    - flags
    - args
    argTypes:
    - unsigned int
    - unsigned int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 42
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 42
    functionName: __seccomp
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: "int __seccomp(unsigned int operation, unsigned int flags,\n\t\t\t
      \ void *args)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: getline
      Src: /src/lxc/src/lxc/seccomp.c:49,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/seccomp.c:52,1
    - Dst: seccomp_rule_add
      Src: /src/lxc/src/lxc/seccomp.c:59,1
    - Dst: seccomp_rule_add
      Src: /src/lxc/src/lxc/seccomp.c:61,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:64,1
    - Dst: free
      Src: /src/lxc/src/lxc/seccomp.c:68,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 4
    argNames:
    - f
    - line
    - line_bufsz
    - conf
    argTypes:
    - FILE*
    - char*
    - size_t*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 71
      start: 45
    functionDepth: 1
    functionLinenumber: 45
    functionLinenumberEnd: 71
    functionName: parse_config_v1
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - ERROR
    - seccomp_rule_add
    - getline
    - sscanf
    - free
    linkageType: ''
    returnType: int
    signature: int parse_config_v1(FILE *f, char *line, size_t *line_bufsz, struct
      lxc_conf *conf)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: SCMP_ACT_ERRNO
      Src: /src/lxc/src/lxc/seccomp.c:84,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 14
    argCount: 1
    argNames:
    - action
    argTypes:
    - uint32_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 93
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 93
    functionName: get_action_name
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - SCMP_ACT_ERRNO
    linkageType: ''
    returnType: char
    signature: char *get_action_name(uint32_t action)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:103,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:105,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/seccomp.c:108,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:110,1
    - Dst: SCMP_ACT_ERRNO
      Src: /src/lxc/src/lxc/seccomp.c:114,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:115,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:117,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:120,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:124,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 28
    argCount: 1
    argNames:
    - line
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 129
      start: 95
    functionDepth: 1
    functionLinenumber: 95
    functionLinenumberEnd: 129
    functionName: get_v2_default_action
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - sscanf
    - ERROR
    - SCMP_ACT_ERRNO
    - strnequal
    linkageType: ''
    returnType: int32_t
    signature: int32_t get_v2_default_action(char *line)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/seccomp.c:136,1
    - Dst: get_v2_default_action
      Src: /src/lxc/src/lxc/seccomp.c:147,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 2
    argNames:
    - line
    - def_action
    argTypes:
    - char*
    - uint32_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 156
      start: 131
    functionDepth: 2
    functionLinenumber: 131
    functionLinenumberEnd: 156
    functionName: get_v2_action
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - get_v2_default_action
    - strchr
    linkageType: ''
    returnType: int32_t
    signature: int32_t get_v2_action(char *line, uint32_t def_action)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:173,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:173,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:175,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:175,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:177,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:177,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:179,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:179,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:181,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:181,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:183,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:183,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:185,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:185,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 16
    argCount: 1
    argNames:
    - s
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 189
      start: 171
    functionDepth: 1
    functionLinenumber: 171
    functionLinenumberEnd: 189
    functionName: parse_v2_rule_op
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - strequal
    linkageType: ''
    returnType: enum scmp_compare
    signature: enum scmp_compare parse_v2_rule_op(char *s)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/seccomp.c:212,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:214,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/seccomp.c:218,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:220,1
    - Dst: lxc_safe_uint64
      Src: /src/lxc/src/lxc/seccomp.c:224,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:226,1
    - Dst: lxc_safe_uint64
      Src: /src/lxc/src/lxc/seccomp.c:230,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:232,1
    - Dst: parse_v2_rule_op
      Src: /src/lxc/src/lxc/seccomp.c:236,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:238,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 2
    argNames:
    - key
    - rule_args
    argTypes:
    - char*
    - struct seccomp_v2_rule_args*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 247
      start: 203
    functionDepth: 2
    functionLinenumber: 203
    functionLinenumberEnd: 247
    functionName: get_seccomp_arg_value
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_safe_uint64
    - parse_v2_rule_op
    - sscanf
    - strchr
    linkageType: ''
    returnType: int
    signature: int get_seccomp_arg_value(char *key, struct seccomp_v2_rule_args *rule_args)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/seccomp.c:261,1
    - Dst: get_v2_action
      Src: /src/lxc/src/lxc/seccomp.c:266,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:268,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/seccomp.c:276,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/seccomp.c:280,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/seccomp.c:281,1
    - Dst: get_seccomp_arg_value
      Src: /src/lxc/src/lxc/seccomp.c:282,1
    - Dst: free
      Src: /src/lxc/src/lxc/seccomp.c:292,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 29
    argCount: 3
    argNames:
    - line
    - def_action
    - rules
    argTypes:
    - char*
    - uint32_t
    - struct seccomp_v2_rule*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 295
      start: 255
    functionDepth: 3
    functionLinenumber: 255
    functionLinenumberEnd: 295
    functionName: parse_v2_rules
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - ERROR
    - get_seccomp_arg_value
    - strtok_r
    - strdup
    - get_v2_action
    - strchr
    - free
    linkageType: ''
    returnType: int
    signature: "int parse_v2_rules(char *line, uint32_t def_action,\n\t\t\t  struct
      seccomp_v2_rule *rules)"
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: uname
      Src: /src/lxc/src/lxc/seccomp.c:325,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:326,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:330,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:333,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:335,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:337,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:339,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:341,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:343,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:345,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:347,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:349,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:351,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:353,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 30
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 356
      start: 322
    functionDepth: 1
    functionLinenumber: 322
    functionLinenumberEnd: 356
    functionName: get_hostarch
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - uname
    - SYSERROR
    - strnequal
    - strequal
    linkageType: ''
    returnType: int
    signature: int get_hostarch(void)
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: seccomp_init
      Src: /src/lxc/src/lxc/seccomp.c:437,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:439,1
    - Dst: seccomp_attr_set
      Src: /src/lxc/src/lxc/seccomp.c:443,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:446,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:447,1
    - Dst: seccomp_attr_set
      Src: /src/lxc/src/lxc/seccomp.c:452,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/seccomp.c:455,1
    - Dst: seccomp_arch_exist
      Src: /src/lxc/src/lxc/seccomp.c:459,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:463,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:466,1
    - Dst: seccomp_arch_add
      Src: /src/lxc/src/lxc/seccomp.c:470,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:473,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:475,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:478,1
    - Dst: seccomp_arch_remove
      Src: /src/lxc/src/lxc/seccomp.c:480,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:482,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:483,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:486,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:491,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 102
    argCount: 3
    argNames:
    - n_arch
    - default_policy_action
    - needs_merge
    argTypes:
    - enum lxc_hostarch_t
    - uint32_t
    - bool*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 495
      start: 358
    functionDepth: 1
    functionLinenumber: 358
    functionLinenumberEnd: 495
    functionName: get_new_ctx
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - seccomp_attr_set
    - ERROR
    - seccomp_release
    - SYSWARN
    - seccomp_arch_exist
    - seccomp_arch_remove
    - TRACE
    - seccomp_init
    - SYSERROR
    - seccomp_arch_add
    linkageType: ''
    returnType: scmp_filter_ctx
    signature: "scmp_filter_ctx get_new_ctx(enum lxc_hostarch_t n_arch, uint32_t default_policy_action,\n\t\t\t\t
      \  bool *needs_merge)"
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: seccomp_arch_exist
      Src: /src/lxc/src/lxc/seccomp.c:510,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:513,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/seccomp.c:518,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:522,1
    - Dst: seccomp_rule_add_exact
      Src: /src/lxc/src/lxc/seccomp.c:523,1
    - Dst: SCMP_ACT_ERRNO
      Src: /src/lxc/src/lxc/seccomp.c:523,1
    - Dst: SCMP_SYS
      Src: /src/lxc/src/lxc/seccomp.c:524,1
    - Dst: SCMP_A1
      Src: /src/lxc/src/lxc/seccomp.c:525,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:528,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/seccomp.c:532,1
    - Dst: seccomp_syscall_resolve_name
      Src: /src/lxc/src/lxc/seccomp.c:536,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/seccomp.c:538,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/seccomp.c:544,1
    - Dst: seccomp_syscall_resolve_name_arch
      Src: /src/lxc/src/lxc/seccomp.c:548,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/seccomp.c:549,1
    - Dst: memset
      Src: /src/lxc/src/lxc/seccomp.c:553,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/seccomp.c:555,1
    - Dst: SCMP_CMP
      Src: /src/lxc/src/lxc/seccomp.c:562,1
    - Dst: SCMP_CMP
      Src: /src/lxc/src/lxc/seccomp.c:567,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/seccomp.c:572,1
    - Dst: get_action_name
      Src: /src/lxc/src/lxc/seccomp.c:574,1
    - Dst: seccomp_rule_add_exact_array
      Src: /src/lxc/src/lxc/seccomp.c:576,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:580,1
    - Dst: get_action_name
      Src: /src/lxc/src/lxc/seccomp.c:581,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 47
    argCount: 4
    argNames:
    - arch
    - line
    - ctx
    - rule
    argTypes:
    - uint32_t
    - char*
    - scmp_filter_ctx
    - struct seccomp_v2_rule*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 586
      start: 504
    functionDepth: 1
    functionLinenumber: 504
    functionLinenumberEnd: 586
    functionName: do_resolve_add_rule
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - SCMP_A1
    - get_action_name
    - seccomp_arch_exist
    - SCMP_CMP
    - SCMP_SYS
    - seccomp_rule_add_exact_array
    - SCMP_ACT_ERRNO
    - strnequal
    - memset
    - seccomp_syscall_resolve_name
    - INFO
    - seccomp_syscall_resolve_name_arch
    - DEBUG
    - SYSERROR
    - strchr
    - seccomp_rule_add_exact
    linkageType: ''
    returnType: enum lxc_seccomp_rule_status_t
    signature: "enum lxc_seccomp_rule_status_t do_resolve_add_rule(uint32_t arch,
      char *line, scmp_filter_ctx ctx,\n\t\t\t\tstruct seccomp_v2_rule *rule)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:597,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/seccomp.c:597,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:598,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/seccomp.c:599,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - type
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 600
      start: 595
    functionDepth: 1
    functionLinenumber: 595
    functionLinenumberEnd: 600
    functionName: is_denylist
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - strnequal
    linkageType: ''
    returnType: bool
    signature: bool is_denylist(const char *type)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:604,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/seccomp.c:604,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:605,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/seccomp.c:606,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - type
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 607
      start: 602
    functionDepth: 1
    functionLinenumber: 602
    functionLinenumberEnd: 607
    functionName: is_allowlist
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - strnequal
    linkageType: ''
    returnType: bool
    signature: bool is_allowlist(const char *type)
  - BBCount: 75
    BranchProfiles: []
    Callsites:
    - Dst: is_denylist
      Src: /src/lxc/src/lxc/seccomp.c:637,1
    - Dst: is_allowlist
      Src: /src/lxc/src/lxc/seccomp.c:639,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/seccomp.c:640,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/seccomp.c:642,1
    - Dst: get_v2_default_action
      Src: /src/lxc/src/lxc/seccomp.c:644,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/seccomp.c:664,1
    - Dst: seccomp_arch_native
      Src: /src/lxc/src/lxc/seccomp.c:664,1
    - Dst: memset
      Src: /src/lxc/src/lxc/seccomp.c:666,1
    - Dst: get_hostarch
      Src: /src/lxc/src/lxc/seccomp.c:670,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:676,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:683,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:690,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:700,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:707,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:718,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:726,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:738,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:745,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:752,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:761,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:768,1
    - Dst: get_new_ctx
      Src: /src/lxc/src/lxc/seccomp.c:775,1
    - Dst: seccomp_reset
      Src: /src/lxc/src/lxc/seccomp.c:784,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:786,1
    - Dst: seccomp_attr_set
      Src: /src/lxc/src/lxc/seccomp.c:790,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:793,1
    - Dst: seccomp_attr_set
      Src: /src/lxc/src/lxc/seccomp.c:798,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/seccomp.c:801,1
    - Dst: getline
      Src: /src/lxc/src/lxc/seccomp.c:806,1
    - Dst: remove_trailing_newlines
      Src: /src/lxc/src/lxc/seccomp.c:813,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/seccomp.c:815,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:818,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:819,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:827,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:828,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:835,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:836,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:843,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:844,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:848,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:849,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:860,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:861,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:871,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:872,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:882,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:883,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:893,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:894,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:905,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:906,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:913,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:914,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:921,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:922,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:930,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:931,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:938,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:939,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:946,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:947,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:958,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:959,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:969,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:970,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:980,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/seccomp.c:981,1
    - Dst: memset
      Src: /src/lxc/src/lxc/seccomp.c:1001,1
    - Dst: parse_v2_rules
      Src: /src/lxc/src/lxc/seccomp.c:1003,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1005,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:1013,1
    - Dst: do_resolve_add_rule
      Src: /src/lxc/src/lxc/seccomp.c:1018,1
    - Dst: seccomp_arch_native
      Src: /src/lxc/src/lxc/seccomp.c:1027,1
    - Dst: do_resolve_add_rule
      Src: /src/lxc/src/lxc/seccomp.c:1028,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/seccomp.c:1036,1
    - Dst: seccomp_merge
      Src: /src/lxc/src/lxc/seccomp.c:1039,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1041,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:1046,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:1048,1
    - Dst: seccomp_merge
      Src: /src/lxc/src/lxc/seccomp.c:1055,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1057,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:1062,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:1064,1
    - Dst: seccomp_merge
      Src: /src/lxc/src/lxc/seccomp.c:1071,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1073,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:1078,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:1080,1
    - Dst: free
      Src: /src/lxc/src/lxc/seccomp.c:1085,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1089,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:1094,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:1097,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:1100,1
    - Dst: free
      Src: /src/lxc/src/lxc/seccomp.c:1102,1
    CyclomaticComplexity: 141
    EdgeCount: 141
    ICount: 332
    argCount: 4
    argNames:
    - f
    - line
    - line_bufsz
    - conf
    argTypes:
    - FILE*
    - char*
    - size_t*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1105
      start: 623
    functionDepth: 4
    functionLinenumber: 623
    functionLinenumberEnd: 1105
    functionName: parse_config_v2
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - get_v2_default_action
    - seccomp_release
    - log_error
    - is_denylist
    - TRACE
    - seccomp_reset
    - strchr
    - free
    - seccomp_attr_set
    - seccomp_merge
    - SYSWARN
    - strequal
    - remove_trailing_newlines
    - memset
    - is_allowlist
    - do_resolve_add_rule
    - get_hostarch
    - ERROR
    - getline
    - get_new_ctx
    - DEBUG
    - SYSERROR
    - parse_v2_rules
    - INFO
    - seccomp_arch_native
    linkageType: ''
    returnType: int
    signature: int parse_config_v2(FILE *f, char *line, size_t *line_bufsz, struct
      lxc_conf *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - f
    - line
    - conf
    argTypes:
    - FILE*
    - char*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1110
      start: 1107
    functionDepth: 0
    functionLinenumber: 1107
    functionLinenumberEnd: 1110
    functionName: parse_config_v2
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int parse_config_v2(FILE *f, char *line, struct lxc_conf *conf)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fscanf
      Src: /src/lxc/src/lxc/seccomp.c:1127,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1129,1
    - Dst: getline
      Src: /src/lxc/src/lxc/seccomp.c:1133,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1134,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/seccomp.c:1138,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1139,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/seccomp.c:1143,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1144,1
    - Dst: parse_config_v1
      Src: /src/lxc/src/lxc/seccomp.c:1149,1
    - Dst: parse_config_v2
      Src: /src/lxc/src/lxc/seccomp.c:1151,1
    - Dst: free
      Src: /src/lxc/src/lxc/seccomp.c:1154,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 2
    argNames:
    - f
    - conf
    argTypes:
    - FILE*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1156
      start: 1121
    functionDepth: 5
    functionLinenumber: 1121
    functionLinenumberEnd: 1156
    functionName: parse_config
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - ERROR
    - getline
    - fscanf
    - parse_config_v1
    - parse_config_v2
    - strstr
    - free
    linkageType: ''
    returnType: int
    signature: int parse_config(FILE *f, struct lxc_conf *conf)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/seccomp.c:1176,1
    - Dst: getline
      Src: /src/lxc/src/lxc/seccomp.c:1180,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/seccomp.c:1181,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/seccomp.c:1184,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/seccomp.c:1193,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/seccomp.c:1198,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1203
      start: 1165
    functionDepth: 1
    functionLinenumber: 1165
    functionLinenumberEnd: 1203
    functionName: use_seccomp
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - getline
    - strnequal
    - fopen
    - INFO
    - sscanf
    linkageType: ''
    returnType: bool
    signature: bool use_seccomp(const struct lxc_conf *conf)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: use_seccomp
      Src: /src/lxc/src/lxc/seccomp.c:1213,1
    - Dst: seccomp_init
      Src: /src/lxc/src/lxc/seccomp.c:1218,1
    - Dst: seccomp_init
      Src: /src/lxc/src/lxc/seccomp.c:1221,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1224,1
    - Dst: seccomp_attr_set
      Src: /src/lxc/src/lxc/seccomp.c:1231,1
    - Dst: seccomp_attr_set
      Src: /src/lxc/src/lxc/seccomp.c:1233,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1237,1
    - Dst: seccomp_attr_set
      Src: /src/lxc/src/lxc/seccomp.c:1242,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/seccomp.c:1245,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/seccomp.c:1249,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1251,1
    - Dst: parse_config
      Src: /src/lxc/src/lxc/seccomp.c:1255,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 30
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1256
      start: 1205
    functionDepth: 6
    functionLinenumber: 1205
    functionLinenumberEnd: 1256
    functionName: lxc_read_seccomp_config
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - seccomp_attr_set
    - ERROR
    - SYSWARN
    - parse_config
    - seccomp_init
    - fopen
    - SYSERROR
    - use_seccomp
    linkageType: ''
    returnType: int
    signature: int lxc_read_seccomp_config(struct lxc_conf *conf)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: use_seccomp
      Src: /src/lxc/src/lxc/seccomp.c:1265,1
    - Dst: seccomp_load
      Src: /src/lxc/src/lxc/seccomp.c:1269,1
    - Dst: seccomp_load
      Src: /src/lxc/src/lxc/seccomp.c:1271,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1275,1
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/seccomp.c:1282,1
    - Dst: lxc_log_get_fd
      Src: /src/lxc/src/lxc/seccomp.c:1285,1
    - Dst: seccomp_export_pfc
      Src: /src/lxc/src/lxc/seccomp.c:1287,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/seccomp.c:1290,1
    - Dst: seccomp_notify_fd
      Src: /src/lxc/src/lxc/seccomp.c:1298,1
    - Dst: fd_make_blocking
      Src: /src/lxc/src/lxc/seccomp.c:1304,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/seccomp.c:1305,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:1308,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 34
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1313
      start: 1258
    functionDepth: 2
    functionLinenumber: 1258
    functionLinenumberEnd: 1313
    functionName: lxc_seccomp_load
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - seccomp_notify_fd
    - lxc_log_get_fd
    - SYSWARN
    - seccomp_load
    - lxc_log_trace
    - seccomp_export_pfc
    - fd_make_blocking
    - TRACE
    - log_error_errno
    - SYSERROR
    - use_seccomp
    linkageType: ''
    returnType: int
    signature: int lxc_seccomp_load(struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/seccomp.c:1317,1
    - Dst: seccomp_release
      Src: /src/lxc/src/lxc/seccomp.c:1321,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/seccomp.c:1327,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/seccomp.c:1328,1
    - Dst: seccomp_notify_free
      Src: /src/lxc/src/lxc/seccomp.c:1329,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/seccomp.c:1332,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 1
    argNames:
    - seccomp
    argTypes:
    - struct lxc_seccomp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1334
      start: 1315
    functionDepth: 1
    functionLinenumber: 1315
    functionLinenumberEnd: 1334
    functionName: lxc_seccomp_free
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - free_disarm
    - seccomp_release
    - close_prot_errno_disarm
    - seccomp_notify_free
    linkageType: ''
    returnType: void
    signature: void lxc_seccomp_free(struct lxc_seccomp *seccomp)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/seccomp.c:1341,1
    - Dst: lxc_unix_connect_type
      Src: /src/lxc/src/lxc/seccomp.c:1343,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1346,1
    - Dst: lxc_socket_set_timeout
      Src: /src/lxc/src/lxc/seccomp.c:1351,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1352,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/seccomp.c:1355,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1357
      start: 1337
    functionDepth: 1
    functionLinenumber: 1337
    functionLinenumberEnd: 1357
    functionName: seccomp_notify_reconnect
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - lxc_unix_connect_type
    - lxc_socket_set_timeout
    - close_prot_errno_disarm
    - SYSERROR
    - move_fd
    linkageType: ''
    returnType: int
    signature: int seccomp_notify_reconnect(struct lxc_handler *handler)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: seccomp_notify_respond
      Src: /src/lxc/src/lxc/seccomp.c:1370,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1371,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:1374,1
    - Dst: memset
      Src: /src/lxc/src/lxc/seccomp.c:1376,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 4
    argNames:
    - fd
    - req
    - resp
    - handler
    argTypes:
    - int
    - struct seccomp_notif*
    - struct seccomp_notif_resp*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1377
      start: 1361
    functionDepth: 1
    functionLinenumber: 1361
    functionLinenumberEnd: 1377
    functionName: seccomp_notify_default_answer
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - memset
    - SYSERROR
    - seccomp_notify_respond
    - TRACE
    linkageType: ''
    returnType: void
    signature: "void seccomp_notify_default_answer(int fd, struct seccomp_notif *req,\n\t\t\t\t\t
      \ struct seccomp_notif_resp *resp,\n\t\t\t\t\t  struct lxc_handler *handler)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: move_fd
      Src: /src/lxc/src/lxc/seccomp.c:1388,1
    - Dst: close
      Src: /src/lxc/src/lxc/seccomp.c:1395,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - fd
    - data
    argTypes:
    - int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1398
      start: 1380
    functionDepth: 1
    functionLinenumber: 1380
    functionLinenumberEnd: 1398
    functionName: seccomp_notify_cleanup_handler
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - close
    - move_fd
    linkageType: ''
    returnType: int
    signature: int seccomp_notify_cleanup_handler(int fd, void *data)
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/seccomp.c:1413,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/seccomp.c:1427,1
    - Dst: memset
      Src: /src/lxc/src/lxc/seccomp.c:1429,1
    - Dst: seccomp_notify_receive
      Src: /src/lxc/src/lxc/seccomp.c:1430,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:1433,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1435,1
    - Dst: seccomp_notify_reconnect
      Src: /src/lxc/src/lxc/seccomp.c:1444,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1447,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1448,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:1456,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/seccomp.c:1458,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1460,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1461,1
    - Dst: open
      Src: /src/lxc/src/lxc/seccomp.c:1465,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1467,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1468,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/seccomp.c:1472,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1474,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1475,1
    - Dst: open
      Src: /src/lxc/src/lxc/seccomp.c:1479,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1481,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1482,1
    - Dst: seccomp_notify_id_valid
      Src: /src/lxc/src/lxc/seccomp.c:1490,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1492,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1493,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/seccomp.c:1499,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/seccomp.c:1511,1
    - Dst: lxc_abstract_unix_send_fds_iov
      Src: /src/lxc/src/lxc/seccomp.c:1528,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1530,1
    - Dst: seccomp_notify_reconnect
      Src: /src/lxc/src/lxc/seccomp.c:1532,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1539,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/seccomp.c:1543,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1546,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1547,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1552,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1555,1
    - Dst: lxc_recvmsg_nointr_iov
      Src: /src/lxc/src/lxc/seccomp.c:1559,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1561,1
    - Dst: seccomp_notify_default_answer
      Src: /src/lxc/src/lxc/seccomp.c:1562,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1567,1
    - Dst: seccomp_notify_respond
      Src: /src/lxc/src/lxc/seccomp.c:1572,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1574,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/seccomp.c:1576,1
    - Dst: memset
      Src: /src/lxc/src/lxc/seccomp.c:1578,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 135
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1583
      start: 1400
    functionDepth: 2
    functionLinenumber: 1400
    functionLinenumberEnd: 1583
    functionName: seccomp_notify_handler
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - open
    - memcpy
    - ERROR
    - lxc_recvmsg_nointr_iov
    - lxc_abstract_unix_send_fds_iov
    - seccomp_notify_receive
    - log_trace
    - TRACE
    - INTTYPE_TO_STRLEN
    - seccomp_notify_id_valid
    - seccomp_notify_respond
    - close_prot_errno_disarm
    - strlen
    - memset
    - strnprintf
    - SYSERROR
    - seccomp_notify_default_answer
    - seccomp_notify_reconnect
    linkageType: ''
    returnType: int
    signature: "int seccomp_notify_handler(int fd, uint32_t events, void *data,\n\t\t\t
      \  struct lxc_async_descr *descr)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/seccomp.c:1590,1
    - Dst: memset
      Src: /src/lxc/src/lxc/seccomp.c:1596,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 11
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1602
      start: 1585
    functionDepth: 0
    functionLinenumber: 1585
    functionLinenumberEnd: 1602
    functionName: seccomp_conf_init
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - memset
    linkageType: ''
    returnType: void
    signature: void seccomp_conf_init(struct lxc_conf *conf)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_unix_connect_type
      Src: /src/lxc/src/lxc/seccomp.c:1614,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1617,1
    - Dst: lxc_socket_set_timeout
      Src: /src/lxc/src/lxc/seccomp.c:1622,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1624,1
    - Dst: __seccomp
      Src: /src/lxc/src/lxc/seccomp.c:1628,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/seccomp.c:1631,1
    - Dst: seccomp_notify_alloc
      Src: /src/lxc/src/lxc/seccomp.c:1635,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1638,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/seccomp.c:1643,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/seccomp.c:1649,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/seccomp.c:1654,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 3
    argNames:
    - seccomp
    - descr
    - handler
    argTypes:
    - struct lxc_seccomp*
    - struct lxc_async_descr*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1658
      start: 1604
    functionDepth: 1
    functionLinenumber: 1604
    functionLinenumberEnd: 1658
    functionName: lxc_seccomp_setup_proxy
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - lxc_mainloop_add_handler
    - ERROR
    - move_fd
    - lxc_socket_set_timeout
    - lxc_unix_connect_type
    - SYSERROR
    - __seccomp
    - seccomp_notify_alloc
    linkageType: ''
    returnType: int
    signature: "int lxc_seccomp_setup_proxy(struct lxc_seccomp *seccomp,\n\t\t\t    struct
      lxc_async_descr *descr,\n\t\t\t    struct lxc_handler *handler)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/seccomp.c:1664,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/seccomp.c:1668,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - seccomp
    - socket_fd
    argTypes:
    - struct lxc_seccomp*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1672
      start: 1660
    functionDepth: 1
    functionLinenumber: 1660
    functionLinenumberEnd: 1672
    functionName: lxc_seccomp_send_notifier_fd
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_send_fds
    - close_prot_errno_disarm
    linkageType: ''
    returnType: int
    signature: int lxc_seccomp_send_notifier_fd(struct lxc_seccomp *seccomp, int socket_fd)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_recv_one_fd
      Src: /src/lxc/src/lxc/seccomp.c:1680,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - seccomp
    - socket_fd
    argTypes:
    - struct lxc_seccomp*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1688
      start: 1674
    functionDepth: 1
    functionLinenumber: 1674
    functionLinenumberEnd: 1688
    functionName: lxc_seccomp_recv_notifier_fd
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_recv_one_fd
    linkageType: ''
    returnType: int
    signature: int lxc_seccomp_recv_notifier_fd(struct lxc_seccomp *seccomp, int socket_fd)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_seccomp_notify_add_listener
      Src: /src/lxc/src/lxc/seccomp.c:1697,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/seccomp.c:1700,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 3
    argNames:
    - name
    - lxcpath
    - seccomp
    argTypes:
    - char*
    - char*
    - struct lxc_seccomp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1706
      start: 1690
    functionDepth: 1
    functionLinenumber: 1690
    functionLinenumberEnd: 1706
    functionName: lxc_seccomp_add_notifier
    functionSourceFile: /src/lxc/src/lxc/seccomp.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_seccomp_notify_add_listener
    - close_prot_errno_disarm
    linkageType: ''
    returnType: int
    signature: "int lxc_seccomp_add_notifier(const char *name, const char *lxcpath,\n\t\t\t
      \    struct lxc_seccomp *seccomp)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - nlmsg
    argTypes:
    - struct nlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 23
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 23
    functionName: nlmsg_len
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: size_t nlmsg_len(const struct nlmsg *nlmsg)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: nlmsg_len
      Src: /src/lxc/src/lxc/nl.c:30,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/nl.c:31,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - nlmsg
    argTypes:
    - struct nlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 34
      start: 25
    functionDepth: 1
    functionLinenumber: 25
    functionLinenumberEnd: 34
    functionName: nlmsg_data
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - nlmsg_len
    linkageType: ''
    returnType: void
    signature: void *nlmsg_data(struct nlmsg *nlmsg)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: RTA_LENGTH
      Src: /src/lxc/src/lxc/nl.c:40,1
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/nl.c:41,1
    - Dst: RTA_ALIGN
      Src: /src/lxc/src/lxc/nl.c:41,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:44,1
    - Dst: NLMSG_TAIL
      Src: /src/lxc/src/lxc/nl.c:46,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/nl.c:50,1
    - Dst: RTA_DATA
      Src: /src/lxc/src/lxc/nl.c:50,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 4
    argNames:
    - nlmsg
    - attr
    - data
    - len
    argTypes:
    - struct nlmsg*
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 54
      start: 36
    functionDepth: 1
    functionLinenumber: 36
    functionLinenumberEnd: 54
    functionName: nla_put
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - memcpy
    - NLMSG_TAIL
    - RTA_DATA
    - RTA_LENGTH
    - RTA_ALIGN
    - NLMSG_ALIGN
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int nla_put(struct nlmsg *nlmsg, int attr,\n\t\t   const void *data,
      size_t len)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: nla_put
      Src: /src/lxc/src/lxc/nl.c:58,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - nlmsg
    - attr
    - data
    - size
    argTypes:
    - struct nlmsg*
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 59
      start: 56
    functionDepth: 2
    functionLinenumber: 56
    functionLinenumberEnd: 59
    functionName: nla_put_buffer
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - nla_put
    linkageType: ''
    returnType: int
    signature: int nla_put_buffer(struct nlmsg *nlmsg, int attr, const void *data,
      size_t size)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: nla_put
      Src: /src/lxc/src/lxc/nl.c:63,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/nl.c:63,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - nlmsg
    - attr
    - string
    argTypes:
    - struct nlmsg*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 64
      start: 61
    functionDepth: 2
    functionLinenumber: 61
    functionLinenumberEnd: 64
    functionName: nla_put_string
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - strlen
    - nla_put
    linkageType: ''
    returnType: int
    signature: int nla_put_string(struct nlmsg *nlmsg, int attr, const char *string)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: nla_put
      Src: /src/lxc/src/lxc/nl.c:68,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - nlmsg
    - attr
    - value
    argTypes:
    - struct nlmsg*
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 69
      start: 66
    functionDepth: 2
    functionLinenumber: 66
    functionLinenumberEnd: 69
    functionName: nla_put_u32
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - nla_put
    linkageType: ''
    returnType: int
    signature: int nla_put_u32(struct nlmsg *nlmsg, int attr, int value)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: nla_put
      Src: /src/lxc/src/lxc/nl.c:73,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - nlmsg
    - attr
    - value
    argTypes:
    - struct nlmsg*
    - int
    - unsigned short
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 74
      start: 71
    functionDepth: 2
    functionLinenumber: 71
    functionLinenumberEnd: 74
    functionName: nla_put_u16
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - nla_put
    linkageType: ''
    returnType: int
    signature: int nla_put_u16(struct nlmsg *nlmsg, int attr, unsigned short value)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: nla_put
      Src: /src/lxc/src/lxc/nl.c:78,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - nlmsg
    - attr
    argTypes:
    - struct nlmsg*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 79
      start: 76
    functionDepth: 2
    functionLinenumber: 76
    functionLinenumberEnd: 79
    functionName: nla_put_attr
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - nla_put
    linkageType: ''
    returnType: int
    signature: int nla_put_attr(struct nlmsg *nlmsg, int attr)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: NLMSG_TAIL
      Src: /src/lxc/src/lxc/nl.c:85,1
    - Dst: nla_put_attr
      Src: /src/lxc/src/lxc/nl.c:86,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/nl.c:87,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - nlmsg
    - attr
    argTypes:
    - struct nlmsg*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 90
      start: 81
    functionDepth: 3
    functionLinenumber: 81
    functionLinenumberEnd: 90
    functionName: nla_begin_nested
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - nla_put_attr
    - NLMSG_TAIL
    - ret_set_errno
    linkageType: ''
    returnType: struct rtattr
    signature: struct rtattr *nla_begin_nested(struct nlmsg *nlmsg, int attr)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NLMSG_TAIL
      Src: /src/lxc/src/lxc/nl.c:94,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - nlmsg
    - attr
    argTypes:
    - struct nlmsg*
    - struct rtattr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 95
      start: 92
    functionDepth: 1
    functionLinenumber: 92
    functionLinenumberEnd: 95
    functionName: nla_end_nested
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - NLMSG_TAIL
    linkageType: ''
    returnType: void
    signature: void nla_end_nested(struct nlmsg *nlmsg, struct rtattr *attr)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/nl.c:100,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/nl.c:102,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/nl.c:104,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/nl.c:106,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/nl.c:108,1
    - Dst: memset
      Src: /src/lxc/src/lxc/nl.c:110,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/nl.c:114,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - size
    argTypes:
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 115
      start: 97
    functionDepth: 1
    functionLinenumber: 97
    functionLinenumberEnd: 115
    functionName: nlmsg_alloc
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - malloc
    - NLMSG_ALIGN
    - move_ptr
    - memset
    - ret_set_errno
    linkageType: ''
    returnType: struct nlmsg
    signature: struct nlmsg *nlmsg_alloc(size_t size)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/nl.c:121,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/nl.c:124,1
    - Dst: memset
      Src: /src/lxc/src/lxc/nl.c:130,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - nlmsg
    - len
    argTypes:
    - struct nlmsg*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 133
      start: 117
    functionDepth: 1
    functionLinenumber: 117
    functionLinenumberEnd: 133
    functionName: nlmsg_reserve
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - memset
    - NLMSG_ALIGN
    linkageType: ''
    returnType: void
    signature: void *nlmsg_reserve(struct nlmsg *nlmsg, size_t len)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/nl.c:139,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/nl.c:141,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - size
    argTypes:
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 146
      start: 135
    functionDepth: 2
    functionLinenumber: 135
    functionLinenumberEnd: 146
    functionName: nlmsg_alloc_reserve
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - nlmsg_alloc
    linkageType: ''
    returnType: struct nlmsg
    signature: struct nlmsg *nlmsg_alloc_reserve(size_t size)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/nl.c:151,1
    - Dst: free
      Src: /src/lxc/src/lxc/nl.c:152,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - nlmsg
    argTypes:
    - struct nlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 154
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 154
    functionName: nlmsg_free
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void nlmsg_free(struct nlmsg *nlmsg)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/nl.c:172,1
    - Dst: recvmsg
      Src: /src/lxc/src/lxc/nl.c:178,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:183,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:190,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 2
    argNames:
    - handler
    - nlmsghdr
    argTypes:
    - struct nl_handler*
    - struct nlmsghdr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 193
      start: 156
    functionDepth: 1
    functionLinenumber: 156
    functionLinenumberEnd: 193
    functionName: __netlink_recv
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - memset
    - recvmsg
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int __netlink_recv(struct nl_handler *handler, struct nlmsghdr *nlmsghdr)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __netlink_recv
      Src: /src/lxc/src/lxc/nl.c:197,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - handler
    - answer
    argTypes:
    - struct nl_handler*
    - struct nlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 198
      start: 195
    functionDepth: 2
    functionLinenumber: 195
    functionLinenumberEnd: 198
    functionName: netlink_rcv
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 1
    functionsReached:
    - __netlink_recv
    linkageType: ''
    returnType: int
    signature: int netlink_rcv(struct nl_handler *handler, struct nlmsg *answer)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/nl.c:215,1
    - Dst: sendmsg
      Src: /src/lxc/src/lxc/nl.c:220,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:222,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 2
    argNames:
    - handler
    - nlmsghdr
    argTypes:
    - struct nl_handler*
    - struct nlmsghdr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 225
      start: 200
    functionDepth: 1
    functionLinenumber: 200
    functionLinenumberEnd: 225
    functionName: __netlink_send
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - memset
    - ret_errno
    - sendmsg
    linkageType: ''
    returnType: int
    signature: int __netlink_send(struct nl_handler *handler, struct nlmsghdr *nlmsghdr)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __netlink_send
      Src: /src/lxc/src/lxc/nl.c:229,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - handler
    - nlmsg
    argTypes:
    - struct nl_handler*
    - struct nlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 230
      start: 227
    functionDepth: 2
    functionLinenumber: 227
    functionLinenumberEnd: 230
    functionName: netlink_send
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 2
    functionsReached:
    - __netlink_send
    linkageType: ''
    returnType: int
    signature: int netlink_send(struct nl_handler *handler, struct nlmsg *nlmsg)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: __netlink_send
      Src: /src/lxc/src/lxc/nl.c:238,1
    - Dst: __netlink_recv
      Src: /src/lxc/src/lxc/nl.c:242,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/nl.c:247,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:249,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 3
    argNames:
    - handler
    - request
    - answer
    argTypes:
    - struct nl_handler*
    - struct nlmsghdr*
    - struct nlmsghdr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 253
      start: 232
    functionDepth: 2
    functionLinenumber: 232
    functionLinenumberEnd: 253
    functionName: __netlink_transaction
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - NLMSG_DATA
    - ret_errno
    - __netlink_send
    - __netlink_recv
    linkageType: ''
    returnType: int
    signature: "int __netlink_transaction(struct nl_handler *handler,\n\t\t\t\t struct
      nlmsghdr *request,\n\t\t\t\t struct nlmsghdr *answer)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __netlink_transaction
      Src: /src/lxc/src/lxc/nl.c:258,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - handler
    - request
    - answer
    argTypes:
    - struct nl_handler*
    - struct nlmsg*
    - struct nlmsg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 260
      start: 255
    functionDepth: 3
    functionLinenumber: 255
    functionLinenumberEnd: 260
    functionName: netlink_transaction
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 2
    functionsReached:
    - __netlink_transaction
    linkageType: ''
    returnType: int
    signature: "int netlink_transaction(struct nl_handler *handler,\n\t\t\t       struct
      nlmsg *request, struct nlmsg *answer)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/nl.c:269,1
    - Dst: socket
      Src: /src/lxc/src/lxc/nl.c:272,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:274,1
    - Dst: setsockopt
      Src: /src/lxc/src/lxc/nl.c:276,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:277,1
    - Dst: setsockopt
      Src: /src/lxc/src/lxc/nl.c:279,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:280,1
    - Dst: memset
      Src: /src/lxc/src/lxc/nl.c:282,1
    - Dst: bind
      Src: /src/lxc/src/lxc/nl.c:286,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:287,1
    - Dst: getsockname
      Src: /src/lxc/src/lxc/nl.c:290,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:291,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:294,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:297,1
    - Dst: time
      Src: /src/lxc/src/lxc/nl.c:299,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/nl.c:300,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 2
    argNames:
    - handler
    - protocol
    argTypes:
    - struct nl_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 302
      start: 262
    functionDepth: 1
    functionLinenumber: 262
    functionLinenumberEnd: 302
    functionName: netlink_open
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 1
    functionsReached:
    - socket
    - time
    - move_fd
    - ret_errno
    - getsockname
    - memset
    - bind
    - setsockopt
    linkageType: ''
    returnType: int
    signature: int netlink_open(struct nl_handler *handler, int protocol)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/nl.c:306,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct nl_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 307
      start: 304
    functionDepth: 1
    functionLinenumber: 304
    functionLinenumberEnd: 307
    functionName: netlink_close
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 1
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void netlink_close(struct nl_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: RTA_LENGTH
      Src: /src/lxc/src/lxc/nl.c:312,1
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/nl.c:315,1
    - Dst: RTA_ALIGN
      Src: /src/lxc/src/lxc/nl.c:315,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/nl.c:316,1
    - Dst: NLMSG_TAIL
      Src: /src/lxc/src/lxc/nl.c:318,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/nl.c:322,1
    - Dst: RTA_DATA
      Src: /src/lxc/src/lxc/nl.c:322,1
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/nl.c:323,1
    - Dst: RTA_ALIGN
      Src: /src/lxc/src/lxc/nl.c:323,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 5
    argNames:
    - n
    - maxlen
    - type
    - data
    - alen
    argTypes:
    - struct nlmsghdr*
    - size_t
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 326
      start: 309
    functionDepth: 1
    functionLinenumber: 309
    functionLinenumberEnd: 326
    functionName: addattr
    functionSourceFile: /src/lxc/src/lxc/nl.c
    functionUses: 0
    functionsReached:
    - memcpy
    - NLMSG_TAIL
    - RTA_DATA
    - RTA_LENGTH
    - RTA_ALIGN
    - NLMSG_ALIGN
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int addattr(struct nlmsghdr *n, size_t maxlen, int type, const void
      *data,\n\t    size_t alen)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: va_copy
      Src: /src/lxc/src/lxc/string_utils.c:48,1
    - Dst: va_arg
      Src: /src/lxc/src/lxc/string_utils.c:50,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/string_utils.c:55,1
    - Dst: calloc
      Src: /src/lxc/src/lxc/string_utils.c:57,1
    - Dst: va_arg
      Src: /src/lxc/src/lxc/string_utils.c:63,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/string_utils.c:66,1
    - Dst: free
      Src: /src/lxc/src/lxc/string_utils.c:76,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 26
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 78
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 78
    functionName: lxc_va_arg_list_to_argv
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - calloc
    - va_arg
    - va_copy
    - strdup
    - va_end
    - free
    linkageType: ''
    returnType: char
    signature: char **lxc_va_arg_list_to_argv(va_list ap, size_t skip, int do_strdup)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_va_arg_list_to_argv
      Src: /src/lxc/src/lxc/string_utils.c:82,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 83
      start: 80
    functionDepth: 1
    functionLinenumber: 80
    functionLinenumberEnd: 83
    functionName: lxc_va_arg_list_to_argv_const
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - lxc_va_arg_list_to_argv
    linkageType: ''
    returnType: char
    signature: char **lxc_va_arg_list_to_argv_const(va_list ap, size_t skip)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:90,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:91,1
    - Dst: calloc
      Src: /src/lxc/src/lxc/string_utils.c:100,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/string_utils.c:109,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/string_utils.c:110,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:113,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:118,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:125,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:127,1
    - Dst: free
      Src: /src/lxc/src/lxc/string_utils.c:136,1
    - Dst: free
      Src: /src/lxc/src/lxc/string_utils.c:143,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 33
    argCount: 3
    argNames:
    - needle
    - replacement
    - haystack
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 148
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 148
    functionName: lxc_string_replace
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 2
    functionsReached:
    - memcpy
    - calloc
    - strstr
    - strlen
    - free
    linkageType: ''
    returnType: char
    signature: "char *lxc_string_replace(const char *needle, const char *replacement,\n\t\t\t
      const char *haystack)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/string_utils.c:153,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - needle
    - haystack
    argTypes:
    - char*
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 157
      start: 150
    functionDepth: 1
    functionLinenumber: 150
    functionLinenumberEnd: 157
    functionName: lxc_string_in_array
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 2
    functionsReached:
    - strequal
    linkageType: ''
    returnType: bool
    signature: bool lxc_string_in_array(const char *needle, const char **haystack)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:163,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:169,1
    - Dst: calloc
      Src: /src/lxc/src/lxc/string_utils.c:172,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/string_utils.c:177,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/string_utils.c:181,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/string_utils.c:183,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 3
    argNames:
    - sep
    - parts
    - use_as_prefix
    argTypes:
    - char*
    - char**
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 187
      start: 159
    functionDepth: 1
    functionLinenumber: 159
    functionLinenumberEnd: 187
    functionName: lxc_string_join
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - strlen
    - calloc
    - strlcpy
    - strlcat
    linkageType: ''
    returnType: char
    signature: char *lxc_string_join(const char *sep, const char **parts, bool use_as_prefix)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/string_utils.c:196,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/string_utils.c:200,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/string_utils.c:201,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/string_utils.c:203,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/string_utils.c:240,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 34
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 241
      start: 190
    functionDepth: 1
    functionLinenumber: 190
    functionLinenumberEnd: 241
    functionName: lxc_path_simplify
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 3
    functionsReached:
    - abspath
    - move_ptr
    - is_empty_string
    - strdup
    linkageType: ''
    returnType: char
    signature: char *lxc_path_simplify(const char *path)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:250,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:250,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/string_utils.c:256,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/string_utils.c:261,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/string_utils.c:263,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/string_utils.c:267,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 2
    argNames:
    - first
    - second
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 268
      start: 243
    functionDepth: 1
    functionLinenumber: 243
    functionLinenumberEnd: 268
    functionName: lxc_append_paths
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - strlen
    - zalloc
    - move_ptr
    - strnprintf
    linkageType: ''
    returnType: char
    signature: char *lxc_append_paths(const char *first, const char *second)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/string_utils.c:279,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/string_utils.c:280,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/string_utils.c:281,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 3
    argNames:
    - needle
    - haystack
    - _sep
    argTypes:
    - char*
    - char*
    - char
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 285
      start: 270
    functionDepth: 1
    functionLinenumber: 270
    functionLinenumberEnd: 285
    functionName: lxc_string_in_list
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - strequal
    - must_copy_string
    - lxc_iterate_parts
    linkageType: ''
    returnType: bool
    signature: bool lxc_string_in_list(const char *needle, const char *haystack, char
      _sep)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/lxc/src/lxc/string_utils.c:298,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/string_utils.c:300,1
    - Dst: lxc_grow_array
      Src: /src/lxc/src/lxc/string_utils.c:302,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/string_utils.c:306,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/string_utils.c:314,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/string_utils.c:328,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 28
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 331
      start: 287
    functionDepth: 1
    functionLinenumber: 287
    functionLinenumberEnd: 331
    functionName: lxc_string_split
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - realloc
    - must_copy_string
    - calloc
    - lxc_free_array
    - strdup
    - lxc_grow_array
    linkageType: ''
    returnType: char
    signature: char **lxc_string_split(const char *string, char _sep)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_grow_array
      Src: /src/lxc/src/lxc/string_utils.c:302,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/string_utils.c:306,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 311
      start: 301
    functionDepth: 1
    functionLinenumber: 301
    functionLinenumberEnd: 311
    functionName: lxc_iterate_parts
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 3
    functionsReached:
    - lxc_grow_array
    - strdup
    linkageType: ''
    returnType: void
    signature: void lxc_iterate_parts(token, str, sep)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_grow_array
      Src: /src/lxc/src/lxc/string_utils.c:338,1
    - Dst: strndup
      Src: /src/lxc/src/lxc/string_utils.c:342,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 5
    argNames:
    - result
    - start
    - end
    - cap
    - cnt
    argTypes:
    - char***
    - char*
    - char*
    - size_t*
    - size_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 349
      start: 333
    functionDepth: 1
    functionLinenumber: 333
    functionLinenumberEnd: 349
    functionName: complete_word
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - lxc_grow_array
    - strndup
    linkageType: ''
    returnType: bool
    signature: "bool complete_word(char ***result, char *start, char *end, size_t
      *cap,\n\t\t\t  size_t *cnt)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/lxc/src/lxc/string_utils.c:363,1
    - Dst: isspace
      Src: /src/lxc/src/lxc/string_utils.c:370,1
    - Dst: isspace
      Src: /src/lxc/src/lxc/string_utils.c:381,1
    - Dst: complete_word
      Src: /src/lxc/src/lxc/string_utils.c:382,1
    - Dst: complete_word
      Src: /src/lxc/src/lxc/string_utils.c:390,1
    - Dst: complete_word
      Src: /src/lxc/src/lxc/string_utils.c:399,1
    - Dst: calloc
      Src: /src/lxc/src/lxc/string_utils.c:402,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/string_utils.c:404,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 39
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 405
      start: 355
    functionDepth: 2
    functionLinenumber: 355
    functionLinenumberEnd: 405
    functionName: lxc_string_split_quoted
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - calloc
    - isspace
    - realloc
    - complete_word
    linkageType: ''
    returnType: char
    signature: char **lxc_string_split_quoted(char *string)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/lxc/src/lxc/string_utils.c:419,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/string_utils.c:421,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:426,1
    - Dst: lxc_grow_array
      Src: /src/lxc/src/lxc/string_utils.c:432,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/string_utils.c:436,1
    - Dst: calloc
      Src: /src/lxc/src/lxc/string_utils.c:444,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/string_utils.c:447,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/string_utils.c:451,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 30
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 454
      start: 407
    functionDepth: 1
    functionLinenumber: 407
    functionLinenumberEnd: 454
    functionName: lxc_string_split_and_trim
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - realloc
    - must_copy_string
    - calloc
    - lxc_free_array
    - strdup
    - strlen
    - lxc_grow_array
    linkageType: ''
    returnType: char
    signature: char **lxc_string_split_and_trim(const char *string, char _sep)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:426,1
    - Dst: lxc_grow_array
      Src: /src/lxc/src/lxc/string_utils.c:432,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/string_utils.c:436,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 441
      start: 422
    functionDepth: 1
    functionLinenumber: 422
    functionLinenumberEnd: 441
    functionName: lxc_iterate_parts
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 3
    functionsReached:
    - strlen
    - lxc_grow_array
    - strdup
    linkageType: ''
    returnType: void
    signature: void lxc_iterate_parts(token, str, sep)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: element_free_fn
      Src: /src/lxc/src/lxc/string_utils.c:461,1
    - Dst: free
      Src: /src/lxc/src/lxc/string_utils.c:463,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - array
    - element_free_fn
    argTypes:
    - void**
    - lxc_free_fn
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 464
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 464
    functionName: lxc_free_array
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 2
    functionsReached:
    - element_free_fn
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_free_array(void **array, lxc_free_fn element_free_fn)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/string_utils.c:484,1
    - Dst: memset
      Src: /src/lxc/src/lxc/string_utils.c:488,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 4
    argNames:
    - array
    - capacity
    - new_size
    - capacity_increment
    argTypes:
    - void***
    - size_t*
    - size_t
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 495
      start: 466
    functionDepth: 0
    functionLinenumber: 466
    functionLinenumberEnd: 495
    functionName: lxc_grow_array
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 5
    functionsReached:
    - realloc
    - memset
    linkageType: ''
    returnType: int
    signature: int lxc_grow_array(void ***array, size_t *capacity, size_t new_size,
      size_t capacity_increment)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - array
    argTypes:
    - void**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 506
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 506
    functionName: lxc_array_len
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: size_t lxc_array_len(void **array)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/string_utils.c:514,1
    - Dst: free
      Src: /src/lxc/src/lxc/string_utils.c:518,1
    - Dst: free
      Src: /src/lxc/src/lxc/string_utils.c:519,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 528
      start: 508
    functionDepth: 0
    functionLinenumber: 508
    functionLinenumberEnd: 528
    functionName: lxc_append_null_to_array
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - realloc
    - free
    linkageType: ''
    returnType: void
    signature: void **lxc_append_null_to_array(void **array, size_t count)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/string_utils.c:540,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - list
    argTypes:
    - void***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 548
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 548
    functionName: lxc_append_null_to_list
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - realloc
    linkageType: ''
    returnType: int
    signature: int lxc_append_null_to_list(void ***list)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_append_null_to_list
      Src: /src/lxc/src/lxc/string_utils.c:555,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/string_utils.c:559,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - list
    - entry
    argTypes:
    - char***
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 566
      start: 550
    functionDepth: 1
    functionLinenumber: 550
    functionLinenumberEnd: 566
    functionName: lxc_append_string
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - lxc_append_null_to_list
    - strdup
    linkageType: ''
    returnType: int
    signature: int lxc_append_string(char ***list, char *entry)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: isspace
      Src: /src/lxc/src/lxc/string_utils.c:573,1
    - Dst: strtoul
      Src: /src/lxc/src/lxc/string_utils.c:580,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 2
    argNames:
    - numstr
    - converted
    argTypes:
    - char*
    - unsigned int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 592
      start: 568
    functionDepth: 0
    functionLinenumber: 568
    functionLinenumberEnd: 592
    functionName: lxc_safe_uint
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 4
    functionsReached:
    - isspace
    - strtoul
    linkageType: ''
    returnType: int
    signature: int lxc_safe_uint(const char *numstr, unsigned int *converted)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: isspace
      Src: /src/lxc/src/lxc/string_utils.c:599,1
    - Dst: strtoul
      Src: /src/lxc/src/lxc/string_utils.c:606,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 2
    argNames:
    - numstr
    - converted
    argTypes:
    - char*
    - unsigned long*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 615
      start: 594
    functionDepth: 0
    functionLinenumber: 594
    functionLinenumberEnd: 615
    functionName: lxc_safe_ulong
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 1
    functionsReached:
    - isspace
    - strtoul
    linkageType: ''
    returnType: int
    signature: int lxc_safe_ulong(const char *numstr, unsigned long *converted)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: isspace
      Src: /src/lxc/src/lxc/string_utils.c:622,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/string_utils.c:629,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 3
    argNames:
    - numstr
    - converted
    - base
    argTypes:
    - char*
    - uint64_t*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 638
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 638
    functionName: lxc_safe_uint64
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 1
    functionsReached:
    - strtoull
    - isspace
    linkageType: ''
    returnType: int
    signature: int lxc_safe_uint64(const char *numstr, uint64_t *converted, int base)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:648,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:651,1
    - Dst: memset
      Src: /src/lxc/src/lxc/string_utils.c:653,1
    - Dst: isspace
      Src: /src/lxc/src/lxc/string_utils.c:655,1
    - Dst: strtoll
      Src: /src/lxc/src/lxc/string_utils.c:659,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:661,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:672,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:674,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:676,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:678,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 30
    argCount: 5
    argNames:
    - numstr
    - converted
    - base
    - residual
    - residual_len
    argTypes:
    - char*
    - int64_t*
    - int
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 684
      start: 640
    functionDepth: 1
    functionLinenumber: 640
    functionLinenumberEnd: 684
    functionName: lxc_safe_int64_residual
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - memcpy
    - strtoll
    - isspace
    - ret_errno
    - strlen
    - memset
    linkageType: ''
    returnType: int
    signature: "int lxc_safe_int64_residual(const char *restrict numstr,\n\t\t\t    int64_t
      *restrict converted, int base,\n\t\t\t    char *restrict residual, size_t residual_len)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/lxc/src/lxc/string_utils.c:692,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 13
    argCount: 2
    argNames:
    - numstr
    - converted
    argTypes:
    - char*
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 707
      start: 686
    functionDepth: 0
    functionLinenumber: 686
    functionLinenumberEnd: 707
    functionName: lxc_safe_int
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 2
    functionsReached:
    - strtol
    linkageType: ''
    returnType: int
    signature: int lxc_safe_int(const char *numstr, int *converted)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/lxc/src/lxc/string_utils.c:715,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 2
    argNames:
    - numstr
    - converted
    argTypes:
    - char*
    - long int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 727
      start: 709
    functionDepth: 0
    functionLinenumber: 709
    functionLinenumberEnd: 727
    functionName: lxc_safe_long
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 2
    functionsReached:
    - strtol
    linkageType: ''
    returnType: int
    signature: int lxc_safe_long(const char *numstr, long int *converted)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strtoll
      Src: /src/lxc/src/lxc/string_utils.c:735,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 2
    argNames:
    - numstr
    - converted
    argTypes:
    - char*
    - long long int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 747
      start: 729
    functionDepth: 0
    functionLinenumber: 729
    functionLinenumberEnd: 747
    functionName: lxc_safe_long_long
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - strtoll
    linkageType: ''
    returnType: int
    signature: int lxc_safe_long_long(const char *numstr, long long int *converted)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/string_utils.c:755,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:756,1
    - Dst: va_start
      Src: /src/lxc/src/lxc/string_utils.c:758,1
    - Dst: va_arg
      Src: /src/lxc/src/lxc/string_utils.c:759,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:760,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/string_utils.c:762,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:764,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/string_utils.c:767,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 2
    argNames:
    - len
    - first
    argTypes:
    - size_t*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 773
      start: 749
    functionDepth: 1
    functionLinenumber: 749
    functionLinenumberEnd: 773
    functionName: must_concat
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - memcpy
    - must_copy_string
    - must_realloc
    - va_arg
    - va_start
    - strlen
    - va_end
    linkageType: ''
    returnType: char
    signature: char *must_concat(size_t *len, const char *first, ...)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:779,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/string_utils.c:783,1
    - Dst: va_start
      Src: /src/lxc/src/lxc/string_utils.c:786,1
    - Dst: va_arg
      Src: /src/lxc/src/lxc/string_utils.c:787,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:788,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/string_utils.c:796,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:799,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:803,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/string_utils.c:806,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - first
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 810
      start: 775
    functionDepth: 1
    functionLinenumber: 775
    functionLinenumberEnd: 810
    functionName: must_make_path
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - memcpy
    - must_copy_string
    - must_realloc
    - va_arg
    - va_start
    - strlen
    - va_end
    linkageType: ''
    returnType: char
    signature: char *must_make_path(const char *first, ...)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:821,1
    - Dst: va_start
      Src: /src/lxc/src/lxc/string_utils.c:824,1
    - Dst: va_arg
      Src: /src/lxc/src/lxc/string_utils.c:825,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:826,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/string_utils.c:832,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:835,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:839,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/string_utils.c:842,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - first
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 846
      start: 812
    functionDepth: 1
    functionLinenumber: 812
    functionLinenumberEnd: 846
    functionName: must_append_path
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - memcpy
    - must_realloc
    - va_arg
    - va_start
    - strlen
    - va_end
    linkageType: ''
    returnType: char
    signature: char *must_append_path(char *first, ...)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/string_utils.c:856,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - entry
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 860
      start: 848
    functionDepth: 0
    functionLinenumber: 848
    functionLinenumberEnd: 860
    functionName: must_copy_string
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 5
    functionsReached:
    - strdup
    linkageType: ''
    returnType: char
    signature: char *must_copy_string(const char *entry)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/string_utils.c:867,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - orig
    - sz
    argTypes:
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 871
      start: 862
    functionDepth: 0
    functionLinenumber: 862
    functionLinenumberEnd: 871
    functionName: must_realloc
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 5
    functionsReached:
    - realloc
    linkageType: ''
    returnType: void
    signature: void *must_realloc(void *orig, size_t sz)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/string_utils.c:878,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:883,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:885,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:887,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:889,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/string_utils.c:892,1
    - Dst: isalpha
      Src: /src/lxc/src/lxc/string_utils.c:894,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:897,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:901,1
    - Dst: isalpha
      Src: /src/lxc/src/lxc/string_utils.c:904,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:905,1
    - Dst: isalpha
      Src: /src/lxc/src/lxc/string_utils.c:908,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/string_utils.c:914,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/string_utils.c:919,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:919,1
    - Dst: lxc_safe_long_long
      Src: /src/lxc/src/lxc/string_utils.c:921,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/string_utils.c:930,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/string_utils.c:932,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/string_utils.c:934,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:937,1
    - Dst: check_mul_overflow
      Src: /src/lxc/src/lxc/string_utils.c:939,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.c:940,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 45
    argCount: 2
    argNames:
    - s
    - converted
    argTypes:
    - char*
    - long long int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 943
      start: 873
    functionDepth: 1
    functionLinenumber: 873
    functionLinenumberEnd: 943
    functionName: parse_byte_size_string
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 2
    functionsReached:
    - memcpy
    - check_mul_overflow
    - isalpha
    - INTTYPE_TO_STRLEN
    - ret_errno
    - isdigit
    - lxc_safe_long_long
    - strlen
    - lxc_char_right_gc
    - strcasecmp
    linkageType: ''
    returnType: int
    signature: int parse_byte_size_string(const char *s, long long int *converted)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - l
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 954
      start: 945
    functionDepth: 0
    functionLinenumber: 945
    functionLinenumberEnd: 954
    functionName: remove_trailing_newlines
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 3
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void remove_trailing_newlines(char *l)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 2
    argNames:
    - buffer
    - len
    argTypes:
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 969
      start: 956
    functionDepth: 0
    functionLinenumber: 956
    functionLinenumberEnd: 969
    functionName: lxc_char_left_gc
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_char_left_gc(const char *buffer, size_t len)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 2
    argNames:
    - buffer
    - len
    argTypes:
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 986
      start: 971
    functionDepth: 0
    functionLinenumber: 971
    functionLinenumberEnd: 986
    functionName: lxc_char_right_gc
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 2
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_char_right_gc(const char *buffer, size_t len)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/string_utils.c:990,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:990,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/string_utils.c:991,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:991,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 993
      start: 988
    functionDepth: 1
    functionLinenumber: 988
    functionLinenumberEnd: 993
    functionName: lxc_trim_whitespace_in_place
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - lxc_char_left_gc
    - lxc_char_right_gc
    - strlen
    linkageType: ''
    returnType: char
    signature: char *lxc_trim_whitespace_in_place(char *buffer)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:997,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - line
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1005
      start: 995
    functionDepth: 0
    functionLinenumber: 995
    functionLinenumberEnd: 1005
    functionName: lxc_is_line_empty
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - strlen
    linkageType: ''
    returnType: int
    signature: int lxc_is_line_empty(const char *line)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/string_utils.c:1009,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - p
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1012
      start: 1007
    functionDepth: 0
    functionLinenumber: 1007
    functionLinenumberEnd: 1012
    functionName: remove_trailing_slashes
    functionSourceFile: /src/lxc/src/lxc/string_utils.c
    functionUses: 0
    functionsReached:
    - strlen
    linkageType: ''
    returnType: void
    signature: void remove_trailing_slashes(char *p)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/mount_utils.h:188,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - from_dfd
    - from_pathname
    - to_dfd
    - to_pathname
    - flags
    argTypes:
    - int
    - char*
    - int
    - char*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 190
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 190
    functionName: move_mount_lxc
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: "int move_mount_lxc(int from_dfd, const char *from_pathname,\n\t\t\t\t
      int to_dfd, const char *to_pathname,\n\t\t\t\t unsigned int flags)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/mount_utils.h:200,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - dfd
    - filename
    - flags
    argTypes:
    - int
    - char*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 201
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 201
    functionName: open_tree_lxc
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int open_tree_lxc(int dfd, const char *filename, unsigned int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/mount_utils.h:210,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - fs_name
    - flags
    argTypes:
    - char*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 211
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 211
    functionName: fsopen_lxc
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int fsopen_lxc(const char *fs_name, unsigned int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/mount_utils.h:220,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - dfd
    - path
    - flags
    argTypes:
    - int
    - char*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 221
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 221
    functionName: fspick_lxc
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int fspick_lxc(int dfd, const char *path, unsigned int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/mount_utils.h:230,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - fd
    - cmd
    - key
    - value
    - aux
    argTypes:
    - int
    - unsigned int
    - char*
    - void*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 231
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 231
    functionName: fsconfig_lxc
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int fsconfig_lxc(int fd, unsigned int cmd, const char *key, const void
      *value, int aux)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/mount_utils.h:240,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - fs_fd
    - flags
    - attr_flags
    argTypes:
    - int
    - unsigned int
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 241
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 241
    functionName: fsmount_lxc
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int fsmount_lxc(int fs_fd, unsigned int flags, unsigned int attr_flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/mount_utils.h:263,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - dfd
    - path
    - flags
    - attr
    - size
    argTypes:
    - int
    - char*
    - unsigned int
    - struct mount_attr*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 264
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 264
    functionName: mount_setattr
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: "int mount_setattr(int dfd, const char *path, unsigned int flags,\n\t\t\t\tstruct
      mount_attr *attr, size_t size)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fs_prepare
      Src: /src/lxc/src/lxc/mount_utils.h:289,1
    - Dst: fs_attach
      Src: /src/lxc/src/lxc/mount_utils.h:292,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 10
    argNames:
    - fs_name
    - dfd_from
    - path_from
    - o_flags_from
    - resolve_flags_from
    - dfd_to
    - path_to
    - o_flags_to
    - resolve_flags_to
    - attr_flags
    argTypes:
    - char*
    - int
    - char*
    - __u64
    - __u64
    - int
    - char*
    - __u64
    - __u64
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 293
      start: 280
    functionDepth: 1
    functionLinenumber: 280
    functionLinenumberEnd: 293
    functionName: fs_mount
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - fs_attach
    - fs_prepare
    linkageType: ''
    returnType: int
    signature: "int fs_mount(const char *fs_name, int dfd_from,\n\t\t\t   const char
      *path_from, __u64 o_flags_from,\n\t\t\t   __u64 resolve_flags_from, int dfd_to,\n\t\t\t
      \  const char *path_to, __u64 o_flags_to,\n\t\t\t   __u64 resolve_flags_to,\n\t\t\t
      \  unsigned int attr_flags)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __fd_bind_mount
      Src: /src/lxc/src/lxc/mount_utils.h:310,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 13
    argNames:
    - dfd_from
    - path_from
    - o_flags_from
    - resolve_flags_from
    - dfd_to
    - path_to
    - o_flags_to
    - resolve_flags_to
    - attr_set
    - attr_clr
    - propagation
    - userns_fd
    - recursive
    argTypes:
    - int
    - char*
    - __u64
    - __u64
    - int
    - char*
    - __u64
    - __u64
    - __u64
    - __u64
    - __u64
    - int
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 314
      start: 302
    functionDepth: 1
    functionLinenumber: 302
    functionLinenumberEnd: 314
    functionName: fd_mount_idmapped
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - __fd_bind_mount
    linkageType: ''
    returnType: int
    signature: "int fd_mount_idmapped(int dfd_from, const char *path_from,\n\t\t\t\t
      \   __u64 o_flags_from,\n\t\t\t\t    __u64 resolve_flags_from, int dfd_to,\n\t\t\t\t
      \   const char *path_to, __u64 o_flags_to,\n\t\t\t\t    __u64 resolve_flags_to,
      __u64 attr_set,\n\t\t\t\t    __u64 attr_clr, __u64 propagation,\n\t\t\t\t    int
      userns_fd, bool recursive)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __fd_bind_mount
      Src: /src/lxc/src/lxc/mount_utils.h:323,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 12
    argNames:
    - dfd_from
    - path_from
    - o_flags_from
    - resolve_flags_from
    - dfd_to
    - path_to
    - o_flags_to
    - resolve_flags_to
    - attr_set
    - attr_clr
    - propagation
    - recursive
    argTypes:
    - int
    - char*
    - __u64
    - __u64
    - int
    - char*
    - __u64
    - __u64
    - __u64
    - __u64
    - __u64
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 326
      start: 316
    functionDepth: 1
    functionLinenumber: 316
    functionLinenumberEnd: 326
    functionName: fd_bind_mount
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 2
    functionsReached:
    - __fd_bind_mount
    linkageType: ''
    returnType: int
    signature: "int fd_bind_mount(int dfd_from, const char *path_from,\n\t\t\t\t__u64
      o_flags_from, __u64 resolve_flags_from,\n\t\t\t\tint dfd_to, const char *path_to,\n\t\t\t\t__u64
      o_flags_to, __u64 resolve_flags_to,\n\t\t\t\t__u64 attr_set, __u64 attr_clr,\n\t\t\t\t__u64
      propagation, bool recursive)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mount_at
      Src: /src/lxc/src/lxc/mount_utils.h:360,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - fd_from
    - fd_to
    - fs_name
    - flags
    - data
    argTypes:
    - int
    - int
    - char*
    - unsigned int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 361
      start: 357
    functionDepth: 1
    functionLinenumber: 357
    functionLinenumberEnd: 361
    functionName: mount_fd
    functionSourceFile: /src/lxc/src/lxc/mount_utils.h
    functionUses: 0
    functionsReached:
    - mount_at
    linkageType: ''
    returnType: int
    signature: "int mount_fd(int fd_from, int fd_to, const char *fs_name,\n\t\t\t
      \  unsigned int flags, const void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/file_utils.h:55,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/file_utils.h:55,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/file_utils.h:59,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/file_utils.h:61,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - fd
    - buf
    - count
    argTypes:
    - int
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 64
      start: 50
    functionDepth: 1
    functionLinenumber: 50
    functionLinenumberEnd: 64
    functionName: lxc_read_string_nointr
    functionSourceFile: /src/lxc/src/lxc/file_utils.h
    functionUses: 0
    functionsReached:
    - STRARRAYLEN
    - lxc_read_nointr
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int lxc_read_string_nointr(int fd, char *buf,\n\t\t\t\t\t\t\t  size_t
      count)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __fd_to_fd
      Src: /src/lxc/src/lxc/file_utils.h:96,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - from
    - to
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 97
      start: 94
    functionDepth: 1
    functionLinenumber: 94
    functionLinenumberEnd: 97
    functionName: fd_to_fd
    functionSourceFile: /src/lxc/src/lxc/file_utils.h
    functionUses: 2
    functionsReached:
    - __fd_to_fd
    linkageType: ''
    returnType: int
    signature: int fd_to_fd(int from, int to)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: dup
      Src: /src/lxc/src/lxc/file_utils.h:134,1
    - Dst: lxc_fd_cloexec
      Src: /src/lxc/src/lxc/file_utils.h:138,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.h:141,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 142
      start: 130
    functionDepth: 1
    functionLinenumber: 130
    functionLinenumberEnd: 142
    functionName: dup_cloexec
    functionSourceFile: /src/lxc/src/lxc/file_utils.h
    functionUses: 0
    functionsReached:
    - dup
    - move_fd
    - lxc_fd_cloexec
    linkageType: ''
    returnType: int
    signature: int dup_cloexec(int fd)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_init
      Src: /src/lxc/src/lxc/execute.c:28,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - handler
    - data
    argTypes:
    - struct lxc_handler*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 29
      start: 21
    functionDepth: 1
    functionLinenumber: 21
    functionLinenumberEnd: 29
    functionName: execute_start
    functionSourceFile: /src/lxc/src/lxc/execute.c
    functionUses: 0
    functionsReached:
    - lxc_container_init
    linkageType: ''
    returnType: int
    signature: int execute_start(struct lxc_handler *handler, void* data)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/execute.c:34,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - handler
    - data
    argTypes:
    - struct lxc_handler*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 36
      start: 31
    functionDepth: 1
    functionLinenumber: 31
    functionLinenumberEnd: 36
    functionName: execute_post_start
    functionSourceFile: /src/lxc/src/lxc/execute.c
    functionUses: 0
    functionsReached:
    - NOTICE
    linkageType: ''
    returnType: int
    signature: int execute_post_start(struct lxc_handler *handler, void* data)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/execute.c:49,1
    - Dst: __lxc_start
      Src: /src/lxc/src/lxc/execute.c:51,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 7
    argNames:
    - name
    - argv
    - quiet
    - handler
    - lxcpath
    - daemonize
    - error_num
    argTypes:
    - char*
    - char*[]
    - int
    - struct lxc_handler*
    - char*
    - bool
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 43
    functionDepth: 1
    functionLinenumber: 43
    functionLinenumberEnd: 53
    functionName: lxc_execute
    functionSourceFile: /src/lxc/src/lxc/execute.c
    functionUses: 0
    functionsReached:
    - __lxc_start
    - TRACE
    linkageType: ''
    returnType: int
    signature: "int lxc_execute(const char *name, char *const argv[], int quiet,\n\t\tstruct
      lxc_handler *handler, const char *lxcpath,\n\t\tbool daemonize, int *error_num)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mmap
      Src: /src/lxc/src/lxc/parse.c:30,1
    - Dst: mmap
      Src: /src/lxc/src/lxc/parse.c:38,1
    - Dst: munmap
      Src: /src/lxc/src/lxc/parse.c:40,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 6
    argNames:
    - addr
    - length
    - prot
    - flags
    - fd
    - offset
    argTypes:
    - void*
    - size_t
    - int
    - int
    - int
    - off_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 43
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 43
    functionName: lxc_strmmap
    functionSourceFile: /src/lxc/src/lxc/parse.c
    functionUses: 0
    functionsReached:
    - munmap
    - mmap
    linkageType: ''
    returnType: void
    signature: "void *lxc_strmmap(void *addr, size_t length, int prot, int flags,
      int fd,\n\t\t  off_t offset)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: munmap
      Src: /src/lxc/src/lxc/parse.c:47,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - addr
    - length
    argTypes:
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 48
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 48
    functionName: lxc_strmunmap
    functionSourceFile: /src/lxc/src/lxc/parse.c
    functionUses: 0
    functionsReached:
    - munmap
    linkageType: ''
    returnType: int
    signature: int lxc_strmunmap(void *addr, size_t length)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/parse.c:59,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/parse.c:62,1
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/parse.c:63,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:70,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/parse.c:74,1
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/lxc/parse.c:75,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:77,1
    - Dst: open
      Src: /src/lxc/src/lxc/parse.c:82,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:84,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/parse.c:88,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:90,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:95,1
    - Dst: __fd_to_fd
      Src: /src/lxc/src/lxc/parse.c:100,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:102,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/parse.c:106,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:108,1
    - Dst: lseek
      Src: /src/lxc/src/lxc/parse.c:113,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:115,1
    - Dst: mmap
      Src: /src/lxc/src/lxc/parse.c:120,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:123,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/parse.c:128,1
    - Dst: callback
      Src: /src/lxc/src/lxc/parse.c:129,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/parse.c:135,1
    - Dst: munmap
      Src: /src/lxc/src/lxc/parse.c:142,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:143,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 82
    argCount: 3
    argNames:
    - file
    - callback
    - data
    argTypes:
    - char*
    - lxc_file_cb
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 149
      start: 50
    functionDepth: 1
    functionLinenumber: 50
    functionLinenumberEnd: 149
    functionName: lxc_file_for_each_line_mmap
    functionSourceFile: /src/lxc/src/lxc/parse.c
    functionUses: 0
    functionsReached:
    - open
    - ERROR
    - mmap
    - lxc_make_tmpfile
    - lxc_iterate_parts
    - lseek
    - fstat
    - TRACE
    - callback
    - lxc_write_nointr
    - munmap
    - SYSERROR
    - memfd_create
    - __fd_to_fd
    linkageType: ''
    returnType: int
    signature: int lxc_file_for_each_line_mmap(const char *file, lxc_file_cb callback,
      void *data)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/parse.c:158,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/parse.c:160,1
    - Dst: getline
      Src: /src/lxc/src/lxc/parse.c:164,1
    - Dst: callback
      Src: /src/lxc/src/lxc/parse.c:165,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/parse.c:171,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 3
    argNames:
    - file
    - callback
    - data
    argTypes:
    - char*
    - lxc_file_cb
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 177
      start: 151
    functionDepth: 1
    functionLinenumber: 151
    functionLinenumberEnd: 177
    functionName: lxc_file_for_each_line
    functionSourceFile: /src/lxc/src/lxc/parse.c
    functionUses: 0
    functionsReached:
    - ERROR
    - getline
    - fopen
    - callback
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int lxc_file_for_each_line(const char *file, lxc_file_cb callback,
      void *data)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - fd
    - data
    argTypes:
    - int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: default_cleanup_handler
    functionSourceFile: /src/lxc/src/lxc/mainloop.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int default_cleanup_handler(int fd, void *data)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/open_utils.h:84,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - dfd
    - filename
    - how
    - size
    argTypes:
    - int
    - char*
    - struct open_how*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 85
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 85
    functionName: openat2
    functionSourceFile: /src/lxc/src/lxc/open_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int openat2(int dfd, const char *filename, struct open_how *how, size_t
      size)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 40
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 40
    functionName: likely
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: likely(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 41
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 41
    functionName: unlikely
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: unlikely(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: unlikely
      Src: /src/lxc/src/lxc/compiler.h:45,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - overflow
    argTypes:
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 46
      start: 43
    functionDepth: 1
    functionLinenumber: 43
    functionLinenumberEnd: 46
    functionName: __must_check::__must_check_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached:
    - unlikely
    linkageType: ''
    returnType: bool
    signature: bool __must_check __must_check_overflow(bool overflow)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - type
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 49
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 49
    functionName: is_signed_type
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: is_signed_type(type)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - type
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 50
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 50
    functionName: __type_half_max
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __type_half_max(type)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - T
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 51
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 51
    functionName: type_max
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: type_max(T)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - T
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 52
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 52
    functionName: type_min
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: type_min(T)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - a
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 58
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 58
    functionName: is_non_negative
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: is_non_negative(a)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - a
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 59
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 59
    functionName: is_negative
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: is_negative(a)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 77
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 77
    functionName: check_add_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: check_add_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 86
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 86
    functionName: check_sub_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: check_sub_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 95
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 95
    functionName: check_mul_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: check_mul_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 107
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 107
    functionName: __unsigned_add_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __unsigned_add_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 116
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 116
    functionName: __unsigned_sub_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __unsigned_sub_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 131
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 131
    functionName: __unsigned_mul_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __unsigned_mul_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 158
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 158
    functionName: __signed_add_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __signed_add_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 174
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 174
    functionName: __signed_sub_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __signed_sub_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 204
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 204
    functionName: __signed_mul_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __signed_mul_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 210
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 210
    functionName: check_add_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: check_add_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 215
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 215
    functionName: check_sub_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: check_sub_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - a
    - ','
    - b
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 220
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 220
    functionName: check_mul_overflow
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: check_mul_overflow(a, b, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - x
    - ','
    - y
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 261
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 261
    functionName: __access_r
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __access_r(x, y)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 264
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 264
    functionName: __access_r_nosize
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __access_r_nosize(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - x
    - ','
    - y
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 267
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 267
    functionName: __access_w
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __access_w(x, y)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - x
    - ','
    - y
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 270
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 270
    functionName: __access_rw
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __access_rw(x, y)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - a
    - ','
    - b
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 283
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 283
    functionName: __same_type
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __same_type(a, b)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - condition
    - ','
    - msg
    - ','
    - prefix
    - ','
    - suffix
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 287
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 287
    functionName: __compiletime_assert
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __compiletime_assert(condition, msg, prefix, suffix)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - condition
    - ','
    - msg
    - ','
    - prefix
    - ','
    - suffix
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 290
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 290
    functionName: _compiletime_assert
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: _compiletime_assert(condition, msg, prefix, suffix)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - condition
    - ','
    - msg
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 302
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 302
    functionName: compiletime_assert
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: compiletime_assert(condition, msg)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - cond
    - ','
    - msg
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 311
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 311
    functionName: BUILD_BUG_ON_MSG
    functionSourceFile: /src/lxc/src/lxc/compiler.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BUILD_BUG_ON_MSG(cond, msg)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 15
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 15
    functionName: IS_ERR_VALUE
    functionSourceFile: /src/lxc/src/lxc/error_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: IS_ERR_VALUE(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - error
    argTypes:
    - long
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: ERR_PTR
    functionSourceFile: /src/lxc/src/lxc/error_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void *ERR_PTR(long error)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: PTR_ERR
    functionSourceFile: /src/lxc/src/lxc/error_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: long
    signature: long PTR_ERR(const void *ptr)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IS_ERR_VALUE
      Src: /src/lxc/src/lxc/error_utils.h:28,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 1
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: IS_ERR
    functionSourceFile: /src/lxc/src/lxc/error_utils.h
    functionUses: 0
    functionsReached:
    - IS_ERR_VALUE
    linkageType: ''
    returnType: long
    signature: long IS_ERR(const void *ptr)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IS_ERR_VALUE
      Src: /src/lxc/src/lxc/error_utils.h:33,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 34
      start: 31
    functionDepth: 1
    functionLinenumber: 31
    functionLinenumberEnd: 34
    functionName: IS_ERR_OR_NULL
    functionSourceFile: /src/lxc/src/lxc/error_utils.h
    functionUses: 0
    functionsReached:
    - IS_ERR_VALUE
    linkageType: ''
    returnType: long
    signature: long IS_ERR_OR_NULL(const void *ptr)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 39
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 39
    functionName: ERR_CAST
    functionSourceFile: /src/lxc/src/lxc/error_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void *ERR_CAST(const void *ptr)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: IS_ERR
      Src: /src/lxc/src/lxc/error_utils.h:43,1
    - Dst: PTR_ERR
      Src: /src/lxc/src/lxc/error_utils.h:44,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 47
      start: 41
    functionDepth: 2
    functionLinenumber: 41
    functionLinenumberEnd: 47
    functionName: PTR_RET
    functionSourceFile: /src/lxc/src/lxc/error_utils.h
    functionUses: 0
    functionsReached:
    - IS_ERR
    - PTR_ERR
    linkageType: ''
    returnType: int
    signature: int PTR_RET(const void *ptr)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: abs
      Src: /src/lxc/src/lxc/error_utils.h:50,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - r
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: ERRNO_IS_NOT_SUPPORTED
    functionSourceFile: /src/lxc/src/lxc/error_utils.h
    functionUses: 0
    functionsReached:
    - abs
    linkageType: ''
    returnType: bool
    signature: bool ERRNO_IS_NOT_SUPPORTED(int r)
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/lxc/src/lxc/utils.c:76,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/utils.c:78,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/utils.c:80,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:84,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:85,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:88,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/utils.c:90,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:95,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/utils.c:96,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:100,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/utils.c:104,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:106,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:109,1
    - Dst: lstat
      Src: /src/lxc/src/lxc/utils.c:118,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:120,1
    - Dst: btrfs_try_remove_subvol
      Src: /src/lxc/src/lxc/utils.c:126,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:127,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/utils.c:131,1
    - Dst: _recursive_rmdir
      Src: /src/lxc/src/lxc/utils.c:132,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/utils.c:135,1
    - Dst: open
      Src: /src/lxc/src/lxc/utils.c:139,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/utils.c:143,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:145,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/utils.c:147,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:149,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/utils.c:152,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:154,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/utils.c:161,1
    - Dst: btrfs_try_remove_subvol
      Src: /src/lxc/src/lxc/utils.c:161,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:162,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 74
    argCount: 5
    argNames:
    - dirname
    - pdev
    - exclude
    - level
    - onedev
    argTypes:
    - char*
    - dev_t
    - char*
    - int
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 167
      start: 66
    functionDepth: 1
    functionLinenumber: 66
    functionLinenumberEnd: 167
    functionName: _recursive_rmdir
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 1
    functionsReached:
    - open
    - readdir
    - ERROR
    - _recursive_rmdir
    - btrfs_try_remove_subvol
    - opendir
    - log_error
    - strequal
    - rmdir
    - unlink
    - lstat
    - S_ISDIR
    - ioctl
    - INFO
    - strnprintf
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: "int _recursive_rmdir(const char *dirname, dev_t pdev,\n\t\t\t    const
      char *exclude, int level, bool onedev)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: has_fs_type
      Src: /src/lxc/src/lxc/utils.c:175,1
    - Dst: has_fs_type
      Src: /src/lxc/src/lxc/utils.c:176,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 177
      start: 173
    functionDepth: 1
    functionLinenumber: 173
    functionLinenumberEnd: 177
    functionName: is_native_overlayfs
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - has_fs_type
    linkageType: ''
    returnType: bool
    signature: bool is_native_overlayfs(const char *path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_native_overlayfs
      Src: /src/lxc/src/lxc/utils.c:185,1
    - Dst: lstat
      Src: /src/lxc/src/lxc/utils.c:188,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:192,1
    - Dst: _recursive_rmdir
      Src: /src/lxc/src/lxc/utils.c:195,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - path
    - exclude
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 196
      start: 180
    functionDepth: 2
    functionLinenumber: 180
    functionLinenumberEnd: 196
    functionName: lxc_rmdir_onedev
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - _recursive_rmdir
    - log_error_errno
    - lstat
    - is_native_overlayfs
    linkageType: ''
    returnType: int
    signature: int lxc_rmdir_onedev(const char *path, const char *exclude)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/utils.c:207,1
    - Dst: strtoul
      Src: /src/lxc/src/lxc/utils.c:210,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/utils.c:212,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 3
    argNames:
    - val
    - arg
    - base
    argTypes:
    - unsigned short*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 217
      start: 201
    functionDepth: 1
    functionLinenumber: 201
    functionLinenumberEnd: 217
    functionName: get_u16
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - strtoul
    linkageType: ''
    returnType: int
    signature: int get_u16(unsigned short *val, const char *arg, int base)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: access
      Src: /src/lxc/src/lxc/utils.c:224,1
    - Dst: strspn
      Src: /src/lxc/src/lxc/utils.c:231,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/utils.c:232,1
    - Dst: strndup
      Src: /src/lxc/src/lxc/utils.c:234,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/utils.c:236,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/utils.c:238,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:240,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 2
    argNames:
    - dir
    - mode
    argTypes:
    - char*
    - mode_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 245
      start: 219
    functionDepth: 1
    functionLinenumber: 219
    functionLinenumberEnd: 245
    functionName: lxc_mkdir_p
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 1
    functionsReached:
    - access
    - mkdir
    - strndup
    - strspn
    - log_error_errno
    - strcspn
    - ret_set_errno
    linkageType: ''
    returnType: int
    signature: int lxc_mkdir_p(const char *dir, mode_t mode)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/lxc/src/lxc/utils.c:256,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/utils.c:257,1
    - Dst: getegid
      Src: /src/lxc/src/lxc/utils.c:257,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/utils.c:258,1
    - Dst: getenv
      Src: /src/lxc/src/lxc/utils.c:260,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/utils.c:262,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:264,1
    - Dst: getenv
      Src: /src/lxc/src/lxc/utils.c:265,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/utils.c:267,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:269,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/utils.c:270,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:274,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/utils.c:276,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/utils.c:278,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 279
      start: 247
    functionDepth: 1
    functionLinenumber: 247
    functionLinenumberEnd: 279
    functionName: get_rundir
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - malloc
    - log_error
    - stat
    - getenv
    - geteuid
    - move_ptr
    - strlen
    - strdup
    - INFO
    - strnprintf
    - ret_set_errno
    - getegid
    linkageType: ''
    returnType: char
    signature: char *get_rundir(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: waitpid
      Src: /src/lxc/src/lxc/utils.c:286,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/utils.c:297,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/utils.c:297,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - pid
    argTypes:
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 301
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 301
    functionName: wait_for_pid
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 13
    functionsReached:
    - waitpid
    - WIFEXITED
    - WEXITSTATUS
    linkageType: ''
    returnType: int
    signature: int wait_for_pid(pid_t pid)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: waitid
      Src: /src/lxc/src/lxc/utils.c:311,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/utils.c:314,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/utils.c:314,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - pidfd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 315
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 315
    functionName: wait_for_pidfd
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - WIFEXITED
    - WEXITSTATUS
    - waitid
    linkageType: ''
    returnType: int
    signature: int wait_for_pidfd(int pidfd)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: waitpid
      Src: /src/lxc/src/lxc/utils.c:322,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - pid
    argTypes:
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 334
      start: 317
    functionDepth: 0
    functionLinenumber: 317
    functionLinenumberEnd: 334
    functionName: lxc_wait_for_pid_status
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - waitpid
    linkageType: ''
    returnType: int
    signature: int lxc_wait_for_pid_status(pid_t pid)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_wait_for_pid_status
      Src: /src/lxc/src/lxc/utils.c:340,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/utils.c:342,1
    - Dst: WIFSIGNALED
      Src: /src/lxc/src/lxc/utils.c:343,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/utils.c:344,1
    - Dst: WTERMSIG
      Src: /src/lxc/src/lxc/utils.c:344,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/utils.c:345,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/utils.c:346,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/utils.c:347,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/utils.c:348,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/utils.c:348,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/utils.c:350,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - pid
    argTypes:
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 352
      start: 336
    functionDepth: 1
    functionLinenumber: 336
    functionLinenumberEnd: 352
    functionName: wait_exited
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - WIFEXITED
    - lxc_wait_for_pid_status
    - log_error
    - TRACE
    - WEXITSTATUS
    - WIFSIGNALED
    - WTERMSIG
    linkageType: ''
    returnType: bool
    signature: bool wait_exited(pid_t pid)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: EVP_get_digestbyname
      Src: /src/lxc/src/lxc/utils.c:363,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/utils.c:365,1
    - Dst: EVP_MD_CTX_create
      Src: /src/lxc/src/lxc/utils.c:367,1
    - Dst: EVP_DigestInit_ex
      Src: /src/lxc/src/lxc/utils.c:368,1
    - Dst: EVP_DigestUpdate
      Src: /src/lxc/src/lxc/utils.c:369,1
    - Dst: EVP_DigestFinal_ex
      Src: /src/lxc/src/lxc/utils.c:370,1
    - Dst: EVP_MD_CTX_destroy
      Src: /src/lxc/src/lxc/utils.c:371,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 4
    argNames:
    - buf
    - buflen
    - md_value
    - md_len
    argTypes:
    - char*
    - int
    - unsigned char*
    - unsigned int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 374
      start: 357
    functionDepth: 1
    functionLinenumber: 357
    functionLinenumberEnd: 374
    functionName: do_sha1_hash
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - EVP_DigestInit_ex
    - log_error
    - EVP_DigestUpdate
    - EVP_MD_CTX_create
    - EVP_MD_CTX_destroy
    - EVP_DigestFinal_ex
    - EVP_get_digestbyname
    linkageType: ''
    returnType: int
    signature: "int do_sha1_hash(const char *buf, int buflen, unsigned char *md_value,\n\t\t\tunsigned
      int *md_len)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: fopen_cloexec
      Src: /src/lxc/src/lxc/utils.c:387,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:389,1
    - Dst: fseek
      Src: /src/lxc/src/lxc/utils.c:391,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:392,1
    - Dst: ftell
      Src: /src/lxc/src/lxc/utils.c:394,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:396,1
    - Dst: fseek
      Src: /src/lxc/src/lxc/utils.c:398,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:399,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/utils.c:401,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:403,1
    - Dst: fread
      Src: /src/lxc/src/lxc/utils.c:405,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:407,1
    - Dst: do_sha1_hash
      Src: /src/lxc/src/lxc/utils.c:410,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 3
    argNames:
    - fnam
    - digest
    - md_len
    argTypes:
    - char*
    - unsigned char*
    - unsigned int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 412
      start: 376
    functionDepth: 2
    functionLinenumber: 376
    functionLinenumberEnd: 412
    functionName: sha1sum_file
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - malloc
    - fopen_cloexec
    - fread
    - do_sha1_hash
    - log_error_errno
    - ftell
    - fseek
    linkageType: ''
    returnType: int
    signature: int sha1sum_file(char *fnam, unsigned char *digest, unsigned int *md_len)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: pipe2
      Src: /src/lxc/src/lxc/utils.c:422,1
    - Dst: fork
      Src: /src/lxc/src/lxc/utils.c:426,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:433,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/utils.c:437,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/utils.c:439,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:441,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/utils.c:442,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/utils.c:447,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/utils.c:449,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:450,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/utils.c:452,1
    - Dst: sigfillset
      Src: /src/lxc/src/lxc/utils.c:455,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/utils.c:457,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/utils.c:459,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/utils.c:461,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/utils.c:464,1
    - Dst: execl
      Src: /src/lxc/src/lxc/utils.c:465,1
    - Dst: execl
      Src: /src/lxc/src/lxc/utils.c:467,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/utils.c:469,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:472,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/utils.c:475,1
    - Dst: memset
      Src: /src/lxc/src/lxc/utils.c:479,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/utils.c:487,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:499,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:502,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/utils.c:505,1
    - Dst: free
      Src: /src/lxc/src/lxc/utils.c:508,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 59
    argCount: 1
    argNames:
    - command
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 511
      start: 415
    functionDepth: 1
    functionLinenumber: 415
    functionLinenumberEnd: 511
    functionName: lxc_popen
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - pthread_sigmask
    - malloc
    - execl
    - sigfillset
    - fdopen
    - free
    - memset
    - pipe2
    - _exit
    - fork
    - fclose
    - close
    - dup2
    - fcntl
    - file_exists
    linkageType: ''
    returnType: struct lxc_popen_FILE
    signature: struct lxc_popen_FILE *lxc_popen(const char *command)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: waitpid
      Src: /src/lxc/src/lxc/utils.c:522,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/utils.c:525,1
    - Dst: free
      Src: /src/lxc/src/lxc/utils.c:526,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - fp
    argTypes:
    - struct lxc_popen_FILE*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 532
      start: 513
    functionDepth: 0
    functionLinenumber: 513
    functionLinenumberEnd: 532
    functionName: lxc_pclose
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 1
    functionsReached:
    - fclose
    - waitpid
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_pclose(struct lxc_popen_FILE *fp)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_popen
      Src: /src/lxc/src/lxc/utils.c:540,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:542,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/utils.c:544,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:546,1
    - Dst: fileno
      Src: /src/lxc/src/lxc/utils.c:548,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:550,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/utils.c:555,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/utils.c:558,1
    - Dst: lxc_pclose
      Src: /src/lxc/src/lxc/utils.c:565,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/utils.c:565,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:567,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/utils.c:568,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/utils.c:568,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/utils.c:569,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/utils.c:569,1
    - Dst: WIFSIGNALED
      Src: /src/lxc/src/lxc/utils.c:570,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/utils.c:571,1
    - Dst: WTERMSIG
      Src: /src/lxc/src/lxc/utils.c:571,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 27
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 574
      start: 534
    functionDepth: 2
    functionLinenumber: 534
    functionLinenumberEnd: 574
    functionName: run_buffer
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - WIFEXITED
    - lxc_pclose
    - log_error
    - WTERMSIG
    - fileno
    - zalloc
    - move_ptr
    - log_error_errno
    - WEXITSTATUS
    - DEBUG
    - lxc_read_nointr
    - WIFSIGNALED
    - lxc_popen
    linkageType: ''
    returnType: int
    signature: int run_buffer(char *buffer)
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:585,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:588,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:591,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/utils.c:593,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:595,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:602,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:605,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:608,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/utils.c:615,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:620,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:622,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:624,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/utils.c:627,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:629,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/utils.c:631,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/utils.c:633,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:635,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/utils.c:636,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:638,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/utils.c:644,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:646,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/utils.c:647,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:651,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/utils.c:652,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:654,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/utils.c:655,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:656,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/utils.c:657,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:659,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/utils.c:660,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:661,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/utils.c:664,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:666,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/utils.c:667,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/utils.c:669,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:671,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/utils.c:672,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:680,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:682,1
    - Dst: run_buffer
      Src: /src/lxc/src/lxc/utils.c:686,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 79
    argCount: 6
    argNames:
    - name
    - hook_version
    - section
    - script
    - hookname
    - argv
    argTypes:
    - char*
    - unsigned int
    - char*
    - char*
    - char*
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 687
      start: 576
    functionDepth: 3
    functionLinenumber: 576
    functionLinenumberEnd: 687
    functionName: run_script_argv
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - run_buffer
    - strequal
    - TRACE
    - zalloc
    - setenv
    - log_error_errno
    - strlen
    - INFO
    - strnprintf
    linkageType: ''
    returnType: int
    signature: "int run_script_argv(const char *name, unsigned int hook_version,\n\t\t
      \   const char *section, const char *script,\n\t\t    const char *hookname,
      char **argv)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:697,1
    - Dst: va_start
      Src: /src/lxc/src/lxc/utils.c:700,1
    - Dst: va_arg
      Src: /src/lxc/src/lxc/utils.c:701,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:702,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/utils.c:703,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/utils.c:705,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:706,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:707,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:708,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/utils.c:714,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:715,1
    - Dst: va_start
      Src: /src/lxc/src/lxc/utils.c:719,1
    - Dst: va_arg
      Src: /src/lxc/src/lxc/utils.c:720,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:723,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/utils.c:725,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/utils.c:730,1
    - Dst: run_buffer
      Src: /src/lxc/src/lxc/utils.c:732,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 3
    argNames:
    - name
    - section
    - script
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 733
      start: 689
    functionDepth: 3
    functionLinenumber: 689
    functionLinenumberEnd: 733
    functionName: run_script
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - run_buffer
    - must_realloc
    - va_arg
    - va_start
    - strlen
    - INFO
    - strnprintf
    - va_end
    linkageType: ''
    returnType: int
    signature: int run_script(const char *name, const char *section, const char *script,
      ...)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/lxc/src/lxc/utils.c:741,1
    - Dst: getpid
      Src: /src/lxc/src/lxc/utils.c:741,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/utils.c:743,1
    - Dst: fread
      Src: /src/lxc/src/lxc/utils.c:745,1
    - Dst: SYSDEBUG
      Src: /src/lxc/src/lxc/utils.c:747,1
    - Dst: srand
      Src: /src/lxc/src/lxc/utils.c:751,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - srand_it
    argTypes:
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 754
      start: 735
    functionDepth: 1
    functionLinenumber: 735
    functionLinenumberEnd: 754
    functionName: randseed
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 2
    functionsReached:
    - SYSDEBUG
    - srand
    - fread
    - getpid
    - fopen
    - time
    linkageType: ''
    returnType: int
    signature: int randseed(bool srand_it)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/utils.c:763,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:765,1
    - Dst: getline
      Src: /src/lxc/src/lxc/utils.c:767,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/utils.c:768,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - orig
    argTypes:
    - uid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 776
      start: 756
    functionDepth: 1
    functionLinenumber: 756
    functionLinenumberEnd: 776
    functionName: get_ns_uid
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - sscanf
    - log_error_errno
    - getline
    - fopen
    linkageType: ''
    returnType: uid_t
    signature: uid_t get_ns_uid(uid_t orig)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/utils.c:785,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:787,1
    - Dst: getline
      Src: /src/lxc/src/lxc/utils.c:789,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/utils.c:790,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - orig
    argTypes:
    - gid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 798
      start: 778
    functionDepth: 1
    functionLinenumber: 778
    functionLinenumberEnd: 798
    functionName: get_ns_gid
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - sscanf
    - log_error_errno
    - getline
    - fopen
    linkageType: ''
    returnType: gid_t
    signature: gid_t get_ns_gid(gid_t orig)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: exists_dir_at
      Src: /src/lxc/src/lxc/utils.c:802,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 803
      start: 800
    functionDepth: 1
    functionLinenumber: 800
    functionLinenumberEnd: 803
    functionName: dir_exists
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - exists_dir_at
    linkageType: ''
    returnType: bool
    signature: bool dir_exists(const char *path)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 3
    argNames:
    - buf
    - len
    - hval
    argTypes:
    - void*
    - size_t
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 826
      start: 810
    functionDepth: 0
    functionLinenumber: 810
    functionLinenumberEnd: 826
    functionName: fnv_64a_buf
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: uint64_t
    signature: uint64_t fnv_64a_buf(void *buf, size_t len, uint64_t hval)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/utils.c:835,1
    - Dst: getline
      Src: /src/lxc/src/lxc/utils.c:839,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/utils.c:843,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/utils.c:848,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:853,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/utils.c:855,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/utils.c:856,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 20
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 862
      start: 828
    functionDepth: 1
    functionLinenumber: 828
    functionLinenumberEnd: 862
    functionName: is_shared_mountpoint
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - getline
    - strequal
    - fopen
    - strstr
    - strchr
    linkageType: ''
    returnType: bool
    signature: bool is_shared_mountpoint(const char *path)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: is_shared_mountpoint
      Src: /src/lxc/src/lxc/utils.c:873,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 877
      start: 871
    functionDepth: 2
    functionLinenumber: 871
    functionLinenumberEnd: 877
    functionName: detect_shared_rootfs
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - is_shared_mountpoint
    linkageType: ''
    returnType: int
    signature: int detect_shared_rootfs(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/utils.c:883,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/utils.c:884,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:888,1
    - Dst: open
      Src: /src/lxc/src/lxc/utils.c:892,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:894,1
    - Dst: setns
      Src: /src/lxc/src/lxc/utils.c:896,1
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/utils.c:899,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:901,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 3
    argNames:
    - pid
    - ns
    - optional
    argTypes:
    - pid_t
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 905
      start: 879
    functionDepth: 1
    functionLinenumber: 879
    functionLinenumberEnd: 905
    functionName: try_switch_to_ns
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 1
    functionsReached:
    - open
    - STRLITERALLEN
    - setns
    - INTTYPE_TO_STRLEN
    - log_error_errno
    - strnprintf
    - log_trace_errno
    linkageType: ''
    returnType: bool
    signature: bool try_switch_to_ns(pid_t pid, const char *ns, bool optional)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fopen_cached
      Src: /src/lxc/src/lxc/utils.c:921,1
    - Dst: getline
      Src: /src/lxc/src/lxc/utils.c:925,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/utils.c:930,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/utils.c:934,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:938,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/utils.c:940,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/utils.c:941,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 947
      start: 914
    functionDepth: 1
    functionLinenumber: 914
    functionLinenumberEnd: 947
    functionName: detect_ramfs_rootfs
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 2
    functionsReached:
    - fopen_cached
    - getline
    - strnequal
    - strequal
    - strchr
    linkageType: ''
    returnType: bool
    signature: bool detect_ramfs_rootfs(void)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: getenv
      Src: /src/lxc/src/lxc/utils.c:956,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/utils.c:960,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/utils.c:964,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:966,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:968,1
    - Dst: access
      Src: /src/lxc/src/lxc/utils.c:972,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/utils.c:973,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 2
    argNames:
    - cmd
    - rootfs
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 977
      start: 949
    functionDepth: 1
    functionLinenumber: 949
    functionLinenumberEnd: 977
    functionName: on_path
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - lxc_iterate_parts
    - access
    - getenv
    - strdup
    - strnprintf
    linkageType: ''
    returnType: char
    signature: char *on_path(const char *cmd, const char *rootfs)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: access
      Src: /src/lxc/src/lxc/utils.c:991,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/utils.c:992,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:994,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:999,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:999,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:999,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/utils.c:1001,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1005,1
    - Dst: free
      Src: /src/lxc/src/lxc/utils.c:1007,1
    - Dst: access
      Src: /src/lxc/src/lxc/utils.c:1011,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1012,1
    - Dst: free
      Src: /src/lxc/src/lxc/utils.c:1013,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - t
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1018
      start: 985
    functionDepth: 1
    functionLinenumber: 985
    functionLinenumberEnd: 1018
    functionName: get_template_path
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - malloc
    - access
    - strdup
    - strlen
    - strnprintf
    - SYSERROR
    - free
    linkageType: ''
    returnType: char
    signature: char *get_template_path(const char *t)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 3
    argNames:
    - path
    - offsetp
    - fulllen
    argTypes:
    - char*
    - int*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1043
      start: 1027
    functionDepth: 0
    functionLinenumber: 1027
    functionLinenumberEnd: 1043
    functionName: get_nextpath
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *get_nextpath(char *path, int *offsetp, int fulllen)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:1051,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/utils.c:1056,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 3
    argNames:
    - subdir
    - dir
    - len
    argTypes:
    - char*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1066
      start: 1049
    functionDepth: 1
    functionLinenumber: 1049
    functionLinenumberEnd: 1066
    functionName: is_subdir
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - strlen
    - strnequal
    linkageType: ''
    returnType: bool
    signature: bool is_subdir(const char *subdir, const char *dir, size_t len)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fstat
      Src: /src/lxc/src/lxc/utils.c:1077,1
    - Dst: S_ISLNK
      Src: /src/lxc/src/lxc/utils.c:1081,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1085
      start: 1072
    functionDepth: 0
    functionLinenumber: 1072
    functionLinenumberEnd: 1085
    functionName: check_symlink
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - S_ISLNK
    - fstat
    linkageType: ''
    returnType: int
    signature: int check_symlink(int fd)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: openat
      Src: /src/lxc/src/lxc/utils.c:1095,1
    - Dst: openat
      Src: /src/lxc/src/lxc/utils.c:1106,1
    - Dst: check_symlink
      Src: /src/lxc/src/lxc/utils.c:1112,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1114,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 2
    argNames:
    - dirfd
    - nextpath
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1121
      start: 1093
    functionDepth: 1
    functionLinenumber: 1093
    functionLinenumberEnd: 1121
    functionName: open_if_safe
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - openat
    - close
    - check_symlink
    linkageType: ''
    returnType: int
    signature: int open_if_safe(int dirfd, const char *nextpath)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:1141,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:1144,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/utils.c:1145,1
    - Dst: is_subdir
      Src: /src/lxc/src/lxc/utils.c:1146,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/utils.c:1147,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/utils.c:1165,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/utils.c:1166,1
    - Dst: open
      Src: /src/lxc/src/lxc/utils.c:1175,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1177,1
    - Dst: get_nextpath
      Src: /src/lxc/src/lxc/utils.c:1185,1
    - Dst: open_if_safe
      Src: /src/lxc/src/lxc/utils.c:1188,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1190,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1196,1
    - Dst: free
      Src: /src/lxc/src/lxc/utils.c:1203,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 48
    argCount: 2
    argNames:
    - target
    - prefix_skip
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1205
      start: 1136
    functionDepth: 2
    functionLinenumber: 1136
    functionLinenumberEnd: 1205
    functionName: open_without_symlink
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - open
    - open_if_safe
    - ERROR
    - is_subdir
    - strdup
    - strlen
    - SYSERROR
    - get_nextpath
    - free
    - close
    linkageType: ''
    returnType: int
    signature: int open_without_symlink(const char *target, const char *prefix_skip)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: openat2
      Src: /src/lxc/src/lxc/utils.c:1222,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1225,1
    - Dst: openat2
      Src: /src/lxc/src/lxc/utils.c:1232,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:1234,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1235,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/utils.c:1239,1
    - Dst: mount
      Src: /src/lxc/src/lxc/utils.c:1240,1
    - Dst: mount
      Src: /src/lxc/src/lxc/utils.c:1242,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 6
    argNames:
    - beneath_fd
    - src
    - dst
    - fstype
    - flags
    - data
    argTypes:
    - int
    - char*
    - char*
    - char*
    - unsigned int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1245
      start: 1207
    functionDepth: 1
    functionLinenumber: 1207
    functionLinenumberEnd: 1245
    functionName: __safe_mount_beneath_at
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - mount
    - is_empty_string
    - openat2
    - log_error_errno
    - strnprintf
    linkageType: ''
    returnType: int
    signature: "int __safe_mount_beneath_at(int beneath_fd, const char *src, const
      char *dst, const char *fstype,\n\t\t\t    unsigned int flags, const void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: openat
      Src: /src/lxc/src/lxc/utils.c:1253,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:1255,1
    - Dst: __safe_mount_beneath_at
      Src: /src/lxc/src/lxc/utils.c:1257,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 6
    argNames:
    - beneath
    - src
    - dst
    - fstype
    - flags
    - data
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - unsigned int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1258
      start: 1247
    functionDepth: 2
    functionLinenumber: 1247
    functionLinenumberEnd: 1258
    functionName: safe_mount_beneath
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - __safe_mount_beneath_at
    - openat
    - log_error_errno
    linkageType: ''
    returnType: int
    signature: "int safe_mount_beneath(const char *beneath, const char *src, const
      char *dst, const char *fstype,\n\t\t       unsigned int flags, const void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __safe_mount_beneath_at
      Src: /src/lxc/src/lxc/utils.c:1263,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 6
    argNames:
    - beneath_fd
    - src
    - dst
    - fstype
    - flags
    - data
    argTypes:
    - int
    - char*
    - char*
    - char*
    - unsigned int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1264
      start: 1260
    functionDepth: 2
    functionLinenumber: 1260
    functionLinenumberEnd: 1264
    functionName: safe_mount_beneath_at
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 2
    functionsReached:
    - __safe_mount_beneath_at
    linkageType: ''
    returnType: int
    signature: "int safe_mount_beneath_at(int beneath_fd, const char *src, const char
      *dst, const char *fstype,\n\t\t\t  unsigned int flags, const void *data)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:1288,1
    - Dst: open_without_symlink
      Src: /src/lxc/src/lxc/utils.c:1290,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1294,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1296,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/utils.c:1297,1
    - Dst: open_without_symlink
      Src: /src/lxc/src/lxc/utils.c:1303,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1307,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1314,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1317,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1319,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/utils.c:1320,1
    - Dst: mount
      Src: /src/lxc/src/lxc/utils.c:1324,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1327,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1329,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1332,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 44
    argCount: 6
    argNames:
    - src
    - dest
    - fstype
    - flags
    - data
    - rootfs
    argTypes:
    - char*
    - char*
    - char*
    - unsigned long
    - void*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1337
      start: 1274
    functionDepth: 3
    functionLinenumber: 1274
    functionLinenumberEnd: 1337
    functionName: safe_mount
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - ERROR
    - mount
    - SYSERROR
    - strnprintf
    - INFO
    - open_without_symlink
    - close
    linkageType: ''
    returnType: int
    signature: "int safe_mount(const char *src, const char *dest, const char *fstype,\n\t\tunsigned
      long flags, const void *data, const char *rootfs)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/utils.c:1341,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1343,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1346
      start: 1339
    functionDepth: 1
    functionLinenumber: 1339
    functionLinenumberEnd: 1346
    functionName: open_devnull
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 1
    functionsReached:
    - open
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int open_devnull(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: dup2
      Src: /src/lxc/src/lxc/utils.c:1355,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/utils.c:1359,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/utils.c:1363,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1368
      start: 1348
    functionDepth: 0
    functionLinenumber: 1348
    functionLinenumberEnd: 1368
    functionName: set_stdfds
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - dup2
    linkageType: ''
    returnType: int
    signature: int set_stdfds(int fd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: open_devnull
      Src: /src/lxc/src/lxc/utils.c:1375,1
    - Dst: set_stdfds
      Src: /src/lxc/src/lxc/utils.c:1377,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1378,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1382
      start: 1370
    functionDepth: 2
    functionLinenumber: 1370
    functionLinenumberEnd: 1382
    functionName: null_stdfds
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - close
    - set_stdfds
    - open_devnull
    linkageType: ''
    returnType: int
    signature: int null_stdfds(void)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1397,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/utils.c:1401,1
    - Dst: getline
      Src: /src/lxc/src/lxc/utils.c:1405,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/utils.c:1408,1
    - Dst: lxc_trim_whitespace_in_place
      Src: /src/lxc/src/lxc/utils.c:1411,1
    - Dst: lxc_safe_uint64
      Src: /src/lxc/src/lxc/utils.c:1412,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 2
    argNames:
    - pid
    - signal
    argTypes:
    - pid_t
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1423
      start: 1387
    functionDepth: 2
    functionLinenumber: 1387
    functionLinenumberEnd: 1423
    functionName: task_blocks_signal
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 2
    functionsReached:
    - getline
    - lxc_safe_uint64
    - strnequal
    - lxc_trim_whitespace_in_place
    - fopen
    - strnprintf
    linkageType: ''
    returnType: bool
    signature: bool task_blocks_signal(pid_t pid, int signal)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1436,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:1437,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:1438,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/utils.c:1440,1
    - Dst: open
      Src: /src/lxc/src/lxc/utils.c:1442,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - pid
    - ns
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1443
      start: 1425
    functionDepth: 1
    functionLinenumber: 1425
    functionLinenumberEnd: 1443
    functionName: lxc_preserve_ns
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 1
    functionsReached:
    - open
    - strnprintf
    - ret_errno
    - strequal
    linkageType: ''
    returnType: int
    signature: int lxc_preserve_ns(const int pid, const char *ns)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: setresgid
      Src: /src/lxc/src/lxc/utils.c:1450,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1452,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/utils.c:1455,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/utils.c:1459,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1461,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/utils.c:1464,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 2
    argNames:
    - uid
    - gid
    argTypes:
    - uid_t
    - gid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1468
      start: 1445
    functionDepth: 1
    functionLinenumber: 1445
    functionLinenumberEnd: 1468
    functionName: lxc_switch_uid_gid
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - setresuid
    - SYSERROR
    - setresgid
    - NOTICE
    linkageType: ''
    returnType: bool
    signature: bool lxc_switch_uid_gid(uid_t uid, gid_t gid)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setgroups
      Src: /src/lxc/src/lxc/utils.c:1475,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:1477,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/utils.c:1479,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1481
      start: 1471
    functionDepth: 1
    functionLinenumber: 1471
    functionLinenumberEnd: 1481
    functionName: lxc_drop_groups
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - setgroups
    - log_error_errno
    - NOTICE
    linkageType: ''
    returnType: bool
    signature: bool lxc_drop_groups(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: setgroups
      Src: /src/lxc/src/lxc/utils.c:1487,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:1489,1
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/utils.c:1491,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/utils.c:1493,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/utils.c:1496,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 2
    argNames:
    - list
    - size
    argTypes:
    - gid_t[]
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1498
      start: 1483
    functionDepth: 2
    functionLinenumber: 1483
    functionLinenumberEnd: 1498
    functionName: lxc_setgroups
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - setgroups
    - NOTICE
    - lxc_log_trace
    - TRACE
    - log_error_errno
    linkageType: ''
    returnType: bool
    signature: bool lxc_setgroups(gid_t list[], size_t size)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/lxc/src/lxc/utils.c:1507,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1509,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/utils.c:1513,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/utils.c:1514,1
    - Dst: dirfd
      Src: /src/lxc/src/lxc/utils.c:1517,1
    - Dst: openat
      Src: /src/lxc/src/lxc/utils.c:1521,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/utils.c:1525,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/utils.c:1527,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1529,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1535,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1537,1
    - Dst: closedir
      Src: /src/lxc/src/lxc/utils.c:1545,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 1
    argNames:
    - loop_name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1551
      start: 1500
    functionDepth: 1
    functionLinenumber: 1500
    functionLinenumberEnd: 1551
    functionName: lxc_get_unused_loop_dev_legacy
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - readdir
    - closedir
    - openat
    - strnequal
    - dirfd
    - strnprintf
    - ioctl
    - opendir
    - SYSERROR
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_get_unused_loop_dev_legacy(char *loop_name)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/utils.c:1558,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1560,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/utils.c:1564,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1566,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1570,1
    - Dst: open
      Src: /src/lxc/src/lxc/utils.c:1574,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1577,1
    - Dst: open
      Src: /src/lxc/src/lxc/utils.c:1581,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1583,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1587,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 30
    argCount: 1
    argNames:
    - name_loop
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1589
      start: 1553
    functionDepth: 1
    functionLinenumber: 1553
    functionLinenumberEnd: 1589
    functionName: lxc_get_unused_loop_dev
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - open
    - ioctl
    - strnprintf
    - SYSERROR
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_get_unused_loop_dev(char *name_loop)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_unused_loop_dev
      Src: /src/lxc/src/lxc/utils.c:1597,1
    - Dst: lxc_get_unused_loop_dev_legacy
      Src: /src/lxc/src/lxc/utils.c:1602,1
    - Dst: open
      Src: /src/lxc/src/lxc/utils.c:1607,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1609,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/utils.c:1613,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1615,1
    - Dst: memset
      Src: /src/lxc/src/lxc/utils.c:1619,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/utils.c:1622,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/utils.c:1624,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1626,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1634,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1637,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 42
    argCount: 3
    argNames:
    - source
    - loop_dev
    - flags
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1642
      start: 1591
    functionDepth: 2
    functionLinenumber: 1591
    functionLinenumberEnd: 1642
    functionName: lxc_prepare_loop_dev
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_get_unused_loop_dev_legacy
    - strlcpy
    - lxc_get_unused_loop_dev
    - ioctl
    - memset
    - SYSERROR
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_prepare_loop_dev(const char *source, char *loop_dev, int flags)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: umount2
      Src: /src/lxc/src/lxc/utils.c:1650,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 2
    argNames:
    - path
    - lazy
    argTypes:
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1674
      start: 1644
    functionDepth: 0
    functionLinenumber: 1644
    functionLinenumberEnd: 1674
    functionName: lxc_unstack_mountpoint
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - umount2
    linkageType: ''
    returnType: int
    signature: int lxc_unstack_mountpoint(const char *path, bool lazy)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: pipe
      Src: /src/lxc/src/lxc/utils.c:1686,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1687,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/lxc/utils.c:1691,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1693,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1694,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1695,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1701,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/utils.c:1706,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/utils.c:1708,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1711,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/utils.c:1714,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/utils.c:1715,1
    - Dst: child_fn
      Src: /src/lxc/src/lxc/utils.c:1719,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/utils.c:1720,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/utils.c:1721,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1725,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/utils.c:1728,1
    - Dst: lxc_wait_for_pid_status
      Src: /src/lxc/src/lxc/utils.c:1734,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/utils.c:1736,1
    - Dst: close
      Src: /src/lxc/src/lxc/utils.c:1739,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 39
    argCount: 4
    argNames:
    - buf
    - buf_size
    - args
    - wait_status
    argTypes:
    - char*
    - size_t
    - void*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1742
      start: 1676
    functionDepth: 1
    functionLinenumber: 1676
    functionLinenumberEnd: 1742
    functionName: run_command_internal
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - ERROR
    - lxc_wait_for_pid_status
    - lxc_raw_clone
    - child_fn
    - lxc_read_nointr
    - _exit
    - SYSERROR
    - dup2
    - pipe
    - close
    linkageType: ''
    returnType: int
    signature: int run_command_internal(char *buf, size_t buf_size, int (*child_fn)(void
      *), void *args, bool wait_status)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: run_command_internal
      Src: /src/lxc/src/lxc/utils.c:1746,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - buf
    - buf_size
    - args
    argTypes:
    - char*
    - size_t
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1747
      start: 1744
    functionDepth: 2
    functionLinenumber: 1744
    functionLinenumberEnd: 1747
    functionName: run_command
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - run_command_internal
    linkageType: ''
    returnType: int
    signature: int run_command(char *buf, size_t buf_size, int (*child_fn)(void *),
      void *args)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: run_command_internal
      Src: /src/lxc/src/lxc/utils.c:1751,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - buf
    - buf_size
    - args
    argTypes:
    - char*
    - size_t
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1752
      start: 1749
    functionDepth: 2
    functionLinenumber: 1749
    functionLinenumberEnd: 1752
    functionName: run_command_status
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - run_command_internal
    linkageType: ''
    returnType: int
    signature: int run_command_status(char *buf, size_t buf_size, int (*child_fn)(void
      *), void *args)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:1761,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1764,1
    - Dst: stat
      Src: /src/lxc/src/lxc/utils.c:1768,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - nic
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1773
      start: 1754
    functionDepth: 1
    functionLinenumber: 1754
    functionLinenumberEnd: 1773
    functionName: lxc_nic_exists
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - strnprintf
    - stat
    - strequal
    linkageType: ''
    returnType: bool
    signature: bool lxc_nic_exists(char *nic)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - n
    argTypes:
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1791
      start: 1775
    functionDepth: 0
    functionLinenumber: 1775
    functionLinenumberEnd: 1791
    functionName: lxc_find_next_power2
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: uint64_t
    signature: uint64_t lxc_find_next_power2(uint64_t n)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: dup
      Src: /src/lxc/src/lxc/utils.c:1801,1
    - Dst: lxc_fd_cloexec
      Src: /src/lxc/src/lxc/utils.c:1805,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/utils.c:1808,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/utils.c:1813,1
    - Dst: getline
      Src: /src/lxc/src/lxc/utils.c:1816,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/utils.c:1819,1
    - Dst: lxc_trim_whitespace_in_place
      Src: /src/lxc/src/lxc/utils.c:1822,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - status_fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1829
      start: 1793
    functionDepth: 2
    functionLinenumber: 1793
    functionLinenumberEnd: 1829
    functionName: process_dead
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - fdopen
    - getline
    - strnequal
    - dup
    - lxc_fd_cloexec
    - lxc_trim_whitespace_in_place
    - move_fd
    linkageType: ''
    returnType: int
    signature: int process_dead(/* takes */ int status_fd)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: prctl
      Src: /src/lxc/src/lxc/utils.c:1836,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/utils.c:1836,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/utils.c:1836,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/utils.c:1837,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/utils.c:1837,1
    - Dst: syscall
      Src: /src/lxc/src/lxc/utils.c:1840,1
    - Dst: process_dead
      Src: /src/lxc/src/lxc/utils.c:1845,1
    - Dst: raise
      Src: /src/lxc/src/lxc/utils.c:1846,1
    - Dst: raise
      Src: /src/lxc/src/lxc/utils.c:1848,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 3
    argNames:
    - signal
    - parent
    - parent_status_fd
    argTypes:
    - int
    - pid_t
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1855
      start: 1831
    functionDepth: 3
    functionLinenumber: 1831
    functionLinenumberEnd: 1855
    functionName: lxc_set_death_signal
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - prctl
    - syscall
    - raise
    - prctl_arg
    - process_dead
    linkageType: ''
    returnType: int
    signature: int lxc_set_death_signal(int signal, pid_t parent, int parent_status_fd)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/lxc/src/lxc/utils.c:1864,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:1866,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/utils.c:1868,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:1872,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/utils.c:1873,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/utils.c:1876,1
    - Dst: lstat
      Src: /src/lxc/src/lxc/utils.c:1877,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/utils.c:1880,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/utils.c:1886,1
    - Dst: lxc_rm_rf
      Src: /src/lxc/src/lxc/utils.c:1889,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/utils.c:1894,1
    - Dst: log_warn_errno
      Src: /src/lxc/src/lxc/utils.c:1896,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 1
    argNames:
    - dirname
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1899
      start: 1857
    functionDepth: 2
    functionLinenumber: 1857
    functionLinenumberEnd: 1899
    functionName: lxc_rm_rf
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 2
    functionsReached:
    - readdir
    - SYSWARN
    - lxc_rm_rf
    - strequal
    - rmdir
    - log_warn_errno
    - log_error_errno
    - lstat
    - S_ISDIR
    - opendir
    - must_make_path
    linkageType: ''
    returnType: int
    signature: int lxc_rm_rf(const char *dirname)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: log_trace
      Src: /src/lxc/src/lxc/utils.c:1906,1
    - Dst: waitid
      Src: /src/lxc/src/lxc/utils.c:1919,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:1927,1
    - Dst: lxc_raw_pidfd_send_signal
      Src: /src/lxc/src/lxc/utils.c:1929,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/utils.c:1931,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/utils.c:1933,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - pidfd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1934
      start: 1901
    functionDepth: 1
    functionLinenumber: 1901
    functionLinenumberEnd: 1934
    functionName: lxc_can_use_pidfd
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - lxc_raw_pidfd_send_signal
    - waitid
    - log_error_errno
    - log_trace
    linkageType: ''
    returnType: bool
    signature: bool lxc_can_use_pidfd(int pidfd)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: open_devnull
      Src: /src/lxc/src/lxc/utils.c:1944,1
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/utils.c:1946,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/utils.c:1948,1
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/utils.c:1950,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/utils.c:1952,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/utils.c:1953,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/utils.c:1955,1
    - Dst: fchown
      Src: /src/lxc/src/lxc/utils.c:1963,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/utils.c:1965,1
    - Dst: fchmod
      Src: /src/lxc/src/lxc/utils.c:1971,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/utils.c:1973,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 29
    argCount: 1
    argNames:
    - uid
    argTypes:
    - uid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1979
      start: 1936
    functionDepth: 2
    functionLinenumber: 1936
    functionLinenumberEnd: 1979
    functionName: fix_stdio_permissions
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - SYSWARN
    - SYSTRACE
    - fchmod
    - ARRAY_SIZE
    - fstat
    - open_devnull
    - fchown
    - log_trace_errno
    linkageType: ''
    returnType: int
    signature: int fix_stdio_permissions(uid_t uid)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/utils.c:1989,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/utils.c:1992,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/utils.c:1994,1
    - Dst: openat
      Src: /src/lxc/src/lxc/utils.c:2000,1
    - Dst: openat
      Src: /src/lxc/src/lxc/utils.c:2002,1
    - Dst: dup_cloexec
      Src: /src/lxc/src/lxc/utils.c:2007,1
    - Dst: fdopendir
      Src: /src/lxc/src/lxc/utils.c:2011,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/utils.c:2015,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/utils.c:2017,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/utils.c:2018,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/utils.c:2019,1
    - Dst: fstatat
      Src: /src/lxc/src/lxc/utils.c:2022,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/utils.c:2027,1
    - Dst: print_r
      Src: /src/lxc/src/lxc/utils.c:2028,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:2030,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/utils.c:2037,1
    - Dst: fstatat
      Src: /src/lxc/src/lxc/utils.c:2038,1
    - Dst: fstatat
      Src: /src/lxc/src/lxc/utils.c:2040,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/utils.c:2044,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/utils.c:2045,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 38
    argCount: 2
    argNames:
    - fd
    - path
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2047
      start: 1981
    functionDepth: 2
    functionLinenumber: 1981
    functionLinenumberEnd: 2047
    functionName: print_r
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 1
    functionsReached:
    - readdir
    - print_r
    - is_empty_string
    - openat
    - maybe_empty
    - fdopendir
    - ret_errno
    - dup_cloexec
    - strcmp
    - fstatat
    - S_ISDIR
    - INFO
    - strnprintf
    - move_fd
    linkageType: ''
    returnType: int
    signature: int print_r(int fd, const char *path)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strtoull
      Src: /src/lxc/src/lxc/utils.c:2054,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/utils.c:2056,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/utils.c:2060,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/utils.c:2076,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 30
    argCount: 1
    argNames:
    - s
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2081
      start: 2049
    functionDepth: 1
    functionLinenumber: 2049
    functionLinenumberEnd: 2081
    functionName: get_fssize
    functionSourceFile: /src/lxc/src/lxc/utils.c
    functionUses: 0
    functionsReached:
    - strtoull
    - ERROR
    - isblank
    linkageType: ''
    returnType: uint64_t
    signature: uint64_t get_fssize(char *s)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - nmsg
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 21
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 21
    functionName: NLMSG_TAIL
    functionSourceFile: /src/lxc/src/lxc/nl.h
    functionUses: 4
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: NLMSG_TAIL(nmsg)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - na
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 22
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 22
    functionName: NLA_DATA
    functionSourceFile: /src/lxc/src/lxc/nl.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: NLA_DATA(na)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - attr
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 23
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 23
    functionName: NLA_NEXT_ATTR
    functionSourceFile: /src/lxc/src/lxc/nl.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: NLA_NEXT_ATTR(attr)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: __io_uring_disarm
      Src: /src/lxc/src/lxc/mainloop.c:57,1
    - Dst: epoll_ctl
      Src: /src/lxc/src/lxc/mainloop.c:59,1
    - Dst: syswarn_ret
      Src: /src/lxc/src/lxc/mainloop.c:62,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:65,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 3
    argNames:
    - descr
    - handler
    - oneshot
    argTypes:
    - struct lxc_async_descr*
    - struct mainloop_handler*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 67
      start: 42
    functionDepth: 1
    functionLinenumber: 42
    functionLinenumberEnd: 67
    functionName: disarm_handler
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - __io_uring_disarm
    - epoll_ctl
    - syswarn_ret
    - TRACE
    linkageType: ''
    returnType: int
    signature: "int disarm_handler(struct lxc_async_descr *descr,\n\t\t\t  struct
      mainloop_handler *handler, bool oneshot)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: struct mainloop_handler*::cleanup
      Src: /src/lxc/src/lxc/mainloop.c:74,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/mainloop.c:76,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:79,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/mainloop.c:80,1
    - Dst: free
      Src: /src/lxc/src/lxc/mainloop.c:81,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct mainloop_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 82
      start: 69
    functionDepth: 1
    functionLinenumber: 69
    functionLinenumberEnd: 82
    functionName: delete_handler
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - struct mainloop_handler*::cleanup
    - SYSWARN
    - list_del
    - TRACE
    - free
    linkageType: ''
    returnType: void
    signature: void delete_handler(struct mainloop_handler *handler)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: disarm_handler
      Src: /src/lxc/src/lxc/mainloop.c:87,1
    - Dst: delete_handler
      Src: /src/lxc/src/lxc/mainloop.c:88,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 3
    argNames:
    - descr
    - handler
    - oneshot
    argTypes:
    - struct lxc_async_descr*
    - struct mainloop_handler*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 89
      start: 84
    functionDepth: 2
    functionLinenumber: 84
    functionLinenumberEnd: 89
    functionName: cleanup_handler
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - disarm_handler
    - delete_handler
    linkageType: ''
    returnType: void
    signature: "void cleanup_handler(struct lxc_async_descr *descr,\n\t\t\t\t   struct
      mainloop_handler *handler, bool oneshot)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mainloop.c:95,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - descr
    - timeout_ms
    argTypes:
    - struct lxc_async_descr*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 96
      start: 92
    functionDepth: 1
    functionLinenumber: 92
    functionLinenumberEnd: 96
    functionName: __lxc_mainloop_io_uring
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int __lxc_mainloop_io_uring(struct lxc_async_descr *descr,\n\t\t\t\t\t
      \ int timeout_ms)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mainloop.c:101,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - descr
    - handler
    - oneshot
    argTypes:
    - struct lxc_async_descr*
    - struct mainloop_handler*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 102
      start: 98
    functionDepth: 1
    functionLinenumber: 98
    functionLinenumberEnd: 102
    functionName: __io_uring_arm
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int __io_uring_arm(struct lxc_async_descr *descr,\n\t\t\t  struct
      mainloop_handler *handler, bool oneshot)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mainloop.c:107,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - descr
    - handler
    argTypes:
    - struct lxc_async_descr*
    - struct mainloop_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 108
      start: 104
    functionDepth: 1
    functionLinenumber: 104
    functionLinenumberEnd: 108
    functionName: __io_uring_disarm
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int __io_uring_disarm(struct lxc_async_descr *descr,\n\t\t\t     struct
      mainloop_handler *handler)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mainloop.c:112,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - descr
    argTypes:
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 113
      start: 110
    functionDepth: 1
    functionLinenumber: 110
    functionLinenumberEnd: 113
    functionName: __io_uring_open
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int __io_uring_open(struct lxc_async_descr *descr)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: mmap
      Src: /src/lxc/src/lxc/mainloop.c:124,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mainloop.c:127,1
    - Dst: io_uring_queue_init
      Src: /src/lxc/src/lxc/mainloop.c:129,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/mainloop.c:131,1
    - Dst: io_uring_ring_dontfork
      Src: /src/lxc/src/lxc/mainloop.c:135,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/mainloop.c:137,1
    - Dst: io_uring_set_iowait
      Src: /src/lxc/src/lxc/mainloop.c:149,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:150,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:154,1
    - Dst: munmap
      Src: /src/lxc/src/lxc/mainloop.c:158,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/mainloop.c:160,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mainloop.c:162,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 1
    argNames:
    - descr
    argTypes:
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 163
      start: 117
    functionDepth: 1
    functionLinenumber: 117
    functionLinenumberEnd: 163
    functionName: __io_uring_open
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - mmap
    - SYSWARN
    - io_uring_set_iowait
    - io_uring_ring_dontfork
    - io_uring_queue_init
    - TRACE
    - ret_errno
    - syserror
    - munmap
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int __io_uring_open(struct lxc_async_descr *descr)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: io_uring_get_sqe
      Src: /src/lxc/src/lxc/mainloop.c:171,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/mainloop.c:173,1
    - Dst: io_uring_prep_poll_add
      Src: /src/lxc/src/lxc/mainloop.c:175,1
    - Dst: io_uring_sqe_set_data
      Src: /src/lxc/src/lxc/mainloop.c:203,1
    - Dst: io_uring_submit
      Src: /src/lxc/src/lxc/mainloop.c:204,1
    - Dst: io_uring_submit
      Src: /src/lxc/src/lxc/mainloop.c:209,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/mainloop.c:213,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:215,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 3
    argNames:
    - descr
    - handler
    - oneshot
    argTypes:
    - struct lxc_async_descr*
    - struct mainloop_handler*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 217
      start: 165
    functionDepth: 1
    functionLinenumber: 165
    functionLinenumberEnd: 217
    functionName: __io_uring_arm
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - io_uring_submit
    - io_uring_prep_poll_add
    - io_uring_get_sqe
    - TRACE
    - syserror_set
    - syserror_ret
    - io_uring_sqe_set_data
    linkageType: ''
    returnType: int
    signature: "int __io_uring_arm(struct lxc_async_descr *descr,\n\t\t\t  struct
      mainloop_handler *handler, bool oneshot)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: io_uring_get_sqe
      Src: /src/lxc/src/lxc/mainloop.c:225,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/mainloop.c:227,1
    - Dst: io_uring_prep_poll_remove
      Src: /src/lxc/src/lxc/mainloop.c:230,1
    - Dst: PTR_TO_U64
      Src: /src/lxc/src/lxc/mainloop.c:230,1
    - Dst: io_uring_sqe_set_data
      Src: /src/lxc/src/lxc/mainloop.c:231,1
    - Dst: io_uring_submit
      Src: /src/lxc/src/lxc/mainloop.c:232,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/mainloop.c:234,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:237,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 2
    argNames:
    - descr
    - handler
    argTypes:
    - struct lxc_async_descr*
    - struct mainloop_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 239
      start: 219
    functionDepth: 1
    functionLinenumber: 219
    functionLinenumberEnd: 239
    functionName: __io_uring_disarm
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 1
    functionsReached:
    - io_uring_submit
    - io_uring_get_sqe
    - io_uring_prep_poll_remove
    - TRACE
    - syserror_set
    - syserror_ret
    - io_uring_sqe_set_data
    - PTR_TO_U64
    linkageType: ''
    returnType: int
    signature: "int __io_uring_disarm(struct lxc_async_descr *descr,\n\t\t\t     struct
      mainloop_handler *handler)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - ts
    - timeout_ms
    argTypes:
    - struct __kernel_timespec*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 245
      start: 241
    functionDepth: 0
    functionLinenumber: 241
    functionLinenumberEnd: 245
    functionName: msec_to_ts
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void msec_to_ts(struct __kernel_timespec *ts, unsigned int timeout_ms)
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: msec_to_ts
      Src: /src/lxc/src/lxc/mainloop.c:252,1
    - Dst: io_uring_wait_cqe_timeout
      Src: /src/lxc/src/lxc/mainloop.c:262,1
    - Dst: io_uring_wait_cqe
      Src: /src/lxc/src/lxc/mainloop.c:264,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/mainloop.c:272,1
    - Dst: io_uring_cqe_get_data
      Src: /src/lxc/src/lxc/mainloop.c:278,1
    - Dst: io_uring_cqe_seen
      Src: /src/lxc/src/lxc/mainloop.c:279,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:284,1
    - Dst: has_exact_flags
      Src: /src/lxc/src/lxc/mainloop.c:286,1
    - Dst: delete_handler
      Src: /src/lxc/src/lxc/mainloop.c:287,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:290,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:293,1
    - Dst: has_exact_flags
      Src: /src/lxc/src/lxc/mainloop.c:295,1
    - Dst: delete_handler
      Src: /src/lxc/src/lxc/mainloop.c:296,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:299,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/mainloop.c:302,1
    - Dst: struct mainloop_handler*::callback
      Src: /src/lxc/src/lxc/mainloop.c:307,1
    - Dst: __io_uring_arm
      Src: /src/lxc/src/lxc/mainloop.c:311,1
    - Dst: disarm_handler
      Src: /src/lxc/src/lxc/mainloop.c:320,1
    - Dst: delete_handler
      Src: /src/lxc/src/lxc/mainloop.c:327,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/mainloop.c:330,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/mainloop.c:332,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/mainloop.c:334,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/mainloop.c:340,1
    - Dst: error_ret
      Src: /src/lxc/src/lxc/mainloop.c:341,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 67
    argCount: 2
    argNames:
    - descr
    - timeout_ms
    argTypes:
    - struct lxc_async_descr*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 343
      start: 247
    functionDepth: 2
    functionLinenumber: 247
    functionLinenumberEnd: 343
    functionName: __lxc_mainloop_io_uring
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - disarm_handler
    - has_exact_flags
    - io_uring_wait_cqe_timeout
    - io_uring_cqe_seen
    - list_empty
    - io_uring_cqe_get_data
    - delete_handler
    - TRACE
    - WARN
    - __io_uring_arm
    - struct mainloop_handler*::callback
    - log_trace
    - error_ret
    - syserror_ret
    - io_uring_wait_cqe
    - msec_to_ts
    linkageType: ''
    returnType: int
    signature: int __lxc_mainloop_io_uring(struct lxc_async_descr *descr, int timeout_ms)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: epoll_wait
      Src: /src/lxc/src/lxc/mainloop.c:352,1
    - Dst: struct mainloop_handler*::callback
      Src: /src/lxc/src/lxc/mainloop.c:367,1
    - Dst: cleanup_handler
      Src: /src/lxc/src/lxc/mainloop.c:371,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/mainloop.c:385,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 27
    argCount: 2
    argNames:
    - descr
    - timeout_ms
    argTypes:
    - struct lxc_async_descr*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 388
      start: 346
    functionDepth: 3
    functionLinenumber: 346
    functionLinenumberEnd: 388
    functionName: __lxc_mainloop_epoll
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - list_empty
    - struct mainloop_handler*::callback
    - epoll_wait
    - cleanup_handler
    linkageType: ''
    returnType: int
    signature: int __lxc_mainloop_epoll(struct lxc_async_descr *descr, int timeout_ms)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_mainloop_io_uring
      Src: /src/lxc/src/lxc/mainloop.c:393,1
    - Dst: __lxc_mainloop_epoll
      Src: /src/lxc/src/lxc/mainloop.c:395,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - descr
    - timeout_ms
    argTypes:
    - struct lxc_async_descr*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 396
      start: 390
    functionDepth: 4
    functionLinenumber: 390
    functionLinenumberEnd: 396
    functionName: lxc_mainloop
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - __lxc_mainloop_epoll
    - __lxc_mainloop_io_uring
    linkageType: ''
    returnType: int
    signature: int lxc_mainloop(struct lxc_async_descr *descr, int timeout_ms)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mainloop.c:410,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mainloop.c:413,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/mainloop.c:415,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mainloop.c:417,1
    - Dst: __io_uring_arm
      Src: /src/lxc/src/lxc/mainloop.c:426,1
    - Dst: epoll_ctl
      Src: /src/lxc/src/lxc/mainloop.c:430,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/mainloop.c:435,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/mainloop.c:436,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 8
    argNames:
    - descr
    - fd
    - events
    - callback
    - cleanup
    - data
    - oneshot
    - name
    argTypes:
    - struct lxc_async_descr*
    - int
    - int
    - lxc_mainloop_callback_t
    - lxc_mainloop_cleanup_t
    - void*
    - bool
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 438
      start: 398
    functionDepth: 2
    functionLinenumber: 398
    functionLinenumberEnd: 438
    functionName: __lxc_mainloop_add_handler_events
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - list_add_tail
    - __io_uring_arm
    - epoll_ctl
    - zalloc
    - move_ptr
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int __lxc_mainloop_add_handler_events(struct lxc_async_descr *descr,\n\t\t\t\t\t
      \    int fd, int events,\n\t\t\t\t\t     lxc_mainloop_callback_t callback,\n\t\t\t\t\t
      \    lxc_mainloop_cleanup_t cleanup,\n\t\t\t\t\t     void *data, bool oneshot,\n\t\t\t\t\t
      \    const char *name)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_mainloop_add_handler_events
      Src: /src/lxc/src/lxc/mainloop.c:446,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 7
    argNames:
    - descr
    - fd
    - events
    - callback
    - cleanup
    - data
    - name
    argTypes:
    - struct lxc_async_descr*
    - int
    - int
    - lxc_mainloop_callback_t
    - lxc_mainloop_cleanup_t
    - void*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 449
      start: 440
    functionDepth: 3
    functionLinenumber: 440
    functionLinenumberEnd: 449
    functionName: lxc_mainloop_add_handler_events
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 1
    functionsReached:
    - __lxc_mainloop_add_handler_events
    linkageType: ''
    returnType: int
    signature: "int lxc_mainloop_add_handler_events(struct lxc_async_descr *descr,
      int fd,\n\t\t\t\t    int events,\n\t\t\t\t    lxc_mainloop_callback_t callback,\n\t\t\t\t
      \   lxc_mainloop_cleanup_t cleanup,\n\t\t\t\t    void *data, const char *name)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_mainloop_add_handler_events
      Src: /src/lxc/src/lxc/mainloop.c:456,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 6
    argNames:
    - descr
    - fd
    - callback
    - cleanup
    - data
    - name
    argTypes:
    - struct lxc_async_descr*
    - int
    - lxc_mainloop_callback_t
    - lxc_mainloop_cleanup_t
    - void*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 459
      start: 451
    functionDepth: 3
    functionLinenumber: 451
    functionLinenumberEnd: 459
    functionName: lxc_mainloop_add_handler
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 1
    functionsReached:
    - __lxc_mainloop_add_handler_events
    linkageType: ''
    returnType: int
    signature: "int lxc_mainloop_add_handler(struct lxc_async_descr *descr, int fd,\n\t\t\t
      \    lxc_mainloop_callback_t callback,\n\t\t\t     lxc_mainloop_cleanup_t cleanup,\n\t\t\t
      \    void *data, const char *name)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_mainloop_add_handler_events
      Src: /src/lxc/src/lxc/mainloop.c:466,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 6
    argNames:
    - descr
    - fd
    - callback
    - cleanup
    - data
    - name
    argTypes:
    - struct lxc_async_descr*
    - int
    - lxc_mainloop_callback_t
    - lxc_mainloop_cleanup_t
    - void*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 469
      start: 461
    functionDepth: 3
    functionLinenumber: 461
    functionLinenumberEnd: 469
    functionName: lxc_mainloop_add_oneshot_handler
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - __lxc_mainloop_add_handler_events
    linkageType: ''
    returnType: int
    signature: "int lxc_mainloop_add_oneshot_handler(struct lxc_async_descr *descr,
      int fd,\n\t\t\t\t     lxc_mainloop_callback_t callback,\n\t\t\t\t     lxc_mainloop_cleanup_t
      cleanup,\n\t\t\t\t     void *data, const char *name)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/mainloop.c:476,1
    - Dst: __io_uring_disarm
      Src: /src/lxc/src/lxc/mainloop.c:481,1
    - Dst: epoll_ctl
      Src: /src/lxc/src/lxc/mainloop.c:483,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mainloop.c:485,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/mainloop.c:494,1
    - Dst: free
      Src: /src/lxc/src/lxc/mainloop.c:495,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mainloop.c:501,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 2
    argNames:
    - descr
    - fd
    argTypes:
    - struct lxc_async_descr*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 502
      start: 471
    functionDepth: 2
    functionLinenumber: 471
    functionLinenumberEnd: 502
    functionName: lxc_mainloop_del_handler
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - __io_uring_disarm
    - list_for_each_entry
    - list_del
    - epoll_ctl
    - ret_errno
    - syserror
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_mainloop_del_handler(struct lxc_async_descr *descr, int fd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: epoll_create1
      Src: /src/lxc/src/lxc/mainloop.c:510,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mainloop.c:512,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mainloop.c:515,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 1
    argNames:
    - descr
    argTypes:
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 517
      start: 504
    functionDepth: 1
    functionLinenumber: 504
    functionLinenumberEnd: 517
    functionName: __epoll_open
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - TRACE
    - epoll_create1
    - syserror
    linkageType: ''
    returnType: int
    signature: int __epoll_open(struct lxc_async_descr *descr)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: __io_uring_open
      Src: /src/lxc/src/lxc/mainloop.c:523,1
    - Dst: __epoll_open
      Src: /src/lxc/src/lxc/mainloop.c:525,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mainloop.c:527,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/mainloop.c:529,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - descr
    argTypes:
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 531
      start: 519
    functionDepth: 2
    functionLinenumber: 519
    functionLinenumberEnd: 531
    functionName: lxc_mainloop_open
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - __io_uring_open
    - syserror
    - __epoll_open
    linkageType: ''
    returnType: int
    signature: int lxc_mainloop_open(struct lxc_async_descr *descr)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/mainloop.c:537,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/mainloop.c:538,1
    - Dst: free
      Src: /src/lxc/src/lxc/mainloop.c:539,1
    - Dst: io_uring_queue_exit
      Src: /src/lxc/src/lxc/mainloop.c:545,1
    - Dst: munmap
      Src: /src/lxc/src/lxc/mainloop.c:546,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/mainloop.c:549,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/mainloop.c:552,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/mainloop.c:555,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 1
    argNames:
    - descr
    argTypes:
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 556
      start: 533
    functionDepth: 1
    functionLinenumber: 533
    functionLinenumberEnd: 556
    functionName: lxc_mainloop_close
    functionSourceFile: /src/lxc/src/lxc/mainloop.c
    functionUses: 0
    functionsReached:
    - ERROR
    - list_del
    - io_uring_queue_exit
    - INIT_LIST_HEAD
    - close_prot_errno_disarm
    - munmap
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_mainloop_close(struct lxc_async_descr *descr)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/caps.c:27,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/caps.c:31,1
    - Dst: cap_get_proc
      Src: /src/lxc/src/lxc/caps.c:34,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:36,1
    - Dst: cap_clear_flag
      Src: /src/lxc/src/lxc/caps.c:38,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:40,1
    - Dst: cap_set_proc
      Src: /src/lxc/src/lxc/caps.c:42,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 47
      start: 25
    functionDepth: 1
    functionLinenumber: 25
    functionLinenumberEnd: 47
    functionName: lxc_caps_down
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 0
    functionsReached:
    - call_cleaner
    - cap_get_proc
    - getuid
    - log_error_errno
    - cap_clear_flag
    - cap_set_proc
    linkageType: ''
    returnType: int
    signature: int lxc_caps_down(void)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/caps.c:51,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/caps.c:56,1
    - Dst: cap_get_proc
      Src: /src/lxc/src/lxc/caps.c:59,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:61,1
    - Dst: cap_get_flag
      Src: /src/lxc/src/lxc/caps.c:66,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/caps.c:69,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:72,1
    - Dst: cap_set_flag
      Src: /src/lxc/src/lxc/caps.c:76,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:78,1
    - Dst: cap_set_proc
      Src: /src/lxc/src/lxc/caps.c:81,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:83,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 86
      start: 49
    functionDepth: 1
    functionLinenumber: 49
    functionLinenumberEnd: 86
    functionName: lxc_caps_up
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 0
    functionsReached:
    - cap_set_flag
    - call_cleaner
    - cap_get_proc
    - getuid
    - log_error_errno
    - cap_get_flag
    - INFO
    - cap_set_proc
    linkageType: ''
    returnType: int
    signature: int lxc_caps_up(void)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/caps.c:90,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/caps.c:96,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/caps.c:96,1
    - Dst: cap_get_proc
      Src: /src/lxc/src/lxc/caps.c:99,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:101,1
    - Dst: cap_get_flag
      Src: /src/lxc/src/lxc/caps.c:106,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/caps.c:110,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:114,1
    - Dst: cap_set_flag
      Src: /src/lxc/src/lxc/caps.c:117,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:119,1
    - Dst: cap_set_proc
      Src: /src/lxc/src/lxc/caps.c:122,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:124,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/caps.c:127,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:127,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:128,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:128,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:128,1
    - Dst: log_warn_errno
      Src: /src/lxc/src/lxc/caps.c:130,1
    - Dst: cap_to_text
      Src: /src/lxc/src/lxc/caps.c:133,1
    - Dst: log_warn_errno
      Src: /src/lxc/src/lxc/caps.c:135,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/caps.c:137,1
    - Dst: cap_free
      Src: /src/lxc/src/lxc/caps.c:138,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 140
      start: 88
    functionDepth: 1
    functionLinenumber: 88
    functionLinenumberEnd: 140
    functionName: lxc_ambient_caps_up
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 0
    functionsReached:
    - prctl
    - cap_set_flag
    - cap_to_text
    - cap_free
    - call_cleaner
    - geteuid
    - log_warn_errno
    - cap_get_proc
    - TRACE
    - getuid
    - log_error_errno
    - cap_get_flag
    - INFO
    - cap_set_proc
    - prctl_arg
    linkageType: ''
    returnType: int
    signature: int lxc_ambient_caps_up(void)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/caps.c:144,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/caps.c:148,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/caps.c:148,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/caps.c:151,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:151,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:152,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:152,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:152,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:154,1
    - Dst: cap_get_proc
      Src: /src/lxc/src/lxc/caps.c:156,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:158,1
    - Dst: cap_set_flag
      Src: /src/lxc/src/lxc/caps.c:161,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:163,1
    - Dst: cap_set_proc
      Src: /src/lxc/src/lxc/caps.c:166,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:168,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 171
      start: 142
    functionDepth: 1
    functionLinenumber: 142
    functionLinenumberEnd: 171
    functionName: lxc_ambient_caps_down
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 0
    functionsReached:
    - prctl
    - cap_set_flag
    - call_cleaner
    - geteuid
    - cap_get_proc
    - getuid
    - log_error_errno
    - cap_set_proc
    - prctl_arg
    linkageType: ''
    returnType: int
    signature: int lxc_ambient_caps_down(void)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: getuid
      Src: /src/lxc/src/lxc/caps.c:177,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/caps.c:181,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/caps.c:186,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/caps.c:188,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:188,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:190,1
    - Dst: getgid
      Src: /src/lxc/src/lxc/caps.c:192,1
    - Dst: setresgid
      Src: /src/lxc/src/lxc/caps.c:193,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:195,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/caps.c:197,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:199,1
    - Dst: lxc_caps_up
      Src: /src/lxc/src/lxc/caps.c:201,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:203,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/caps.c:207,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 210
      start: 173
    functionDepth: 1
    functionLinenumber: 173
    functionLinenumberEnd: 210
    functionName: lxc_caps_init
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 0
    functionsReached:
    - getgid
    - prctl
    - lxc_caps_up
    - setresuid
    - geteuid
    - getuid
    - log_error_errno
    - INFO
    - prctl_arg
    - setresgid
    linkageType: ''
    returnType: int
    signature: int lxc_caps_init(void)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/caps.c:217,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/caps.c:225,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/caps.c:233,1
    - Dst: lxc_read_string_nointr
      Src: /src/lxc/src/lxc/caps.c:235,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/caps.c:235,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/caps.c:237,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/caps.c:239,1
    - Dst: lxc_trim_whitespace_in_place
      Src: /src/lxc/src/lxc/caps.c:239,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/caps.c:241,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/caps.c:251,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/caps.c:251,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - cap
    argTypes:
    - __u32*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 259
      start: 212
    functionDepth: 2
    functionLinenumber: 212
    functionLinenumberEnd: 259
    functionName: __caps_last_cap
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - STRARRAYLEN
    - open_at
    - prctl
    - lxc_read_string_nointr
    - INTTYPE_TO_STRLEN
    - ret_errno
    - syserror
    - lxc_trim_whitespace_in_place
    - prctl_arg
    linkageType: ''
    returnType: int
    signature: int __caps_last_cap(__u32 *cap)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/caps.c:267,1
    - Dst: __caps_last_cap
      Src: /src/lxc/src/lxc/caps.c:270,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - cap
    argTypes:
    - __u32*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 277
      start: 261
    functionDepth: 3
    functionLinenumber: 261
    functionLinenumberEnd: 277
    functionName: lxc_caps_last_cap
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 1
    functionsReached:
    - __caps_last_cap
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int lxc_caps_last_cap(__u32 *cap)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cap_get_flag
      Src: /src/lxc/src/lxc/caps.c:284,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:286,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - caps
    - cap
    - flag
    argTypes:
    - cap_t
    - cap_value_t
    - cap_flag_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 289
      start: 279
    functionDepth: 1
    functionLinenumber: 279
    functionLinenumberEnd: 289
    functionName: lxc_cap_is_set
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - cap_get_flag
    linkageType: ''
    returnType: bool
    signature: bool lxc_cap_is_set(cap_t caps, cap_value_t cap, cap_flag_t flag)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/caps.c:294,1
    - Dst: cap_get_file
      Src: /src/lxc/src/lxc/caps.c:296,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/caps.c:304,1
    - Dst: lxc_cap_is_set
      Src: /src/lxc/src/lxc/caps.c:309,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 3
    argNames:
    - path
    - cap
    - flag
    argTypes:
    - char*
    - cap_value_t
    - cap_flag_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 314
      start: 291
    functionDepth: 2
    functionLinenumber: 291
    functionLinenumberEnd: 314
    functionName: lxc_file_cap_is_set
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 0
    functionsReached:
    - call_cleaner
    - SYSERROR
    - cap_get_file
    - lxc_cap_is_set
    linkageType: ''
    returnType: bool
    signature: bool lxc_file_cap_is_set(const char *path, cap_value_t cap, cap_flag_t
      flag)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/caps.c:318,1
    - Dst: cap_get_proc
      Src: /src/lxc/src/lxc/caps.c:320,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/caps.c:322,1
    - Dst: lxc_cap_is_set
      Src: /src/lxc/src/lxc/caps.c:324,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - cap
    - flag
    argTypes:
    - cap_value_t
    - cap_flag_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 325
      start: 316
    functionDepth: 2
    functionLinenumber: 316
    functionLinenumberEnd: 325
    functionName: lxc_proc_cap_is_set
    functionSourceFile: /src/lxc/src/lxc/caps.c
    functionUses: 0
    functionsReached:
    - call_cleaner
    - log_error_errno
    - lxc_cap_is_set
    - cap_get_proc
    linkageType: ''
    returnType: bool
    signature: bool lxc_proc_cap_is_set(cap_value_t cap, cap_flag_t flag)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - type
    - ','
    - cleaner
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 24
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 24
    functionName: define_cleanup_function
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: define_cleanup_function(type, cleaner)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - cleaner
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 27
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 27
    functionName: call_cleaner
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 8
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: call_cleaner(cleaner)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - fd
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 35
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 35
    functionName: close_prot_errno_disarm
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 10
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: close_prot_errno_disarm(fd)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - fd
    - ','
    - new_fd
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 44
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 44
    functionName: close_prot_errno_move
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: close_prot_errno_move(fd, new_fd)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/memory_utils.h:47,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 48
      start: 45
    functionDepth: 1
    functionLinenumber: 45
    functionLinenumberEnd: 48
    functionName: close_prot_errno_disarm_function
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void close_prot_errno_disarm_function(int *fd)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - ptr
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 64
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 64
    functionName: free_disarm
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 3
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: free_disarm(ptr)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/memory_utils.h:67,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 68
      start: 65
    functionDepth: 1
    functionLinenumber: 65
    functionLinenumberEnd: 68
    functionName: free_disarm_function
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: void
    signature: void free_disarm_function(void *ptr)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: IS_ERR
      Src: /src/lxc/src/lxc/memory_utils.h:73,1
    - Dst: free
      Src: /src/lxc/src/lxc/memory_utils.h:75,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/memory_utils.h:76,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - list
    argTypes:
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 78
      start: 71
    functionDepth: 2
    functionLinenumber: 71
    functionLinenumberEnd: 78
    functionName: free_string_list
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 1
    functionsReached:
    - free_disarm
    - IS_ERR
    - free
    linkageType: ''
    returnType: void
    signature: void free_string_list(char **list)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/memory_utils.h:86,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/memory_utils.h:87,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - data
    - len
    argTypes:
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 88
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 88
    functionName: memdup
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 0
    functionsReached:
    - malloc
    - memcpy
    linkageType: ''
    returnType: void
    signature: void *memdup(const void *data, size_t len)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - __size__
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 91
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 91
    functionName: zalloc
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 8
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: zalloc(__size__)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - a
    - ','
    - b
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 97
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 97
    functionName: free_move_ptr
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: free_move_ptr(a, b)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - a
    - ','
    - b
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 103
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 103
    functionName: close_move_fd
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: close_move_fd(a, b)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - a
    - ','
    - b
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 112
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 112
    functionName: close_equal
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: close_equal(a, b)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - a
    - ','
    - b
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 120
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 120
    functionName: free_equal
    functionSourceFile: /src/lxc/src/lxc/memory_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: free_equal(a, b)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - c
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 85
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 85
    functionName: do_lxcapi_get_config_path
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: do_lxcapi_get_config_path(c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:99,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:99,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:99,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:100,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:101,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/lxccontainer.c:105,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - lxcpath
    - cname
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 106
      start: 92
    functionDepth: 1
    functionLinenumber: 92
    functionLinenumberEnd: 106
    functionName: config_file_exists
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strlen
    - strnprintf
    - file_exists
    - must_realloc
    linkageType: ''
    returnType: bool
    signature: bool config_file_exists(const char *lxcpath, const char *cname)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:132,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:132,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:132,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:133,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:134,1
    - Dst: open
      Src: /src/lxc/src/lxc/lxccontainer.c:138,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/lxccontainer.c:154,1
    - Dst: flock
      Src: /src/lxc/src/lxc/lxccontainer.c:156,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 168
      start: 124
    functionDepth: 1
    functionLinenumber: 124
    functionLinenumberEnd: 168
    functionName: ongoing_create
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - open
    - must_realloc
    - flock
    - strlen
    - strnprintf
    - fcntl
    linkageType: ''
    returnType: int
    signature: int ongoing_create(struct lxc_container *c)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: openat
      Src: /src/lxc/src/lxc/lxccontainer.c:176,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/lxccontainer.c:178,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/lxccontainer.c:183,1
    - Dst: flock
      Src: /src/lxc/src/lxc/lxccontainer.c:186,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/lxccontainer.c:188,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/lxccontainer.c:191,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:194,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/lxccontainer.c:195,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 2
    argNames:
    - fd_rootfs
    - c
    argTypes:
    - int
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 196
      start: 170
    functionDepth: 1
    functionLinenumber: 170
    functionLinenumberEnd: 196
    functionName: create_partial
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - openat
    - TRACE
    - fcntl
    - flock
    - syserror
    - move_fd
    linkageType: ''
    returnType: int
    signature: int create_partial(int fd_rootfs, struct lxc_container *c)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:204,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:207,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:207,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:207,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:208,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:209,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/lxccontainer.c:213,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:215,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 2
    argNames:
    - c
    - fd
    argTypes:
    - struct lxc_container*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 216
      start: 198
    functionDepth: 1
    functionLinenumber: 198
    functionLinenumberEnd: 216
    functionName: remove_partial
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - SYSERROR
    - must_realloc
    - unlink
    - strlen
    - strnprintf
    - close
    linkageType: ''
    returnType: void
    signature: void remove_partial(struct lxc_container *c, int fd)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:244,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:247,1
    - Dst: lxc_putlock
      Src: /src/lxc/src/lxc/lxccontainer.c:251,1
    - Dst: lxc_putlock
      Src: /src/lxc/src/lxc/lxccontainer.c:256,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:260,1
    - Dst: lxc_conf_free
      Src: /src/lxc/src/lxc/lxccontainer.c:264,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:268,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:271,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 272
      start: 239
    functionDepth: 1
    functionLinenumber: 239
    functionLinenumberEnd: 272
    functionName: lxc_container_free
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_conf_free
    - lxc_putlock
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_container_free(struct lxc_container *c)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:310,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:320,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 323
      start: 299
    functionDepth: 1
    functionLinenumber: 299
    functionLinenumberEnd: 323
    functionName: lxc_container_get
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 2
    functionsReached:
    - container_mem_unlock
    - container_mem_lock
    linkageType: ''
    returnType: int
    signature: int lxc_container_get(struct lxc_container *c)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:330,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:336,1
    - Dst: lxc_container_free
      Src: /src/lxc/src/lxc/lxccontainer.c:337,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:341,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 343
      start: 325
    functionDepth: 2
    functionLinenumber: 325
    functionLinenumberEnd: 343
    functionName: lxc_container_put
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 36
    functionsReached:
    - container_mem_unlock
    - container_mem_lock
    - lxc_container_free
    linkageType: ''
    returnType: int
    signature: int lxc_container_put(struct lxc_container *c)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:354,1
    - Dst: stat
      Src: /src/lxc/src/lxc/lxccontainer.c:360,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:367,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 369
      start: 345
    functionDepth: 1
    functionLinenumber: 345
    functionLinenumberEnd: 369
    functionName: do_lxcapi_is_defined
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - container_mem_unlock
    - container_mem_lock
    - stat
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_is_defined(struct lxc_container *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - rettype
    - ','
    - fnname
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 388
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 388
    functionName: WRAP_API
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: WRAP_API(rettype, fnname)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - rettype
    - ','
    - fnname
    - ','
    - t1
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 406
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 406
    functionName: WRAP_API_1
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: WRAP_API_1(rettype, fnname, t1)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - rettype
    - ','
    - fnname
    - ','
    - t1
    - ','
    - t2
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 424
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 424
    functionName: WRAP_API_2
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: WRAP_API_2(rettype, fnname, t1, t2)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 11
    argNames:
    - (
    - rettype
    - ','
    - fnname
    - ','
    - t1
    - ','
    - t2
    - ','
    - t3
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 442
      start: 425
    functionDepth: 0
    functionLinenumber: 425
    functionLinenumberEnd: 442
    functionName: WRAP_API_3
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: WRAP_API_3(rettype, fnname, t1, t2, t3)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 15
    argNames:
    - (
    - rettype
    - ','
    - fnname
    - ','
    - t1
    - ','
    - t2
    - ','
    - t3
    - ','
    - t4
    - ','
    - t5
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 461
      start: 443
    functionDepth: 0
    functionLinenumber: 443
    functionLinenumberEnd: 461
    functionName: WRAP_API_5
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: WRAP_API_5(rettype, fnname, t1, t2, t3, t4, t5)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 17
    argNames:
    - (
    - rettype
    - ','
    - fnname
    - ','
    - t1
    - ','
    - t2
    - ','
    - t3
    - ','
    - t4
    - ','
    - t5
    - ','
    - t6
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 480
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 480
    functionName: WRAP_API_6
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: WRAP_API_6(rettype, fnname, t1, t2, t3, t4, t5, t6)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_getstate
      Src: /src/lxc/src/lxc/lxccontainer.c:490,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/lxccontainer.c:491,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 492
      start: 483
    functionDepth: 2
    functionLinenumber: 483
    functionLinenumberEnd: 492
    functionName: do_lxcapi_state
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_getstate
    - lxc_state2str
    linkageType: ''
    returnType: char
    signature: char *do_lxcapi_state(struct lxc_container *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_getstate
      Src: /src/lxc/src/lxc/lxccontainer.c:500,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 502
      start: 496
    functionDepth: 2
    functionLinenumber: 496
    functionLinenumberEnd: 502
    functionName: is_stopped
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_getstate
    linkageType: ''
    returnType: bool
    signature: bool is_stopped(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: is_stopped
      Src: /src/lxc/src/lxc/lxccontainer.c:509,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 510
      start: 504
    functionDepth: 3
    functionLinenumber: 504
    functionLinenumberEnd: 510
    functionName: do_lxcapi_is_running
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - is_stopped
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_is_running(struct lxc_container *c)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_getstate
      Src: /src/lxc/src/lxc/lxccontainer.c:522,1
    - Dst: cgroup_freeze
      Src: /src/lxc/src/lxc/lxccontainer.c:524,1
    - Dst: lxc_freeze
      Src: /src/lxc/src/lxc/lxccontainer.c:526,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 530
      start: 514
    functionDepth: 3
    functionLinenumber: 514
    functionLinenumberEnd: 530
    functionName: do_lxcapi_freeze
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - cgroup_freeze
    - lxc_freeze
    - lxc_getstate
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_freeze(struct lxc_container *c)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_getstate
      Src: /src/lxc/src/lxc/lxccontainer.c:542,1
    - Dst: cgroup_unfreeze
      Src: /src/lxc/src/lxc/lxccontainer.c:552,1
    - Dst: lxc_unfreeze
      Src: /src/lxc/src/lxc/lxccontainer.c:554,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 559
      start: 534
    functionDepth: 3
    functionLinenumber: 534
    functionLinenumberEnd: 559
    functionName: do_lxcapi_unfreeze
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - cgroup_unfreeze
    - lxc_getstate
    - lxc_unfreeze
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_unfreeze(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_getfd
      Src: /src/lxc/src/lxc/lxccontainer.c:568,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - c
    - ttynum
    - ptxfd
    argTypes:
    - struct lxc_container*
    - int*
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 569
      start: 563
    functionDepth: 1
    functionLinenumber: 563
    functionLinenumberEnd: 569
    functionName: do_lxcapi_console_getfd
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_getfd
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_console_getfd(struct lxc_container *c, int *ttynum, int
      *ptxfd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_console
      Src: /src/lxc/src/lxc/lxccontainer.c:582,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 6
    argNames:
    - c
    - ttynum
    - stdinfd
    - stdoutfd
    - stderrfd
    - escape
    argTypes:
    - struct lxc_container*
    - int
    - int
    - int
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 586
      start: 573
    functionDepth: 1
    functionLinenumber: 573
    functionLinenumberEnd: 586
    functionName: lxcapi_console
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_console
    linkageType: ''
    returnType: int
    signature: "int lxcapi_console(struct lxc_container *c, int ttynum, int stdinfd,\n\t\t\t
      \ int stdoutfd, int stderrfd, int escape)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_console_log
      Src: /src/lxc/src/lxc/lxccontainer.c:595,1
    - Dst: do_lxcapi_get_config_path
      Src: /src/lxc/src/lxc/lxccontainer.c:595,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/lxccontainer.c:598,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/lxccontainer.c:600,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/lxccontainer.c:602,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/lxccontainer.c:604,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:606,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 2
    argNames:
    - c
    - log
    argTypes:
    - struct lxc_container*
    - struct lxc_console_log*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 610
      start: 588
    functionDepth: 1
    functionLinenumber: 588
    functionLinenumberEnd: 610
    functionName: do_lxcapi_console_log
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - NOTICE
    - ERROR
    - do_lxcapi_get_config_path
    - lxc_cmd_console_log
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_console_log(struct lxc_container *c, struct lxc_console_log
      *log)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_get_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:619,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 620
      start: 614
    functionDepth: 1
    functionLinenumber: 614
    functionLinenumberEnd: 620
    functionName: do_lxcapi_init_pid
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_init_pid
    linkageType: ''
    returnType: pid_t
    signature: pid_t do_lxcapi_init_pid(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:627,1
    - Dst: lxc_cmd_get_init_pidfd
      Src: /src/lxc/src/lxc/lxccontainer.c:629,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 630
      start: 624
    functionDepth: 1
    functionLinenumber: 624
    functionLinenumberEnd: 630
    functionName: do_lxcapi_init_pidfd
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_cmd_get_init_pidfd
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_init_pidfd(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:637,1
    - Dst: lxc_cmd_get_devpts_fd
      Src: /src/lxc/src/lxc/lxccontainer.c:639,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 640
      start: 634
    functionDepth: 1
    functionLinenumber: 634
    functionLinenumberEnd: 640
    functionName: do_lxcapi_devpts_fd
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_devpts_fd
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_devpts_fd(struct lxc_container *c)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_conf_init
      Src: /src/lxc/src/lxc/lxccontainer.c:647,1
    - Dst: lxc_config_read
      Src: /src/lxc/src/lxc/lxccontainer.c:652,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - c
    - fname
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 657
      start: 644
    functionDepth: 1
    functionLinenumber: 644
    functionLinenumberEnd: 657
    functionName: load_config_locked
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_conf_init
    - lxc_config_read
    linkageType: ''
    returnType: bool
    signature: bool load_config_locked(struct lxc_container *c, const char *fname)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:680,1
    - Dst: container_disk_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:684,1
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:686,1
    - Dst: load_config_locked
      Src: /src/lxc/src/lxc/lxccontainer.c:690,1
    - Dst: container_disk_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:693,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:695,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 2
    argNames:
    - c
    - alt_file
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 698
      start: 659
    functionDepth: 2
    functionLinenumber: 659
    functionLinenumberEnd: 698
    functionName: do_lxcapi_load_config
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - container_disk_lock
    - container_disk_unlock
    - container_mem_unlock
    - strequal
    - load_config_locked
    - container_mem_lock
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_load_config(struct lxc_container *c, const char *alt_file)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:707,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:712,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - c
    - state
    argTypes:
    - struct lxc_container*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 715
      start: 702
    functionDepth: 1
    functionLinenumber: 702
    functionLinenumberEnd: 715
    functionName: do_lxcapi_want_daemonize
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - container_mem_unlock
    - container_mem_lock
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_want_daemonize(struct lxc_container *c, bool state)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:724,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:729,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - c
    - state
    argTypes:
    - struct lxc_container*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 732
      start: 719
    functionDepth: 1
    functionLinenumber: 719
    functionLinenumberEnd: 732
    functionName: do_lxcapi_want_close_all_fds
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - container_mem_unlock
    - container_mem_lock
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_want_close_all_fds(struct lxc_container *c, bool state)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_wait
      Src: /src/lxc/src/lxc/lxccontainer.c:744,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - c
    - state
    - timeout
    argTypes:
    - struct lxc_container*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 746
      start: 736
    functionDepth: 4
    functionLinenumber: 736
    functionLinenumberEnd: 746
    functionName: do_lxcapi_wait
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_wait
    linkageType: ''
    returnType: bool
    signature: "bool do_lxcapi_wait(struct lxc_container *c, const char *state,\n\t\t\t
      \  int timeout)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/lxc/src/lxc/lxccontainer.c:756,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/lxccontainer.c:760,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:761,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:764,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 773
      start: 750
    functionDepth: 1
    functionLinenumber: 750
    functionLinenumberEnd: 773
    functionName: am_single_threaded
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - opendir
    - readdir
    - strequal
    linkageType: ''
    returnType: bool
    signature: bool am_single_threaded(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:783,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:785,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - argv
    argTypes:
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 786
      start: 775
    functionDepth: 0
    functionLinenumber: 775
    functionLinenumberEnd: 786
    functionName: free_init_cmd
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void free_init_cmd(char **argv)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_rcv_credential
      Src: /src/lxc/src/lxc/lxccontainer.c:795,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:800,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state_socket
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 805
      start: 788
    functionDepth: 1
    functionLinenumber: 788
    functionLinenumberEnd: 805
    functionName: lxc_rcv_status
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_rcv_credential
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_rcv_status(int state_socket)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:814,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/lxccontainer.c:816,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/lxccontainer.c:818,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/lxccontainer.c:821,1
    - Dst: lxc_rcv_status
      Src: /src/lxc/src/lxc/lxccontainer.c:823,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/lxccontainer.c:826,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:829,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:837,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/lxccontainer.c:838,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:842,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 2
    argNames:
    - handler
    - pid
    argTypes:
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 844
      start: 807
    functionDepth: 2
    functionLinenumber: 807
    functionLinenumberEnd: 844
    functionName: wait_on_daemonized_start
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - ERROR
    - lxc_rcv_status
    - lxc_state2str
    - TRACE
    - close_prot_errno_disarm
    - DEBUG
    - SYSERROR
    linkageType: ''
    returnType: bool
    signature: bool wait_on_daemonized_start(struct lxc_handler *handler, int pid)
  - BBCount: 42
    BranchProfiles: []
    Callsites:
    - Dst: ongoing_create
      Src: /src/lxc/src/lxc/lxccontainer.c:869,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:872,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:875,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:878,1
    - Dst: do_lxcapi_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:879,1
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:883,1
    - Dst: lxc_init_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:889,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:891,1
    - Dst: lxc_string_split_quoted
      Src: /src/lxc/src/lxc/lxccontainer.c:901,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:907,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:908,1
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:923,1
    - Dst: free_init_cmd
      Src: /src/lxc/src/lxc/lxccontainer.c:925,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:926,1
    - Dst: wait_on_daemonized_start
      Src: /src/lxc/src/lxc/lxccontainer.c:940,1
    - Dst: free_init_cmd
      Src: /src/lxc/src/lxc/lxccontainer.c:942,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:943,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:953,1
    - Dst: setproctitle
      Src: /src/lxc/src/lxc/lxccontainer.c:955,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:957,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:959,1
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:966,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:968,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:969,1
    - Dst: free_init_cmd
      Src: /src/lxc/src/lxc/lxccontainer.c:974,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:975,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:976,1
    - Dst: chdir
      Src: /src/lxc/src/lxc/lxccontainer.c:982,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:984,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:985,1
    - Dst: inherit_fds
      Src: /src/lxc/src/lxc/lxccontainer.c:988,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:990,1
    - Dst: null_stdfds
      Src: /src/lxc/src/lxc/lxccontainer.c:993,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:995,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:996,1
    - Dst: setsid
      Src: /src/lxc/src/lxc/lxccontainer.c:1000,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:1002,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/lxccontainer.c:1002,1
    - Dst: am_single_threaded
      Src: /src/lxc/src/lxc/lxccontainer.c:1003,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1004,1
    - Dst: free_init_cmd
      Src: /src/lxc/src/lxc/lxccontainer.c:1005,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:1006,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/lxccontainer.c:1015,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1017,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/lxccontainer.c:1017,1
    - Dst: free_init_cmd
      Src: /src/lxc/src/lxc/lxccontainer.c:1019,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:1020,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1022,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1025,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/lxccontainer.c:1030,1
    - Dst: free_init_cmd
      Src: /src/lxc/src/lxc/lxccontainer.c:1032,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:1033,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1035,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1038,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/lxccontainer.c:1048,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1050,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:1051,1
    - Dst: mount
      Src: /src/lxc/src/lxc/lxccontainer.c:1056,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1058,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:1059,1
    - Dst: lxc_init_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:1068,1
    - Dst: inherit_fds
      Src: /src/lxc/src/lxc/lxccontainer.c:1075,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/lxccontainer.c:1077,1
    - Dst: lxc_execute
      Src: /src/lxc/src/lxc/lxccontainer.c:1083,1
    - Dst: lxc_start
      Src: /src/lxc/src/lxc/lxccontainer.c:1086,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:1090,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/lxccontainer.c:1097,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1098,1
    - Dst: free_init_cmd
      Src: /src/lxc/src/lxc/lxccontainer.c:1101,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1104,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1106,1
    CyclomaticComplexity: 46
    EdgeCount: 46
    ICount: 174
    argCount: 3
    argNames:
    - c
    - useinit
    - argv
    argTypes:
    - struct lxc_container*
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1112
      start: 846
    functionDepth: 3
    functionLinenumber: 846
    functionLinenumberEnd: 1112
    functionName: do_lxcapi_start
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - fork
    - setsid
    - do_lxcapi_destroy
    - TRACE
    - _exit
    - lxc_write_to_file
    - chdir
    - free_init_cmd
    - container_mem_lock
    - free
    - mount
    - lxc_execute
    - lxc_init_handler
    - lxc_string_split_quoted
    - am_single_threaded
    - inherit_fds
    - ERROR
    - setproctitle
    - container_mem_unlock
    - wait_on_daemonized_start
    - unshare
    - unlink
    - strnprintf
    - SYSERROR
    - null_stdfds
    - lxc_put_handler
    - lxc_start
    - lxc_raw_getpid
    - INTTYPE_TO_STRLEN
    - ongoing_create
    - INFO
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_start(struct lxc_container *c, int useinit, char * const
      argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_start
      Src: /src/lxc/src/lxc/lxccontainer.c:1120,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 3
    argNames:
    - c
    - useinit
    - argv
    argTypes:
    - struct lxc_container*
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1124
      start: 1114
    functionDepth: 4
    functionLinenumber: 1114
    functionLinenumberEnd: 1124
    functionName: lxcapi_start
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - do_lxcapi_start
    linkageType: ''
    returnType: bool
    signature: "bool lxcapi_start(struct lxc_container *c, int useinit,\n\t\t\t char
      *const argv[])"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/lxc/src/lxc/lxccontainer.c:1139,1
    - Dst: lxc_va_arg_list_to_argv
      Src: /src/lxc/src/lxc/lxccontainer.c:1140,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/lxccontainer.c:1141,1
    - Dst: do_lxcapi_start
      Src: /src/lxc/src/lxc/lxccontainer.c:1146,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1153,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1154,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 2
    argNames:
    - c
    - useinit
    argTypes:
    - struct lxc_container*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1160
      start: 1127
    functionDepth: 4
    functionLinenumber: 1127
    functionLinenumberEnd: 1160
    functionName: lxcapi_startl
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - free
    - va_start
    - do_lxcapi_start
    - va_end
    - lxc_va_arg_list_to_argv
    linkageType: ''
    returnType: bool
    signature: bool lxcapi_startl(struct lxc_container *c, int useinit, ...)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_stop
      Src: /src/lxc/src/lxc/lxccontainer.c:1169,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1172
      start: 1162
    functionDepth: 1
    functionLinenumber: 1162
    functionLinenumberEnd: 1172
    functionName: do_lxcapi_stop
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_stop
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_stop(struct lxc_container *c)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: umask
      Src: /src/lxc/src/lxc/lxccontainer.c:1181,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/lxccontainer.c:1182,1
    - Dst: umask
      Src: /src/lxc/src/lxc/lxccontainer.c:1183,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/lxccontainer.c:1187,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/lxccontainer.c:1189,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/lxccontainer.c:1191,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/lxccontainer.c:1192,1
    - Dst: userns_exec_mapped_root
      Src: /src/lxc/src/lxc/lxccontainer.c:1194,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/lxccontainer.c:1196,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/lxccontainer.c:1198,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 2
    argNames:
    - path
    - conf
    argTypes:
    - char*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1199
      start: 1176
    functionDepth: 1
    functionLinenumber: 1176
    functionLinenumberEnd: 1199
    functionName: do_create_container_dir
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - userns_exec_mapped_root
    - open_at
    - list_empty
    - mkdir
    - syserror_ret
    - syserror
    - move_fd
    - umask
    linkageType: ''
    returnType: int
    signature: int do_create_container_dir(const char *path, struct lxc_conf *conf)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1208,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1208,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1209,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:1211,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1213,1
    - Dst: do_create_container_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:1217,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1218
      start: 1202
    functionDepth: 2
    functionLinenumber: 1202
    functionLinenumberEnd: 1218
    functionName: create_container_dir
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - malloc
    - ret_errno
    - strlen
    - strnprintf
    - do_create_container_dir
    linkageType: ''
    returnType: int
    signature: int create_container_dir(struct lxc_container *c)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: access
      Src: /src/lxc/src/lxc/lxccontainer.c:1234,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1236,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1237,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1238,1
    - Dst: do_lxcapi_get_config_path
      Src: /src/lxc/src/lxc/lxccontainer.c:1240,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1241,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1241,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1241,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1242,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1243,1
    - Dst: storage_create
      Src: /src/lxc/src/lxc/lxccontainer.c:1248,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1250,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/lxccontainer.c:1254,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1255,1
    - Dst: storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:1256,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:1263,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/lxccontainer.c:1263,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/lxccontainer.c:1264,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1266,1
    - Dst: suggest_default_idmap
      Src: /src/lxc/src/lxc/lxccontainer.c:1267,1
    - Dst: storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:1268,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 32
    argCount: 3
    argNames:
    - c
    - type
    - specs
    argTypes:
    - struct lxc_container*
    - char*
    - struct bdev_specs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1274
      start: 1223
    functionDepth: 1
    functionLinenumber: 1223
    functionLinenumberEnd: 1274
    functionName: do_storage_create
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - storage_create
    - access
    - list_empty
    - am_guest_unpriv
    - chown_mapped_root
    - suggest_default_idmap
    - do_lxcapi_get_config_path
    - must_realloc
    - struct lxc_container*::set_config_item
    - strlen
    - strnprintf
    - storage_put
    linkageType: ''
    returnType: struct lxc_storage
    signature: "struct lxc_storage *do_storage_create(struct lxc_container *c,\n\t\t\t\t\t
      \    const char *type,\n\t\t\t\t\t     struct bdev_specs *specs)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1281,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - tpath
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1286
      start: 1277
    functionDepth: 0
    functionLinenumber: 1277
    functionLinenumberEnd: 1286
    functionName: lxctemplatefilename
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strlen
    linkageType: ''
    returnType: char
    signature: char *lxctemplatefilename(char *tpath)
  - BBCount: 47
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:1297,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1299,1
    - Dst: null_stdfds
      Src: /src/lxc/src/lxc/lxccontainer.c:1313,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1315,1
    - Dst: lxc_storage_prepare
      Src: /src/lxc/src/lxc/lxccontainer.c:1318,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1320,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1321,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/lxccontainer.c:1325,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/lxccontainer.c:1327,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1329,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1330,1
    - Dst: detect_shared_rootfs
      Src: /src/lxc/src/lxc/lxccontainer.c:1333,1
    - Dst: mount
      Src: /src/lxc/src/lxc/lxccontainer.c:1333,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1334,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:1337,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:1337,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1339,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1341,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:1344,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:1345,1
    - Dst: ovl_get_rootfs
      Src: /src/lxc/src/lxc/lxccontainer.c:1365,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1367,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1368,1
    - Dst: mount
      Src: /src/lxc/src/lxc/lxccontainer.c:1371,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1373,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1374,1
    - Dst: struct lxc_storage*::ops::mount
      Src: /src/lxc/src/lxc/lxccontainer.c:1377,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1379,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1380,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1385,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/lxccontainer.c:1386,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:1387,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1400,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1402,1
    - Dst: lxctemplatefilename
      Src: /src/lxc/src/lxc/lxccontainer.c:1403,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1406,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1406,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1406,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1407,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1409,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1411,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1413,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1417,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1417,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1418,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1420,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1422,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1424,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1428,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:1428,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1429,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1431,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1433,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1435,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1445,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1447,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/lxccontainer.c:1455,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1462,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1464,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/lxccontainer.c:1470,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1472,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1474,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1477,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1479,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1481,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1485,1
    - Dst: mapped_hostid
      Src: /src/lxc/src/lxc/lxccontainer.c:1488,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/lxccontainer.c:1488,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1491,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1493,1
    - Dst: find_unmapped_nsid
      Src: /src/lxc/src/lxc/lxccontainer.c:1496,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1499,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1500,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1503,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1505,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1506,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1509,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/lxccontainer.c:1510,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1512,1
    - Dst: mapped_hostid
      Src: /src/lxc/src/lxc/lxccontainer.c:1515,1
    - Dst: getegid
      Src: /src/lxc/src/lxc/lxccontainer.c:1515,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1518,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1520,1
    - Dst: find_unmapped_nsid
      Src: /src/lxc/src/lxc/lxccontainer.c:1523,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1526,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1527,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1530,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1532,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1533,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1536,1
    - Dst: getegid
      Src: /src/lxc/src/lxc/lxccontainer.c:1537,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1539,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1552,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1554,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1559,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1561,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1562,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1563,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1565,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1567,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1568,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1569,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1575,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1577,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1578,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1579,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1581,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1583,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1584,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1585,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1590,1
    - Dst: execvp
      Src: /src/lxc/src/lxc/lxccontainer.c:1594,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1595,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1596,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:1599,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1601,1
    CyclomaticComplexity: 52
    EdgeCount: 52
    ICount: 210
    argCount: 4
    argNames:
    - c
    - tpath
    - need_null_stdfds
    - argv
    argTypes:
    - struct lxc_container*
    - char*
    - bool
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1606
      start: 1288
    functionDepth: 3
    functionLinenumber: 1288
    functionLinenumberEnd: 1606
    functionName: create_run_template
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - execvp
    - _exit
    - free
    - mount
    - list_empty
    - strequal
    - lxc_storage_get_path
    - lxc_storage_prepare
    - lxctemplatefilename
    - strdup
    - strlen
    - malloc
    - realloc
    - ERROR
    - list_for_each_entry
    - find_unmapped_nsid
    - geteuid
    - ovl_get_rootfs
    - unshare
    - struct lxc_storage*::ops::mount
    - strnprintf
    - SYSERROR
    - null_stdfds
    - wait_for_pid
    - detect_shared_rootfs
    - mapped_hostid
    - fork
    - getegid
    linkageType: ''
    returnType: bool
    signature: "bool create_run_template(struct lxc_container *c, char *tpath,\n\t\t\t\tbool
      need_null_stdfds, char *const argv[])"
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:1621,1
    - Dst: fseek
      Src: /src/lxc/src/lxc/lxccontainer.c:1625,1
    - Dst: ftell
      Src: /src/lxc/src/lxc/lxccontainer.c:1630,1
    - Dst: fseek
      Src: /src/lxc/src/lxc/lxccontainer.c:1634,1
    - Dst: fseek
      Src: /src/lxc/src/lxc/lxccontainer.c:1638,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:1643,1
    - Dst: fread
      Src: /src/lxc/src/lxc/lxccontainer.c:1647,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:1653,1
    - Dst: get_template_path
      Src: /src/lxc/src/lxc/lxccontainer.c:1659,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1661,1
    - Dst: sha1sum_file
      Src: /src/lxc/src/lxc/lxccontainer.c:1665,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1667,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1668,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1671,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:1674,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1676,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1677,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1681,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1683,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1685,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1688,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1692,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1694,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1695,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1697,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1698,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1699,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:1700,1
    - Dst: fwrite
      Src: /src/lxc/src/lxc/lxccontainer.c:1701,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1703,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1704,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:1705,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:1712,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:1717,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1723,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 96
    argCount: 3
    argNames:
    - path
    - t
    - argv
    argTypes:
    - char*
    - char*
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1728
      start: 1608
    functionDepth: 3
    functionLinenumber: 1608
    functionLinenumberEnd: 1728
    functionName: prepend_lxc_header
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - malloc
    - get_template_path
    - ERROR
    - fprintf
    - sha1sum_file
    - fread
    - free
    - fwrite
    - fopen
    - fclose
    - SYSERROR
    - ftell
    - fseek
    linkageType: ''
    returnType: bool
    signature: bool prepend_lxc_header(char *path, const char *t, char *const argv[])
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_conf_free
      Src: /src/lxc/src/lxc/lxccontainer.c:1735,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1737
      start: 1730
    functionDepth: 1
    functionLinenumber: 1730
    functionLinenumberEnd: 1737
    functionName: lxcapi_clear_config
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_conf_free
    linkageType: ''
    returnType: void
    signature: void lxcapi_clear_config(struct lxc_container *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - c
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1740
      start: 1739
    functionDepth: 0
    functionLinenumber: 1739
    functionLinenumberEnd: 1740
    functionName: do_lxcapi_clear_config
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: do_lxcapi_clear_config(c)
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: get_template_path
      Src: /src/lxc/src/lxc/lxccontainer.c:1770,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxccontainer.c:1772,1
    - Dst: do_lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:1779,1
    - Dst: access
      Src: /src/lxc/src/lxc/lxccontainer.c:1780,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxccontainer.c:1781,1
    - Dst: do_lxcapi_load_config
      Src: /src/lxc/src/lxc/lxccontainer.c:1785,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/lxccontainer.c:1785,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxccontainer.c:1786,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/lxccontainer.c:1787,1
    - Dst: create_container_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:1789,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxccontainer.c:1791,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/lxc/lxccontainer.c:1802,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1803,1
    - Dst: access
      Src: /src/lxc/src/lxc/lxccontainer.c:1812,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1813,1
    - Dst: do_lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:1817,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/lxc/lxccontainer.c:1821,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1822,1
    - Dst: create_partial
      Src: /src/lxc/src/lxc/lxccontainer.c:1829,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1831,1
    - Dst: umask
      Src: /src/lxc/src/lxc/lxccontainer.c:1837,1
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:1845,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1847,1
    - Dst: do_storage_create
      Src: /src/lxc/src/lxc/lxccontainer.c:1854,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1856,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1858,1
    - Dst: do_lxcapi_save_config
      Src: /src/lxc/src/lxc/lxccontainer.c:1862,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1863,1
    - Dst: struct lxc_storage*::ops::umount
      Src: /src/lxc/src/lxc/lxccontainer.c:1867,1
    - Dst: struct lxc_storage*::ops::destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:1868,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1869,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:1872,1
    - Dst: wait_exited
      Src: /src/lxc/src/lxc/lxccontainer.c:1875,1
    - Dst: lxc_conf_free
      Src: /src/lxc/src/lxc/lxccontainer.c:1879,1
    - Dst: load_config_locked
      Src: /src/lxc/src/lxc/lxccontainer.c:1882,1
    - Dst: create_run_template
      Src: /src/lxc/src/lxc/lxccontainer.c:1885,1
    - Dst: do_lxcapi_clear_config
      Src: /src/lxc/src/lxc/lxccontainer.c:1891,1
    - Dst: prepend_lxc_header
      Src: /src/lxc/src/lxc/lxccontainer.c:1894,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:1895,1
    - Dst: load_config_locked
      Src: /src/lxc/src/lxc/lxccontainer.c:1900,1
    - Dst: umask
      Src: /src/lxc/src/lxc/lxccontainer.c:1903,1
    - Dst: remove_partial
      Src: /src/lxc/src/lxc/lxccontainer.c:1904,1
    - Dst: container_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:1916,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 99
    argCount: 6
    argNames:
    - c
    - t
    - bdevtype
    - specs
    - flags
    - argv
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - struct bdev_specs*
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1921
      start: 1755
    functionDepth: 4
    functionLinenumber: 1755
    functionLinenumberEnd: 1921
    functionName: __lxcapi_create
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - create_partial
    - log_error
    - prepend_lxc_header
    - load_config_locked
    - _exit
    - do_lxcapi_clear_config
    - do_lxcapi_load_config
    - get_template_path
    - do_lxcapi_is_defined
    - create_container_dir
    - do_lxcapi_save_config
    - create_run_template
    - struct lxc_container*::save_config
    - ERROR
    - wait_exited
    - SYSERROR
    - remove_partial
    - container_destroy
    - umask
    - access
    - struct lxc_storage*::ops::destroy
    - lxc_conf_free
    - do_storage_create
    - fork
    - lxc_global_config_value
    - struct lxc_storage*::ops::umount
    linkageType: ''
    returnType: bool
    signature: "bool __lxcapi_create(struct lxc_container *c, const char *t,\n\t\t\t
      \   const char *bdevtype, struct bdev_specs *specs,\n\t\t\t    int flags, char
      *const argv[])"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxcapi_create
      Src: /src/lxc/src/lxc/lxccontainer.c:1927,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 6
    argNames:
    - c
    - t
    - bdevtype
    - specs
    - flags
    - argv
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - struct bdev_specs*
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1928
      start: 1923
    functionDepth: 5
    functionLinenumber: 1923
    functionLinenumberEnd: 1928
    functionName: do_lxcapi_create
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - __lxcapi_create
    linkageType: ''
    returnType: bool
    signature: "bool do_lxcapi_create(struct lxc_container *c, const char *t,\n\t\t\t
      \    const char *bdevtype, struct bdev_specs *specs,\n\t\t\t     int flags,
      char *const argv[])"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_is_running
      Src: /src/lxc/src/lxc/lxccontainer.c:1943,1
    - Dst: do_lxcapi_init_pidfd
      Src: /src/lxc/src/lxc/lxccontainer.c:1946,1
    - Dst: do_lxcapi_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:1948,1
    - Dst: lxc_raw_pidfd_send_signal
      Src: /src/lxc/src/lxc/lxccontainer.c:1957,1
    - Dst: kill
      Src: /src/lxc/src/lxc/lxccontainer.c:1959,1
    - Dst: log_warn
      Src: /src/lxc/src/lxc/lxccontainer.c:1961,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1965
      start: 1933
    functionDepth: 4
    functionLinenumber: 1933
    functionLinenumberEnd: 1965
    functionName: do_lxcapi_reboot
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - do_lxcapi_init_pidfd
    - do_lxcapi_is_running
    - kill
    - do_lxcapi_init_pid
    - log_warn
    - lxc_raw_pidfd_send_signal
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_reboot(struct lxc_container *c)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_is_running
      Src: /src/lxc/src/lxc/lxccontainer.c:1980,1
    - Dst: do_lxcapi_init_pidfd
      Src: /src/lxc/src/lxc/lxccontainer.c:1983,1
    - Dst: do_lxcapi_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:1985,1
    - Dst: lxc_cmd_add_state_client
      Src: /src/lxc/src/lxc/lxccontainer.c:1998,1
    - Dst: lxc_raw_pidfd_send_signal
      Src: /src/lxc/src/lxc/lxccontainer.c:2015,1
    - Dst: kill
      Src: /src/lxc/src/lxc/lxccontainer.c:2017,1
    - Dst: log_warn
      Src: /src/lxc/src/lxc/lxccontainer.c:2019,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:2020,1
    - Dst: lxc_cmd_sock_rcv_state
      Src: /src/lxc/src/lxc/lxccontainer.c:2025,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:2029,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/lxccontainer.c:2029,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 40
    argCount: 2
    argNames:
    - c
    - timeout
    argTypes:
    - struct lxc_container*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2034
      start: 1969
    functionDepth: 4
    functionLinenumber: 1969
    functionLinenumberEnd: 2034
    functionName: do_lxcapi_reboot2
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - do_lxcapi_init_pidfd
    - do_lxcapi_is_running
    - kill
    - lxc_cmd_add_state_client
    - lxc_state2str
    - do_lxcapi_init_pid
    - log_warn
    - TRACE
    - lxc_raw_pidfd_send_signal
    - lxc_cmd_sock_rcv_state
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_reboot2(struct lxc_container *c, int timeout)
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_is_running
      Src: /src/lxc/src/lxc/lxccontainer.c:2049,1
    - Dst: do_lxcapi_init_pidfd
      Src: /src/lxc/src/lxc/lxccontainer.c:2052,1
    - Dst: do_lxcapi_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:2053,1
    - Dst: task_blocks_signal
      Src: /src/lxc/src/lxc/lxccontainer.c:2060,1
    - Dst: lxc_cmd_add_state_client
      Src: /src/lxc/src/lxc/lxccontainer.c:2070,1
    - Dst: lxc_raw_pidfd_send_signal
      Src: /src/lxc/src/lxc/lxccontainer.c:2091,1
    - Dst: log_warn
      Src: /src/lxc/src/lxc/lxccontainer.c:2094,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:2097,1
    - Dst: poll
      Src: /src/lxc/src/lxc/lxccontainer.c:2105,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:2109,1
    - Dst: kill
      Src: /src/lxc/src/lxc/lxccontainer.c:2112,1
    - Dst: log_warn
      Src: /src/lxc/src/lxc/lxccontainer.c:2114,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:2117,1
    - Dst: lxc_cmd_sock_rcv_state
      Src: /src/lxc/src/lxc/lxccontainer.c:2123,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:2127,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/lxccontainer.c:2127,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 51
    argCount: 2
    argNames:
    - c
    - timeout
    argTypes:
    - struct lxc_container*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2132
      start: 2038
    functionDepth: 4
    functionLinenumber: 2038
    functionLinenumberEnd: 2132
    functionName: do_lxcapi_shutdown
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - do_lxcapi_init_pidfd
    - do_lxcapi_is_running
    - kill
    - lxc_cmd_add_state_client
    - poll
    - lxc_state2str
    - task_blocks_signal
    - do_lxcapi_init_pid
    - log_warn
    - TRACE
    - lxc_raw_pidfd_send_signal
    - lxc_cmd_sock_rcv_state
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_shutdown(struct lxc_container *c, int timeout)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/lxc/src/lxc/lxccontainer.c:2152,1
    - Dst: lxc_va_arg_list_to_argv
      Src: /src/lxc/src/lxc/lxccontainer.c:2153,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/lxccontainer.c:2154,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2156,1
    - Dst: __lxcapi_create
      Src: /src/lxc/src/lxc/lxccontainer.c:2160,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:2163,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 5
    argNames:
    - c
    - t
    - bdevtype
    - specs
    - flags
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - struct bdev_specs*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2166
      start: 2136
    functionDepth: 5
    functionLinenumber: 2136
    functionLinenumberEnd: 2166
    functionName: lxcapi_createl
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - free
    - va_start
    - __lxcapi_create
    - va_end
    - lxc_va_arg_list_to_argv
    linkageType: ''
    returnType: bool
    signature: "bool lxcapi_createl(struct lxc_container *c, const char *t,\n\t\tconst
      char *bdevtype, struct bdev_specs *specs, int flags, ...)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2170,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:2171,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2173,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:2174,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2176,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:2177,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2180,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/lxccontainer.c:2185,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:2187,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2190,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:2191,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:2193,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 2
    argNames:
    - conf
    - key
    argTypes:
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2194
      start: 2168
    functionDepth: 1
    functionLinenumber: 2168
    functionLinenumberEnd: 2194
    functionName: do_clear_unexp_config_line
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - strnequal
    - strequal
    - clear_unexp_config_line
    linkageType: ''
    returnType: void
    signature: void do_clear_unexp_config_line(struct lxc_conf *conf, const char *key)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:2205,1
    - Dst: lxc_get_config
      Src: /src/lxc/src/lxc/lxccontainer.c:2208,1
    - Dst: struct lxc_config_t*::clr
      Src: /src/lxc/src/lxc/lxccontainer.c:2210,1
    - Dst: do_clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:2212,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:2214,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 2
    argNames:
    - c
    - key
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2216
      start: 2196
    functionDepth: 2
    functionLinenumber: 2196
    functionLinenumberEnd: 2216
    functionName: do_lxcapi_clear_config_item
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_get_config
    - container_mem_unlock
    - struct lxc_config_t*::clr
    - container_mem_lock
    - do_clear_unexp_config_line
    linkageType: ''
    returnType: bool
    signature: "bool do_lxcapi_clear_config_item(struct lxc_container *c,\n\t\t\t\t\tconst
      char *key)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:2223,1
    - Dst: try_switch_to_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:2228,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/lxccontainer.c:2230,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/lxccontainer.c:2230,1
    - Dst: access
      Src: /src/lxc/src/lxc/lxccontainer.c:2231,1
    - Dst: switch_to_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:2232,1
    - Dst: switch_to_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:2236,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2239
      start: 2220
    functionDepth: 2
    functionLinenumber: 2220
    functionLinenumberEnd: 2239
    functionName: enter_net_ns
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - switch_to_ns
    - try_switch_to_ns
    - access
    - list_empty
    - geteuid
    - do_lxcapi_init_pid
    linkageType: ''
    returnType: bool
    signature: bool enter_net_ns(struct lxc_container *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/lxccontainer.c:2244,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - first
    - second
    argTypes:
    - char**
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2245
      start: 2242
    functionDepth: 0
    functionLinenumber: 2242
    functionLinenumberEnd: 2245
    functionName: string_cmp
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: int string_cmp(char **first, char **second)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/lxccontainer.c:2251,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - first
    - second
    argTypes:
    - struct lxc_container**
    - struct lxc_container**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2252
      start: 2248
    functionDepth: 0
    functionLinenumber: 2248
    functionLinenumberEnd: 2252
    functionName: container_cmp
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: "int container_cmp(struct lxc_container **first,\n\t\t\t\tstruct lxc_container
      **second)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:2259,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:2263,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:2265,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lxccontainer.c:2267,1
    - Dst: qsort
      Src: /src/lxc/src/lxc/lxccontainer.c:2270,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 3
    argNames:
    - names
    - cname
    - pos
    argTypes:
    - char***
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2275
      start: 2254
    functionDepth: 1
    functionLinenumber: 2254
    functionLinenumberEnd: 2275
    functionName: add_to_array
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - realloc
    - move_ptr
    - qsort
    - strdup
    - ret_set_errno
    linkageType: ''
    returnType: bool
    signature: bool add_to_array(char ***names, char *cname, int pos)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:2282,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:2284,1
    - Dst: qsort
      Src: /src/lxc/src/lxc/lxccontainer.c:2290,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 4
    argNames:
    - list
    - c
    - pos
    - sort
    argTypes:
    - struct lxc_container***
    - struct lxc_container*
    - int
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2295
      start: 2277
    functionDepth: 1
    functionLinenumber: 2277
    functionLinenumberEnd: 2295
    functionName: add_to_clist
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - realloc
    - qsort
    - ret_set_errno
    linkageType: ''
    returnType: bool
    signature: "bool add_to_clist(struct lxc_container ***list, struct lxc_container
      *c,\n\t\t\t int pos, bool sort)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: bsearch
      Src: /src/lxc/src/lxc/lxccontainer.c:2302,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2304
      start: 2297
    functionDepth: 0
    functionLinenumber: 2297
    functionLinenumberEnd: 2304
    functionName: get_from_array
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - bsearch
    linkageType: ''
    returnType: char
    signature: char **get_from_array(char ***names, char *cname, int size)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: get_from_array
      Src: /src/lxc/src/lxc/lxccontainer.c:2308,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - names
    - cname
    - size
    argTypes:
    - char***
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2312
      start: 2306
    functionDepth: 1
    functionLinenumber: 2306
    functionLinenumberEnd: 2312
    functionName: array_contains
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - get_from_array
    linkageType: ''
    returnType: bool
    signature: bool array_contains(char ***names, char *cname, int size)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: pipe2
      Src: /src/lxc/src/lxc/lxccontainer.c:2321,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:2322,1
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:2324,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2326,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2327,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:2328,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/lxccontainer.c:2332,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2338,1
    - Dst: enter_net_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:2340,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2341,1
    - Dst: netns_getifaddrs
      Src: /src/lxc/src/lxc/lxccontainer.c:2346,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2347,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/lxccontainer.c:2354,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2365,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:2366,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2370,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/lxccontainer.c:2372,1
    - Dst: array_contains
      Src: /src/lxc/src/lxc/lxccontainer.c:2375,1
    - Dst: add_to_array
      Src: /src/lxc/src/lxc/lxccontainer.c:2378,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2379,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:2384,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:2386,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:2388,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2393,1
    - Dst: lxc_append_null_to_array
      Src: /src/lxc/src/lxc/lxccontainer.c:2397,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 54
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2400
      start: 2314
    functionDepth: 3
    functionLinenumber: 2314
    functionLinenumberEnd: 2400
    functionName: do_lxcapi_get_interfaces
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - enter_net_ns
    - wait_for_pid
    - SYSERROR
    - ERROR
    - lxc_append_null_to_array
    - call_cleaner
    - array_contains
    - free
    - netns_getifaddrs
    - lxc_read_nointr
    - add_to_array
    - log_error_errno
    - pipe2
    - _exit
    - fork
    - close
    - lxc_write_nointr
    linkageType: ''
    returnType: char
    signature: char **do_lxcapi_get_interfaces(struct lxc_container *c)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: pipe2
      Src: /src/lxc/src/lxc/lxccontainer.c:2414,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:2416,1
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:2418,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2420,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2421,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2422,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/lxccontainer.c:2427,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2435,1
    - Dst: enter_net_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:2437,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2438,1
    - Dst: netns_getifaddrs
      Src: /src/lxc/src/lxc/lxccontainer.c:2443,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2444,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2457,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2462,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2473,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2475,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/lxccontainer.c:2478,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/lxccontainer.c:2484,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2486,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2497,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:2498,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2502,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/lxccontainer.c:2504,1
    - Dst: add_to_array
      Src: /src/lxc/src/lxc/lxccontainer.c:2507,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2508,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:2513,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:2515,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:2517,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2522,1
    - Dst: lxc_append_null_to_array
      Src: /src/lxc/src/lxc/lxccontainer.c:2526,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 76
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2529
      start: 2404
    functionDepth: 3
    functionLinenumber: 2404
    functionLinenumberEnd: 2529
    functionName: do_lxcapi_get_ips
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - enter_net_ns
    - wait_for_pid
    - ERROR
    - lxc_append_null_to_array
    - call_cleaner
    - strequal
    - free
    - netns_getifaddrs
    - lxc_read_nointr
    - add_to_array
    - log_error_errno
    - inet_ntop
    - pipe2
    - _exit
    - fork
    - SYSERROR
    - lxc_write_nointr
    - close
    linkageType: ''
    returnType: char
    signature: "char **do_lxcapi_get_ips(struct lxc_container *c, const char *interface,\n\t\t\t\tconst
      char *family, int scope)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:2541,1
    - Dst: lxc_get_config
      Src: /src/lxc/src/lxc/lxccontainer.c:2544,1
    - Dst: struct lxc_config_t*::get
      Src: /src/lxc/src/lxc/lxccontainer.c:2546,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:2548,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 4
    argNames:
    - c
    - key
    - retv
    - inlen
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2550
      start: 2533
    functionDepth: 1
    functionLinenumber: 2533
    functionLinenumberEnd: 2550
    functionName: do_lxcapi_get_config_item
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - struct lxc_config_t*::get
    - container_mem_unlock
    - lxc_get_config
    - container_mem_lock
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_get_config_item(struct lxc_container *c, const char *key,
      char *retv, int inlen)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:2561,1
    - Dst: lxc_cmd_get_config_item
      Src: /src/lxc/src/lxc/lxccontainer.c:2564,1
    - Dst: do_lxcapi_get_config_path
      Src: /src/lxc/src/lxc/lxccontainer.c:2564,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:2565,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - c
    - key
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2567
      start: 2554
    functionDepth: 1
    functionLinenumber: 2554
    functionLinenumberEnd: 2567
    functionName: do_lxcapi_get_running_config_item
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_config_item
    - container_mem_unlock
    - container_mem_lock
    - do_lxcapi_get_config_path
    linkageType: ''
    returnType: char
    signature: char * do_lxcapi_get_running_config_item(struct lxc_container *c, const
      char *key)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_config_items
      Src: /src/lxc/src/lxc/lxccontainer.c:2577,1
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:2582,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2589,1
    - Dst: lxc_list_net
      Src: /src/lxc/src/lxc/lxccontainer.c:2590,1
    - Dst: lxc_list_subkeys
      Src: /src/lxc/src/lxc/lxccontainer.c:2592,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:2594,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 4
    argNames:
    - c
    - key
    - retv
    - inlen
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2596
      start: 2571
    functionDepth: 1
    functionLinenumber: 2571
    functionLinenumberEnd: 2596
    functionName: do_lxcapi_get_keys
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_list_config_items
    - container_mem_unlock
    - strnequal
    - lxc_list_net
    - container_mem_lock
    - lxc_list_subkeys
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_get_keys(struct lxc_container *c, const char *key, char
      *retv, int inlen)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxccontainer.c:2610,1
    - Dst: do_lxcapi_load_config
      Src: /src/lxc/src/lxc/lxccontainer.c:2614,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/lxccontainer.c:2614,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxccontainer.c:2615,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/lxccontainer.c:2616,1
    - Dst: create_container_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:2620,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxccontainer.c:2622,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2628,1
    - Dst: container_disk_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:2632,1
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:2634,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxccontainer.c:2636,1
    - Dst: open
      Src: /src/lxc/src/lxc/lxccontainer.c:2638,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2641,1
    - Dst: write_config
      Src: /src/lxc/src/lxc/lxccontainer.c:2645,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2647,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:2652,1
    - Dst: container_disk_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:2656,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:2658,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 40
    argCount: 2
    argNames:
    - c
    - alt_file
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2661
      start: 2600
    functionDepth: 3
    functionLinenumber: 2600
    functionLinenumberEnd: 2661
    functionName: do_lxcapi_save_config
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - do_lxcapi_load_config
    - container_disk_lock
    - open
    - SYSERROR
    - container_disk_unlock
    - log_error
    - container_mem_unlock
    - strequal
    - create_container_dir
    - TRACE
    - write_config
    - lxc_global_config_value
    - container_mem_lock
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_save_config(struct lxc_container *c, const char *alt_file)
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: container_disk_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:2679,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:2682,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:2686,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:2692,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/lxccontainer.c:2694,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:2695,1
    - Dst: remove
      Src: /src/lxc/src/lxc/lxccontainer.c:2697,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2699,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:2707,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:2711,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2712,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:2713,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:2717,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2719,1
    - Dst: open
      Src: /src/lxc/src/lxc/lxccontainer.c:2726,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/lxccontainer.c:2730,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:2730,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2732,1
    - Dst: open
      Src: /src/lxc/src/lxc/lxccontainer.c:2736,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/lxccontainer.c:2740,1
    - Dst: lxc_strmmap
      Src: /src/lxc/src/lxc/lxccontainer.c:2744,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2746,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:2750,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/lxccontainer.c:2751,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/lxccontainer.c:2752,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:2752,1
    - Dst: lxc_strmunmap
      Src: /src/lxc/src/lxc/lxccontainer.c:2756,1
    - Dst: ftruncate
      Src: /src/lxc/src/lxc/lxccontainer.c:2757,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2758,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/lxccontainer.c:2765,1
    - Dst: remove
      Src: /src/lxc/src/lxc/lxccontainer.c:2769,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2771,1
    - Dst: container_disk_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:2778,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 95
    argCount: 3
    argNames:
    - c0
    - c
    - inc
    argTypes:
    - struct lxc_container*
    - struct lxc_container*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2780
      start: 2666
    functionDepth: 1
    functionLinenumber: 2666
    functionLinenumberEnd: 2780
    functionName: mod_rdep
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_strmunmap
    - fstat
    - remove
    - open
    - lxc_strmmap
    - fprintf
    - fopen
    - strlen
    - memmove
    - lxc_write_nointr
    - container_disk_lock
    - ERROR
    - fscanf
    - ftruncate
    - strnprintf
    - fclose
    - SYSERROR
    - container_disk_unlock
    - strstr
    linkageType: ''
    returnType: bool
    signature: bool mod_rdep(struct lxc_container *c0, struct lxc_container *c, bool
      inc)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:2791,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2794,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:2798,1
    - Dst: getline
      Src: /src/lxc/src/lxc/lxccontainer.c:2802,1
    - Dst: getline
      Src: /src/lxc/src/lxc/lxccontainer.c:2803,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2804,1
    - Dst: remove_trailing_newlines
      Src: /src/lxc/src/lxc/lxccontainer.c:2808,1
    - Dst: remove_trailing_newlines
      Src: /src/lxc/src/lxc/lxccontainer.c:2809,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/lxccontainer.c:2811,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2812,1
    - Dst: mod_rdep
      Src: /src/lxc/src/lxc/lxccontainer.c:2817,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2818,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:2821,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 2
    argNames:
    - c
    - inc
    argTypes:
    - struct lxc_container*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2823
      start: 2782
    functionDepth: 3
    functionLinenumber: 2782
    functionLinenumberEnd: 2823
    functionName: mod_all_rdeps
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - getline
    - mod_rdep
    - remove_trailing_newlines
    - lxc_container_put
    - lxc_container_new
    - fopen
    - strnprintf
    linkageType: ''
    returnType: void
    signature: void mod_all_rdeps(struct lxc_container *c, bool inc)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:2832,1
    - Dst: stat
      Src: /src/lxc/src/lxc/lxccontainer.c:2838,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:2843,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/lxccontainer.c:2847,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:2849,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2853
      start: 2825
    functionDepth: 1
    functionLinenumber: 2825
    functionLinenumberEnd: 2853
    functionName: has_fs_snapshots
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - fscanf
    - stat
    - fopen
    - INFO
    - strnprintf
    linkageType: ''
    returnType: bool
    signature: bool has_fs_snapshots(struct lxc_container *c)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: get_snappath_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:2862,1
    - Dst: opendir
      Src: /src/lxc/src/lxc/lxccontainer.c:2865,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/lxccontainer.c:2869,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2870,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:2873,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2880
      start: 2855
    functionDepth: 1
    functionLinenumber: 2855
    functionLinenumberEnd: 2880
    functionName: has_snapshots
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - opendir
    - readdir
    - get_snappath_dir
    - strequal
    linkageType: ''
    returnType: bool
    signature: bool has_snapshots(struct lxc_container *c)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:2885,1
    - Dst: userns_exec_full
      Src: /src/lxc/src/lxc/lxccontainer.c:2886,1
    - Dst: storage_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:2894,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2895
      start: 2882
    functionDepth: 1
    functionLinenumber: 2882
    functionLinenumberEnd: 2895
    functionName: do_destroy_container
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - am_guest_unpriv
    - storage_destroy
    - userns_exec_full
    linkageType: ''
    returnType: bool
    signature: bool do_destroy_container(struct lxc_conf *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_rmdir_onedev
      Src: /src/lxc/src/lxc/lxccontainer.c:2900,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2901
      start: 2897
    functionDepth: 3
    functionLinenumber: 2897
    functionLinenumberEnd: 2901
    functionName: lxc_rmdir_onedev_wrapper
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_rmdir_onedev
    linkageType: ''
    returnType: int
    signature: int lxc_rmdir_onedev_wrapper(void *data)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: unlink
      Src: /src/lxc/src/lxc/lxccontainer.c:2906,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2907
      start: 2903
    functionDepth: 0
    functionLinenumber: 2903
    functionLinenumberEnd: 2907
    functionName: lxc_unlink_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - unlink
    linkageType: ''
    returnType: int
    signature: int lxc_unlink_exec_wrapper(void *data)
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:2919,1
    - Dst: container_disk_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:2923,1
    - Dst: is_stopped
      Src: /src/lxc/src/lxc/lxccontainer.c:2926,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2928,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/lxccontainer.c:2932,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:2934,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2935,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:2937,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2938,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:2940,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2941,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:2943,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2944,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:2946,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2947,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:2949,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2950,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/lxccontainer.c:2953,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2954,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:2963,1
    - Dst: do_destroy_container
      Src: /src/lxc/src/lxc/lxccontainer.c:2973,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2974,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:2977,1
    - Dst: mod_all_rdeps
      Src: /src/lxc/src/lxc/lxccontainer.c:2980,1
    - Dst: do_lxcapi_get_config_path
      Src: /src/lxc/src/lxc/lxccontainer.c:2982,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:2995,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:2995,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:2995,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:2996,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:2998,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:3005,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:3006,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3008,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:3012,1
    - Dst: userns_exec_1
      Src: /src/lxc/src/lxc/lxccontainer.c:3013,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/lxccontainer.c:3016,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3018,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:3022,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3028,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:3032,1
    - Dst: userns_exec_full
      Src: /src/lxc/src/lxc/lxccontainer.c:3033,1
    - Dst: lxc_rmdir_onedev
      Src: /src/lxc/src/lxc/lxccontainer.c:3036,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3038,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:3042,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:3049,1
    - Dst: container_disk_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:3051,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 97
    argCount: 2
    argNames:
    - c
    - storage
    argTypes:
    - struct lxc_container*
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3053
      start: 2909
    functionDepth: 4
    functionLinenumber: 2909
    functionLinenumberEnd: 3053
    functionName: container_destroy
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - is_stopped
    - userns_exec_1
    - free
    - mod_all_rdeps
    - list_empty
    - lxc_rmdir_onedev
    - do_lxcapi_is_defined
    - strequal
    - userns_exec_full
    - strlen
    - do_destroy_container
    - container_disk_lock
    - malloc
    - ERROR
    - am_guest_unpriv
    - unlink
    - run_lxc_hooks
    - strnprintf
    - SYSERROR
    - container_disk_unlock
    - do_lxcapi_get_config_path
    - setenv
    - INFO
    - close
    linkageType: ''
    returnType: bool
    signature: "bool container_destroy(struct lxc_container *c,\n\t\t\t      struct
      lxc_storage *storage)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:3057,1
    - Dst: has_snapshots
      Src: /src/lxc/src/lxc/lxccontainer.c:3061,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3062,1
    - Dst: has_fs_snapshots
      Src: /src/lxc/src/lxc/lxccontainer.c:3066,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3067,1
    - Dst: container_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:3072,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3073
      start: 3055
    functionDepth: 5
    functionLinenumber: 3055
    functionLinenumberEnd: 3073
    functionName: do_lxcapi_destroy
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - ERROR
    - lxcapi_is_defined
    - has_fs_snapshots
    - has_snapshots
    - container_destroy
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_destroy(struct lxc_container *c)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:3079,1
    - Dst: lxcapi_snapshot_destroy_all
      Src: /src/lxc/src/lxc/lxccontainer.c:3082,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3083,1
    - Dst: lxcapi_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:3087,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3088
      start: 3077
    functionDepth: 1
    functionLinenumber: 3077
    functionLinenumberEnd: 3088
    functionName: do_lxcapi_destroy_with_snapshots
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxcapi_destroy
    - lxcapi_is_defined
    - ERROR
    - lxcapi_snapshot_destroy_all
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_destroy_with_snapshots(struct lxc_container *c)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_config
      Src: /src/lxc/src/lxc/lxccontainer.c:3099,1
    - Dst: struct lxc_config_t*::set
      Src: /src/lxc/src/lxc/lxccontainer.c:3101,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/lxccontainer.c:3105,1
    - Dst: do_clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:3106,1
    - Dst: do_append_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:3108,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 3
    argNames:
    - conf
    - key
    - v
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3113
      start: 3092
    functionDepth: 2
    functionLinenumber: 3092
    functionLinenumberEnd: 3113
    functionName: lxc_set_config_item_locked
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_get_config
    - lxc_config_value_empty
    - struct lxc_config_t*::set
    - do_append_unexp_config_line
    - do_clear_unexp_config_line
    linkageType: ''
    returnType: int
    signature: "int lxc_set_config_item_locked(struct lxc_conf *conf, const char *key,\n\t\t\t
      \      const char *v)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_conf_init
      Src: /src/lxc/src/lxc/lxccontainer.c:3121,1
    - Dst: lxc_set_config_item_locked
      Src: /src/lxc/src/lxc/lxccontainer.c:3126,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 3
    argNames:
    - c
    - key
    - v
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3131
      start: 3115
    functionDepth: 3
    functionLinenumber: 3115
    functionLinenumberEnd: 3131
    functionName: do_set_config_item_locked
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_conf_init
    - lxc_set_config_item_locked
    linkageType: ''
    returnType: bool
    signature: "bool do_set_config_item_locked(struct lxc_container *c, const char
      *key,\n\t\t\t\t      const char *v)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:3140,1
    - Dst: do_set_config_item_locked
      Src: /src/lxc/src/lxc/lxccontainer.c:3143,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:3145,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 3
    argNames:
    - c
    - key
    - v
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3147
      start: 3133
    functionDepth: 4
    functionLinenumber: 3133
    functionLinenumberEnd: 3147
    functionName: do_lxcapi_set_config_item
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - container_mem_unlock
    - container_mem_lock
    - do_set_config_item_locked
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_set_config_item(struct lxc_container *c, const char
      *key, const char *v)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:3156,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3157
      start: 3151
    functionDepth: 0
    functionLinenumber: 3151
    functionLinenumberEnd: 3157
    functionName: lxcapi_config_file_name
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strdup
    linkageType: ''
    returnType: char
    signature: char *lxcapi_config_file_name(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3165
      start: 3159
    functionDepth: 0
    functionLinenumber: 3159
    functionLinenumberEnd: 3165
    functionName: lxcapi_get_config_path
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 4
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxcapi_get_config_path(struct lxc_container *c)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:3182,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:3182,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:3182,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:3183,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3187,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3189,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:3190,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:3194,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3198
      start: 3173
    functionDepth: 1
    functionLinenumber: 3173
    functionLinenumberEnd: 3198
    functionName: set_config_filename
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - malloc
    - fprintf
    - strlen
    - strnprintf
    - free
    linkageType: ''
    returnType: bool
    signature: bool set_config_filename(struct lxc_container *c)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:3209,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:3212,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3214,1
    - Dst: set_config_filename
      Src: /src/lxc/src/lxc/lxccontainer.c:3225,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3226,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:3228,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:3234,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:3235,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 2
    argNames:
    - c
    - path
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3237
      start: 3200
    functionDepth: 2
    functionLinenumber: 3200
    functionLinenumberEnd: 3237
    functionName: do_lxcapi_set_config_path
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - container_mem_unlock
    - set_config_filename
    - strdup
    - container_mem_lock
    - free
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_set_config_path(struct lxc_container *c, const char
      *path)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/lxccontainer.c:3243,1
    - Dst: is_stopped
      Src: /src/lxc/src/lxc/lxccontainer.c:3249,1
    - Dst: cgroup_set
      Src: /src/lxc/src/lxc/lxccontainer.c:3252,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/lxccontainer.c:3253,1
    - Dst: cgroup_init
      Src: /src/lxc/src/lxc/lxccontainer.c:3254,1
    - Dst: struct cgroup_ops*::set
      Src: /src/lxc/src/lxc/lxccontainer.c:3258,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 3
    argNames:
    - c
    - subsys
    - value
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3262
      start: 3241
    functionDepth: 3
    functionLinenumber: 3241
    functionLinenumberEnd: 3262
    functionName: do_lxcapi_set_cgroup_item
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - is_stopped
    - call_cleaner
    - cgroup_set
    - ERRNO_IS_NOT_SUPPORTED
    - cgroup_init
    - struct cgroup_ops*::set
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_set_cgroup_item(struct lxc_container *c, const char
      *subsys, const char *value)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/lxccontainer.c:3268,1
    - Dst: is_stopped
      Src: /src/lxc/src/lxc/lxccontainer.c:3274,1
    - Dst: cgroup_get
      Src: /src/lxc/src/lxc/lxccontainer.c:3277,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/lxccontainer.c:3278,1
    - Dst: cgroup_init
      Src: /src/lxc/src/lxc/lxccontainer.c:3279,1
    - Dst: struct cgroup_ops*::get
      Src: /src/lxc/src/lxc/lxccontainer.c:3283,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 4
    argNames:
    - c
    - subsys
    - retv
    - inlen
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3287
      start: 3266
    functionDepth: 3
    functionLinenumber: 3266
    functionLinenumberEnd: 3287
    functionName: do_lxcapi_get_cgroup_item
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - is_stopped
    - struct cgroup_ops*::get
    - call_cleaner
    - cgroup_get
    - ERRNO_IS_NOT_SUPPORTED
    - cgroup_init
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_get_cgroup_item(struct lxc_container *c, const char *subsys,
      char *retv, int inlen)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/lxccontainer.c:3293,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - key
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3294
      start: 3291
    functionDepth: 1
    functionLinenumber: 3291
    functionLinenumberEnd: 3294
    functionName: lxc_get_global_config_item
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - lxc_global_config_value
    linkageType: ''
    returnType: char
    signature: char *lxc_get_global_config_item(const char *key)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3299
      start: 3296
    functionDepth: 0
    functionLinenumber: 3296
    functionLinenumberEnd: 3299
    functionName: lxc_get_version
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_get_version(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - old
    - new
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3311
      start: 3301
    functionDepth: 0
    functionLinenumber: 3301
    functionLinenumberEnd: 3311
    functionName: copy_file
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int copy_file(const char *old, const char *new)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:3353,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:3353,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:3354,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:3356,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3358,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/lxccontainer.c:3363,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/lxccontainer.c:3368,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/lxccontainer.c:3373,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3377,1
    - Dst: copy_file
      Src: /src/lxc/src/lxc/lxccontainer.c:3382,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:3386,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/lxccontainer.c:3388,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lxccontainer.c:3390,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lxccontainer.c:3391,1
    - Dst: clone_update_unexp_hooks
      Src: /src/lxc/src/lxc/lxccontainer.c:3395,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/lxccontainer.c:3397,1
    - Dst: do_lxcapi_save_config
      Src: /src/lxc/src/lxc/lxccontainer.c:3400,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 33
    argCount: 2
    argNames:
    - oldc
    - c
    argTypes:
    - struct lxc_container*
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3402
      start: 3347
    functionDepth: 4
    functionLinenumber: 3347
    functionLinenumberEnd: 3402
    functionName: copyhooks
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - malloc
    - strrchr
    - list_for_each_entry
    - clone_update_unexp_hooks
    - strnequal
    - move_ptr
    - ret_errno
    - syserror
    - syserror_ret
    - do_lxcapi_save_config
    - strdup
    - strlen
    - strnprintf
    - copy_file
    linkageType: ''
    returnType: int
    signature: int copyhooks(struct lxc_container *oldc, struct lxc_container *c)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:3413,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/lxccontainer.c:3415,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3419,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3422,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/lxccontainer.c:3426,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3427,1
    - Dst: copy_file
      Src: /src/lxc/src/lxc/lxccontainer.c:3431,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3432,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:3436,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:3438,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3440,1
    - Dst: do_append_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:3444,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3445,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 30
    argCount: 2
    argNames:
    - oldc
    - c
    argTypes:
    - struct lxc_container*
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3450
      start: 3404
    functionDepth: 1
    functionLinenumber: 3404
    functionLinenumberEnd: 3450
    functionName: copy_fstab
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strrchr
    - ERROR
    - free
    - do_append_unexp_config_line
    - strdup
    - strnprintf
    - copy_file
    - file_exists
    - clear_unexp_config_line
    linkageType: ''
    returnType: int
    signature: int copy_fstab(struct lxc_container *oldc, struct lxc_container *c)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3457,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/lxccontainer.c:3460,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3464,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/lxccontainer.c:3467,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/lxccontainer.c:3471,1
    - Dst: copy_file
      Src: /src/lxc/src/lxc/lxccontainer.c:3475,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:3476,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 2
    argNames:
    - c
    - c0
    argTypes:
    - struct lxc_container*
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3479
      start: 3452
    functionDepth: 1
    functionLinenumber: 3452
    functionLinenumberEnd: 3479
    functionName: copy_rdepends
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - WARN
    - INFO
    - strnprintf
    - copy_file
    - file_exists
    linkageType: ''
    returnType: void
    signature: void copy_rdepends(struct lxc_container *c, struct lxc_container *c0)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3487,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:3491,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3496,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - c
    - c0
    argTypes:
    - struct lxc_container*
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3497
      start: 3481
    functionDepth: 1
    functionLinenumber: 3481
    functionLinenumberEnd: 3497
    functionName: add_rdepends
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strnprintf
    - fopen
    - fprintf
    linkageType: ''
    returnType: bool
    signature: bool add_rdepends(struct lxc_container *c, struct lxc_container *c0)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:3509,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:3509,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:3510,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:3510,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:3513,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:3514,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3515,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3519,1
    - Dst: is_btrfs_fs
      Src: /src/lxc/src/lxc/lxccontainer.c:3523,1
    - Dst: is_btrfs_fs
      Src: /src/lxc/src/lxc/lxccontainer.c:3523,1
    - Dst: is_btrfs_subvol
      Src: /src/lxc/src/lxc/lxccontainer.c:3526,1
    - Dst: btrfs_same_fs
      Src: /src/lxc/src/lxc/lxccontainer.c:3529,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 2
    argNames:
    - c0
    - c1
    argTypes:
    - struct lxc_container*
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3530
      start: 3504
    functionDepth: 1
    functionLinenumber: 3504
    functionLinenumberEnd: 3530
    functionName: should_default_to_snapshot
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - btrfs_same_fs
    - is_btrfs_subvol
    - must_realloc
    - is_btrfs_fs
    - strlen
    - strnprintf
    linkageType: ''
    returnType: bool
    signature: "bool should_default_to_snapshot(struct lxc_container *c0,\n\t\t\t\tstruct
      lxc_container *c1)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: should_default_to_snapshot
      Src: /src/lxc/src/lxc/lxccontainer.c:3539,1
    - Dst: storage_copy
      Src: /src/lxc/src/lxc/lxccontainer.c:3542,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3545,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:3550,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3554,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:3559,1
    - Dst: do_append_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:3560,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3562,1
    - Dst: copy_rdepends
      Src: /src/lxc/src/lxc/lxccontainer.c:3567,1
    - Dst: add_rdepends
      Src: /src/lxc/src/lxc/lxccontainer.c:3570,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/lxccontainer.c:3571,1
    - Dst: mod_all_rdeps
      Src: /src/lxc/src/lxc/lxccontainer.c:3575,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 27
    argCount: 6
    argNames:
    - c0
    - c
    - newtype
    - flags
    - bdevdata
    - newsize
    argTypes:
    - struct lxc_container*
    - struct lxc_container*
    - char*
    - int
    - char*
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3578
      start: 3532
    functionDepth: 4
    functionLinenumber: 3532
    functionLinenumberEnd: 3578
    functionName: copy_storage
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - mod_all_rdeps
    - storage_copy
    - add_rdepends
    - WARN
    - do_append_unexp_config_line
    - should_default_to_snapshot
    - copy_rdepends
    - free
    - clear_unexp_config_line
    linkageType: ''
    returnType: int
    signature: "int copy_storage(struct lxc_container *c0, struct lxc_container *c,\n\t\t\tconst
      char *newtype, int flags, const char *bdevdata,\n\t\t\tuint64_t newsize)"
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/lxccontainer.c:3602,1
    - Dst: setgid
      Src: /src/lxc/src/lxc/lxccontainer.c:3604,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3605,1
    - Dst: setuid
      Src: /src/lxc/src/lxc/lxccontainer.c:3609,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3610,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/lxccontainer.c:3614,1
    - Dst: lxc_storage_prepare
      Src: /src/lxc/src/lxc/lxccontainer.c:3617,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:3622,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/lxccontainer.c:3623,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3624,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:3625,1
    - Dst: detect_shared_rootfs
      Src: /src/lxc/src/lxc/lxccontainer.c:3629,1
    - Dst: mount
      Src: /src/lxc/src/lxc/lxccontainer.c:3629,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3630,1
    - Dst: struct lxc_storage*::ops::mount
      Src: /src/lxc/src/lxc/lxccontainer.c:3632,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:3633,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:3637,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:3638,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/lxccontainer.c:3638,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/lxccontainer.c:3641,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:3643,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3644,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:3646,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3647,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:3649,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3650,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:3652,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3653,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/lxccontainer.c:3655,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3656,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/lxccontainer.c:3658,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3659,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:3660,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3666,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:3667,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/lxccontainer.c:3672,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:3675,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3676,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3680,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:3681,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:3685,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:3688,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 70
    argCount: 1
    argNames:
    - data
    argTypes:
    - struct clone_update_data*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3692
      start: 3587
    functionDepth: 3
    functionLinenumber: 3587
    functionLinenumberEnd: 3692
    functionName: clone_update_rootfs
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - free
    - file_exists
    - mount
    - list_empty
    - fprintf
    - strequal
    - lxc_storage_get_path
    - lxc_storage_prepare
    - fopen
    - strdup
    - ERROR
    - unshare
    - struct lxc_storage*::ops::mount
    - run_lxc_hooks
    - strnprintf
    - fclose
    - SYSERROR
    - lxc_storage_put
    - detect_shared_rootfs
    - lxc_drop_groups
    - setenv
    - setuid
    - setgid
    linkageType: ''
    returnType: int
    signature: int clone_update_rootfs(struct clone_update_data *data)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: clone_update_rootfs
      Src: /src/lxc/src/lxc/lxccontainer.c:3697,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3698
      start: 3694
    functionDepth: 4
    functionLinenumber: 3694
    functionLinenumberEnd: 3698
    functionName: clone_update_rootfs_wrapper
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - clone_update_rootfs
    linkageType: ''
    returnType: int
    signature: int clone_update_rootfs_wrapper(void *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/lxc/src/lxc/lxccontainer.c:3716,1
    - Dst: do_create_container_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:3721,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 2
    argNames:
    - path
    - conf
    argTypes:
    - char*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3725
      start: 3711
    functionDepth: 2
    functionLinenumber: 3711
    functionLinenumberEnd: 3725
    functionName: create_file_dirname
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - do_create_container_dir
    - strrchr
    linkageType: ''
    returnType: int
    signature: int create_file_dirname(char *path, struct lxc_conf *conf)
  - BBCount: 34
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:3741,1
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/lxccontainer.c:3744,1
    - Dst: is_stopped
      Src: /src/lxc/src/lxc/lxccontainer.c:3746,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3747,1
    - Dst: do_lxcapi_get_config_path
      Src: /src/lxc/src/lxc/lxccontainer.c:3756,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3758,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3760,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/lxccontainer.c:3764,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3765,1
    - Dst: create_file_dirname
      Src: /src/lxc/src/lxc/lxccontainer.c:3769,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3771,1
    - Dst: open
      Src: /src/lxc/src/lxc/lxccontainer.c:3781,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3784,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:3790,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:3792,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:3796,1
    - Dst: write_config
      Src: /src/lxc/src/lxc/lxccontainer.c:3797,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:3798,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:3802,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:3807,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3809,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/lxccontainer.c:3813,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3821,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:3826,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/lxccontainer.c:3827,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3828,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/lxccontainer.c:3833,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3835,1
    - Dst: copy_storage
      Src: /src/lxc/src/lxc/lxccontainer.c:3841,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:3847,1
    - Dst: clear_unexp_config_line
      Src: /src/lxc/src/lxc/lxccontainer.c:3848,1
    - Dst: do_set_config_item_locked
      Src: /src/lxc/src/lxc/lxccontainer.c:3850,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3851,1
    - Dst: copyhooks
      Src: /src/lxc/src/lxc/lxccontainer.c:3857,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3859,1
    - Dst: copy_fstab
      Src: /src/lxc/src/lxc/lxccontainer.c:3863,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3864,1
    - Dst: network_new_hwaddrs
      Src: /src/lxc/src/lxc/lxccontainer.c:3870,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3871,1
    - Dst: ovl_update_abs_paths
      Src: /src/lxc/src/lxc/lxccontainer.c:3877,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/lxc/lxccontainer.c:3885,1
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:3888,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3889,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:3894,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:3898,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:3907,1
    - Dst: userns_exec_full
      Src: /src/lxc/src/lxc/lxccontainer.c:3908,1
    - Dst: clone_update_rootfs
      Src: /src/lxc/src/lxc/lxccontainer.c:3911,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:3913,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:3915,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:3916,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/lxccontainer.c:3919,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:3924,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:3925,1
    CyclomaticComplexity: 56
    EdgeCount: 56
    ICount: 156
    argCount: 8
    argNames:
    - c
    - newname
    - lxcpath
    - flags
    - bdevtype
    - bdevdata
    - newsize
    - hookargs
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - int
    - char*
    - char*
    - uint64_t
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3929
      start: 3727
    functionDepth: 5
    functionLinenumber: 3727
    functionLinenumberEnd: 3929
    functionName: do_lxcapi_clone
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - fork
    - is_stopped
    - lxc_container_put
    - create_file_dirname
    - write_config
    - lxc_container_new
    - clone_update_rootfs
    - _exit
    - container_mem_lock
    - do_set_config_item_locked
    - free
    - file_exists
    - open
    - do_lxcapi_is_defined
    - userns_exec_full
    - strdup
    - ovl_update_abs_paths
    - chown_mapped_root
    - struct lxc_container*::destroy
    - ERROR
    - copy_storage
    - struct lxc_container*::save_config
    - am_guest_unpriv
    - container_mem_unlock
    - mkdir
    - strnprintf
    - copy_fstab
    - SYSERROR
    - clear_unexp_config_line
    - wait_for_pid
    - do_lxcapi_get_config_path
    - copyhooks
    - close
    - network_new_hwaddrs
    linkageType: ''
    returnType: struct lxc_container
    signature: "struct lxc_container *do_lxcapi_clone(struct lxc_container *c, const
      char *newname,\n\t\tconst char *lxcpath, int flags,\n\t\tconst char *bdevtype,
      const char *bdevdata, uint64_t newsize,\n\t\tchar **hookargs)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_clone
      Src: /src/lxc/src/lxc/lxccontainer.c:3939,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 8
    argNames:
    - c
    - newname
    - lxcpath
    - flags
    - bdevtype
    - bdevdata
    - newsize
    - hookargs
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - int
    - char*
    - char*
    - uint64_t
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3943
      start: 3931
    functionDepth: 6
    functionLinenumber: 3931
    functionLinenumberEnd: 3943
    functionName: lxcapi_clone
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - do_lxcapi_clone
    linkageType: ''
    returnType: struct lxc_container
    signature: "struct lxc_container *lxcapi_clone(struct lxc_container *c, const
      char *newname,\n\t\tconst char *lxcpath, int flags,\n\t\tconst char *bdevtype,
      const char *bdevdata, uint64_t newsize,\n\t\tchar **hookargs)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: has_fs_snapshots
      Src: /src/lxc/src/lxc/lxccontainer.c:3953,1
    - Dst: has_snapshots
      Src: /src/lxc/src/lxc/lxccontainer.c:3953,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3954,1
    - Dst: lxc_storage_prepare
      Src: /src/lxc/src/lxc/lxccontainer.c:3958,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3959,1
    - Dst: lxcapi_clone
      Src: /src/lxc/src/lxc/lxccontainer.c:3964,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:3965,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:3967,1
    - Dst: lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:3971,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:3972,1
    - Dst: container_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:3974,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:3975,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 2
    argNames:
    - c
    - newname
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3980
      start: 3945
    functionDepth: 7
    functionLinenumber: 3945
    functionLinenumberEnd: 3980
    functionName: do_lxcapi_rename
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - has_fs_snapshots
    - lxcapi_is_defined
    - container_destroy
    - has_snapshots
    - lxc_storage_prepare
    - lxc_container_put
    - lxcapi_clone
    - lxc_storage_put
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_rename(struct lxc_container *c, const char *newname)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_attach
      Src: /src/lxc/src/lxc/lxccontainer.c:3995,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 5
    argNames:
    - c
    - exec_function
    - exec_payload
    - options
    - attached_process
    argTypes:
    - struct lxc_container*
    - lxc_attach_exec_t
    - void*
    - lxc_attach_options_t*
    - pid_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3999
      start: 3984
    functionDepth: 1
    functionLinenumber: 3984
    functionLinenumberEnd: 3999
    functionName: lxcapi_attach
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_attach
    linkageType: ''
    returnType: int
    signature: "int lxcapi_attach(struct lxc_container *c,\n\t\t\t lxc_attach_exec_t
      exec_function, void *exec_payload,\n\t\t\t lxc_attach_options_t *options, pid_t
      *attached_process)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_attach
      Src: /src/lxc/src/lxc/lxccontainer.c:4016,1
    - Dst: lxc_wait_for_pid_status
      Src: /src/lxc/src/lxc/lxccontainer.c:4020,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 4
    argNames:
    - c
    - options
    - program
    - argv
    argTypes:
    - struct lxc_container*
    - lxc_attach_options_t*
    - char*
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4021
      start: 4001
    functionDepth: 1
    functionLinenumber: 4001
    functionLinenumberEnd: 4021
    functionName: do_lxcapi_attach_run_wait
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_attach
    - lxc_wait_for_pid_status
    linkageType: ''
    returnType: int
    signature: "int do_lxcapi_attach_run_wait(struct lxc_container *c,\n\t\t\t\t     lxc_attach_options_t
      *options,\n\t\t\t\t     const char *program,\n\t\t\t\t     const char *const
      argv[])"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_attach_run_wait
      Src: /src/lxc/src/lxc/lxccontainer.c:4030,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 4
    argNames:
    - c
    - options
    - program
    - argv
    argTypes:
    - struct lxc_container*
    - lxc_attach_options_t*
    - char*
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4034
      start: 4023
    functionDepth: 2
    functionLinenumber: 4023
    functionLinenumberEnd: 4034
    functionName: lxcapi_attach_run_wait
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - do_lxcapi_attach_run_wait
    linkageType: ''
    returnType: int
    signature: "int lxcapi_attach_run_wait(struct lxc_container *c,\n\t\t\t\t  lxc_attach_options_t
      *options,\n\t\t\t\t  const char *program, const char *const argv[])"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:4042,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:4042,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4045,1
    - Dst: stat
      Src: /src/lxc/src/lxc/lxccontainer.c:4047,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - lxcpath
    - cname
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4053
      start: 4036
    functionDepth: 1
    functionLinenumber: 4036
    functionLinenumberEnd: 4053
    functionName: get_next_index
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strlen
    - sprintf
    - must_realloc
    - stat
    linkageType: ''
    returnType: int
    signature: int get_next_index(const char *lxcpath, char *cname)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4063,1
    - Dst: dir_exists
      Src: /src/lxc/src/lxc/lxccontainer.c:4067,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4068,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4079,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 2
    argNames:
    - c
    - snappath
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4084
      start: 4055
    functionDepth: 2
    functionLinenumber: 4055
    functionLinenumberEnd: 4084
    functionName: get_snappath_dir
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - strnprintf
    - dir_exists
    linkageType: ''
    returnType: bool
    signature: bool get_snappath_dir(struct lxc_container *c, char *snappath)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:4098,1
    - Dst: storage_can_backup
      Src: /src/lxc/src/lxc/lxccontainer.c:4101,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4102,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4103,1
    - Dst: get_snappath_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:4107,1
    - Dst: get_next_index
      Src: /src/lxc/src/lxc/lxccontainer.c:4110,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/lxccontainer.c:4112,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4113,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4117,1
    - Dst: storage_lxc_is_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:4127,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4128,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4129,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4130,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4131,1
    - Dst: do_lxcapi_clone
      Src: /src/lxc/src/lxc/lxccontainer.c:4135,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4137,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4141,1
    - Dst: time
      Src: /src/lxc/src/lxc/lxccontainer.c:4144,1
    - Dst: localtime_r
      Src: /src/lxc/src/lxc/lxccontainer.c:4146,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4147,1
    - Dst: strftime
      Src: /src/lxc/src/lxc/lxccontainer.c:4151,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:4153,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:4153,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:4153,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:4154,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4155,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:4158,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4160,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4164,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4165,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:4166,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lxccontainer.c:4170,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4172,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:4179,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:4179,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:4179,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:4181,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4182,1
    - Dst: copy_file
      Src: /src/lxc/src/lxc/lxccontainer.c:4185,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 67
    argCount: 2
    argNames:
    - c
    - commentfile
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4189
      start: 4086
    functionDepth: 6
    functionLinenumber: 4086
    functionLinenumberEnd: 4189
    functionName: do_lxcapi_snapshot
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - localtime_r
    - do_lxcapi_clone
    - lxc_container_put
    - storage_can_backup
    - fprintf
    - strftime
    - fopen
    - strlen
    - lxc_mkdir_p
    - ERROR
    - storage_lxc_is_dir
    - lxcapi_is_defined
    - strnprintf
    - fclose
    - SYSERROR
    - copy_file
    - get_next_index
    - get_snappath_dir
    - must_realloc
    - time
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_snapshot(struct lxc_container *c, const char *commentfile)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4195,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4196,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4197,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4198,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 1
    argNames:
    - s
    argTypes:
    - struct lxc_snapshot*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4199
      start: 4193
    functionDepth: 0
    functionLinenumber: 4193
    functionLinenumberEnd: 4199
    functionName: lxcsnap_free
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void lxcsnap_free(struct lxc_snapshot *s)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:4205,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:4205,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:4207,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4211,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lxccontainer.c:4215,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - snappath
    - name
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4216
      start: 4201
    functionDepth: 1
    functionLinenumber: 4201
    functionLinenumberEnd: 4216
    functionName: get_snapcomment_path
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strlen
    - strnprintf
    - move_ptr
    - malloc
    linkageType: ''
    returnType: char
    signature: char *get_snapcomment_path(char *snappath, char *name)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4225,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:4229,1
    - Dst: fseek
      Src: /src/lxc/src/lxc/lxccontainer.c:4233,1
    - Dst: ftell
      Src: /src/lxc/src/lxc/lxccontainer.c:4234,1
    - Dst: fseek
      Src: /src/lxc/src/lxc/lxccontainer.c:4235,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:4237,1
    - Dst: fread
      Src: /src/lxc/src/lxc/lxccontainer.c:4242,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:4244,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lxccontainer.c:4248,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 2
    argNames:
    - snappath
    - name
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4249
      start: 4218
    functionDepth: 1
    functionLinenumber: 4218
    functionLinenumberEnd: 4249
    functionName: get_timestamp
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - malloc
    - fread
    - move_ptr
    - log_error_errno
    - fopen
    - strnprintf
    - ftell
    - fseek
    linkageType: ''
    returnType: char
    signature: char *get_timestamp(char* snappath, char *name)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:4259,1
    - Dst: get_snappath_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:4262,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4263,1
    - Dst: opendir
      Src: /src/lxc/src/lxc/lxccontainer.c:4267,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:4269,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/lxccontainer.c:4273,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4274,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4277,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4280,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4282,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/lxccontainer.c:4286,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/lxccontainer.c:4289,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4291,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:4297,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:4301,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4303,1
    - Dst: get_snapcomment_path
      Src: /src/lxc/src/lxc/lxccontainer.c:4307,1
    - Dst: get_timestamp
      Src: /src/lxc/src/lxc/lxccontainer.c:4308,1
    - Dst: lxcsnap_free
      Src: /src/lxc/src/lxc/lxccontainer.c:4318,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4320,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 57
    argCount: 2
    argNames:
    - c
    - ret_snaps
    argTypes:
    - struct lxc_container*
    - struct lxc_snapshot**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4324
      start: 4251
    functionDepth: 3
    functionLinenumber: 4251
    functionLinenumberEnd: 4324
    functionName: do_lxcapi_snapshot_list
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - realloc
    - ERROR
    - readdir
    - get_timestamp
    - lxcapi_is_defined
    - get_snappath_dir
    - strequal
    - free
    - strnprintf
    - get_snapcomment_path
    - lxcsnap_free
    - strdup
    - INFO
    - opendir
    - SYSERROR
    - file_exists
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_snapshot_list(struct lxc_container *c, struct lxc_snapshot
      **ret_snaps)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: has_fs_snapshots
      Src: /src/lxc/src/lxc/lxccontainer.c:4339,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4340,1
    - Dst: lxc_storage_prepare
      Src: /src/lxc/src/lxc/lxccontainer.c:4344,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4345,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4355,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4355,1
    - Dst: get_snappath_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:4361,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4362,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/lxccontainer.c:4367,1
    - Dst: lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:4368,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4369,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4372,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4374,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4378,1
    - Dst: container_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:4379,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4380,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4381,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4382,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4387,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4387,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4390,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4390,1
    - Dst: lxcapi_clone
      Src: /src/lxc/src/lxc/lxccontainer.c:4393,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4395,1
    - Dst: lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:4396,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4400,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4402,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 48
    argCount: 3
    argNames:
    - c
    - snapname
    - newname
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4404
      start: 4328
    functionDepth: 7
    functionLinenumber: 4328
    functionLinenumberEnd: 4404
    functionName: do_lxcapi_snapshot_restore
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - has_fs_snapshots
    - lxcapi_is_defined
    - get_snappath_dir
    - strequal
    - container_destroy
    - lxc_storage_prepare
    - lxc_container_put
    - lxc_container_new
    - lxcapi_clone
    - lxc_storage_put
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_snapshot_restore(struct lxc_container *c, const char
      *snapname, const char *newname)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/lxccontainer.c:4413,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4415,1
    - Dst: do_lxcapi_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:4419,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4420,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:4428,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 2
    argNames:
    - snapname
    - clonelxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4431
      start: 4408
    functionDepth: 6
    functionLinenumber: 4408
    functionLinenumberEnd: 4431
    functionName: do_snapshot_destroy
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_container_put
    - lxc_container_new
    - do_lxcapi_destroy
    linkageType: ''
    returnType: bool
    signature: bool do_snapshot_destroy(const char *snapname, const char *clonelxcpath)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/lxc/src/lxc/lxccontainer.c:4439,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4441,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/lxccontainer.c:4445,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4446,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:4449,1
    - Dst: do_snapshot_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:4452,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/lxccontainer.c:4458,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4459,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4462
      start: 4433
    functionDepth: 1
    functionLinenumber: 4433
    functionLinenumberEnd: 4462
    functionName: remove_all_snapshots
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - readdir
    - strequal
    - rmdir
    - opendir
    - SYSERROR
    - do_snapshot_destroy
    linkageType: ''
    returnType: bool
    signature: bool remove_all_snapshots(const char *path)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: get_snappath_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:4471,1
    - Dst: do_snapshot_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:4474,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 2
    argNames:
    - c
    - snapname
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4475
      start: 4464
    functionDepth: 3
    functionLinenumber: 4464
    functionLinenumberEnd: 4475
    functionName: do_lxcapi_snapshot_destroy
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - get_snappath_dir
    - do_snapshot_destroy
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_snapshot_destroy(struct lxc_container *c, const char
      *snapname)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: get_snappath_dir
      Src: /src/lxc/src/lxc/lxccontainer.c:4486,1
    - Dst: remove_all_snapshots
      Src: /src/lxc/src/lxc/lxccontainer.c:4489,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4490
      start: 4479
    functionDepth: 3
    functionLinenumber: 4479
    functionLinenumberEnd: 4490
    functionName: do_lxcapi_snapshot_destroy_all
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - remove_all_snapshots
    - get_snappath_dir
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_snapshot_destroy_all(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_try_cmd
      Src: /src/lxc/src/lxc/lxccontainer.c:4499,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4500
      start: 4494
    functionDepth: 1
    functionLinenumber: 4494
    functionLinenumberEnd: 4500
    functionName: do_lxcapi_may_control
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - lxc_try_cmd
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_may_control(struct lxc_container *c)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:4513,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4515,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:4520,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4522,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4530,1
    - Dst: chroot
      Src: /src/lxc/src/lxc/lxccontainer.c:4534,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4536,1
    - Dst: chdir
      Src: /src/lxc/src/lxc/lxccontainer.c:4538,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4540,1
    - Dst: faccessat
      Src: /src/lxc/src/lxc/lxccontainer.c:4543,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/lxccontainer.c:4545,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4547,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4548,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4553,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:4556,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4558,1
    - Dst: dirname
      Src: /src/lxc/src/lxc/lxccontainer.c:4560,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/lxccontainer.c:4561,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4563,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4564,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4565,1
    - Dst: mknod
      Src: /src/lxc/src/lxc/lxccontainer.c:4569,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4570,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4572,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4573,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4576,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 50
    argCount: 4
    argNames:
    - init_pid
    - path
    - add
    - st
    argTypes:
    - pid_t
    - char*
    - bool
    - struct stat*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4577
      start: 4504
    functionDepth: 2
    functionLinenumber: 4504
    functionLinenumberEnd: 4577
    functionName: do_add_remove_node
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - dirname
    - ERROR
    - mknod
    - faccessat
    - chroot
    - unlink
    - _exit
    - strdup
    - fork
    - strnprintf
    - chdir
    - SYSERROR
    - free
    - lxc_mkdir_p
    linkageType: ''
    returnType: bool
    signature: "bool do_add_remove_node(pid_t init_pid, const char *path, bool add,\n\t\t\t
      \      struct stat *st)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: do_lxcapi_is_running
      Src: /src/lxc/src/lxc/lxccontainer.c:4588,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4589,1
    - Dst: access
      Src: /src/lxc/src/lxc/lxccontainer.c:4597,1
    - Dst: stat
      Src: /src/lxc/src/lxc/lxccontainer.c:4597,1
    - Dst: S_ISCHR
      Src: /src/lxc/src/lxc/lxccontainer.c:4601,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4602,1
    - Dst: major
      Src: /src/lxc/src/lxc/lxccontainer.c:4602,1
    - Dst: minor
      Src: /src/lxc/src/lxc/lxccontainer.c:4602,1
    - Dst: S_ISBLK
      Src: /src/lxc/src/lxc/lxccontainer.c:4603,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4604,1
    - Dst: major
      Src: /src/lxc/src/lxc/lxccontainer.c:4604,1
    - Dst: minor
      Src: /src/lxc/src/lxc/lxccontainer.c:4604,1
    - Dst: do_lxcapi_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:4610,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4612,1
    - Dst: do_add_remove_node
      Src: /src/lxc/src/lxc/lxccontainer.c:4616,1
    - Dst: do_lxcapi_set_cgroup_item
      Src: /src/lxc/src/lxc/lxccontainer.c:4621,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4622,1
    - Dst: do_lxcapi_set_cgroup_item
      Src: /src/lxc/src/lxc/lxccontainer.c:4626,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4627,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 34
    argCount: 4
    argNames:
    - c
    - src_path
    - dest_path
    - add
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4633
      start: 4579
    functionDepth: 4
    functionLinenumber: 4579
    functionLinenumberEnd: 4633
    functionName: add_remove_device_node
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - do_lxcapi_is_running
    - ERROR
    - access
    - major
    - minor
    - stat
    - S_ISBLK
    - do_lxcapi_set_cgroup_item
    - do_lxcapi_init_pid
    - S_ISCHR
    - do_add_remove_node
    - strnprintf
    linkageType: ''
    returnType: bool
    signature: bool add_remove_device_node(struct lxc_container *c, const char *src_path,
      const char *dest_path, bool add)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: am_host_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:4638,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4639,1
    - Dst: add_remove_device_node
      Src: /src/lxc/src/lxc/lxccontainer.c:4643,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 3
    argNames:
    - c
    - src_path
    - dest_path
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4644
      start: 4635
    functionDepth: 5
    functionLinenumber: 4635
    functionLinenumberEnd: 4644
    functionName: do_lxcapi_add_device_node
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - am_host_unpriv
    - ERROR
    - add_remove_device_node
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_add_device_node(struct lxc_container *c, const char
      *src_path, const char *dest_path)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:4650,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4651,1
    - Dst: add_remove_device_node
      Src: /src/lxc/src/lxc/lxccontainer.c:4655,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 3
    argNames:
    - c
    - src_path
    - dest_path
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4656
      start: 4648
    functionDepth: 5
    functionLinenumber: 4648
    functionLinenumberEnd: 4656
    functionName: do_lxcapi_remove_device_node
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - am_guest_unpriv
    - ERROR
    - add_remove_device_node
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_remove_device_node(struct lxc_container *c, const char
      *src_path, const char *dest_path)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:4667,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4668,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4673,1
    - Dst: lxc_netdev_isup
      Src: /src/lxc/src/lxc/lxccontainer.c:4677,1
    - Dst: lxc_netdev_down
      Src: /src/lxc/src/lxc/lxccontainer.c:4680,1
    - Dst: do_lxcapi_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:4685,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4687,1
    - Dst: lxc_netdev_move_by_name
      Src: /src/lxc/src/lxc/lxccontainer.c:4691,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:4695,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 31
    argCount: 3
    argNames:
    - c
    - ifname
    - dst_ifname
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4700
      start: 4660
    functionDepth: 2
    functionLinenumber: 4660
    functionLinenumberEnd: 4700
    functionName: do_lxcapi_attach_interface
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_netdev_isup
    - lxc_netdev_down
    - am_guest_unpriv
    - do_lxcapi_init_pid
    - INFO
    - lxc_netdev_move_by_name
    linkageType: ''
    returnType: bool
    signature: "bool do_lxcapi_attach_interface(struct lxc_container *c,\n\t\t\t\t
      \      const char *ifname,\n\t\t\t\t       const char *dst_ifname)"
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/lxccontainer.c:4716,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4717,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4722,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/lxccontainer.c:4726,1
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:4727,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4729,1
    - Dst: do_lxcapi_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:4736,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4738,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4739,1
    - Dst: switch_to_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:4741,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4742,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4743,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/lxccontainer.c:4747,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4749,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4750,1
    - Dst: mount
      Src: /src/lxc/src/lxc/lxccontainer.c:4754,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4755,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4756,1
    - Dst: lxc_netdev_isup
      Src: /src/lxc/src/lxc/lxccontainer.c:4759,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4761,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4762,1
    - Dst: lxc_netdev_down
      Src: /src/lxc/src/lxc/lxccontainer.c:4767,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4769,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4770,1
    - Dst: lxc_attach_remount_sys_proc
      Src: /src/lxc/src/lxc/lxccontainer.c:4775,1
    - Dst: is_wlan
      Src: /src/lxc/src/lxc/lxccontainer.c:4776,1
    - Dst: lxc_netdev_move_wlan
      Src: /src/lxc/src/lxc/lxccontainer.c:4778,1
    - Dst: lxc_netdev_move_by_name
      Src: /src/lxc/src/lxc/lxccontainer.c:4780,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4785,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4787,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4789,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:4792,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:4795,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:4799,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 64
    argCount: 3
    argNames:
    - c
    - ifname
    - dst_ifname
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4801
      start: 4704
    functionDepth: 2
    functionLinenumber: 4704
    functionLinenumberEnd: 4801
    functionName: do_lxcapi_detach_interface
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - switch_to_ns
    - ERROR
    - mount
    - lxc_netdev_isup
    - lxc_netdev_down
    - am_guest_unpriv
    - is_wlan
    - lxc_attach_remount_sys_proc
    - do_lxcapi_init_pid
    - lxc_raw_getpid
    - unshare
    - lxc_netdev_move_wlan
    - INFO
    - _exit
    - fork
    - lxc_netdev_move_by_name
    linkageType: ''
    returnType: bool
    signature: "bool do_lxcapi_detach_interface(struct lxc_container *c,\n\t\t\t\t
      \      const char *ifname,\n\t\t\t\t       const char *dst_ifname)"
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:4833,1
    - Dst: memset
      Src: /src/lxc/src/lxc/lxccontainer.c:4837,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/lxccontainer.c:4838,1
    - Dst: do_lxcapi_is_running
      Src: /src/lxc/src/lxc/lxccontainer.c:4843,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4844,1
    - Dst: __criu_pre_dump
      Src: /src/lxc/src/lxc/lxccontainer.c:4848,1
    - Dst: do_lxcapi_is_running
      Src: /src/lxc/src/lxc/lxccontainer.c:4851,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4852,1
    - Dst: __criu_dump
      Src: /src/lxc/src/lxc/lxccontainer.c:4856,1
    - Dst: do_lxcapi_is_running
      Src: /src/lxc/src/lxc/lxccontainer.c:4859,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4860,1
    - Dst: __criu_restore
      Src: /src/lxc/src/lxc/lxccontainer.c:4864,1
    - Dst: __criu_check_feature
      Src: /src/lxc/src/lxc/lxccontainer.c:4868,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4876,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4882,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 56
    argCount: 4
    argNames:
    - c
    - cmd
    - opts
    - size
    argTypes:
    - struct lxc_container*
    - unsigned int
    - struct migrate_opts*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4885
      start: 4805
    functionDepth: 4
    functionLinenumber: 4805
    functionLinenumberEnd: 4885
    functionName: do_lxcapi_migrate
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - malloc
    - memcpy
    - do_lxcapi_is_running
    - ERROR
    - __criu_check_feature
    - __criu_pre_dump
    - __criu_dump
    - __criu_restore
    - memset
    - free
    linkageType: ''
    returnType: int
    signature: "int do_lxcapi_migrate(struct lxc_container *c, unsigned int cmd,\n\t\t\t
      \    struct migrate_opts *opts, unsigned int size)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/lxccontainer.c:4893,1
    - Dst: do_lxcapi_migrate
      Src: /src/lxc/src/lxc/lxccontainer.c:4899,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 4
    argNames:
    - c
    - directory
    - stop
    - verbose
    argTypes:
    - struct lxc_container*
    - char*
    - bool
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4900
      start: 4889
    functionDepth: 5
    functionLinenumber: 4889
    functionLinenumberEnd: 4900
    functionName: do_lxcapi_checkpoint
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - memset
    - do_lxcapi_migrate
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_checkpoint(struct lxc_container *c, char *directory,
      bool stop, bool verbose)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/lxccontainer.c:4908,1
    - Dst: do_lxcapi_migrate
      Src: /src/lxc/src/lxc/lxccontainer.c:4913,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 3
    argNames:
    - c
    - directory
    - verbose
    argTypes:
    - struct lxc_container*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4914
      start: 4904
    functionDepth: 5
    functionLinenumber: 4904
    functionLinenumberEnd: 4914
    functionName: do_lxcapi_restore
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - memset
    - do_lxcapi_migrate
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_restore(struct lxc_container *c, char *directory, bool
      verbose)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:4925,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4927,1
    - Dst: dirname
      Src: /src/lxc/src/lxc/lxccontainer.c:4930,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/lxccontainer.c:4932,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4934,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4935,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:4938,1
    - Dst: stat
      Src: /src/lxc/src/lxc/lxccontainer.c:4940,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/lxccontainer.c:4941,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/lxccontainer.c:4941,1
    - Dst: S_ISREG
      Src: /src/lxc/src/lxc/lxccontainer.c:4944,1
    - Dst: S_ISREG
      Src: /src/lxc/src/lxc/lxccontainer.c:4944,1
    - Dst: remove
      Src: /src/lxc/src/lxc/lxccontainer.c:4947,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4948,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4952,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/lxccontainer.c:4956,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/lxccontainer.c:4957,1
    - Dst: mknod
      Src: /src/lxc/src/lxc/lxccontainer.c:4959,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:4962,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4964,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 38
    argCount: 2
    argNames:
    - dest
    - st_mode
    argTypes:
    - char*
    - mode_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4969
      start: 4919
    functionDepth: 2
    functionLinenumber: 4919
    functionLinenumberEnd: 4969
    functionName: create_mount_target
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - SYSERROR
    - mknod
    - mkdir
    - stat
    - S_ISREG
    - remove
    - TRACE
    - S_ISDIR
    - strdup
    - dirname
    - free
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: int create_mount_target(const char *dest, mode_t st_mode)
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4984,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4989,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:4993,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:4995,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:5000,1
    - Dst: stat
      Src: /src/lxc/src/lxc/lxccontainer.c:5004,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5006,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/lxccontainer.c:5011,1
    - Dst: mkdtemp
      Src: /src/lxc/src/lxc/lxccontainer.c:5013,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5015,1
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/lxc/lxccontainer.c:5019,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5021,1
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:5027,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5029,1
    - Dst: mount
      Src: /src/lxc/src/lxc/lxccontainer.c:5035,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5037,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5038,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:5040,1
    - Dst: do_lxcapi_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:5042,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5044,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5045,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/lxccontainer.c:5049,1
    - Dst: switch_to_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:5050,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5051,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5052,1
    - Dst: lxc_switch_uid_gid
      Src: /src/lxc/src/lxc/lxccontainer.c:5055,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5056,1
    - Dst: switch_to_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:5059,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5060,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5061,1
    - Dst: create_mount_target
      Src: /src/lxc/src/lxc/lxccontainer.c:5064,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5066,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/lxccontainer.c:5068,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:5072,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5074,1
    - Dst: mount
      Src: /src/lxc/src/lxc/lxccontainer.c:5078,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5080,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lxccontainer.c:5083,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5085,1
    - Dst: remove
      Src: /src/lxc/src/lxc/lxccontainer.c:5088,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5089,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:5092,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5094,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/lxccontainer.c:5099,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/lxccontainer.c:5102,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/lxccontainer.c:5104,1
    - Dst: close
      Src: /src/lxc/src/lxc/lxccontainer.c:5108,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 111
    argCount: 7
    argNames:
    - c
    - source
    - target
    - filesystemtype
    - mountflags
    - data
    - mnt
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - char*
    - unsigned long
    - void*
    - struct lxc_mount*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5111
      start: 4971
    functionDepth: 3
    functionLinenumber: 4971
    functionLinenumberEnd: 5111
    functionName: do_lxcapi_mount
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - switch_to_ns
    - strrchr
    - remove
    - TRACE
    - _exit
    - mount
    - lxc_make_tmpfile
    - SYSWARN
    - list_empty
    - strequal
    - S_ISDIR
    - lxc_switch_uid_gid
    - ERROR
    - mkdtemp
    - stat
    - rmdir
    - unlink
    - create_mount_target
    - strnprintf
    - SYSERROR
    - wait_for_pid
    - do_lxcapi_init_pid
    - fork
    - close
    linkageType: ''
    returnType: int
    signature: "int do_lxcapi_mount(struct lxc_container *c, const char *source,\n\t\t\t
      \  const char *target, const char *filesystemtype,\n\t\t\t   unsigned long mountflags,
      const void *data,\n\t\t\t   struct lxc_mount *mnt)"
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5123,1
    - Dst: fork
      Src: /src/lxc/src/lxc/lxccontainer.c:5128,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5130,1
    - Dst: do_lxcapi_init_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:5135,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5137,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5138,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/lxccontainer.c:5142,1
    - Dst: switch_to_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:5143,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5144,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5145,1
    - Dst: switch_to_ns
      Src: /src/lxc/src/lxc/lxccontainer.c:5149,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5150,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5151,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/lxccontainer.c:5155,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5157,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5158,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxccontainer.c:5161,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/lxccontainer.c:5164,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5166,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 39
    argCount: 4
    argNames:
    - c
    - target
    - flags
    - mnt
    argTypes:
    - struct lxc_container*
    - char*
    - unsigned long
    - struct lxc_mount*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5171
      start: 5116
    functionDepth: 2
    functionLinenumber: 5116
    functionLinenumberEnd: 5171
    functionName: do_lxcapi_umount
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - switch_to_ns
    - ERROR
    - list_empty
    - do_lxcapi_init_pid
    - umount2
    - _exit
    - fork
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: "int do_lxcapi_umount(struct lxc_container *c, const char *target,\n\t\t\t\tunsigned
      long flags, struct lxc_mount *mnt)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/lxc/src/lxc/lxccontainer.c:5186,1
    - Dst: lxc_va_arg_list_to_argv_const
      Src: /src/lxc/src/lxc/lxccontainer.c:5187,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/lxccontainer.c:5188,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5191,1
    - Dst: do_lxcapi_attach_run_wait
      Src: /src/lxc/src/lxc/lxccontainer.c:5197,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5198,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 4
    argNames:
    - c
    - options
    - program
    - arg
    argTypes:
    - struct lxc_container*
    - lxc_attach_options_t*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5203
      start: 5175
    functionDepth: 2
    functionLinenumber: 5175
    functionLinenumberEnd: 5203
    functionName: lxcapi_attach_run_waitl
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ERROR
    - do_lxcapi_attach_run_wait
    - lxc_va_arg_list_to_argv_const
    - va_start
    - va_end
    - free
    linkageType: ''
    returnType: int
    signature: int lxcapi_attach_run_waitl(struct lxc_container *c, lxc_attach_options_t
      *options, const char *program, const char *arg, ...)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:5208,1
    - Dst: lxc_seccomp_get_notify_fd
      Src: /src/lxc/src/lxc/lxccontainer.c:5210,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5211
      start: 5205
    functionDepth: 1
    functionLinenumber: 5205
    functionLinenumberEnd: 5211
    functionName: do_lxcapi_seccomp_notify_fd
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - lxc_seccomp_get_notify_fd
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_seccomp_notify_fd(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxccontainer.c:5218,1
    - Dst: lxc_cmd_get_seccomp_notify_fd
      Src: /src/lxc/src/lxc/lxccontainer.c:5220,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5221
      start: 5215
    functionDepth: 1
    functionLinenumber: 5215
    functionLinenumberEnd: 5221
    functionName: do_lxcapi_seccomp_notify_fd_active
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - lxc_cmd_get_seccomp_notify_fd
    linkageType: ''
    returnType: int
    signature: int do_lxcapi_seccomp_notify_fd_active(struct lxc_container *c)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - c
    - timeout
    argTypes:
    - struct lxc_container*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5236
      start: 5225
    functionDepth: 0
    functionLinenumber: 5225
    functionLinenumberEnd: 5236
    functionName: do_lxcapi_set_timeout
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool do_lxcapi_set_timeout(struct lxc_container *c, int timeout)
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:5249,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:5251,1
    - Dst: memset
      Src: /src/lxc/src/lxc/lxccontainer.c:5254,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:5257,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/lxccontainer.c:5259,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/lxccontainer.c:5259,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:5261,1
    - Dst: remove_trailing_slashes
      Src: /src/lxc/src/lxc/lxccontainer.c:5265,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:5267,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxccontainer.c:5268,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:5270,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/lxccontainer.c:5273,1
    - Dst: lxc_newlock
      Src: /src/lxc/src/lxc/lxccontainer.c:5276,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:5278,1
    - Dst: lxc_newlock
      Src: /src/lxc/src/lxc/lxccontainer.c:5282,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:5284,1
    - Dst: set_config_filename
      Src: /src/lxc/src/lxc/lxccontainer.c:5288,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:5289,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/lxccontainer.c:5293,1
    - Dst: lxcapi_load_config
      Src: /src/lxc/src/lxc/lxccontainer.c:5293,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxccontainer.c:5294,1
    - Dst: ongoing_create
      Src: /src/lxc/src/lxc/lxccontainer.c:5298,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5301,1
    - Dst: container_destroy
      Src: /src/lxc/src/lxc/lxccontainer.c:5302,1
    - Dst: lxcapi_clear_config
      Src: /src/lxc/src/lxc/lxccontainer.c:5303,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5312,1
    - Dst: lxc_container_free
      Src: /src/lxc/src/lxc/lxccontainer.c:5388,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 135
    argCount: 2
    argNames:
    - name
    - configpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5390
      start: 5240
    functionDepth: 5
    functionLinenumber: 5240
    functionLinenumberEnd: 5390
    functionName: lxc_container_new
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 43
    functionsReached:
    - malloc
    - fprintf
    - lxcapi_load_config
    - container_destroy
    - lxc_container_free
    - set_config_filename
    - remove_trailing_slashes
    - strlcpy
    - ongoing_create
    - lxcapi_clear_config
    - strlen
    - strdup
    - memset
    - lxc_global_config_value
    - SYSERROR
    - lxc_newlock
    - file_exists
    linkageType: ''
    returnType: struct lxc_container
    signature: struct lxc_container *lxc_container_new(const char *name, const char
      *configpath)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/lxccontainer.c:5398,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - states
    argTypes:
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5401
      start: 5392
    functionDepth: 1
    functionLinenumber: 5392
    functionLinenumberEnd: 5401
    functionName: lxc_get_wait_states
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - lxc_state2str
    linkageType: ''
    returnType: int
    signature: int lxc_get_wait_states(const char **states)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/lxccontainer.c:5416,1
    - Dst: opendir
      Src: /src/lxc/src/lxc/lxccontainer.c:5418,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxccontainer.c:5420,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/lxccontainer.c:5430,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/lxccontainer.c:5432,1
    - Dst: config_file_exists
      Src: /src/lxc/src/lxc/lxccontainer.c:5435,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/lxccontainer.c:5439,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:5441,1
    - Dst: do_lxcapi_is_defined
      Src: /src/lxc/src/lxc/lxccontainer.c:5446,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:5447,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:5450,1
    - Dst: add_to_array
      Src: /src/lxc/src/lxc/lxccontainer.c:5456,1
    - Dst: add_to_clist
      Src: /src/lxc/src/lxc/lxccontainer.c:5462,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:5463,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5477,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5478,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:5483,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5484,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 59
    argCount: 3
    argNames:
    - lxcpath
    - names
    - cret
    argTypes:
    - char*
    - char***
    - struct lxc_container***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5488
      start: 5407
    functionDepth: 6
    functionLinenumber: 5407
    functionLinenumberEnd: 5488
    functionName: list_defined_containers
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - readdir
    - do_lxcapi_is_defined
    - add_to_clist
    - strnequal
    - config_file_exists
    - add_to_array
    - lxc_container_put
    - lxc_container_new
    - INFO
    - opendir
    - lxc_global_config_value
    - SYSERROR
    - free
    linkageType: ''
    returnType: int
    signature: "int list_defined_containers(const char *lxcpath, char ***names,\n\t\t\t
      \   struct lxc_container ***cret)"
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/lxccontainer.c:5503,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxccontainer.c:5504,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/lxccontainer.c:5512,1
    - Dst: getline
      Src: /src/lxc/src/lxc/lxccontainer.c:5516,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/lxccontainer.c:5519,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/lxccontainer.c:5526,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/lxccontainer.c:5528,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/lxccontainer.c:5539,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/lxccontainer.c:5540,1
    - Dst: lxc_cmd_get_lxcpath
      Src: /src/lxc/src/lxc/lxccontainer.c:5545,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/lxccontainer.c:5549,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5550,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5553,1
    - Dst: lxc_cmd_get_name
      Src: /src/lxc/src/lxc/lxccontainer.c:5555,1
    - Dst: array_contains
      Src: /src/lxc/src/lxc/lxccontainer.c:5560,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5562,1
    - Dst: add_to_array
      Src: /src/lxc/src/lxc/lxccontainer.c:5566,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5568,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5576,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/lxccontainer.c:5580,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lxccontainer.c:5582,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5584,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5590,1
    - Dst: add_to_clist
      Src: /src/lxc/src/lxc/lxccontainer.c:5598,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:5599,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:5608,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:5623,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5624,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5630,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5631,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 108
    argCount: 3
    argNames:
    - lxcpath
    - nret
    - cret
    argTypes:
    - char*
    - char***
    - struct lxc_container***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5636
      start: 5490
    functionDepth: 6
    functionLinenumber: 5490
    functionLinenumberEnd: 5636
    functionName: list_active_containers
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - getline
    - lxc_cmd_get_name
    - add_to_clist
    - array_contains
    - strnequal
    - add_to_array
    - lxc_container_put
    - lxc_cmd_get_lxcpath
    - fopen
    - strstr
    - lxc_container_new
    - strlen
    - INFO
    - lxc_global_config_value
    - strchr
    - free
    linkageType: ''
    returnType: int
    signature: "int list_active_containers(const char *lxcpath, char ***nret,\n\t\t\t
      \  struct lxc_container ***cret)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: list_defined_containers
      Src: /src/lxc/src/lxc/lxccontainer.c:5645,1
    - Dst: list_active_containers
      Src: /src/lxc/src/lxc/lxccontainer.c:5649,1
    - Dst: array_contains
      Src: /src/lxc/src/lxc/lxccontainer.c:5657,1
    - Dst: add_to_array
      Src: /src/lxc/src/lxc/lxccontainer.c:5660,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/lxccontainer.c:5671,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/lxccontainer.c:5673,1
    - Dst: add_to_clist
      Src: /src/lxc/src/lxc/lxccontainer.c:5677,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lxccontainer.c:5681,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5688,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5689,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5695,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5696,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxccontainer.c:5703,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5704,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5708,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5709,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5713,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxccontainer.c:5714,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 63
    argCount: 3
    argNames:
    - lxcpath
    - nret
    - cret
    argTypes:
    - char*
    - char***
    - struct lxc_container***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5717
      start: 5638
    functionDepth: 7
    functionLinenumber: 5638
    functionLinenumberEnd: 5717
    functionName: list_all_containers
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - add_to_clist
    - array_contains
    - list_defined_containers
    - WARN
    - add_to_array
    - move_ptr
    - list_active_containers
    - lxc_container_new
    - lxc_container_put
    - free
    linkageType: ''
    returnType: int
    signature: "int list_all_containers(const char *lxcpath, char ***nret,\n\t\t\tstruct
      lxc_container ***cret)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_config_exact
      Src: /src/lxc/src/lxc/lxccontainer.c:5721,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - key
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5722
      start: 5719
    functionDepth: 1
    functionLinenumber: 5719
    functionLinenumberEnd: 5722
    functionName: lxc_config_item_is_supported
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 1
    functionsReached:
    - lxc_get_config_exact
    linkageType: ''
    returnType: bool
    signature: bool lxc_config_item_is_supported(const char *key)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/lxccontainer.c:5731,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - extension
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5735
      start: 5724
    functionDepth: 1
    functionLinenumber: 5724
    functionLinenumberEnd: 5735
    functionName: lxc_has_api_extension
    functionSourceFile: /src/lxc/src/lxc/lxccontainer.c
    functionUses: 0
    functionsReached:
    - strequal
    linkageType: ''
    returnType: bool
    signature: bool lxc_has_api_extension(const char *extension)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_check_inherited
      Src: /src/lxc/src/lxc/start.h:172,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/start.h:173,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - handler
    - closeall
    argTypes:
    - struct lxc_handler*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 174
      start: 170
    functionDepth: 1
    functionLinenumber: 170
    functionLinenumberEnd: 174
    functionName: inherit_fds
    functionSourceFile: /src/lxc/src/lxc/start.h
    functionUses: 1
    functionsReached:
    - lxc_check_inherited
    - ARRAY_SIZE
    linkageType: ''
    returnType: int
    signature: int inherit_fds(struct lxc_handler *handler, bool closeall)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - handler
    - ns_flag
    argTypes:
    - struct lxc_handler*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 186
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 186
    functionName: container_uses_namespace
    functionSourceFile: /src/lxc/src/lxc/start.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: "bool container_uses_namespace(const struct lxc_handler *handler,\n\t\t\t\t\t
      \   unsigned int ns_flag)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: geteuid
      Src: /src/lxc/src/lxc/idmap_utils.c:30,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/idmap_utils.c:33,1
    - Dst: open
      Src: /src/lxc/src/lxc/idmap_utils.c:37,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/idmap_utils.c:39,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/idmap_utils.c:42,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/idmap_utils.c:43,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/idmap_utils.c:44,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/idmap_utils.c:45,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/idmap_utils.c:46,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/idmap_utils.c:50,1
    - Dst: open
      Src: /src/lxc/src/lxc/idmap_utils.c:55,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/idmap_utils.c:57,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/idmap_utils.c:59,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/idmap_utils.c:61,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 4
    argNames:
    - idtype
    - pid
    - buf
    - buf_size
    argTypes:
    - enum idtype
    - pid_t
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 65
      start: 23
    functionDepth: 1
    functionLinenumber: 23
    functionLinenumberEnd: 65
    functionName: write_id_mapping
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 0
    functionsReached:
    - open
    - STRLITERALLEN
    - geteuid
    - TRACE
    - log_error_errno
    - strnprintf
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: "int write_id_mapping(enum idtype idtype, pid_t pid, const char *buf,\n\t\t
      \    size_t buf_size)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/idmap_utils.c:81,1
    - Dst: on_path
      Src: /src/lxc/src/lxc/idmap_utils.c:83,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/idmap_utils.c:85,1
    - Dst: stat
      Src: /src/lxc/src/lxc/idmap_utils.c:87,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/idmap_utils.c:93,1
    - Dst: lxc_file_cap_is_set
      Src: /src/lxc/src/lxc/idmap_utils.c:98,1
    - Dst: lxc_file_cap_is_set
      Src: /src/lxc/src/lxc/idmap_utils.c:99,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/idmap_utils.c:100,1
    - Dst: lxc_file_cap_is_set
      Src: /src/lxc/src/lxc/idmap_utils.c:104,1
    - Dst: lxc_file_cap_is_set
      Src: /src/lxc/src/lxc/idmap_utils.c:105,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/idmap_utils.c:106,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/idmap_utils.c:115,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 18
    argCount: 2
    argNames:
    - binary
    - cap
    argTypes:
    - char*
    - cap_value_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 118
      start: 74
    functionDepth: 2
    functionLinenumber: 74
    functionLinenumberEnd: 118
    functionName: idmaptool_on_path_and_privileged
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 0
    functionsReached:
    - lxc_file_cap_is_set
    - stat
    - ret_errno
    - DEBUG
    - log_debug
    - on_path
    linkageType: ''
    returnType: int
    signature: int idmaptool_on_path_and_privileged(const char *binary, cap_value_t
      cap)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execl
      Src: /src/lxc/src/lxc/idmap_utils.c:122,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 124
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 124
    functionName: lxc_map_ids_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 0
    functionsReached:
    - execl
    linkageType: ''
    returnType: int
    signature: int lxc_map_ids_exec_wrapper(void *args)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/idmap_utils.c:140,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/idmap_utils.c:140,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/idmap_utils.c:141,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/idmap_utils.c:141,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/idmap_utils.c:145,1
    - Dst: getegid
      Src: /src/lxc/src/lxc/idmap_utils.c:146,1
    - Dst: find_mapped_hostid_entry
      Src: /src/lxc/src/lxc/idmap_utils.c:155,1
    - Dst: idmaptool_on_path_and_privileged
      Src: /src/lxc/src/lxc/idmap_utils.c:163,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/idmap_utils.c:165,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/idmap_utils.c:167,1
    - Dst: idmaptool_on_path_and_privileged
      Src: /src/lxc/src/lxc/idmap_utils.c:169,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/idmap_utils.c:171,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/idmap_utils.c:173,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/idmap_utils.c:176,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/idmap_utils.c:178,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/idmap_utils.c:186,1
    - Dst: list_len
      Src: /src/lxc/src/lxc/idmap_utils.c:193,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/idmap_utils.c:212,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/idmap_utils.c:221,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/idmap_utils.c:230,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/idmap_utils.c:241,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/idmap_utils.c:245,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/idmap_utils.c:246,1
    - Dst: write_id_mapping
      Src: /src/lxc/src/lxc/idmap_utils.c:248,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/idmap_utils.c:250,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/idmap_utils.c:251,1
    - Dst: memset
      Src: /src/lxc/src/lxc/idmap_utils.c:254,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 63
    argCount: 2
    argNames:
    - idmap
    - pid
    argTypes:
    - struct list_head*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 258
      start: 129
    functionDepth: 3
    functionLinenumber: 129
    functionLinenumberEnd: 258
    functionName: lxc_map_ids
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 0
    functionsReached:
    - run_command
    - STRLITERALLEN
    - sprintf
    - log_error
    - list_len
    - geteuid
    - idmaptool_on_path_and_privileged
    - WARN
    - TRACE
    - INTTYPE_TO_STRLEN
    - log_error_errno
    - memset
    - write_id_mapping
    - INFO
    - strnprintf
    - DEBUG
    - find_mapped_hostid_entry
    - getegid
    linkageType: ''
    returnType: int
    signature: int lxc_map_ids(struct list_head *idmap, pid_t pid)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 204
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 204
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 6
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(map, idmap, head)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/idmap_utils.c:221,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/idmap_utils.c:230,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 233
      start: 214
    functionDepth: 1
    functionLinenumber: 214
    functionLinenumberEnd: 233
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 6
    functionsReached:
    - strnprintf
    - log_error_errno
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(map, idmap, head)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/idmap_utils.c:264,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 3
    argNames:
    - id
    - conf
    - idtype
    argTypes:
    - unsigned
    - struct lxc_conf*
    - enum idtype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 273
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 273
    functionName: mapped_hostid
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 1
    functionsReached:
    - list_for_each_entry
    linkageType: ''
    returnType: int
    signature: int mapped_hostid(unsigned id, const struct lxc_conf *conf, enum idtype
      idtype)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/idmap_utils.c:281,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 2
    argNames:
    - conf
    - idtype
    argTypes:
    - struct lxc_conf*
    - enum idtype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 292
      start: 275
    functionDepth: 0
    functionLinenumber: 275
    functionLinenumberEnd: 292
    functionName: find_unmapped_nsid
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 1
    functionsReached:
    - list_for_each_entry
    linkageType: ''
    returnType: int
    signature: int find_unmapped_nsid(const struct lxc_conf *conf, enum idtype idtype)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/idmap_utils.c:310,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 3
    argNames:
    - conf
    - id
    - idtype
    argTypes:
    - struct lxc_conf*
    - unsigned
    - enum idtype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 321
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 321
    functionName: find_mapped_nsid_entry
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    linkageType: ''
    returnType: struct id_map
    signature: "struct id_map *find_mapped_nsid_entry(const struct lxc_conf *conf,\n\t\t\t\t\t\t
      \  unsigned id,\n\t\t\t\t\t\t   enum idtype idtype)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: find_mapped_nsid_entry
      Src: /src/lxc/src/lxc/idmap_utils.c:329,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/idmap_utils.c:333,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/idmap_utils.c:337,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 3
    argNames:
    - conf
    - id
    - idtype
    argTypes:
    - struct lxc_conf*
    - unsigned
    - enum idtype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 339
      start: 323
    functionDepth: 1
    functionLinenumber: 323
    functionLinenumberEnd: 339
    functionName: mapped_nsid_add
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 0
    functionsReached:
    - zalloc
    - find_mapped_nsid_entry
    - memcpy
    linkageType: ''
    returnType: struct id_map
    signature: "struct id_map *mapped_nsid_add(const struct lxc_conf *conf, unsigned
      id,\n\t\t\t\t      enum idtype idtype)"
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 3
    argNames:
    - idmap
    - id
    - idtype
    argTypes:
    - struct list_head*
    - unsigned
    - enum idtype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 358
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 358
    functionName: find_mapped_hostid_entry
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: struct id_map
    signature: "struct id_map *find_mapped_hostid_entry(const struct list_head *idmap,\n\t\t\t\t\t
      \      unsigned id, enum idtype idtype)"
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 355
      start: 347
    functionDepth: 0
    functionLinenumber: 347
    functionLinenumberEnd: 355
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 9
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(map, idmap, head)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/idmap_utils.c:370,1
    - Dst: find_mapped_hostid_entry
      Src: /src/lxc/src/lxc/idmap_utils.c:375,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/idmap_utils.c:377,1
    - Dst: find_unmapped_nsid
      Src: /src/lxc/src/lxc/idmap_utils.c:380,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/idmap_utils.c:382,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/idmap_utils.c:390,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 3
    argNames:
    - conf
    - id
    - type
    argTypes:
    - struct lxc_conf*
    - uid_t
    - enum idtype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 391
      start: 363
    functionDepth: 1
    functionLinenumber: 363
    functionLinenumberEnd: 391
    functionName: mapped_hostid_add
    functionSourceFile: /src/lxc/src/lxc/idmap_utils.c
    functionUses: 0
    functionsReached:
    - memcpy
    - find_unmapped_nsid
    - find_mapped_hostid_entry
    - zalloc
    - move_ptr
    - log_debug
    linkageType: ''
    returnType: struct id_map
    signature: "struct id_map *mapped_hostid_add(const struct lxc_conf *conf, uid_t
      id,\n\t\t\t\t\tenum idtype type)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:282,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:284,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:286,1
    - Dst: access
      Src: /src/lxc/src/lxc/conf.c:293,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:295,1
    - Dst: storage_init
      Src: /src/lxc/src/lxc/conf.c:298,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:300,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 305
      start: 276
    functionDepth: 1
    functionLinenumber: 276
    functionLinenumberEnd: 305
    functionName: lxc_storage_prepare
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 4
    functionsReached:
    - mount
    - open_at
    - access
    - log_error
    - log_error_errno
    - storage_init
    linkageType: ''
    returnType: int
    signature: int lxc_storage_prepare(struct lxc_conf *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: storage_put
      Src: /src/lxc/src/lxc/conf.c:309,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 311
      start: 307
    functionDepth: 1
    functionLinenumber: 307
    functionLinenumberEnd: 311
    functionName: lxc_storage_put
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 3
    functionsReached:
    - storage_put
    linkageType: ''
    returnType: void
    signature: void lxc_storage_put(struct lxc_conf *conf)
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: lxc_storage_prepare
      Src: /src/lxc/src/lxc/conf.c:329,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:331,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:334,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:339,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.c:341,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:343,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:345,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:346,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:350,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:353,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:355,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:356,1
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/conf.c:357,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:359,1
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/conf.c:360,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:362,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:364,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/conf.c:366,1
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/conf.c:368,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/conf.c:370,1
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/conf.c:371,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:373,1
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/conf.c:379,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:380,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:383,1
    - Dst: fstatfs
      Src: /src/lxc/src/lxc/conf.c:385,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/conf.c:387,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:392,1
    - Dst: unlinkat
      Src: /src/lxc/src/lxc/conf.c:396,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/conf.c:397,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:399,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/conf.c:402,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 56
    argCount: 2
    argNames:
    - conf
    - userns
    argTypes:
    - struct lxc_conf*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 404
      start: 320
    functionDepth: 2
    functionLinenumber: 320
    functionLinenumberEnd: 404
    functionName: lxc_rootfs_init
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - fstatfs
    - is_empty_string
    - open_at
    - SYSWARN
    - SYSTRACE
    - unlinkat
    - fstat
    - strequal
    - log_trace
    - TRACE
    - lxc_storage_prepare
    - syserror_set
    - S_ISDIR
    - syserror
    - DEBUG
    - move_fd
    - log_trace_errno
    linkageType: ''
    returnType: int
    signature: int lxc_rootfs_init(struct lxc_conf *conf, bool userns)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/conf.c:415,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.c:418,1
    - Dst: rootfs_is_blockdev
      Src: /src/lxc/src/lxc/conf.c:424,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:425,1
    - Dst: can_use_bind_mounts
      Src: /src/lxc/src/lxc/conf.c:427,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:428,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:430,1
    - Dst: dup_cloexec
      Src: /src/lxc/src/lxc/conf.c:431,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:433,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:436,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/conf.c:438,1
    - Dst: create_detached_idmapped_mount
      Src: /src/lxc/src/lxc/conf.c:440,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:444,1
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/conf.c:446,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:448,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:450,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 25
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 452
      start: 406
    functionDepth: 2
    functionLinenumber: 406
    functionLinenumberEnd: 452
    functionName: lxc_rootfs_prepare_parent
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - create_detached_idmapped_mount
    - lxc_abstract_unix_send_fds
    - is_empty_string
    - container_uses_namespace
    - open_at
    - strequal
    - lxc_storage_get_path
    - TRACE
    - rootfs_is_blockdev
    - syserror_set
    - dup_cloexec
    - syserror
    - can_use_bind_mounts
    linkageType: ''
    returnType: int
    signature: int lxc_rootfs_prepare_parent(struct lxc_handler *handler)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:462,1
    - Dst: add_elem_to_mount_list
      Src: /src/lxc/src/lxc/conf.c:468,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 469
      start: 454
    functionDepth: 1
    functionLinenumber: 454
    functionLinenumberEnd: 469
    functionName: add_shmount_to_list
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - strnprintf
    - add_elem_to_mount_list
    linkageType: ''
    returnType: int
    signature: int add_shmount_to_list(struct lxc_conf *conf)
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:524,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:527,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:529,1
    - Dst: SYSDEBUG
      Src: /src/lxc/src/lxc/conf.c:531,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/conf.c:534,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:536,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:538,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:547,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:550,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:552,1
    - Dst: SYSDEBUG
      Src: /src/lxc/src/lxc/conf.c:554,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/conf.c:557,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:559,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:561,1
    - Dst: lxc_wants_cap
      Src: /src/lxc/src/lxc/conf.c:564,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/conf.c:574,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:576,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:580,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:585,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:587,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:590,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/conf.c:595,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:597,1
    - Dst: safe_mount
      Src: /src/lxc/src/lxc/conf.c:599,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:606,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:608,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:613,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:615,1
    - Dst: has_cap
      Src: /src/lxc/src/lxc/conf.c:634,1
    - Dst: has_cap
      Src: /src/lxc/src/lxc/conf.c:638,1
    - Dst: struct lxc_handler*::cgroup_ops::mount
      Src: /src/lxc/src/lxc/conf.c:646,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:647,1
    - Dst: add_shmount_to_list
      Src: /src/lxc/src/lxc/conf.c:651,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:653,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 81
    argCount: 2
    argNames:
    - handler
    - flags
    argTypes:
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 657
      start: 471
    functionDepth: 4
    functionLinenumber: 471
    functionLinenumberEnd: 657
    functionName: lxc_mount_auto_mounts
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - struct lxc_handler*::cgroup_ops::mount
    - SYSDEBUG
    - mkdirat
    - has_cap
    - add_shmount_to_list
    - safe_mount
    - log_error
    - TRACE
    - ret_errno
    - syserror_set
    - lxc_string_replace
    - log_error_errno
    - syserror
    - umount2
    - strnprintf
    - INFO
    - lxc_wants_cap
    linkageType: ''
    returnType: int
    signature: int lxc_mount_auto_mounts(struct lxc_handler *handler, int flags)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sethostname
      Src: /src/lxc/src/lxc/conf.c:666,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:666,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:668,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:671,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - utsname
    argTypes:
    - struct utsname*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 674
      start: 659
    functionDepth: 1
    functionLinenumber: 659
    functionLinenumberEnd: 674
    functionName: setup_utsname
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - strlen
    - log_error_errno
    - INFO
    - sethostname
    linkageType: ''
    returnType: int
    signature: int setup_utsname(struct utsname *utsname)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fstatat
      Src: /src/lxc/src/lxc/conf.c:699,1
    - Dst: symlinkat
      Src: /src/lxc/src/lxc/conf.c:703,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/conf.c:707,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:712,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 718
      start: 688
    functionDepth: 1
    functionLinenumber: 688
    functionLinenumberEnd: 718
    functionName: lxc_setup_dev_symlinks
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - fstatat
    - symlinkat
    - WARN
    linkageType: ''
    returnType: int
    signature: int lxc_setup_dev_symlinks(const struct lxc_rootfs *rootfs)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:729,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:731,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/conf.c:733,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/conf.c:739,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/conf.c:742,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 2
    argNames:
    - ttys
    - tty_name
    argTypes:
    - struct lxc_tty_info*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 745
      start: 721
    functionDepth: 1
    functionLinenumber: 721
    functionLinenumberEnd: 745
    functionName: append_ttyname
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - strlen
    - realloc
    - strlcat
    linkageType: ''
    returnType: bool
    signature: bool append_ttyname(struct lxc_tty_info *ttys, char *tty_name)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:751,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:757,1
    - Dst: SYSINFO
      Src: /src/lxc/src/lxc/conf.c:759,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:760,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - dfd
    - path
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 767
      start: 747
    functionDepth: 1
    functionLinenumber: 747
    functionLinenumberEnd: 767
    functionName: open_ttymnt_at
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - SYSINFO
    - open_at
    - syserror
    linkageType: ''
    returnType: int
    signature: int open_ttymnt_at(int dfd, const char *path)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:786,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:789,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:791,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:792,1
    - Dst: open_ttymnt_at
      Src: /src/lxc/src/lxc/conf.c:795,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:797,1
    - Dst: unlinkat
      Src: /src/lxc/src/lxc/conf.c:801,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:803,1
    - Dst: fd_bind_mount
      Src: /src/lxc/src/lxc/conf.c:807,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:818,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:821,1
    - Dst: symlinkat
      Src: /src/lxc/src/lxc/conf.c:823,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:825,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:830,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:832,1
    - Dst: open_ttymnt_at
      Src: /src/lxc/src/lxc/conf.c:835,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:837,1
    - Dst: fd_bind_mount
      Src: /src/lxc/src/lxc/conf.c:841,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:852,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:855,1
    - Dst: append_ttyname
      Src: /src/lxc/src/lxc/conf.c:858,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:859,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:862,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 40
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 864
      start: 769
    functionDepth: 2
    functionLinenumber: 769
    functionLinenumberEnd: 864
    functionName: lxc_setup_ttys
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - fd_bind_mount
    - open_ttymnt_at
    - STRLITERALLEN
    - unlinkat
    - log_error
    - symlinkat
    - ret_errno
    - log_error_errno
    - INFO
    - strlen
    - strnprintf
    - DEBUG
    - append_ttyname
    linkageType: ''
    returnType: int
    signature: int lxc_setup_ttys(struct lxc_conf *conf)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/conf.c:870,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/conf.c:877,1
    - Dst: lxc_devpts_terminal
      Src: /src/lxc/src/lxc/conf.c:884,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:888,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:890,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:892,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:894,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:899,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:900,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 902
      start: 868
    functionDepth: 1
    functionLinenumber: 868
    functionLinenumberEnd: 902
    functionName: lxc_allocate_ttys
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_devpts_terminal
    - call_cleaner
    - zalloc
    - move_ptr
    - syserror_set
    - syserror
    - INFO
    - strnprintf
    - DEBUG
    linkageType: ''
    returnType: int
    signature: int lxc_allocate_ttys(struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:911,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:912,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.c:915,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - ttys
    argTypes:
    - struct lxc_tty_info*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 916
      start: 904
    functionDepth: 1
    functionLinenumber: 904
    functionLinenumberEnd: 916
    functionName: lxc_delete_tty
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - free_disarm
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_delete_tty(struct lxc_tty_info *ttys)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/conf.c:935,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:939,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:944,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:946,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 949
      start: 918
    functionDepth: 1
    functionLinenumber: 918
    functionLinenumberEnd: 949
    functionName: __lxc_send_ttys_to_parent
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_send_fds
    - SYSERROR
    - TRACE
    linkageType: ''
    returnType: int
    signature: int __lxc_send_ttys_to_parent(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_allocate_ttys
      Src: /src/lxc/src/lxc/conf.c:956,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:958,1
    - Dst: lxc_setup_ttys
      Src: /src/lxc/src/lxc/conf.c:963,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:965,1
    - Dst: lxc_delete_tty
      Src: /src/lxc/src/lxc/conf.c:973,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 976
      start: 951
    functionDepth: 3
    functionLinenumber: 951
    functionLinenumberEnd: 976
    functionName: lxc_create_ttys
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_delete_tty
    - ERROR
    - lxc_allocate_ttys
    - lxc_setup_ttys
    linkageType: ''
    returnType: int
    signature: int lxc_create_ttys(struct lxc_handler *handler)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_send_ttys_to_parent
      Src: /src/lxc/src/lxc/conf.c:982,1
    - Dst: lxc_delete_tty
      Src: /src/lxc/src/lxc/conf.c:983,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 985
      start: 978
    functionDepth: 2
    functionLinenumber: 978
    functionLinenumberEnd: 985
    functionName: lxc_send_ttys_to_parent
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 1
    functionsReached:
    - lxc_delete_tty
    - __lxc_send_ttys_to_parent
    linkageType: ''
    returnType: int
    signature: int lxc_send_ttys_to_parent(struct lxc_handler *handler)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:1000,1
    - Dst: umask
      Src: /src/lxc/src/lxc/conf.c:1002,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/conf.c:1003,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:1005,1
    - Dst: fs_prepare
      Src: /src/lxc/src/lxc/conf.c:1010,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1012,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/conf.c:1014,1
    - Dst: fs_set_property
      Src: /src/lxc/src/lxc/conf.c:1016,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1018,1
    - Dst: fs_set_property
      Src: /src/lxc/src/lxc/conf.c:1020,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1022,1
    - Dst: fs_attach
      Src: /src/lxc/src/lxc/conf.c:1024,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:1028,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/conf.c:1035,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:1037,1
    - Dst: umask
      Src: /src/lxc/src/lxc/conf.c:1045,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:1047,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 39
    argCount: 4
    argNames:
    - name
    - rootfs
    - autodevtmpfssize
    - lxcpath
    argTypes:
    - char*
    - struct lxc_rootfs*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1049
      start: 990
    functionDepth: 1
    functionLinenumber: 990
    functionLinenumberEnd: 1049
    functionName: mount_autodev
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mkdirat
    - sprintf
    - fs_prepare
    - fs_set_property
    - log_error_errno
    - INFO
    - fs_attach
    - SYSERROR
    - umask
    linkageType: ''
    returnType: int
    signature: "int mount_autodev(const char *name, const struct lxc_rootfs *rootfs,\n\t\t\t
      int autodevtmpfssize, const char *lxcpath)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: log_info
      Src: /src/lxc/src/lxc/conf.c:1082,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:1084,1
    - Dst: umask
      Src: /src/lxc/src/lxc/conf.c:1086,1
    - Dst: mknodat
      Src: /src/lxc/src/lxc/conf.c:1091,1
    - Dst: makedev
      Src: /src/lxc/src/lxc/conf.c:1091,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:1093,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1096,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1111,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/conf.c:1118,1
    - Dst: mknodat
      Src: /src/lxc/src/lxc/conf.c:1129,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1131,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:1135,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:1137,1
    - Dst: fd_bind_mount
      Src: /src/lxc/src/lxc/conf.c:1139,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:1149,1
    - Dst: umask
      Src: /src/lxc/src/lxc/conf.c:1151,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:1153,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 42
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1155
      start: 1075
    functionDepth: 2
    functionLinenumber: 1075
    functionLinenumberEnd: 1155
    functionName: lxc_fill_autodev
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - fd_bind_mount
    - log_info
    - makedev
    - mknodat
    - open_at
    - SYSTRACE
    - log_error_errno
    - ret_errno
    - INFO
    - strnprintf
    - DEBUG
    - umask
    linkageType: ''
    returnType: int
    signature: int lxc_fill_autodev(struct lxc_rootfs *rootfs)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:1162,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1164,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1166,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:1170,1
    - Dst: access
      Src: /src/lxc/src/lxc/conf.c:1173,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1175,1
    - Dst: struct lxc_rootfs*::storage::ops::mount
      Src: /src/lxc/src/lxc/conf.c:1178,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:1180,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:1184,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1188,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1190,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:1192,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1193
      start: 1157
    functionDepth: 1
    functionLinenumber: 1157
    functionLinenumberEnd: 1193
    functionName: lxc_mount_rootfs
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - struct lxc_rootfs*::storage::ops::mount
    - mount
    - open_at
    - access
    - log_error
    - log_trace
    - log_error_errno
    - DEBUG
    linkageType: ''
    returnType: int
    signature: int lxc_mount_rootfs(struct lxc_rootfs *rootfs)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1200,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1202,1
    - Dst: same_file_lax
      Src: /src/lxc/src/lxc/conf.c:1206,1
    - Dst: syswarn_ret
      Src: /src/lxc/src/lxc/conf.c:1207,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1210
      start: 1195
    functionDepth: 1
    functionLinenumber: 1195
    functionLinenumberEnd: 1210
    functionName: lxc_rootfs_overmounted
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - same_file_lax
    - open_at
    - syswarn_ret
    linkageType: ''
    returnType: bool
    signature: bool lxc_rootfs_overmounted(struct lxc_rootfs *rootfs)
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: realpath
      Src: /src/lxc/src/lxc/conf.c:1218,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1220,1
    - Dst: chdir
      Src: /src/lxc/src/lxc/conf.c:1222,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:1229,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1231,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:1233,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1235,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/conf.c:1254,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1256,1
    - Dst: getline
      Src: /src/lxc/src/lxc/conf.c:1258,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/conf.c:1260,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/conf.c:1265,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:1272,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:1275,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:1278,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:1288,1
    - Dst: chdir
      Src: /src/lxc/src/lxc/conf.c:1291,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1293,1
    - Dst: chroot
      Src: /src/lxc/src/lxc/conf.c:1295,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1297,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 46
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1300
      start: 1212
    functionDepth: 1
    functionLinenumber: 1212
    functionLinenumberEnd: 1300
    functionName: lxc_chroot
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mount
    - getline
    - chroot
    - strequal
    - log_error_errno
    - realpath
    - fopen
    - umount2
    - chdir
    - strchr
    linkageType: ''
    returnType: int
    signature: int lxc_chroot(const struct lxc_rootfs *rootfs)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1333,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1335,1
    - Dst: fchdir
      Src: /src/lxc/src/lxc/conf.c:1338,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1340,1
    - Dst: pivot_root
      Src: /src/lxc/src/lxc/conf.c:1343,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1345,1
    - Dst: fchdir
      Src: /src/lxc/src/lxc/conf.c:1351,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1353,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:1362,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1364,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:1366,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1368,1
    - Dst: fchdir
      Src: /src/lxc/src/lxc/conf.c:1370,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1372,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:1395,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1397,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:1399,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1401
      start: 1328
    functionDepth: 1
    functionLinenumber: 1328
    functionLinenumberEnd: 1401
    functionName: lxc_pivot_root
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mount
    - pivot_root
    - open_at
    - TRACE
    - log_error_errno
    - umount2
    - fchdir
    linkageType: ''
    returnType: int
    signature: int lxc_pivot_root(const struct lxc_rootfs *rootfs)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: log_debug
      Src: /src/lxc/src/lxc/conf.c:1406,1
    - Dst: detect_ramfs_rootfs
      Src: /src/lxc/src/lxc/conf.c:1408,1
    - Dst: lxc_chroot
      Src: /src/lxc/src/lxc/conf.c:1409,1
    - Dst: lxc_pivot_root
      Src: /src/lxc/src/lxc/conf.c:1411,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1412
      start: 1403
    functionDepth: 2
    functionLinenumber: 1403
    functionLinenumberEnd: 1412
    functionName: lxc_setup_rootfs_switch_root
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_pivot_root
    - detect_ramfs_rootfs
    - log_debug
    - lxc_chroot
    linkageType: ''
    returnType: int
    signature: int lxc_setup_rootfs_switch_root(const struct lxc_rootfs *rootfs)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_recv_one_fd
      Src: /src/lxc/src/lxc/conf.c:1421,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1426,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:1428,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1430
      start: 1414
    functionDepth: 1
    functionLinenumber: 1414
    functionLinenumberEnd: 1430
    functionName: lxc_recv_devpts_from_child
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_recv_one_fd
    - log_error_errno
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_recv_devpts_from_child(struct lxc_handler *handler)
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: log_debug
      Src: /src/lxc/src/lxc/conf.c:1442,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:1444,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1447,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:1449,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/conf.c:1452,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1454,1
    - Dst: fs_prepare
      Src: /src/lxc/src/lxc/conf.c:1456,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1458,1
    - Dst: fs_set_property
      Src: /src/lxc/src/lxc/conf.c:1460,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/conf.c:1462,1
    - Dst: fs_set_property
      Src: /src/lxc/src/lxc/conf.c:1464,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/conf.c:1466,1
    - Dst: fs_set_flag
      Src: /src/lxc/src/lxc/conf.c:1468,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1470,1
    - Dst: fs_set_property
      Src: /src/lxc/src/lxc/conf.c:1472,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1474,1
    - Dst: fs_set_property
      Src: /src/lxc/src/lxc/conf.c:1476,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1478,1
    - Dst: fs_set_property
      Src: /src/lxc/src/lxc/conf.c:1480,1
    - Dst: fdstr
      Src: /src/lxc/src/lxc/conf.c:1480,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1482,1
    - Dst: fsconfig
      Src: /src/lxc/src/lxc/conf.c:1484,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1486,1
    - Dst: fsmount
      Src: /src/lxc/src/lxc/conf.c:1488,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1490,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:1491,1
    - Dst: move_mount
      Src: /src/lxc/src/lxc/conf.c:1493,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1495,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:1497,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/conf.c:1499,1
    - Dst: unlinkat
      Src: /src/lxc/src/lxc/conf.c:1516,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1519,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:1521,1
    - Dst: mknodat
      Src: /src/lxc/src/lxc/conf.c:1525,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1527,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:1528,1
    - Dst: mount_at
      Src: /src/lxc/src/lxc/conf.c:1531,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/conf.c:1535,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:1538,1
    - Dst: unlinkat
      Src: /src/lxc/src/lxc/conf.c:1541,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1543,1
    - Dst: symlinkat
      Src: /src/lxc/src/lxc/conf.c:1546,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1548,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:1550,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 69
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1552
      start: 1432
    functionDepth: 1
    functionLinenumber: 1432
    functionLinenumberEnd: 1552
    functionName: lxc_setup_devpts_child
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - fs_set_property
    - TRACE
    - syserror
    - fsconfig
    - move_fd
    - log_debug
    - unlinkat
    - umount2
    - fsmount
    - fdstr
    - mkdirat
    - ERROR
    - mknodat
    - symlinkat
    - move_mount
    - log_error_errno
    - strnprintf
    - DEBUG
    - fs_set_flag
    - fs_prepare
    - SYSTRACE
    - mount_at
    linkageType: ''
    returnType: int
    signature: int lxc_setup_devpts_child(struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:1569,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1572,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:1574,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:1575,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1577
      start: 1554
    functionDepth: 1
    functionLinenumber: 1554
    functionLinenumberEnd: 1577
    functionName: lxc_finish_devpts_child
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - umount2
    - strnprintf
    - close_prot_errno_disarm
    - syserror
    linkageType: ''
    returnType: int
    signature: int lxc_finish_devpts_child(struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: log_debug
      Src: /src/lxc/src/lxc/conf.c:1584,1
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/conf.c:1586,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:1588,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:1590,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:1592,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1595
      start: 1579
    functionDepth: 1
    functionLinenumber: 1579
    functionLinenumberEnd: 1595
    functionName: lxc_send_devpts_to_parent
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_send_fds
    - TRACE
    - close_prot_errno_disarm
    - SYSERROR
    - log_debug
    linkageType: ''
    returnType: int
    signature: int lxc_send_devpts_to_parent(struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: log_debug
      Src: /src/lxc/src/lxc/conf.c:1602,1
    - Dst: lxc_personality
      Src: /src/lxc/src/lxc/conf.c:1604,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1606,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:1608,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - persona
    argTypes:
    - personality_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1610
      start: 1597
    functionDepth: 1
    functionLinenumber: 1597
    functionLinenumberEnd: 1610
    functionName: setup_personality
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - INFO
    - lxc_personality
    - log_debug
    - syserror
    linkageType: ''
    returnType: int
    signature: int setup_personality(personality_t persona)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.c:1617,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:1618,1
    - Dst: open_at_same
      Src: /src/lxc/src/lxc/conf.c:1634,1
    - Dst: fdstr
      Src: /src/lxc/src/lxc/conf.c:1634,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1637,1
    - Dst: fd_bind_mount
      Src: /src/lxc/src/lxc/conf.c:1643,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 4
    argNames:
    - fd_devpts
    - rootfs
    - console
    - fd_to
    argTypes:
    - int
    - struct lxc_rootfs*
    - struct lxc_terminal*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1644
      start: 1612
    functionDepth: 2
    functionLinenumber: 1612
    functionLinenumberEnd: 1644
    functionName: bind_mount_console
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - fdstr
    - fd_bind_mount
    - is_empty_string
    - ret_errno
    - syserror
    - open_at_same
    linkageType: ''
    returnType: int
    signature: "int bind_mount_console(int fd_devpts, struct lxc_rootfs *rootfs,\n\t\t\t
      \     struct lxc_terminal *console, int fd_to)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: exists_file_at
      Src: /src/lxc/src/lxc/conf.c:1656,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:1659,1
    - Dst: lxc_unstack_mountpoint
      Src: /src/lxc/src/lxc/conf.c:1663,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1665,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:1667,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1674,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1680,1
    - Dst: fchmod
      Src: /src/lxc/src/lxc/conf.c:1682,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1684,1
    - Dst: bind_mount_console
      Src: /src/lxc/src/lxc/conf.c:1686,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1688,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:1691,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 3
    argNames:
    - fd_devpts
    - rootfs
    - console
    argTypes:
    - int
    - struct lxc_rootfs*
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1693
      start: 1646
    functionDepth: 3
    functionLinenumber: 1646
    functionLinenumberEnd: 1693
    functionName: lxc_setup_dev_console
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - exists_file_at
    - open_at
    - fchmod
    - lxc_unstack_mountpoint
    - TRACE
    - log_error_errno
    - bind_mount_console
    - syserror
    - strnprintf
    - DEBUG
    linkageType: ''
    returnType: int
    signature: "int lxc_setup_dev_console(int fd_devpts, struct lxc_rootfs *rootfs,\n\t\t\t\t
      struct lxc_terminal *console)"
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/conf.c:1704,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1706,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1708,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1714,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:1716,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1721,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1727,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/conf.c:1729,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:1732,1
    - Dst: lxc_unstack_mountpoint
      Src: /src/lxc/src/lxc/conf.c:1736,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1738,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:1740,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1744,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1750,1
    - Dst: fchmod
      Src: /src/lxc/src/lxc/conf.c:1752,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1754,1
    - Dst: bind_mount_console
      Src: /src/lxc/src/lxc/conf.c:1757,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1759,1
    - Dst: open_at_same
      Src: /src/lxc/src/lxc/conf.c:1762,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1769,1
    - Dst: fd_bind_mount
      Src: /src/lxc/src/lxc/conf.c:1772,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1785,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:1788,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 39
    argCount: 4
    argNames:
    - fd_devpts
    - rootfs
    - console
    - ttydir
    argTypes:
    - int
    - struct lxc_rootfs*
    - struct lxc_terminal*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1790
      start: 1695
    functionDepth: 3
    functionLinenumber: 1695
    functionLinenumberEnd: 1790
    functionName: lxc_setup_ttydir_console
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - fd_bind_mount
    - mkdirat
    - open_at
    - fchmod
    - lxc_unstack_mountpoint
    - TRACE
    - log_error_errno
    - bind_mount_console
    - syserror
    - strnprintf
    - DEBUG
    - open_at_same
    - file_exists
    linkageType: ''
    returnType: int
    signature: "int lxc_setup_ttydir_console(int fd_devpts, struct lxc_rootfs *rootfs,\n\t\t\t\t
      \   struct lxc_terminal *console,\n\t\t\t\t    char *ttydir)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: wants_console
      Src: /src/lxc/src/lxc/conf.c:1800,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:1801,1
    - Dst: lxc_devpts_terminal
      Src: /src/lxc/src/lxc/conf.c:1809,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1812,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:1814,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1817,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:1825,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1831,1
    - Dst: lxc_setup_ttydir_console
      Src: /src/lxc/src/lxc/conf.c:1837,1
    - Dst: lxc_setup_dev_console
      Src: /src/lxc/src/lxc/conf.c:1839,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1841,1
    - Dst: set_stdfds
      Src: /src/lxc/src/lxc/conf.c:1852,1
    - Dst: lxc_terminal_set_stdfds
      Src: /src/lxc/src/lxc/conf.c:1854,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:1856,1
    - Dst: lxc_terminal_delete
      Src: /src/lxc/src/lxc/conf.c:1863,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 31
    argCount: 4
    argNames:
    - handler
    - rootfs
    - console
    - ttydir
    argTypes:
    - struct lxc_handler*
    - struct lxc_rootfs*
    - struct lxc_terminal*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1867
      start: 1792
    functionDepth: 4
    functionLinenumber: 1792
    functionLinenumberEnd: 1867
    functionName: lxc_setup_console
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_delete
    - lxc_devpts_terminal
    - lxc_setup_dev_console
    - open_at
    - set_stdfds
    - lxc_setup_ttydir_console
    - lxc_terminal_set_stdfds
    - log_trace
    - wants_console
    - syserror
    - strnprintf
    linkageType: ''
    returnType: int
    signature: "int lxc_setup_console(const struct lxc_handler *handler,\n\t\t\t     struct
      lxc_rootfs *rootfs,\n\t\t\t     struct lxc_terminal *console, char *ttydir)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/conf.c:1874,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:1879,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:1881,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:1883,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:1893,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/conf.c:1894,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1896,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/conf.c:1899,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:1901,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 4
    argNames:
    - opt
    - flags
    - data
    - size
    argTypes:
    - char*
    - unsigned long*
    - char**
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1904
      start: 1869
    functionDepth: 1
    functionLinenumber: 1869
    functionLinenumberEnd: 1904
    functionName: parse_mntopt
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - strnequal
    - strlcat
    - log_error_errno
    - strlen
    - strchr
    linkageType: ''
    returnType: int
    signature: int parse_mntopt(char *opt, unsigned long *flags, char **data, size_t
      size)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:1913,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/conf.c:1918,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:1920,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:1922,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/conf.c:1923,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:1925,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/conf.c:1927,1
    - Dst: parse_mntopt
      Src: /src/lxc/src/lxc/conf.c:1928,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:1929,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:1932,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 3
    argNames:
    - mntopts
    - mntflags
    - mntdata
    argTypes:
    - char*
    - unsigned long*
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1935
      start: 1906
    functionDepth: 2
    functionLinenumber: 1906
    functionLinenumberEnd: 1935
    functionName: parse_mntopts_legacy
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_iterate_parts
    - zalloc
    - parse_mntopt
    - ret_errno
    - move_ptr
    - strdup
    - strlen
    linkageType: ''
    returnType: int
    signature: int parse_mntopts_legacy(const char *mntopts, unsigned long *mntflags,
      char **mntdata)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:1949,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:1949,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:1953,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:1961,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/conf.c:1968,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:1973,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:1977,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:1984,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:1984,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:1987,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:1988,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:1989,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:1990,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 38
    argCount: 3
    argNames:
    - opts
    - opt
    - size
    argTypes:
    - struct lxc_mount_options*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2000
      start: 1942
    functionDepth: 1
    functionLinenumber: 1942
    functionLinenumberEnd: 2000
    functionName: parse_vfs_attr
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - log_info
    - strnequal
    - strequal
    - TRACE
    - strlen
    linkageType: ''
    returnType: int
    signature: int parse_vfs_attr(struct lxc_mount_options *opts, char *opt, size_t
      size)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:2010,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/conf.c:2015,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:2017,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:2019,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/conf.c:2020,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:2022,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/conf.c:2024,1
    - Dst: parse_vfs_attr
      Src: /src/lxc/src/lxc/conf.c:2026,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2028,1
    - Dst: stpcpy
      Src: /src/lxc/src/lxc/conf.c:2036,1
    - Dst: stpcpy
      Src: /src/lxc/src/lxc/conf.c:2038,1
    - Dst: stpcpy
      Src: /src/lxc/src/lxc/conf.c:2039,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:2044,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 2
    argNames:
    - opts
    - mntopts
    argTypes:
    - struct lxc_mount_options*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2047
      start: 2002
    functionDepth: 2
    functionLinenumber: 2002
    functionLinenumberEnd: 2047
    functionName: parse_mount_attrs
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - parse_vfs_attr
    - lxc_iterate_parts
    - zalloc
    - move_ptr
    - ret_errno
    - syserror
    - stpcpy
    - strdup
    - strlen
    linkageType: ''
    returnType: int
    signature: int parse_mount_attrs(struct lxc_mount_options *opts, const char *mntopts)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - word
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2054
      start: 2049
    functionDepth: 0
    functionLinenumber: 2049
    functionLinenumberEnd: 2054
    functionName: null_endofword
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void null_endofword(char *word)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 2
    argNames:
    - src
    - nfields
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2073
      start: 2057
    functionDepth: 0
    functionLinenumber: 2057
    functionLinenumberEnd: 2073
    functionName: get_field
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *get_field(char *src, int nfields)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:2088,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:2090,1
    - Dst: safe_mount
      Src: /src/lxc/src/lxc/conf.c:2094,1
    - Dst: log_info_errno
      Src: /src/lxc/src/lxc/conf.c:2098,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:2101,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:2107,1
    - Dst: statvfs
      Src: /src/lxc/src/lxc/conf.c:2111,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:2126,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:2135,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:2143,1
    - Dst: log_info_errno
      Src: /src/lxc/src/lxc/conf.c:2146,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:2150,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:2160,1
    - Dst: log_info_errno
      Src: /src/lxc/src/lxc/conf.c:2163,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:2165,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:2167,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:2170,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 53
    argCount: 10
    argNames:
    - fsname
    - target
    - fstype
    - mountflags
    - pflags
    - data
    - optional
    - dev
    - relative
    - rootfs
    argTypes:
    - char*
    - char*
    - char*
    - unsigned long
    - unsigned long
    - char*
    - bool
    - bool
    - bool
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2174
      start: 2075
    functionDepth: 4
    functionLinenumber: 2075
    functionLinenumberEnd: 2174
    functionName: mount_entry
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mount
    - safe_mount
    - log_info_errno
    - statvfs
    - log_error_errno
    - strnprintf
    - DEBUG
    linkageType: ''
    returnType: int
    signature: "int mount_entry(const char *fsname, const char *target,\n\t\t       const
      char *fstype, unsigned long mountflags,\n\t\t       unsigned long pflags, const
      char *data, bool optional,\n\t\t       bool dev, bool relative, const char *rootfs)"
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/lxc/src/lxc/conf.c:2193,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:2212,1
    - Dst: strchrnul
      Src: /src/lxc/src/lxc/conf.c:2213,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:2217,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/conf.c:2219,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.c:2221,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:2222,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:2224,1
    - Dst: open
      Src: /src/lxc/src/lxc/conf.c:2225,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2227,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2230,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:2233,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/conf.c:2236,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/conf.c:2240,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:2240,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 44
    argCount: 2
    argNames:
    - opts
    - mnt_opts
    argTypes:
    - struct lxc_mount_options*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2244
      start: 2185
    functionDepth: 1
    functionLinenumber: 2185
    functionLinenumberEnd: 2244
    functionName: parse_lxc_mount_attrs
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - open
    - STRLITERALLEN
    - is_empty_string
    - strchrnul
    - strequal
    - TRACE
    - strlcpy
    - syserror_set
    - strstr
    - syserror
    - strlen
    - memmove
    - strchr
    linkageType: ''
    returnType: int
    signature: int parse_lxc_mount_attrs(struct lxc_mount_options *opts, char *mnt_opts)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:2255,1
    - Dst: ovl_mkdir
      Src: /src/lxc/src/lxc/conf.c:2256,1
    - Dst: hasmntopt
      Src: /src/lxc/src/lxc/conf.c:2261,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/conf.c:2262,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:2264,1
    - Dst: hasmntopt
      Src: /src/lxc/src/lxc/conf.c:2267,1
    - Dst: access
      Src: /src/lxc/src/lxc/conf.c:2270,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/conf.c:2274,1
    - Dst: dirname
      Src: /src/lxc/src/lxc/conf.c:2278,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/conf.c:2280,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:2282,1
    - Dst: mknod
      Src: /src/lxc/src/lxc/conf.c:2284,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 27
    argCount: 5
    argNames:
    - mntent
    - path
    - rootfs
    - lxc_name
    - lxc_path
    argTypes:
    - struct mntent*
    - char*
    - struct lxc_rootfs*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2289
      start: 2246
    functionDepth: 2
    functionLinenumber: 2246
    functionLinenumberEnd: 2289
    functionName: mount_entry_create_dir_file
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - hasmntopt
    - access
    - mknod
    - ovl_mkdir
    - strnequal
    - log_error_errno
    - strdup
    - dirname
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int mount_entry_create_dir_file(const struct mntent *mntent,\n\t\t\t\t
      \      const char *path,\n\t\t\t\t       const struct lxc_rootfs *rootfs,\n\t\t\t\t
      \      const char *lxc_name, const char *lxc_path)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: hasmntopt
      Src: /src/lxc/src/lxc/conf.c:2305,1
    - Dst: hasmntopt
      Src: /src/lxc/src/lxc/conf.c:2306,1
    - Dst: hasmntopt
      Src: /src/lxc/src/lxc/conf.c:2307,1
    - Dst: mount_entry_create_dir_file
      Src: /src/lxc/src/lxc/conf.c:2312,1
    - Dst: parse_lxc_mount_attrs
      Src: /src/lxc/src/lxc/conf.c:2321,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.c:2332,1
    - Dst: systrace_ret
      Src: /src/lxc/src/lxc/conf.c:2333,1
    - Dst: parse_mount_attrs
      Src: /src/lxc/src/lxc/conf.c:2335,1
    - Dst: mount_entry
      Src: /src/lxc/src/lxc/conf.c:2339,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 5
    argNames:
    - mntent
    - path
    - rootfs
    - lxc_name
    - lxc_path
    argTypes:
    - struct mntent*
    - char*
    - struct lxc_rootfs*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2351
      start: 2293
    functionDepth: 5
    functionLinenumber: 2293
    functionLinenumberEnd: 2351
    functionName: mount_entry_on_generic
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - hasmntopt
    - mount_entry_create_dir_file
    - is_empty_string
    - mount_entry
    - parse_lxc_mount_attrs
    - parse_mount_attrs
    - systrace_ret
    linkageType: ''
    returnType: int
    signature: "int mount_entry_on_generic(struct mntent *mntent,\n\t\t\t\t\t const
      char *path,\n\t\t\t\t\t const struct lxc_rootfs *rootfs,\n\t\t\t\t\t const char
      *lxc_name,\n\t\t\t\t\t const char *lxc_path)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:2362,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:2364,1
    - Dst: mount_entry_on_generic
      Src: /src/lxc/src/lxc/conf.c:2368,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - rootfs
    - mntent
    argTypes:
    - struct lxc_rootfs*
    - struct mntent*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2369
      start: 2353
    functionDepth: 6
    functionLinenumber: 2353
    functionLinenumberEnd: 2369
    functionName: mount_entry_on_systemfs
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - strnprintf
    - mount_entry_on_generic
    linkageType: ''
    returnType: int
    signature: "int mount_entry_on_systemfs(struct lxc_rootfs *rootfs,\n\t\t\t\t\t
      \ struct mntent *mntent)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/conf.c:2381,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:2388,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/conf.c:2392,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:2394,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/conf.c:2399,1
    - Dst: log_warn
      Src: /src/lxc/src/lxc/conf.c:2401,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:2402,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:2405,1
    - Dst: mount_entry_on_generic
      Src: /src/lxc/src/lxc/conf.c:2409,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 4
    argNames:
    - mntent
    - rootfs
    - lxc_name
    - lxc_path
    argTypes:
    - struct mntent*
    - struct lxc_rootfs*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2410
      start: 2371
    functionDepth: 6
    functionLinenumber: 2371
    functionLinenumberEnd: 2410
    functionName: mount_entry_on_absolute_rootfs
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mount_entry_on_generic
    - log_warn
    - strstr
    - strlen
    - strnprintf
    - lxc_global_config_value
    linkageType: ''
    returnType: int
    signature: "int mount_entry_on_absolute_rootfs(struct mntent *mntent,\n\t\t\t\t\t
      \ struct lxc_rootfs *rootfs,\n\t\t\t\t\t  const char *lxc_name,\n\t\t\t\t\t
      \ const char *lxc_path)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:2420,1
    - Dst: mount_entry_on_generic
      Src: /src/lxc/src/lxc/conf.c:2424,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - mntent
    - rootfs
    - lxc_name
    - lxc_path
    argTypes:
    - struct mntent*
    - struct lxc_rootfs*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2425
      start: 2412
    functionDepth: 6
    functionLinenumber: 2412
    functionLinenumberEnd: 2425
    functionName: mount_entry_on_relative_rootfs
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - strnprintf
    - mount_entry_on_generic
    linkageType: ''
    returnType: int
    signature: "int mount_entry_on_relative_rootfs(struct mntent *mntent,\n\t\t\t\t\t
      \ struct lxc_rootfs *rootfs,\n\t\t\t\t\t  const char *lxc_name,\n\t\t\t\t\t
      \ const char *lxc_path)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: getmntent_r
      Src: /src/lxc/src/lxc/conf.c:2433,1
    - Dst: mount_entry_on_systemfs
      Src: /src/lxc/src/lxc/conf.c:2437,1
    - Dst: mount_entry_on_relative_rootfs
      Src: /src/lxc/src/lxc/conf.c:2439,1
    - Dst: mount_entry_on_absolute_rootfs
      Src: /src/lxc/src/lxc/conf.c:2442,1
    - Dst: feof
      Src: /src/lxc/src/lxc/conf.c:2448,1
    - Dst: ferror
      Src: /src/lxc/src/lxc/conf.c:2448,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:2449,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 4
    argNames:
    - rootfs
    - file
    - lxc_name
    - lxc_path
    argTypes:
    - struct lxc_rootfs*
    - FILE*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2452
      start: 2427
    functionDepth: 7
    functionLinenumber: 2427
    functionLinenumberEnd: 2452
    functionName: mount_file_entries
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mount_entry_on_systemfs
    - mount_entry_on_relative_rootfs
    - log_error
    - feof
    - getmntent_r
    - ferror
    - mount_entry_on_absolute_rootfs
    linkageType: ''
    returnType: int
    signature: "int mount_file_entries(struct lxc_rootfs *rootfs, FILE *file,\n\t\t\t
      \     const char *lxc_name, const char *lxc_path)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: endmntent
      Src: /src/lxc/src/lxc/conf.c:2457,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - f
    argTypes:
    - FILE**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2458
      start: 2454
    functionDepth: 0
    functionLinenumber: 2454
    functionLinenumberEnd: 2458
    functionName: __auto_endmntent__
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - endmntent
    linkageType: ''
    returnType: void
    signature: void __auto_endmntent__(FILE **f)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: setmntent
      Src: /src/lxc/src/lxc/conf.c:2471,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:2473,1
    - Dst: mount_file_entries
      Src: /src/lxc/src/lxc/conf.c:2475,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:2477,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 4
    argNames:
    - rootfs
    - fstab
    - lxc_name
    - lxc_path
    argTypes:
    - struct lxc_rootfs*
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2480
      start: 2462
    functionDepth: 8
    functionLinenumber: 2462
    functionLinenumberEnd: 2480
    functionName: setup_mount_fstab
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - setmntent
    - ERROR
    - log_error_errno
    - mount_file_entries
    linkageType: ''
    returnType: int
    signature: "int setup_mount_fstab(struct lxc_rootfs *rootfs, const char *fstab,\n\t\t\t
      \    const char *lxc_name, const char *lxc_path)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/conf.c:2504,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2507,1
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/conf.c:2508,1
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/lxc/conf.c:2517,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:2519,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2521,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:2527,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:2529,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:2533,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:2539,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/conf.c:2540,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/conf.c:2541,1
    - Dst: lseek
      Src: /src/lxc/src/lxc/conf.c:2545,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/conf.c:2549,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/conf.c:2551,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 35
    argCount: 2
    argNames:
    - mount_entries
    - include_nesting_helpers
    argTypes:
    - struct list_head*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2553
      start: 2496
    functionDepth: 1
    functionLinenumber: 2496
    functionLinenumberEnd: 2553
    functionName: make_anonymous_mount_file
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - STRARRAYLEN
    - fdopen
    - lxc_make_tmpfile
    - lxc_write_nointr
    - TRACE
    - log_error_errno
    - strlen
    - move_fd
    - memfd_create
    - lseek
    linkageType: ''
    returnType: FILE
    signature: "FILE *make_anonymous_mount_file(const struct list_head *mount_entries,\n\t\t\t\tbool
      include_nesting_helpers)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:2527,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:2529,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:2533,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2536
      start: 2524
    functionDepth: 1
    functionLinenumber: 2524
    functionLinenumberEnd: 2536
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 9
    functionsReached:
    - strlen
    - lxc_write_nointr
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(entry, mount_entries, head)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: make_anonymous_mount_file
      Src: /src/lxc/src/lxc/conf.c:2561,1
    - Dst: mount_file_entries
      Src: /src/lxc/src/lxc/conf.c:2565,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - conf
    - rootfs
    - lxc_name
    - lxc_path
    argTypes:
    - struct lxc_conf*
    - struct lxc_rootfs*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2566
      start: 2555
    functionDepth: 8
    functionLinenumber: 2555
    functionLinenumberEnd: 2566
    functionName: setup_mount_entries
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - make_anonymous_mount_file
    - mount_file_entries
    linkageType: ''
    returnType: int
    signature: "int setup_mount_entries(const struct lxc_conf *conf,\n\t\t\t       struct
      lxc_rootfs *rootfs,\n\t\t\t       const char *lxc_name, const char *lxc_path)"
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: getmntent_r
      Src: /src/lxc/src/lxc/conf.c:2577,1
    - Dst: parse_lxc_mount_attrs
      Src: /src/lxc/src/lxc/conf.c:2587,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2589,1
    - Dst: parse_mount_attrs
      Src: /src/lxc/src/lxc/conf.c:2591,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2593,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.c:2597,1
    - Dst: can_use_bind_mounts
      Src: /src/lxc/src/lxc/conf.c:2600,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:2601,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:2604,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.c:2607,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:2608,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:2609,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.c:2612,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:2613,1
    - Dst: deabs
      Src: /src/lxc/src/lxc/conf.c:2620,1
    - Dst: open_tree
      Src: /src/lxc/src/lxc/conf.c:2625,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2629,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:2633,1
    - Dst: openat
      Src: /src/lxc/src/lxc/conf.c:2634,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:2636,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2640,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2644,1
    - Dst: __lxc_abstract_unix_send_two_fds
      Src: /src/lxc/src/lxc/conf.c:2649,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2654,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2658,1
    - Dst: lxc_abstract_unix_rcv_credential
      Src: /src/lxc/src/lxc/conf.c:2664,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2669,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2673,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2679,1
    - Dst: mount_setattr
      Src: /src/lxc/src/lxc/conf.c:2686,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2694,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2698,1
    - Dst: mount_setattr
      Src: /src/lxc/src/lxc/conf.c:2709,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2717,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2721,1
    - Dst: deabs
      Src: /src/lxc/src/lxc/conf.c:2735,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:2740,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2743,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2747,1
    - Dst: move_detached_mount
      Src: /src/lxc/src/lxc/conf.c:2753,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2756,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2760,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2765,1
    - Dst: feof
      Src: /src/lxc/src/lxc/conf.c:2770,1
    - Dst: ferror
      Src: /src/lxc/src/lxc/conf.c:2770,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/conf.c:2771,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 101
    argCount: 2
    argNames:
    - handler
    - f
    argTypes:
    - struct lxc_handler*
    - FILE*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2774
      start: 2568
    functionDepth: 3
    functionLinenumber: 2568
    functionLinenumberEnd: 2774
    functionName: __lxc_idmapped_mounts_child
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - open_tree
    - is_empty_string
    - open_at
    - TRACE
    - feof
    - ferror
    - mount_setattr
    - syserror
    - strequal
    - getmntent_r
    - openat
    - syserror_set
    - deabs
    - parse_mount_attrs
    - can_use_bind_mounts
    - __lxc_abstract_unix_send_two_fds
    - move_detached_mount
    - lxc_abstract_unix_rcv_credential
    - parse_lxc_mount_attrs
    linkageType: ''
    returnType: int
    signature: int __lxc_idmapped_mounts_child(struct lxc_handler *handler, FILE *f)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: make_anonymous_mount_file
      Src: /src/lxc/src/lxc/conf.c:2784,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:2787,1
    - Dst: __lxc_idmapped_mounts_child
      Src: /src/lxc/src/lxc/conf.c:2791,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:2793,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2797,1
    - Dst: setmntent
      Src: /src/lxc/src/lxc/conf.c:2802,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:2804,1
    - Dst: __lxc_idmapped_mounts_child
      Src: /src/lxc/src/lxc/conf.c:2808,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:2810,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2814,1
    - Dst: lxc_abstract_unix_send_credential
      Src: /src/lxc/src/lxc/conf.c:2820,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2822,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 36
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2825
      start: 2776
    functionDepth: 4
    functionLinenumber: 2776
    functionLinenumberEnd: 2825
    functionName: lxc_idmapped_mounts_child
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 1
    functionsReached:
    - make_anonymous_mount_file
    - __lxc_idmapped_mounts_child
    - TRACE
    - lxc_abstract_unix_send_credential
    - syserror
    - setmntent
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int lxc_idmapped_mounts_child(struct lxc_handler *handler)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:2834,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/conf.c:2838,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:2842,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/conf.c:2854,1
    - Dst: lxc_caps_last_cap
      Src: /src/lxc/src/lxc/conf.c:2858,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 2
    argNames:
    - cap_name
    - cap
    argTypes:
    - char*
    - __u32*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2867
      start: 2827
    functionDepth: 1
    functionLinenumber: 2827
    functionLinenumberEnd: 2867
    functionName: parse_cap
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - lxc_caps_last_cap
    - WARN
    - strequal
    linkageType: ''
    returnType: int
    signature: int parse_cap(const char *cap_name, __u32 *cap)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:2874,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - cap
    - conf
    argTypes:
    - __u32
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2887
      start: 2869
    functionDepth: 0
    functionLinenumber: 2869
    functionLinenumberEnd: 2887
    functionName: has_cap
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 1
    functionsReached:
    - list_for_each_entry
    linkageType: ''
    returnType: bool
    signature: bool has_cap(__u32 cap, struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:2893,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/conf.c:2896,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:2896,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:2896,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:2897,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:2897,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2899,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:2901,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:2904,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2906
      start: 2889
    functionDepth: 1
    functionLinenumber: 2889
    functionLinenumberEnd: 2906
    functionName: capabilities_deny
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - prctl
    - syserror
    - DEBUG
    - prctl_arg
    linkageType: ''
    returnType: int
    signature: int capabilities_deny(struct lxc_conf *conf)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_caps_last_cap
      Src: /src/lxc/src/lxc/conf.c:2915,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:2917,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2919,1
    - Dst: BITS_TO_LONGS
      Src: /src/lxc/src/lxc/conf.c:2921,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/conf.c:2922,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:2924,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:2926,1
    - Dst: set_bit
      Src: /src/lxc/src/lxc/conf.c:2930,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:2931,1
    - Dst: is_set
      Src: /src/lxc/src/lxc/conf.c:2935,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/conf.c:2938,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:2938,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:2938,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:2939,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:2939,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:2941,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2943,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:2946,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 25
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2948
      start: 2908
    functionDepth: 1
    functionLinenumber: 2908
    functionLinenumberEnd: 2948
    functionName: capabilities_allow
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_caps_last_cap
    - list_for_each_entry
    - prctl
    - BITS_TO_LONGS
    - set_bit
    - TRACE
    - zalloc
    - is_set
    - ret_errno
    - syserror
    - DEBUG
    - prctl_arg
    linkageType: ''
    returnType: int
    signature: int capabilities_allow(struct lxc_conf *conf)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:2957,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/conf.c:2964,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - res
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2969
      start: 2950
    functionDepth: 1
    functionLinenumber: 2950
    functionLinenumberEnd: 2969
    functionName: parse_resource
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_safe_int
    - strequal
    linkageType: ''
    returnType: int
    signature: int parse_resource(const char *res)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/conf.c:2976,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:2979,1
    - Dst: parse_resource
      Src: /src/lxc/src/lxc/conf.c:2980,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:2982,1
    - Dst: prlimit
      Src: /src/lxc/src/lxc/conf.c:2985,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:2986,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2988,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:2990,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:2994,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 2
    argNames:
    - conf
    - pid
    argTypes:
    - struct lxc_conf*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2996
      start: 2971
    functionDepth: 2
    functionLinenumber: 2971
    functionLinenumberEnd: 2996
    functionName: setup_resource_limits
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - list_empty
    - log_error
    - parse_resource
    - prlimit
    - TRACE
    - log_error_errno
    linkageType: ''
    returnType: int
    signature: int setup_resource_limits(struct lxc_conf *conf, pid_t pid)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/conf.c:3005,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.c:3008,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/conf.c:3009,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3011,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:3013,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3015,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/conf.c:3017,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:3018,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3020,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3023,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3026,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3028
      start: 2998
    functionDepth: 1
    functionLinenumber: 2998
    functionLinenumberEnd: 3028
    functionName: setup_sysctl_parameters
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - list_empty
    - log_error
    - TRACE
    - log_error_errno
    - lxc_string_replace
    - strlen
    - lxc_write_to_file
    - strnprintf
    - list_for_each_entry_safe
    linkageType: ''
    returnType: int
    signature: int setup_sysctl_parameters(struct lxc_conf *conf)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/conf.c:3037,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:3040,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/conf.c:3041,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3043,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:3045,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3047,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/conf.c:3049,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/conf.c:3050,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3052,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3055,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3058,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 2
    argNames:
    - conf
    - pid
    argTypes:
    - struct lxc_conf*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3060
      start: 3030
    functionDepth: 1
    functionLinenumber: 3030
    functionLinenumberEnd: 3060
    functionName: setup_proc_filesystem
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - list_empty
    - log_error
    - TRACE
    - log_error_errno
    - lxc_string_replace
    - strlen
    - lxc_write_to_file
    - strnprintf
    linkageType: ''
    returnType: int
    signature: int setup_proc_filesystem(struct lxc_conf *conf, pid_t pid)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: zalloc::zalloc
      Src: /src/lxc/src/lxc/conf.c:3069,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3076,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3077,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3078,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3079,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3080,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3081,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3082,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3083,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3084,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3085,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3086,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3087,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3088,1
    - Dst: memset
      Src: /src/lxc/src/lxc/conf.c:3090,1
    - Dst: console::console
      Src: /src/lxc/src/lxc/conf.c:3090,1
    - Dst: rootfs::rootfs
      Src: /src/lxc/src/lxc/conf.c:3094,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/conf.c:3094,1
    - Dst: rootfs::rootfs
      Src: /src/lxc/src/lxc/conf.c:3095,1
    - Dst: rootfs::rootfs
      Src: /src/lxc/src/lxc/conf.c:3099,1
    - Dst: rootfs::rootfs
      Src: /src/lxc/src/lxc/conf.c:3100,1
    - Dst: rootfs::rootfs
      Src: /src/lxc/src/lxc/conf.c:3101,1
    - Dst: rootfs::rootfs
      Src: /src/lxc/src/lxc/conf.c:3102,1
    - Dst: rootfs::rootfs
      Src: /src/lxc/src/lxc/conf.c:3103,1
    - Dst: rootfs::rootfs
      Src: /src/lxc/src/lxc/conf.c:3104,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3106,1
    - Dst: cgroup2::cgroup2
      Src: /src/lxc/src/lxc/conf.c:3106,1
    - Dst: bpf_devices::bpf_devices
      Src: /src/lxc/src/lxc/conf.c:3108,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3109,1
    - Dst: bpf_devices::bpf_devices
      Src: /src/lxc/src/lxc/conf.c:3109,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3110,1
    - Dst: mount_entries::mount_entries
      Src: /src/lxc/src/lxc/conf.c:3110,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3111,1
    - Dst: caps::caps
      Src: /src/lxc/src/lxc/conf.c:3111,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3112,1
    - Dst: id_map::id_map
      Src: /src/lxc/src/lxc/conf.c:3112,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3115,1
    - Dst: environment::environment
      Src: /src/lxc/src/lxc/conf.c:3115,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3116,1
    - Dst: environment_runtime::environment_runtime
      Src: /src/lxc/src/lxc/conf.c:3116,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3117,1
    - Dst: environment_hooks::environment_hooks
      Src: /src/lxc/src/lxc/conf.c:3117,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3118,1
    - Dst: limits::limits
      Src: /src/lxc/src/lxc/conf.c:3118,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3119,1
    - Dst: sysctls::sysctls
      Src: /src/lxc/src/lxc/conf.c:3119,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3120,1
    - Dst: procs::procs
      Src: /src/lxc/src/lxc/conf.c:3120,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3123,1
    - Dst: hooks::hooks
      Src: /src/lxc/src/lxc/conf.c:3123,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3124,1
    - Dst: groups::groups
      Src: /src/lxc/src/lxc/conf.c:3124,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3125,1
    - Dst: state_clients::state_clients
      Src: /src/lxc/src/lxc/conf.c:3125,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3127,1
    - Dst: lsm_aa_raw::lsm_aa_raw
      Src: /src/lxc/src/lxc/conf.c:3127,1
    - Dst: shmount::shmount
      Src: /src/lxc/src/lxc/conf.c:3132,1
    - Dst: shmount::shmount
      Src: /src/lxc/src/lxc/conf.c:3133,1
    - Dst: memset
      Src: /src/lxc/src/lxc/conf.c:3141,1
    - Dst: init_groups::init_groups
      Src: /src/lxc/src/lxc/conf.c:3141,1
    - Dst: memset
      Src: /src/lxc/src/lxc/conf.c:3142,1
    - Dst: cgroup_meta::cgroup_meta
      Src: /src/lxc/src/lxc/conf.c:3142,1
    - Dst: memset
      Src: /src/lxc/src/lxc/conf.c:3143,1
    - Dst: ns_share::ns_share
      Src: /src/lxc/src/lxc/conf.c:3143,1
    - Dst: memset
      Src: /src/lxc/src/lxc/conf.c:3144,1
    - Dst: timens::timens
      Src: /src/lxc/src/lxc/conf.c:3144,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3147,1
    - Dst: netdevs::netdevs
      Src: /src/lxc/src/lxc/conf.c:3147,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 73
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3150
      start: 3064
    functionDepth: 1
    functionLinenumber: 3064
    functionLinenumberEnd: 3150
    functionName: lxc_conf_init
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 4
    functionsReached:
    - id_map::id_map
    - state_clients::state_clients
    - hooks::hooks
    - environment_hooks::environment_hooks
    - limits::limits
    - environment_runtime::environment_runtime
    - cgroup2::cgroup2
    - cgroup_meta::cgroup_meta
    - bpf_devices::bpf_devices
    - console::console
    - timens::timens
    - strdup
    - shmount::shmount
    - rootfs::rootfs
    - lsm_aa_raw::lsm_aa_raw
    - mount_entries::mount_entries
    - environment::environment
    - zalloc::zalloc
    - netdevs::netdevs
    - procs::procs
    - ns_share::ns_share
    - init_groups::init_groups
    - groups::groups
    - caps::caps
    - memset
    - INIT_LIST_HEAD
    - sysctls::sysctls
    linkageType: ''
    returnType: struct lxc_conf
    signature: struct lxc_conf *lxc_conf_init(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:3166,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 2
    argNames:
    - conf
    - idtype
    argTypes:
    - struct lxc_conf*
    - enum idtype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3178
      start: 3156
    functionDepth: 0
    functionLinenumber: 3156
    functionLinenumberEnd: 3178
    functionName: get_mapped_rootid
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    linkageType: ''
    returnType: id_t
    signature: id_t get_mapped_rootid(const struct lxc_conf *conf, enum idtype idtype)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/conf.c:3191,1
    - Dst: readlinkat
      Src: /src/lxc/src/lxc/conf.c:3193,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/conf.c:3195,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3197,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3201,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/conf.c:3205,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:3206,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/conf.c:3208,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3210,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:3214,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:3216,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3219,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:3221,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:3223,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:3225,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/conf.c:3227,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:3232,1
    - Dst: safe_mount_beneath_at
      Src: /src/lxc/src/lxc/conf.c:3234,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:3236,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:3238,1
    - Dst: safe_mount
      Src: /src/lxc/src/lxc/conf.c:3240,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3244,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:3246,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 46
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3248
      start: 3187
    functionDepth: 4
    functionLinenumber: 3187
    functionLinenumberEnd: 3248
    functionName: lxc_transient_proc
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mkdirat
    - mount
    - readlinkat
    - open_at
    - SYSWARN
    - safe_mount_beneath_at
    - safe_mount
    - log_trace
    - INTTYPE_TO_STRLEN
    - lxc_raw_getpid
    - umount2
    - log_error_errno
    - ret_errno
    - INFO
    - strnprintf
    - lxc_safe_int
    linkageType: ''
    returnType: int
    signature: int lxc_transient_proc(struct lxc_rootfs *rootfs)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_transient_proc
      Src: /src/lxc/src/lxc/conf.c:3255,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3259,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3265
      start: 3251
    functionDepth: 5
    functionLinenumber: 3251
    functionLinenumberEnd: 3265
    functionName: lxc_create_tmp_proc_mount
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_transient_proc
    - log_error_errno
    linkageType: ''
    returnType: int
    signature: int lxc_create_tmp_proc_mount(struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: umount2
      Src: /src/lxc/src/lxc/conf.c:3270,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - lxc_conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3273
      start: 3267
    functionDepth: 0
    functionLinenumber: 3267
    functionLinenumberEnd: 3273
    functionName: tmp_proc_unmount
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - umount2
    linkageType: ''
    returnType: void
    signature: void tmp_proc_unmount(struct lxc_conf *lxc_conf)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:3285,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3288,1
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/conf.c:3292,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3295,1
    - Dst: memfd_create
      Src: /src/lxc/src/lxc/conf.c:3296,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3303,1
    - Dst: lxc_make_tmpfile
      Src: /src/lxc/src/lxc/conf.c:3307,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/conf.c:3309,1
    - Dst: fd_to_fd
      Src: /src/lxc/src/lxc/conf.c:3314,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3316,1
    - Dst: lseek
      Src: /src/lxc/src/lxc/conf.c:3320,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3322,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/conf.c:3326,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3328,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/conf.c:3336,1
    - Dst: getline
      Src: /src/lxc/src/lxc/conf.c:3338,1
    - Dst: get_field
      Src: /src/lxc/src/lxc/conf.c:3341,1
    - Dst: get_field
      Src: /src/lxc/src/lxc/conf.c:3345,1
    - Dst: null_endofword
      Src: /src/lxc/src/lxc/conf.c:3349,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/conf.c:3350,1
    - Dst: null_endofword
      Src: /src/lxc/src/lxc/conf.c:3353,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:3354,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3356,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3360,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 57
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3361
      start: 3276
    functionDepth: 2
    functionLinenumber: 3276
    functionLinenumberEnd: 3361
    functionName: turn_into_dependent_mounts
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - fdopen
    - getline
    - lxc_make_tmpfile
    - open_at
    - mount
    - WARN
    - TRACE
    - get_field
    - fd_to_fd
    - null_endofword
    - strstr
    - SYSERROR
    - move_fd
    - memfd_create
    - lseek
    linkageType: ''
    returnType: void
    signature: void turn_into_dependent_mounts(const struct lxc_rootfs *rootfs)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:3371,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3373,1
    - Dst: turn_into_dependent_mounts
      Src: /src/lxc/src/lxc/conf.c:3375,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:3384,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3386,1
    - Dst: openat
      Src: /src/lxc/src/lxc/conf.c:3388,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3390,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:3392,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/conf.c:3395,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3397,1
    - Dst: lxc_mount_rootfs
      Src: /src/lxc/src/lxc/conf.c:3399,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3401,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 3
    argNames:
    - conf
    - name
    - lxcpath
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3405
      start: 3366
    functionDepth: 3
    functionLinenumber: 3366
    functionLinenumberEnd: 3405
    functionName: lxc_setup_rootfs_prepare_root
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mount
    - open_at
    - log_error
    - openat
    - lxc_mount_rootfs
    - log_trace
    - log_error_errno
    - run_lxc_hooks
    - turn_into_dependent_mounts
    linkageType: ''
    returnType: int
    signature: "int lxc_setup_rootfs_prepare_root(struct lxc_conf *conf, const char
      *name,\n\t\t\t\t  const char *lxcpath)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:3412,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/conf.c:3416,1
    - Dst: access
      Src: /src/lxc/src/lxc/conf.c:3422,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3424,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3430
      start: 3407
    functionDepth: 1
    functionLinenumber: 3407
    functionLinenumberEnd: 3430
    functionName: verify_start_hooks
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - strnprintf
    - log_error_errno
    - list_for_each_entry
    - access
    linkageType: ''
    returnType: bool
    signature: bool verify_start_hooks(struct lxc_conf *conf)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: access
      Src: /src/lxc/src/lxc/conf.c:3439,1
    - Dst: memset
      Src: /src/lxc/src/lxc/conf.c:3442,1
    - Dst: lxc_id128_randomize
      Src: /src/lxc/src/lxc/conf.c:3443,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3444,1
    - Dst: lxc_id128_write
      Src: /src/lxc/src/lxc/conf.c:3448,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3450,1
    - Dst: chmod
      Src: /src/lxc/src/lxc/conf.c:3454,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3456,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/conf.c:3457,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:3461,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3463,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/conf.c:3465,1
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:3469,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:3474,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/conf.c:3475,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 32
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3480
      start: 3432
    functionDepth: 4
    functionLinenumber: 3432
    functionLinenumberEnd: 3480
    functionName: lxc_setup_boot_id
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - chmod
    - mount
    - access
    - lxc_id128_write
    - unlink
    - memset
    - SYSERROR
    - lxc_id128_randomize
    linkageType: ''
    returnType: int
    signature: int lxc_setup_boot_id(void)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: struct lsm_ops*::keyring_label_set
      Src: /src/lxc/src/lxc/conf.c:3488,1
    - Dst: struct lsm_ops*::keyring_label_set
      Src: /src/lxc/src/lxc/conf.c:3490,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3492,1
    - Dst: keyctl
      Src: /src/lxc/src/lxc/conf.c:3498,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:3498,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:3499,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:3499,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/conf.c:3499,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:3503,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:3508,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/conf.c:3511,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 2
    argNames:
    - lsm_ops
    - conf
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3517
      start: 3482
    functionDepth: 1
    functionLinenumber: 3482
    functionLinenumberEnd: 3517
    functionName: lxc_setup_keyring
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - SYSWARN
    - struct lsm_ops*::keyring_label_set
    - keyctl
    - syserror
    - DEBUG
    - prctl_arg
    linkageType: ''
    returnType: int
    signature: int lxc_setup_keyring(struct lsm_ops *lsm_ops, const struct lxc_conf
      *conf)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/conf.c:3525,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.c:3528,1
    - Dst: lxc_abstract_unix_recv_one_fd
      Src: /src/lxc/src/lxc/conf.c:3534,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3536,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3539,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3541
      start: 3519
    functionDepth: 1
    functionLinenumber: 3519
    functionLinenumberEnd: 3541
    functionName: lxc_rootfs_prepare_child
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - is_empty_string
    - container_uses_namespace
    - TRACE
    - lxc_abstract_unix_recv_one_fd
    - syserror
    linkageType: ''
    returnType: int
    signature: int lxc_rootfs_prepare_child(struct lxc_handler *handler)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_abstract_unix_recv_two_fds
      Src: /src/lxc/src/lxc/conf.c:3553,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3557,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:3560,1
    - Dst: mount_setattr
      Src: /src/lxc/src/lxc/conf.c:3564,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3569,1
    - Dst: lxc_abstract_unix_send_credential
      Src: /src/lxc/src/lxc/conf.c:3573,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3577,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3581,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3585
      start: 3543
    functionDepth: 1
    functionLinenumber: 3543
    functionLinenumberEnd: 3585
    functionName: lxc_idmapped_mounts_parent
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - log_trace
    - TRACE
    - lxc_abstract_unix_send_credential
    - syserror
    - mount_setattr
    - __lxc_abstract_unix_recv_two_fds
    linkageType: ''
    returnType: int
    signature: int lxc_idmapped_mounts_parent(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/conf.c:3589,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/conf.c:3600,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:3602,1
    - Dst: lxc_abstract_unix_recv_two_fds
      Src: /src/lxc/src/lxc/conf.c:3615,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3617,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3622,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:3626,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3627,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3629
      start: 3587
    functionDepth: 1
    functionLinenumber: 3587
    functionLinenumberEnd: 3629
    functionName: lxc_recv_ttys_from_child
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - malloc
    - call_cleaner
    - lxc_abstract_unix_recv_two_fds
    - TRACE
    - move_ptr
    - ret_errno
    - syserror
    linkageType: ''
    returnType: int
    signature: int lxc_recv_ttys_from_child(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wants_console
      Src: /src/lxc/src/lxc/conf.c:3636,1
    - Dst: __lxc_abstract_unix_send_two_fds
      Src: /src/lxc/src/lxc/conf.c:3643,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3648,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3650,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3652
      start: 3631
    functionDepth: 1
    functionLinenumber: 3631
    functionLinenumberEnd: 3652
    functionName: lxc_send_console_to_parent
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - TRACE
    - syserror
    - __lxc_abstract_unix_send_two_fds
    - wants_console
    linkageType: ''
    returnType: int
    signature: int lxc_send_console_to_parent(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wants_console
      Src: /src/lxc/src/lxc/conf.c:3660,1
    - Dst: __lxc_abstract_unix_recv_two_fds
      Src: /src/lxc/src/lxc/conf.c:3667,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3672,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/conf.c:3674,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/conf.c:3675,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3677,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3679
      start: 3654
    functionDepth: 1
    functionLinenumber: 3654
    functionLinenumberEnd: 3679
    functionName: lxc_recv_console_from_child
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - TRACE
    - __lxc_abstract_unix_recv_two_fds
    - wants_console
    - syserror
    - move_fd
    linkageType: ''
    returnType: int
    signature: int lxc_recv_console_from_child(struct lxc_handler *handler)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_seccomp_recv_notifier_fd
      Src: /src/lxc/src/lxc/conf.c:3685,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3687,1
    - Dst: lxc_recv_devpts_from_child
      Src: /src/lxc/src/lxc/conf.c:3689,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3691,1
    - Dst: lxc_recv_ttys_from_child
      Src: /src/lxc/src/lxc/conf.c:3694,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3696,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/conf.c:3698,1
    - Dst: lxc_network_recv_name_and_ifindex_from_child
      Src: /src/lxc/src/lxc/conf.c:3699,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3701,1
    - Dst: lxc_recv_console_from_child
      Src: /src/lxc/src/lxc/conf.c:3704,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3706,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3708,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3710
      start: 3681
    functionDepth: 2
    functionLinenumber: 3681
    functionLinenumberEnd: 3710
    functionName: lxc_sync_fds_parent
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - container_uses_namespace
    - lxc_recv_ttys_from_child
    - lxc_recv_console_from_child
    - lxc_network_recv_name_and_ifindex_from_child
    - lxc_recv_devpts_from_child
    - TRACE
    - syserror_ret
    - lxc_seccomp_recv_notifier_fd
    linkageType: ''
    returnType: int
    signature: int lxc_sync_fds_parent(struct lxc_handler *handler)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_seccomp_send_notifier_fd
      Src: /src/lxc/src/lxc/conf.c:3716,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3718,1
    - Dst: lxc_send_devpts_to_parent
      Src: /src/lxc/src/lxc/conf.c:3720,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3722,1
    - Dst: lxc_send_ttys_to_parent
      Src: /src/lxc/src/lxc/conf.c:3724,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3726,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/conf.c:3728,1
    - Dst: lxc_network_send_name_and_ifindex_to_parent
      Src: /src/lxc/src/lxc/conf.c:3729,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3731,1
    - Dst: lxc_send_console_to_parent
      Src: /src/lxc/src/lxc/conf.c:3734,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3736,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:3738,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3740
      start: 3712
    functionDepth: 3
    functionLinenumber: 3712
    functionLinenumberEnd: 3740
    functionName: lxc_sync_fds_child
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_send_ttys_to_parent
    - container_uses_namespace
    - lxc_send_console_to_parent
    - lxc_seccomp_send_notifier_fd
    - TRACE
    - syserror_ret
    - lxc_send_devpts_to_parent
    - lxc_network_send_name_and_ifindex_to_parent
    linkageType: ''
    returnType: int
    signature: int lxc_sync_fds_child(struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: capabilities_allow
      Src: /src/lxc/src/lxc/conf.c:3747,1
    - Dst: capabilities_deny
      Src: /src/lxc/src/lxc/conf.c:3749,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/conf.c:3751,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3754
      start: 3742
    functionDepth: 1
    functionLinenumber: 3742
    functionLinenumberEnd: 3754
    functionName: setup_capabilities
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - capabilities_deny
    - capabilities_allow
    - syserror_ret
    linkageType: ''
    returnType: int
    signature: int setup_capabilities(struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mount
      Src: /src/lxc/src/lxc/conf.c:3761,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3762
      start: 3756
    functionDepth: 0
    functionLinenumber: 3756
    functionLinenumberEnd: 3762
    functionName: make_shmount_dependent_mount
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mount
    linkageType: ''
    returnType: int
    signature: int make_shmount_dependent_mount(const struct lxc_conf *conf)
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: lxc_rootfs_prepare_child
      Src: /src/lxc/src/lxc/conf.c:3770,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3772,1
    - Dst: lxc_setup_rootfs_prepare_root
      Src: /src/lxc/src/lxc/conf.c:3774,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3776,1
    - Dst: setup_utsname
      Src: /src/lxc/src/lxc/conf.c:3779,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3781,1
    - Dst: lxc_setup_keyring
      Src: /src/lxc/src/lxc/conf.c:3785,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3787,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/conf.c:3790,1
    - Dst: lxc_network_recv_from_parent
      Src: /src/lxc/src/lxc/conf.c:3791,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3793,1
    - Dst: lxc_setup_network_in_child_namespaces
      Src: /src/lxc/src/lxc/conf.c:3795,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3797,1
    - Dst: mount_autodev
      Src: /src/lxc/src/lxc/conf.c:3801,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3803,1
    - Dst: lxc_mount_auto_mounts
      Src: /src/lxc/src/lxc/conf.c:3809,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3811,1
    - Dst: setup_mount_fstab
      Src: /src/lxc/src/lxc/conf.c:3813,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3815,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/conf.c:3817,1
    - Dst: setup_mount_entries
      Src: /src/lxc/src/lxc/conf.c:3818,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3820,1
    - Dst: lxc_sync_wake_parent
      Src: /src/lxc/src/lxc/conf.c:3823,1
    - Dst: lxc_idmapped_mounts_child
      Src: /src/lxc/src/lxc/conf.c:3826,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3828,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/conf.c:3830,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:3833,1
    - Dst: lxc_mount_auto_mounts
      Src: /src/lxc/src/lxc/conf.c:3839,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3841,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/conf.c:3843,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3845,1
    - Dst: lxc_rootfs_overmounted
      Src: /src/lxc/src/lxc/conf.c:3847,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3848,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/conf.c:3851,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3853,1
    - Dst: lxc_fill_autodev
      Src: /src/lxc/src/lxc/conf.c:3855,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3857,1
    - Dst: verify_start_hooks
      Src: /src/lxc/src/lxc/conf.c:3861,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3862,1
    - Dst: lxc_create_tmp_proc_mount
      Src: /src/lxc/src/lxc/conf.c:3864,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3866,1
    - Dst: lxc_setup_devpts_child
      Src: /src/lxc/src/lxc/conf.c:3868,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3870,1
    - Dst: lxc_finish_devpts_child
      Src: /src/lxc/src/lxc/conf.c:3872,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3874,1
    - Dst: lxc_setup_console
      Src: /src/lxc/src/lxc/conf.c:3876,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3879,1
    - Dst: lxc_create_ttys
      Src: /src/lxc/src/lxc/conf.c:3881,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3883,1
    - Dst: lxc_setup_dev_symlinks
      Src: /src/lxc/src/lxc/conf.c:3885,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3887,1
    - Dst: lxc_setup_rootfs_switch_root
      Src: /src/lxc/src/lxc/conf.c:3889,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3891,1
    - Dst: make_shmount_dependent_mount
      Src: /src/lxc/src/lxc/conf.c:3893,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3895,1
    - Dst: lxc_setup_boot_id
      Src: /src/lxc/src/lxc/conf.c:3900,1
    - Dst: setup_personality
      Src: /src/lxc/src/lxc/conf.c:3902,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:3904,1
    - Dst: setup_sysctl_parameters
      Src: /src/lxc/src/lxc/conf.c:3910,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3912,1
    - Dst: setup_capabilities
      Src: /src/lxc/src/lxc/conf.c:3914,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:3916,1
    - Dst: put_lxc_rootfs
      Src: /src/lxc/src/lxc/conf.c:3918,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/conf.c:3919,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 105
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3922
      start: 3764
    functionDepth: 9
    functionLinenumber: 3764
    functionLinenumberEnd: 3922
    functionName: lxc_setup
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - open_at
    - lxc_create_ttys
    - mount_autodev
    - make_shmount_dependent_mount
    - log_error
    - NOTICE
    - syserror
    - setup_capabilities
    - lxc_mount_auto_mounts
    - setup_utsname
    - list_empty
    - lxc_fill_autodev
    - lxc_rootfs_prepare_child
    - verify_start_hooks
    - setup_mount_fstab
    - lxc_setup_boot_id
    - lxc_idmapped_mounts_child
    - lxc_network_recv_from_parent
    - container_uses_namespace
    - lxc_finish_devpts_child
    - lxc_setup_console
    - log_error_errno
    - lxc_setup_devpts_child
    - lxc_setup_dev_symlinks
    - run_lxc_hooks
    - lxc_sync_wake_parent
    - put_lxc_rootfs
    - lxc_setup_rootfs_switch_root
    - lxc_setup_rootfs_prepare_root
    - setup_sysctl_parameters
    - lxc_create_tmp_proc_mount
    - lxc_setup_network_in_child_namespaces
    - lxc_rootfs_overmounted
    - setup_mount_entries
    - setup_personality
    - lxc_setup_keyring
    linkageType: ''
    returnType: int
    signature: int lxc_setup(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:3931,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:3938,1
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/conf.c:3942,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 4
    argNames:
    - name
    - hookname
    - conf
    - argv
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3949
      start: 3924
    functionDepth: 4
    functionLinenumber: 3924
    functionLinenumberEnd: 3949
    functionName: run_lxc_hooks
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 4
    functionsReached:
    - run_script_argv
    - list_for_each_entry
    - strequal
    linkageType: ''
    returnType: int
    signature: "int run_lxc_hooks(const char *name, char *hookname, struct lxc_conf
      *conf,\n\t\t  char *argv[])"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.c:3955,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:3956,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:3957,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:3958,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3962,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 9
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3964
      start: 3951
    functionDepth: 1
    functionLinenumber: 3951
    functionLinenumberEnd: 3964
    functionName: lxc_clear_config_caps
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - list_del
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_config_caps(struct lxc_conf *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:3971,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:3972,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:3975,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 1
    argNames:
    - id_map
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3977
      start: 3966
    functionDepth: 1
    functionLinenumber: 3966
    functionLinenumberEnd: 3977
    functionName: lxc_free_idmap
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - list_del
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_free_idmap(struct list_head *id_map)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:3971,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:3972,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3973
      start: 3970
    functionDepth: 1
    functionLinenumber: 3970
    functionLinenumberEnd: 3973
    functionName: list_for_each_entry_safe
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 5
    functionsReached:
    - list_del
    - free
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry_safe(map, nmap, id_map, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_free_idmap
      Src: /src/lxc/src/lxc/conf.c:3981,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - id_map
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3983
      start: 3979
    functionDepth: 2
    functionLinenumber: 3979
    functionLinenumberEnd: 3983
    functionName: __lxc_free_idmap
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_free_idmap
    linkageType: ''
    returnType: int
    signature: int __lxc_free_idmap(struct list_head *id_map)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_free_idmap
      Src: /src/lxc/src/lxc/conf.c:3990,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3991
      start: 3986
    functionDepth: 2
    functionLinenumber: 3986
    functionLinenumberEnd: 3991
    functionName: lxc_clear_idmaps
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_free_idmap
    linkageType: ''
    returnType: int
    signature: int lxc_clear_idmaps(struct lxc_conf *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.c:3996,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3999
      start: 3993
    functionDepth: 1
    functionLinenumber: 3993
    functionLinenumberEnd: 3999
    functionName: lxc_clear_namespace
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: int lxc_clear_namespace(struct lxc_conf *c)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4013,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:4016,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4019,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:4021,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:4024,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4027,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4030,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4031,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4032,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4033,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4037,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 3
    argNames:
    - c
    - key
    - version
    argTypes:
    - struct lxc_conf*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4040
      start: 4001
    functionDepth: 1
    functionLinenumber: 4001
    functionLinenumberEnd: 4040
    functionName: lxc_clear_cgroups
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - list_del
    - strnequal
    - strequal
    - ret_errno
    - INIT_LIST_HEAD
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_cgroups(struct lxc_conf *c, const char *key, int version)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4027,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4030,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4031,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4032,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4033,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4034
      start: 4026
    functionDepth: 1
    functionLinenumber: 4026
    functionLinenumberEnd: 4034
    functionName: list_for_each_entry_safe
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 5
    functionsReached:
    - list_del
    - strequal
    - free
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry_safe(cgroup, ncgroup, list, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_cgroup2_devices
      Src: /src/lxc/src/lxc/conf.c:4044,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4045
      start: 4042
    functionDepth: 1
    functionLinenumber: 4042
    functionLinenumberEnd: 4045
    functionName: lxc_clear_cgroups_devices
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - lxc_clear_cgroup2_devices
    linkageType: ''
    returnType: void
    signature: void lxc_clear_cgroups_devices(struct lxc_conf *conf)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4053,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4053,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:4055,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4055,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4056,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:4057,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4057,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4058,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:4060,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.c:4062,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4063,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4066,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.c:4067,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4068,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4072,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 2
    argNames:
    - c
    - key
    argTypes:
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4075
      start: 4047
    functionDepth: 1
    functionLinenumber: 4047
    functionLinenumberEnd: 4075
    functionName: lxc_clear_limits
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - free_disarm
    - list_del
    - strnequal
    - strequal
    - ret_errno
    - INIT_LIST_HEAD
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_limits(struct lxc_conf *c, const char *key)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4083,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:4085,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4085,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4086,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.c:4090,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4091,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4094,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4095,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4096,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4097,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4101,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 2
    argNames:
    - c
    - key
    argTypes:
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4104
      start: 4077
    functionDepth: 1
    functionLinenumber: 4077
    functionLinenumberEnd: 4104
    functionName: lxc_clear_sysctls
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - list_del
    - strnequal
    - strequal
    - INIT_LIST_HEAD
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_sysctls(struct lxc_conf *c, const char *key)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4112,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:4114,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4114,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4115,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.c:4119,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4120,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4123,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4124,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4125,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4126,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4130,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 2
    argNames:
    - c
    - key
    argTypes:
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4133
      start: 4106
    functionDepth: 1
    functionLinenumber: 4106
    functionLinenumberEnd: 4133
    functionName: lxc_clear_procs
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - list_del
    - strnequal
    - strequal
    - INIT_LIST_HEAD
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_procs(struct lxc_conf *c, const char *key)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.c:4139,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4140,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4141,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4142,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4145,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4147
      start: 4135
    functionDepth: 1
    functionLinenumber: 4135
    functionLinenumberEnd: 4147
    functionName: lxc_clear_groups
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - list_del
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_groups(struct lxc_conf *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4154,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4155,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4156,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4157,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4160,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 1
    argNames:
    - environment
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4162
      start: 4149
    functionDepth: 1
    functionLinenumber: 4149
    functionLinenumberEnd: 4162
    functionName: lxc_clear_environment
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - list_del
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_environment(struct list_head *environment)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4154,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4155,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4156,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4157,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4158
      start: 4153
    functionDepth: 1
    functionLinenumber: 4153
    functionLinenumberEnd: 4158
    functionName: list_for_each_entry_safe
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 9
    functionsReached:
    - list_del
    - free
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry_safe(env, nenv, environment, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.c:4168,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4169,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4170,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4171,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4174,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4176
      start: 4164
    functionDepth: 1
    functionLinenumber: 4164
    functionLinenumberEnd: 4176
    functionName: lxc_clear_mount_entries
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - list_del
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_mount_entries(struct lxc_conf *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4182
      start: 4178
    functionDepth: 0
    functionLinenumber: 4178
    functionLinenumberEnd: 4182
    functionName: lxc_clear_automounts
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_clear_automounts(struct lxc_conf *c)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4190,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/conf.c:4192,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4192,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/conf.c:4193,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:4198,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.c:4199,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4200,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4201,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4202,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4204,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:4210,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 2
    argNames:
    - c
    - key
    argTypes:
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4213
      start: 4184
    functionDepth: 1
    functionLinenumber: 4184
    functionLinenumberEnd: 4213
    functionName: lxc_clear_hooks
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - log_error
    - list_del
    - strnequal
    - strequal
    - INIT_LIST_HEAD
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_hooks(struct lxc_conf *c, const char *key)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.c:4219,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.c:4220,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4221,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4222,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4225,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4227
      start: 4215
    functionDepth: 1
    functionLinenumber: 4215
    functionLinenumberEnd: 4227
    functionName: lxc_clear_apparmor_raw
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - list_del
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_clear_apparmor_raw(struct lxc_conf *c)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_conf_free
      Src: /src/lxc/src/lxc/conf.c:4236,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4237,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4238,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4239,1
    - Dst: put_lxc_rootfs
      Src: /src/lxc/src/lxc/conf.c:4240,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4241,1
    - Dst: close
      Src: /src/lxc/src/lxc/conf.c:4243,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4244,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4245,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4246,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4247,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4248,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4249,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4250,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4251,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4252,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4253,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4254,1
    - Dst: lxc_free_networks
      Src: /src/lxc/src/lxc/conf.c:4255,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4256,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4257,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4258,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4259,1
    - Dst: lxc_seccomp_free
      Src: /src/lxc/src/lxc/conf.c:4260,1
    - Dst: lxc_clear_config_caps
      Src: /src/lxc/src/lxc/conf.c:4261,1
    - Dst: lxc_clear_cgroups
      Src: /src/lxc/src/lxc/conf.c:4262,1
    - Dst: lxc_clear_cgroups_devices
      Src: /src/lxc/src/lxc/conf.c:4263,1
    - Dst: lxc_clear_hooks
      Src: /src/lxc/src/lxc/conf.c:4264,1
    - Dst: lxc_clear_mount_entries
      Src: /src/lxc/src/lxc/conf.c:4265,1
    - Dst: lxc_clear_idmaps
      Src: /src/lxc/src/lxc/conf.c:4266,1
    - Dst: lxc_clear_groups
      Src: /src/lxc/src/lxc/conf.c:4267,1
    - Dst: lxc_clear_environment
      Src: /src/lxc/src/lxc/conf.c:4268,1
    - Dst: lxc_clear_limits
      Src: /src/lxc/src/lxc/conf.c:4269,1
    - Dst: lxc_clear_sysctls
      Src: /src/lxc/src/lxc/conf.c:4270,1
    - Dst: lxc_clear_procs
      Src: /src/lxc/src/lxc/conf.c:4271,1
    - Dst: lxc_clear_apparmor_raw
      Src: /src/lxc/src/lxc/conf.c:4272,1
    - Dst: lxc_clear_namespace
      Src: /src/lxc/src/lxc/conf.c:4273,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4274,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4275,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4276,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4277,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4278,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4279,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4280,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4281,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4282,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4283,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 53
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4284
      start: 4229
    functionDepth: 4
    functionLinenumber: 4229
    functionLinenumberEnd: 4284
    functionName: lxc_conf_free
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 5
    functionsReached:
    - lxc_clear_hooks
    - lxc_seccomp_free
    - free
    - lxc_free_networks
    - lxc_clear_namespace
    - lxc_clear_cgroups
    - lxc_clear_idmaps
    - lxc_clear_config_caps
    - lxc_clear_limits
    - lxc_clear_environment
    - lxc_clear_apparmor_raw
    - lxc_clear_groups
    - close
    - put_lxc_rootfs
    - lxc_clear_cgroups_devices
    - lxc_clear_mount_entries
    - lxc_terminal_conf_free
    - lxc_clear_procs
    - lxc_clear_sysctls
    linkageType: ''
    returnType: void
    signature: void lxc_conf_free(struct lxc_conf *conf)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4299,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/conf.c:4305,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4306,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:4311,1
    - Dst: struct userns_fn_data*::fn
      Src: /src/lxc/src/lxc/conf.c:4314,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4315
      start: 4293
    functionDepth: 1
    functionLinenumber: 4293
    functionLinenumberEnd: 4315
    functionName: run_userns_fn
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - struct userns_fn_data*::fn
    - lxc_read_nointr
    - close_prot_errno_disarm
    - TRACE
    linkageType: ''
    returnType: int
    signature: int run_userns_fn(void *data)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: mapped_nsid_add
      Src: /src/lxc/src/lxc/conf.c:4328,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/conf.c:4330,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/conf.c:4331,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4334,1
    - Dst: mapped_nsid_add
      Src: /src/lxc/src/lxc/conf.c:4336,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/conf.c:4338,1
    - Dst: getegid
      Src: /src/lxc/src/lxc/conf.c:4339,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4342,1
    - Dst: mapped_hostid_add
      Src: /src/lxc/src/lxc/conf.c:4346,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/conf.c:4348,1
    - Dst: mapped_hostid_add
      Src: /src/lxc/src/lxc/conf.c:4351,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/conf.c:4353,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/conf.c:4356,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4357,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/conf.c:4361,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4362,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/conf.c:4366,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4367,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/conf.c:4371,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4372,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:4375,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 39
    argCount: 4
    argNames:
    - conf
    - resuid
    - resgid
    - head_ret
    argTypes:
    - struct lxc_conf*
    - uid_t*
    - gid_t*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4383
      start: 4317
    functionDepth: 2
    functionLinenumber: 4317
    functionLinenumberEnd: 4383
    functionName: get_minimal_idmap
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - mapped_hostid_add
    - list_add_tail
    - geteuid
    - TRACE
    - move_ptr
    - sysdebug
    - mapped_nsid_add
    - getegid
    linkageType: ''
    returnType: int
    signature: "int get_minimal_idmap(const struct lxc_conf *conf, uid_t *resuid,\n\t\t\t
      \    gid_t *resgid, struct list_head *head_ret)"
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4400,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/conf.c:4401,1
    - Dst: get_minimal_idmap
      Src: /src/lxc/src/lxc/conf.c:4415,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:4417,1
    - Dst: pipe2
      Src: /src/lxc/src/lxc/conf.c:4419,1
    - Dst: lxc_raw_clone_cb
      Src: /src/lxc/src/lxc/conf.c:4427,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:4429,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4433,1
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/conf.c:4435,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:4438,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:4439,1
    - Dst: lxc_map_ids
      Src: /src/lxc/src/lxc/conf.c:4444,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:4446,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:4451,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4452,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4457,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4458,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/conf.c:4462,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 44
    argCount: 3
    argNames:
    - conf
    - data
    - fn_name
    argTypes:
    - struct lxc_conf*
    - void*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4468
      start: 4397
    functionDepth: 4
    functionLinenumber: 4397
    functionLinenumberEnd: 4468
    functionName: userns_exec_1
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 1
    functionsReached:
    - wait_for_pid
    - ERROR
    - list_for_each_entry
    - call_cleaner
    - lxc_log_trace
    - TRACE
    - lxc_map_ids
    - ret_errno
    - get_minimal_idmap
    - close_prot_errno_disarm
    - pipe2
    - lxc_raw_clone_cb
    - LIST_HEAD
    - SYSERROR
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: "int userns_exec_1(const struct lxc_conf *conf, int (*fn)(void *),
      void *data,\n\t\t  const char *fn_name)"
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4474,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/conf.c:4475,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:4484,1
    - Dst: get_minimal_idmap
      Src: /src/lxc/src/lxc/conf.c:4486,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:4488,1
    - Dst: socketpair
      Src: /src/lxc/src/lxc/conf.c:4490,1
    - Dst: fork
      Src: /src/lxc/src/lxc/conf.c:4494,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4496,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4501,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/conf.c:4503,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4505,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4506,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:4509,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4511,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/conf.c:4513,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4515,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4517,1
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/conf.c:4519,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4520,1
    - Dst: setresgid
      Src: /src/lxc/src/lxc/conf.c:4522,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4524,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4526,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/conf.c:4529,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4531,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4533,1
    - Dst: fn_child
      Src: /src/lxc/src/lxc/conf.c:4536,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4538,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4539,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4542,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4545,1
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/conf.c:4547,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:4550,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:4551,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/conf.c:4555,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4557,1
    - Dst: lxc_map_ids
      Src: /src/lxc/src/lxc/conf.c:4562,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:4564,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:4569,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4571,1
    - Dst: fn_parent
      Src: /src/lxc/src/lxc/conf.c:4575,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4576,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4577,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4581,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4582,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/conf.c:4588,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 84
    argCount: 3
    argNames:
    - conf
    - fn_parent_data
    - fn_child_data
    argTypes:
    - struct lxc_conf*
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4589
      start: 4470
    functionDepth: 4
    functionLinenumber: 4470
    functionLinenumberEnd: 4589
    functionName: userns_exec_minimal
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - setresuid
    - TRACE
    - close_prot_errno_disarm
    - _exit
    - lxc_read_nointr
    - setresgid
    - lxc_write_nointr
    - ERROR
    - list_for_each_entry
    - fn_parent
    - call_cleaner
    - lxc_log_trace
    - lxc_map_ids
    - unshare
    - ret_errno
    - get_minimal_idmap
    - LIST_HEAD
    - SYSERROR
    - socketpair
    - wait_for_pid
    - fn_child
    - lxc_drop_groups
    - fork
    linkageType: ''
    returnType: int
    signature: "int userns_exec_minimal(const struct lxc_conf *conf,\n\t\t\tint (*fn_parent)(void
      *), void *fn_parent_data,\n\t\t\tint (*fn_child)(void *), void *fn_child_data)"
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4594,1
    - Dst: pipe2
      Src: /src/lxc/src/lxc/conf.c:4608,1
    - Dst: lxc_clone
      Src: /src/lxc/src/lxc/conf.c:4619,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:4621,1
    - Dst: close
      Src: /src/lxc/src/lxc/conf.c:4625,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/conf.c:4628,1
    - Dst: getegid
      Src: /src/lxc/src/lxc/conf.c:4629,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:4632,1
    - Dst: memdup
      Src: /src/lxc/src/lxc/conf.c:4635,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/conf.c:4639,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4640,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:4663,1
    - Dst: mapped_hostid_add
      Src: /src/lxc/src/lxc/conf.c:4669,1
    - Dst: mapped_hostid_add
      Src: /src/lxc/src/lxc/conf.c:4674,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:4679,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/conf.c:4684,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/conf.c:4690,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4691,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/conf.c:4696,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4697,1
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/conf.c:4700,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:4701,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:4702,1
    - Dst: lxc_map_ids
      Src: /src/lxc/src/lxc/conf.c:4709,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:4711,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:4716,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4717,1
    - Dst: close
      Src: /src/lxc/src/lxc/conf.c:4723,1
    - Dst: close
      Src: /src/lxc/src/lxc/conf.c:4724,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/conf.c:4728,1
    - Dst: __lxc_free_idmap
      Src: /src/lxc/src/lxc/conf.c:4730,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4733,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.c:4735,1
    CyclomaticComplexity: 42
    EdgeCount: 42
    ICount: 102
    argCount: 3
    argNames:
    - conf
    - data
    - fn_name
    argTypes:
    - struct lxc_conf*
    - void*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4738
      start: 4591
    functionDepth: 4
    functionLinenumber: 4591
    functionLinenumberEnd: 4738
    functionName: userns_exec_full
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 3
    functionsReached:
    - mapped_hostid_add
    - __lxc_free_idmap
    - TRACE
    - free
    - list_add_tail
    - move_ptr
    - pipe2
    - lxc_write_nointr
    - ERROR
    - list_for_each_entry
    - geteuid
    - lxc_log_trace
    - lxc_map_ids
    - LIST_HEAD
    - DEBUG
    - SYSERROR
    - lxc_clone
    - wait_for_pid
    - memdup
    - close
    - getegid
    linkageType: ''
    returnType: int
    signature: "int userns_exec_full(struct lxc_conf *conf, int (*fn)(void *), void
      *data,\n\t\t     const char *fn_name)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/conf.c:4746,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:4748,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/conf.c:4755,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/conf.c:4756,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/conf.c:4758,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 5
    argNames:
    - idmap_list
    - idtype
    - nsid
    - hostid
    - range
    argTypes:
    - struct list_head*
    - enum idtype
    - unsigned long
    - unsigned long
    - unsigned long
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4761
      start: 4740
    functionDepth: 1
    functionLinenumber: 4740
    functionLinenumberEnd: 4761
    functionName: add_idmap_entry
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_errno
    - INFO
    linkageType: ''
    returnType: int
    signature: "int add_idmap_entry(struct list_head *idmap_list, enum idtype idtype,\n\t\t\t
      \  unsigned long nsid, unsigned long hostid,\n\t\t\t   unsigned long range)"
  - BBCount: 35
    BranchProfiles: []
    Callsites:
    - Dst: LIST_HEAD
      Src: /src/lxc/src/lxc/conf.c:4766,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/conf.c:4767,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.c:4779,1
    - Dst: get_mapped_rootid
      Src: /src/lxc/src/lxc/conf.c:4784,1
    - Dst: uid_valid
      Src: /src/lxc/src/lxc/conf.c:4785,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:4786,1
    - Dst: get_mapped_rootid
      Src: /src/lxc/src/lxc/conf.c:4788,1
    - Dst: gid_valid
      Src: /src/lxc/src/lxc/conf.c:4789,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:4790,1
    - Dst: open
      Src: /src/lxc/src/lxc/conf.c:4793,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:4795,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/conf.c:4801,1
    - Dst: fchown
      Src: /src/lxc/src/lxc/conf.c:4804,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:4806,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/conf.c:4810,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/conf.c:4816,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/conf.c:4819,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:4821,1
    - Dst: getegid
      Src: /src/lxc/src/lxc/conf.c:4823,1
    - Dst: mapped_hostid
      Src: /src/lxc/src/lxc/conf.c:4824,1
    - Dst: fchown
      Src: /src/lxc/src/lxc/conf.c:4825,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:4827,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:4830,1
    - Dst: add_idmap_entry
      Src: /src/lxc/src/lxc/conf.c:4834,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:4836,1
    - Dst: add_idmap_entry
      Src: /src/lxc/src/lxc/conf.c:4839,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:4841,1
    - Dst: add_idmap_entry
      Src: /src/lxc/src/lxc/conf.c:4844,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:4846,1
    - Dst: add_idmap_entry
      Src: /src/lxc/src/lxc/conf.c:4849,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:4851,1
    - Dst: add_idmap_entry
      Src: /src/lxc/src/lxc/conf.c:4855,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/conf.c:4858,1
    - Dst: socketpair
      Src: /src/lxc/src/lxc/conf.c:4861,1
    - Dst: fork
      Src: /src/lxc/src/lxc/conf.c:4865,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4867,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4872,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/conf.c:4874,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4876,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4877,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:4880,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4882,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/conf.c:4884,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4886,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4888,1
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/conf.c:4890,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4891,1
    - Dst: setresgid
      Src: /src/lxc/src/lxc/conf.c:4893,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4895,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4896,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/conf.c:4899,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4901,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4902,1
    - Dst: fchown
      Src: /src/lxc/src/lxc/conf.c:4905,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4907,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4908,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:4911,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/conf.c:4912,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4915,1
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/conf.c:4917,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/conf.c:4920,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:4921,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/conf.c:4925,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4927,1
    - Dst: lxc_map_ids
      Src: /src/lxc/src/lxc/conf.c:4932,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:4934,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/conf.c:4939,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/conf.c:4941,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4946,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.c:4947,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:4951,1
    - Dst: wait_exited
      Src: /src/lxc/src/lxc/conf.c:4953,1
    CyclomaticComplexity: 42
    EdgeCount: 42
    ICount: 132
    argCount: 3
    argNames:
    - path
    - path_fd
    - conf
    argTypes:
    - char*
    - int
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4957
      start: 4763
    functionDepth: 4
    functionLinenumber: 4763
    functionLinenumberEnd: 4957
    functionName: userns_exec_mapped_root
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 1
    functionsReached:
    - log_info
    - log_error
    - fstat
    - setresuid
    - TRACE
    - close_prot_errno_disarm
    - _exit
    - lxc_read_nointr
    - open
    - gid_valid
    - setresgid
    - lxc_write_nointr
    - ERROR
    - list_for_each_entry
    - call_cleaner
    - wait_exited
    - geteuid
    - lxc_log_trace
    - lxc_map_ids
    - unshare
    - ret_errno
    - log_error_errno
    - LIST_HEAD
    - SYSERROR
    - socketpair
    - get_mapped_rootid
    - lxc_drop_groups
    - uid_valid
    - log_trace
    - mapped_hostid
    - add_idmap_entry
    - fork
    - fchown
    - getegid
    linkageType: ''
    returnType: int
    signature: "int userns_exec_mapped_root(const char *path, int path_fd,\n\t\t\t
      \   const struct lxc_conf *conf)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/lxc/src/lxc/conf.c:4968,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/conf.c:4972,1
    - Dst: getpwuid_r
      Src: /src/lxc/src/lxc/conf.c:4976,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/conf.c:4976,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/conf.c:4979,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:4981,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/conf.c:4981,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/conf.c:4984,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4985
      start: 4960
    functionDepth: 1
    functionLinenumber: 4960
    functionLinenumberEnd: 4985
    functionName: getuname
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - sysconf
    - getpwuid_r
    - log_error
    - geteuid
    - WARN
    - zalloc
    - strdup
    linkageType: ''
    returnType: char
    signature: char *getuname(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/lxc/src/lxc/conf.c:4996,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/conf.c:5000,1
    - Dst: getgrgid_r
      Src: /src/lxc/src/lxc/conf.c:5004,1
    - Dst: getegid
      Src: /src/lxc/src/lxc/conf.c:5004,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/conf.c:5007,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/conf.c:5009,1
    - Dst: getegid
      Src: /src/lxc/src/lxc/conf.c:5009,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/conf.c:5012,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5013
      start: 4988
    functionDepth: 1
    functionLinenumber: 4988
    functionLinenumberEnd: 5013
    functionName: getgname
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - sysconf
    - log_error
    - WARN
    - zalloc
    - strdup
    - getgrgid_r
    - getegid
    linkageType: ''
    returnType: char
    signature: char *getgname(void)
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: getuname
      Src: /src/lxc/src/lxc/conf.c:5023,1
    - Dst: getgname
      Src: /src/lxc/src/lxc/conf.c:5027,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/conf.c:5031,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5033,1
    - Dst: getline
      Src: /src/lxc/src/lxc/conf.c:5037,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/conf.c:5041,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:5049,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/conf.c:5052,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/conf.c:5059,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/conf.c:5062,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/conf.c:5063,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/conf.c:5064,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/conf.c:5065,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/conf.c:5068,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5070,1
    - Dst: getline
      Src: /src/lxc/src/lxc/conf.c:5074,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/conf.c:5078,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/conf.c:5086,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/conf.c:5089,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/conf.c:5096,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/conf.c:5099,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/conf.c:5100,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/conf.c:5101,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/conf.c:5102,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5106,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5107,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5111,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5112,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5113,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5114,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5115,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/conf.c:5116,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 76
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5117
      start: 5016
    functionDepth: 2
    functionLinenumber: 5016
    functionLinenumberEnd: 5117
    functionName: suggest_default_idmap
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 1
    functionsReached:
    - lxc_safe_uint
    - ERROR
    - getline
    - getuname
    - strequal
    - WARN
    - getgname
    - fopen
    - strcspn
    - strchr
    linkageType: ''
    returnType: void
    signature: void suggest_default_idmap(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setenv
      Src: /src/lxc/src/lxc/conf.c:5126,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:5128,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:5130,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - environment
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5134
      start: 5119
    functionDepth: 1
    functionLinenumber: 5119
    functionLinenumberEnd: 5134
    functionName: lxc_set_environment
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 0
    functionsReached:
    - TRACE
    - setenv
    - syserror
    linkageType: ''
    returnType: int
    signature: int lxc_set_environment(const struct list_head *environment)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setenv
      Src: /src/lxc/src/lxc/conf.c:5126,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/conf.c:5128,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/conf.c:5130,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5131
      start: 5123
    functionDepth: 1
    functionLinenumber: 5123
    functionLinenumberEnd: 5131
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/conf.c
    functionUses: 21
    functionsReached:
    - TRACE
    - setenv
    - syserror
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(env, environment, head)
  - BBCount: 11
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 22
    argCount: 1
    argNames:
    - priority
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 81
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 81
    functionName: lxc_log_priority_to_syslog
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_log_priority_to_syslog(int priority)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 91
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 91
    functionName: lxc_log_get_container_name
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_log_get_container_name(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 105
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 105
    functionName: lxc_log_get_fd
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_log_get_fd(void)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/log.c:114,1
    - Dst: va_copy
      Src: /src/lxc/src/lxc/log.c:116,1
    - Dst: vsnprintf
      Src: /src/lxc/src/lxc/log.c:119,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/log.c:121,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/log.c:123,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/log.c:125,1
    - Dst: vsnprintf
      Src: /src/lxc/src/lxc/log.c:129,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/log.c:132,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/log.c:134,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - event
    argTypes:
    - struct lxc_log_event*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 135
      start: 107
    functionDepth: 1
    functionLinenumber: 107
    functionLinenumberEnd: 135
    functionName: lxc_log_get_va_msg
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - malloc
    - va_copy
    - move_ptr
    - ret_set_errno
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: char
    signature: char *lxc_log_get_va_msg(struct lxc_log_event *event)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_get_container_name
      Src: /src/lxc/src/lxc/log.c:146,1
    - Dst: lxc_log_get_va_msg
      Src: /src/lxc/src/lxc/log.c:148,1
    - Dst: syslog
      Src: /src/lxc/src/lxc/log.c:152,1
    - Dst: lxc_log_priority_to_syslog
      Src: /src/lxc/src/lxc/log.c:152,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - appender
    - event
    argTypes:
    - struct lxc_log_appender*
    - struct lxc_log_event*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 162
      start: 137
    functionDepth: 2
    functionLinenumber: 137
    functionLinenumberEnd: 162
    functionName: log_append_syslog
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - syslog
    - lxc_log_priority_to_syslog
    - lxc_log_get_container_name
    - lxc_log_get_va_msg
    linkageType: ''
    returnType: int
    signature: "int log_append_syslog(const struct lxc_log_appender *appender,\n\t\t\t
      \    struct lxc_log_event *event)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_get_container_name
      Src: /src/lxc/src/lxc/log.c:172,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/log.c:174,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/log.c:177,1
    - Dst: vfprintf
      Src: /src/lxc/src/lxc/log.c:181,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/log.c:183,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 2
    argNames:
    - appender
    - event
    argTypes:
    - struct lxc_log_appender*
    - struct lxc_log_event*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 186
      start: 164
    functionDepth: 1
    functionLinenumber: 164
    functionLinenumberEnd: 186
    functionName: log_append_stderr
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - vfprintf
    - lxc_log_get_container_name
    - fprintf
    linkageType: ''
    returnType: int
    signature: "int log_append_stderr(const struct lxc_log_appender *appender,\n\t\t\t
      \    struct lxc_log_event *event)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/log.c:192,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/log.c:281,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/log.c:283,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/log.c:289,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/log.c:294,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 25
    argCount: 3
    argNames:
    - buf
    - bufsize
    - time
    argTypes:
    - char*
    - size_t
    - struct timespec*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 297
      start: 188
    functionDepth: 1
    functionLinenumber: 188
    functionLinenumberEnd: 297
    functionName: lxc_unix_epoch_to_utc
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - INTTYPE_TO_STRLEN
    - strnprintf
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int lxc_unix_epoch_to_utc(char *buf, size_t bufsize, const struct timespec
      *time)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_get_container_name
      Src: /src/lxc/src/lxc/log.c:335,1
    - Dst: lxc_unix_epoch_to_utc
      Src: /src/lxc/src/lxc/log.c:343,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/log.c:351,1
    - Dst: lxc_log_priority_to_string
      Src: /src/lxc/src/lxc/log.c:357,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/log.c:362,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/log.c:364,1
    - Dst: vsnprintf
      Src: /src/lxc/src/lxc/log.c:367,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/log.c:376,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/log.c:380,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 2
    argNames:
    - appender
    - event
    argTypes:
    - struct lxc_log_appender*
    - struct lxc_log_event*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 381
      start: 320
    functionDepth: 2
    functionLinenumber: 320
    functionLinenumberEnd: 381
    functionName: log_append_logfile
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - STRARRAYLEN
    - vsnprintf
    - lxc_log_get_container_name
    - snprintf
    - ret_errno
    - lxc_log_priority_to_string
    - lxc_unix_epoch_to_utc
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: "int log_append_logfile(const struct lxc_log_appender *appender,\n\t\t\t
      \     struct lxc_log_event *event)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_get_container_name
      Src: /src/lxc/src/lxc/log.c:390,1
    - Dst: lxc_log_get_va_msg
      Src: /src/lxc/src/lxc/log.c:391,1
    - Dst: print_log
      Src: /src/lxc/src/lxc/log.c:396,1
    - Dst: print_log
      Src: /src/lxc/src/lxc/log.c:402,1
    - Dst: print_log
      Src: /src/lxc/src/lxc/log.c:409,1
    - Dst: print_log
      Src: /src/lxc/src/lxc/log.c:415,1
    - Dst: print_log
      Src: /src/lxc/src/lxc/log.c:423,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 27
    argCount: 2
    argNames:
    - appender
    - event
    argTypes:
    - struct lxc_log_appender*
    - struct lxc_log_event*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 433
      start: 384
    functionDepth: 2
    functionLinenumber: 384
    functionLinenumberEnd: 433
    functionName: log_append_dlog
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - print_log
    - lxc_log_get_container_name
    - lxc_log_get_va_msg
    linkageType: ''
    returnType: int
    signature: "int log_append_dlog(const struct lxc_log_appender *appender,\n\t\t\t
      \    struct lxc_log_event *event)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/log.c:490,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/log.c:491,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/log.c:494,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/log.c:496,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/log.c:498,1
    - Dst: lxc_unpriv
      Src: /src/lxc/src/lxc/log.c:507,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/log.c:507,1
    - Dst: is_in_comm
      Src: /src/lxc/src/lxc/log.c:509,1
    - Dst: lxc_unpriv
      Src: /src/lxc/src/lxc/log.c:512,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/log.c:512,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/log.c:516,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 520
      start: 485
    functionDepth: 2
    functionLinenumber: 485
    functionLinenumberEnd: 520
    functionName: build_dir
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - is_empty_string
    - mkdir
    - is_in_comm
    - lxc_unpriv
    - ret_errno
    - log_error_errno
    - strdup
    - strlen
    linkageType: ''
    returnType: int
    signature: int build_dir(const char *name)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_unpriv
      Src: /src/lxc/src/lxc/log.c:528,1
    - Dst: open
      Src: /src/lxc/src/lxc/log.c:528,1
    - Dst: is_in_comm
      Src: /src/lxc/src/lxc/log.c:530,1
    - Dst: lxc_unpriv
      Src: /src/lxc/src/lxc/log.c:531,1
    - Dst: open
      Src: /src/lxc/src/lxc/log.c:531,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/log.c:534,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/log.c:537,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/log.c:539,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/log.c:541,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 543
      start: 522
    functionDepth: 2
    functionLinenumber: 522
    functionLinenumberEnd: 543
    functionName: log_open
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - open
    - is_in_comm
    - lxc_unpriv
    - log_error_errno
    - fcntl
    - move_fd
    linkageType: ''
    returnType: int
    signature: int log_open(const char *name)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/log.c:559,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/log.c:575,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/log.c:582,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/log.c:582,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/log.c:584,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/log.c:586,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/log.c:588,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/log.c:591,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/log.c:593,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/log.c:595,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/log.c:597,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 598
      start: 551
    functionDepth: 1
    functionLinenumber: 551
    functionLinenumberEnd: 598
    functionName: build_log_path
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - malloc
    - move_ptr
    - strlen
    - ret_set_errno
    - strnprintf
    linkageType: ''
    returnType: char
    signature: char *build_log_path(const char *name, const char *lxcpath)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_close
      Src: /src/lxc/src/lxc/log.c:612,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/log.c:614,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/log.c:615,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/log.c:617,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/log.c:619,1
    - Dst: build_dir
      Src: /src/lxc/src/lxc/log.c:628,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/log.c:629,1
    - Dst: log_open
      Src: /src/lxc/src/lxc/log.c:631,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/log.c:635,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 2
    argNames:
    - fname
    - create_dirs
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 637
      start: 608
    functionDepth: 3
    functionLinenumber: 608
    functionLinenumberEnd: 637
    functionName: __lxc_log_set_file
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - build_dir
    - lxc_log_close
    - is_empty_string
    - ret_errno
    - log_error_errno
    - strdup
    - strlen
    - log_open
    linkageType: ''
    returnType: int
    signature: int __lxc_log_set_file(const char *fname, int create_dirs)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: build_log_path
      Src: /src/lxc/src/lxc/log.c:643,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/log.c:645,1
    - Dst: __lxc_log_set_file
      Src: /src/lxc/src/lxc/log.c:647,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - name
    - lxcpath
    - create_dirs
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 648
      start: 639
    functionDepth: 4
    functionLinenumber: 639
    functionLinenumberEnd: 648
    functionName: _lxc_log_set_file
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 1
    functionsReached:
    - __lxc_log_set_file
    - log_error_errno
    - build_log_path
    linkageType: ''
    returnType: int
    signature: int _lxc_log_set_file(const char *name, const char *lxcpath, int create_dirs)
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/log.c:661,1
    - Dst: log_warn_errno
      Src: /src/lxc/src/lxc/log.c:664,1
    - Dst: lxc_log_priority_to_int
      Src: /src/lxc/src/lxc/log.c:667,1
    - Dst: lxc_log_set_prefix
      Src: /src/lxc/src/lxc/log.c:679,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/log.c:682,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/log.c:685,1
    - Dst: __lxc_log_set_file
      Src: /src/lxc/src/lxc/log.c:688,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/log.c:690,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/log.c:704,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/log.c:704,1
    - Dst: _lxc_log_set_file
      Src: /src/lxc/src/lxc/log.c:705,1
    - Dst: _lxc_log_set_file
      Src: /src/lxc/src/lxc/log.c:709,1
    - Dst: _lxc_log_set_file
      Src: /src/lxc/src/lxc/log.c:713,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/log.c:721,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 47
    argCount: 1
    argNames:
    - log
    argTypes:
    - struct lxc_log*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 731
      start: 655
    functionDepth: 5
    functionLinenumber: 655
    functionLinenumberEnd: 731
    functionName: lxc_log_init
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 10
    functionsReached:
    - __lxc_log_set_file
    - _lxc_log_set_file
    - lxc_log_set_prefix
    - geteuid
    - log_warn_errno
    - lxc_log_priority_to_int
    - strequal
    - ret_errno
    - log_error_errno
    - strdup
    - INFO
    linkageType: ''
    returnType: int
    signature: int lxc_log_init(struct lxc_log *log)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: closelog
      Src: /src/lxc/src/lxc/log.c:735,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/log.c:737,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/log.c:739,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/log.c:741,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 742
      start: 733
    functionDepth: 1
    functionLinenumber: 733
    functionLinenumberEnd: 742
    functionName: lxc_log_close
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 2
    functionsReached:
    - free_disarm
    - closelog
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_log_close(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: openlog
      Src: /src/lxc/src/lxc/log.c:748,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - facility
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 769
      start: 744
    functionDepth: 0
    functionLinenumber: 744
    functionLinenumberEnd: 769
    functionName: lxc_log_syslog
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - openlog
    linkageType: ''
    returnType: int
    signature: int lxc_log_syslog(int facility)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 774
      start: 771
    functionDepth: 0
    functionLinenumber: 771
    functionLinenumberEnd: 774
    functionName: lxc_log_syslog_enable
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_log_syslog_enable(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 779
      start: 776
    functionDepth: 0
    functionLinenumber: 776
    functionLinenumberEnd: 779
    functionName: lxc_log_syslog_disable
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_log_syslog_disable(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/log.c:789,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - dest
    - level
    argTypes:
    - int*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 793
      start: 786
    functionDepth: 1
    functionLinenumber: 786
    functionLinenumberEnd: 793
    functionName: lxc_log_set_level
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    linkageType: ''
    returnType: int
    signature: int lxc_log_set_level(int *dest, int level)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 807
      start: 795
    functionDepth: 0
    functionLinenumber: 795
    functionLinenumberEnd: 807
    functionName: lxc_log_get_level
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_log_get_level(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_get_level
      Src: /src/lxc/src/lxc/log.c:813,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/log.c:815,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 818
      start: 809
    functionDepth: 1
    functionLinenumber: 809
    functionLinenumberEnd: 818
    functionName: lxc_log_has_valid_level
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - lxc_log_get_level
    linkageType: ''
    returnType: bool
    signature: bool lxc_log_has_valid_level(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/log.c:828,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/log.c:830,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/log.c:831,1
    - Dst: build_dir
      Src: /src/lxc/src/lxc/log.c:833,1
    - Dst: log_open
      Src: /src/lxc/src/lxc/log.c:836,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 2
    argNames:
    - fd
    - fname
    argTypes:
    - int*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 840
      start: 825
    functionDepth: 3
    functionLinenumber: 825
    functionLinenumberEnd: 840
    functionName: lxc_log_set_file
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 2
    functionsReached:
    - build_dir
    - is_empty_string
    - ret_errno
    - close_prot_errno_disarm
    - log_open
    linkageType: ''
    returnType: int
    signature: int lxc_log_set_file(int *fd, const char *fname)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 845
      start: 842
    functionDepth: 0
    functionLinenumber: 842
    functionLinenumberEnd: 845
    functionName: lxc_log_get_file
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_log_get_file(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/log.c:850,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - prefix
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 851
      start: 847
    functionDepth: 1
    functionLinenumber: 847
    functionLinenumberEnd: 851
    functionName: lxc_log_set_prefix
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 1
    functionsReached:
    - strlcpy
    linkageType: ''
    returnType: void
    signature: void lxc_log_set_prefix(const char *prefix)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 856
      start: 853
    functionDepth: 0
    functionLinenumber: 853
    functionLinenumberEnd: 856
    functionName: lxc_log_get_prefix
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_log_get_prefix(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 862
      start: 858
    functionDepth: 0
    functionLinenumber: 858
    functionLinenumberEnd: 862
    functionName: lxc_log_options_no_override
    functionSourceFile: /src/lxc/src/lxc/log.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_log_options_no_override(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_abstract_unix_send_two_fds
      Src: /src/lxc/src/lxc/af_unix.h:137,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - fd
    - fd_first
    - fd_second
    argTypes:
    - int
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 138
      start: 134
    functionDepth: 1
    functionLinenumber: 134
    functionLinenumberEnd: 138
    functionName: lxc_abstract_unix_send_two_fds
    functionSourceFile: /src/lxc/src/lxc/af_unix.h
    functionUses: 3
    functionsReached:
    - __lxc_abstract_unix_send_two_fds
    linkageType: ''
    returnType: int
    signature: "int lxc_abstract_unix_send_two_fds(int fd, int fd_first,\n\t\t\t\t\t\t
      int fd_second)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_abstract_unix_recv_two_fds
      Src: /src/lxc/src/lxc/af_unix.h:146,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - fd
    - fd_first
    - fd_second
    argTypes:
    - int
    - int*
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 147
      start: 144
    functionDepth: 1
    functionLinenumber: 144
    functionLinenumberEnd: 147
    functionName: lxc_abstract_unix_recv_two_fds
    functionSourceFile: /src/lxc/src/lxc/af_unix.h
    functionUses: 4
    functionsReached:
    - __lxc_abstract_unix_recv_two_fds
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_abstract_unix_recv_two_fds(int fd, int *fd_first, int *fd_second)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: IS_ERR_OR_NULL
      Src: /src/lxc/src/lxc/af_unix.h:164,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/af_unix.h:166,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - fds
    argTypes:
    - struct unix_fds*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 168
      start: 162
    functionDepth: 2
    functionLinenumber: 162
    functionLinenumberEnd: 168
    functionName: put_unix_fds
    functionSourceFile: /src/lxc/src/lxc/af_unix.h
    functionUses: 0
    functionsReached:
    - IS_ERR_OR_NULL
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void put_unix_fds(struct unix_fds *fds)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - ptr
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 162
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 162
    functionName: ptr_to_u64
    functionSourceFile: /src/lxc/src/lxc/process_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: ptr_to_u64(ptr)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 165
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 165
    functionName: u64_to_ptr
    functionSourceFile: /src/lxc/src/lxc/process_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: u64_to_ptr(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/process_utils.h:185,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - args
    - size
    argTypes:
    - struct clone_args*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 186
      start: 183
    functionDepth: 0
    functionLinenumber: 183
    functionLinenumberEnd: 186
    functionName: lxc_clone3
    functionSourceFile: /src/lxc/src/lxc/process_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: __returns_twice
    signature: __returns_twice lxc_clone3(struct clone_args *args, size_t size)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/process_utils.h:269,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - dirfd
    - pathname
    - argv
    - envp
    - flags
    argTypes:
    - int
    - char*
    - char*[]
    - char*[]
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 270
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 270
    functionName: execveat
    functionSourceFile: /src/lxc/src/lxc/process_utils.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: "int execveat(int dirfd, const char *pathname, char *const argv[],\n\t\t\t
      \  char *const envp[], int flags)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/process_utils.h:282,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 283
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 283
    functionName: lxc_raw_getpid
    functionSourceFile: /src/lxc/src/lxc/process_utils.h
    functionUses: 3
    functionsReached:
    - syscall
    linkageType: ''
    returnType: pid_t
    signature: pid_t lxc_raw_getpid(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/process_utils.h:288,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/process_utils.h:290,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 292
      start: 285
    functionDepth: 1
    functionLinenumber: 285
    functionLinenumberEnd: 292
    functionName: lxc_raw_gettid
    functionSourceFile: /src/lxc/src/lxc/process_utils.h
    functionUses: 0
    functionsReached:
    - lxc_raw_getpid
    - syscall
    linkageType: ''
    returnType: pid_t
    signature: pid_t lxc_raw_gettid(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sigdescr_np
      Src: /src/lxc/src/lxc/process_utils.h:302,1
    - Dst: strsignal
      Src: /src/lxc/src/lxc/process_utils.h:304,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 1
    argNames:
    - sig
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 311
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 311
    functionName: signal_name
    functionSourceFile: /src/lxc/src/lxc/process_utils.h
    functionUses: 1
    functionsReached:
    - strsignal
    - sigdescr_np
    linkageType: ''
    returnType: char
    signature: char *signal_name(int sig)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/sync.c:23,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/sync.c:25,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/sync.c:31,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/sync.c:34,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/sync.c:37,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 2
    argNames:
    - fd
    - sequence
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 40
      start: 18
    functionDepth: 1
    functionLinenumber: 18
    functionLinenumberEnd: 40
    functionName: sync_wait
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - log_error
    - log_error_errno
    - lxc_read_nointr
    linkageType: ''
    returnType: bool
    signature: bool sync_wait(int fd, int sequence)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/sync.c:46,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/sync.c:47,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - fd
    - sequence
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 50
      start: 42
    functionDepth: 1
    functionLinenumber: 42
    functionLinenumberEnd: 50
    functionName: sync_wake
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - lxc_write_nointr
    linkageType: ''
    returnType: bool
    signature: bool sync_wake(int fd, int sequence)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sync_wake
      Src: /src/lxc/src/lxc/sync.c:54,1
    - Dst: sync_wait
      Src: /src/lxc/src/lxc/sync.c:57,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - fd
    - sequence
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 58
      start: 52
    functionDepth: 2
    functionLinenumber: 52
    functionLinenumberEnd: 58
    functionName: __sync_barrier
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - sync_wake
    - sync_wait
    linkageType: ''
    returnType: bool
    signature: bool __sync_barrier(int fd, int sequence)
  - BBCount: 12
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 86
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 86
    functionName: start_sync_to_string
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *start_sync_to_string(int state)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/sync.c:90,1
    - Dst: start_sync_to_string
      Src: /src/lxc/src/lxc/sync.c:91,1
    - Dst: start_sync_to_string
      Src: /src/lxc/src/lxc/sync.c:91,1
    - Dst: __sync_barrier
      Src: /src/lxc/src/lxc/sync.c:92,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - handler
    - sequence
    argTypes:
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 93
      start: 88
    functionDepth: 3
    functionLinenumber: 88
    functionLinenumberEnd: 93
    functionName: lxc_sync_barrier_parent
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - start_sync_to_string
    - __sync_barrier
    - TRACE
    linkageType: ''
    returnType: bool
    signature: bool lxc_sync_barrier_parent(struct lxc_handler *handler, int sequence)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/sync.c:97,1
    - Dst: start_sync_to_string
      Src: /src/lxc/src/lxc/sync.c:98,1
    - Dst: start_sync_to_string
      Src: /src/lxc/src/lxc/sync.c:98,1
    - Dst: __sync_barrier
      Src: /src/lxc/src/lxc/sync.c:99,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - handler
    - sequence
    argTypes:
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 100
      start: 95
    functionDepth: 3
    functionLinenumber: 95
    functionLinenumberEnd: 100
    functionName: lxc_sync_barrier_child
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - start_sync_to_string
    - __sync_barrier
    - TRACE
    linkageType: ''
    returnType: bool
    signature: bool lxc_sync_barrier_child(struct lxc_handler *handler, int sequence)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/sync.c:104,1
    - Dst: start_sync_to_string
      Src: /src/lxc/src/lxc/sync.c:104,1
    - Dst: sync_wake
      Src: /src/lxc/src/lxc/sync.c:105,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - handler
    - sequence
    argTypes:
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 106
      start: 102
    functionDepth: 2
    functionLinenumber: 102
    functionLinenumberEnd: 106
    functionName: lxc_sync_wake_parent
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 1
    functionsReached:
    - sync_wake
    - start_sync_to_string
    - TRACE
    linkageType: ''
    returnType: bool
    signature: bool lxc_sync_wake_parent(struct lxc_handler *handler, int sequence)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/sync.c:110,1
    - Dst: start_sync_to_string
      Src: /src/lxc/src/lxc/sync.c:110,1
    - Dst: sync_wait
      Src: /src/lxc/src/lxc/sync.c:111,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - handler
    - sequence
    argTypes:
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 112
      start: 108
    functionDepth: 2
    functionLinenumber: 108
    functionLinenumberEnd: 112
    functionName: lxc_sync_wait_parent
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - start_sync_to_string
    - sync_wait
    - TRACE
    linkageType: ''
    returnType: bool
    signature: bool lxc_sync_wait_parent(struct lxc_handler *handler, int sequence)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/sync.c:116,1
    - Dst: start_sync_to_string
      Src: /src/lxc/src/lxc/sync.c:116,1
    - Dst: sync_wait
      Src: /src/lxc/src/lxc/sync.c:117,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - handler
    - sequence
    argTypes:
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 118
      start: 114
    functionDepth: 2
    functionLinenumber: 114
    functionLinenumberEnd: 118
    functionName: lxc_sync_wait_child
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - start_sync_to_string
    - sync_wait
    - TRACE
    linkageType: ''
    returnType: bool
    signature: bool lxc_sync_wait_child(struct lxc_handler *handler, int sequence)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/sync.c:122,1
    - Dst: start_sync_to_string
      Src: /src/lxc/src/lxc/sync.c:122,1
    - Dst: sync_wake
      Src: /src/lxc/src/lxc/sync.c:123,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - handler
    - sequence
    argTypes:
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 124
      start: 120
    functionDepth: 2
    functionLinenumber: 120
    functionLinenumberEnd: 124
    functionName: lxc_sync_wake_child
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - sync_wake
    - start_sync_to_string
    - TRACE
    linkageType: ''
    returnType: bool
    signature: bool lxc_sync_wake_child(struct lxc_handler *handler, int sequence)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: socketpair
      Src: /src/lxc/src/lxc/sync.c:130,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/sync.c:132,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/sync.c:135,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/sync.c:137,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/sync.c:139,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 141
      start: 126
    functionDepth: 1
    functionLinenumber: 126
    functionLinenumberEnd: 141
    functionName: lxc_sync_init
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - socketpair
    - fcntl
    - TRACE
    linkageType: ''
    returnType: bool
    signature: bool lxc_sync_init(struct lxc_handler *handler)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/sync.c:145,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 146
      start: 143
    functionDepth: 1
    functionLinenumber: 143
    functionLinenumberEnd: 146
    functionName: lxc_sync_fini_child
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_sync_fini_child(struct lxc_handler *handler)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/sync.c:150,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 151
      start: 148
    functionDepth: 1
    functionLinenumber: 148
    functionLinenumberEnd: 151
    functionName: lxc_sync_fini_parent
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_sync_fini_parent(struct lxc_handler *handler)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_sync_fini_child
      Src: /src/lxc/src/lxc/sync.c:155,1
    - Dst: lxc_sync_fini_parent
      Src: /src/lxc/src/lxc/sync.c:156,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 157
      start: 153
    functionDepth: 2
    functionLinenumber: 153
    functionLinenumberEnd: 157
    functionName: lxc_sync_fini
    functionSourceFile: /src/lxc/src/lxc/sync.c
    functionUses: 0
    functionsReached:
    - lxc_sync_fini_child
    - lxc_sync_fini_parent
    linkageType: ''
    returnType: void
    signature: void lxc_sync_fini(struct lxc_handler *handler)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/attach.c:112,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/attach.c:112,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/attach.c:116,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/attach.c:118,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/attach.c:118,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/attach.c:118,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/attach.c:120,1
    - Dst: fdopen_at
      Src: /src/lxc/src/lxc/attach.c:122,1
    - Dst: getline
      Src: /src/lxc/src/lxc/attach.c:126,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/attach.c:128,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/attach.c:132,1
    - Dst: lxc_trim_whitespace_in_place
      Src: /src/lxc/src/lxc/attach.c:136,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/attach.c:138,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/attach.c:145,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 2
    argNames:
    - dfd_init_pid
    - pidfd
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 146
      start: 107
    functionDepth: 2
    functionLinenumber: 107
    functionLinenumberEnd: 146
    functionName: pidfd_get_pid
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - getline
    - strnequal
    - lxc_trim_whitespace_in_place
    - INTTYPE_TO_STRLEN
    - ret_errno
    - strnprintf
    - lxc_safe_int
    - fdopen_at
    linkageType: ''
    returnType: pid_t
    signature: pid_t pidfd_get_pid(int dfd_init_pid, int pidfd)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/attach.c:150,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - fd
    - pid
    argTypes:
    - int
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 151
      start: 148
    functionDepth: 1
    functionLinenumber: 148
    functionLinenumberEnd: 151
    functionName: sync_wake_pid
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - lxc_write_nointr
    linkageType: ''
    returnType: bool
    signature: bool sync_wake_pid(int fd, pid_t pid)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/attach.c:155,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - fd
    - pid
    argTypes:
    - int
    - pid_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 156
      start: 153
    functionDepth: 1
    functionLinenumber: 153
    functionLinenumberEnd: 156
    functionName: sync_wait_pid
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - lxc_read_nointr
    linkageType: ''
    returnType: bool
    signature: bool sync_wait_pid(int fd, pid_t *pid)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/attach.c:160,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - fd
    - fd_send
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 161
      start: 158
    functionDepth: 1
    functionLinenumber: 158
    functionLinenumberEnd: 161
    functionName: sync_wake_fd
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_send_fds
    linkageType: ''
    returnType: bool
    signature: bool sync_wake_fd(int fd, int fd_send)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_recv_one_fd
      Src: /src/lxc/src/lxc/attach.c:165,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - fd
    - fd_recv
    argTypes:
    - int
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 166
      start: 163
    functionDepth: 1
    functionLinenumber: 163
    functionLinenumberEnd: 166
    functionName: sync_wait_fd
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_recv_one_fd
    linkageType: ''
    returnType: bool
    signature: bool sync_wait_fd(int fd, int *fd_recv)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - options
    argTypes:
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 171
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 171
    functionName: attach_lsm
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool attach_lsm(lxc_attach_options_t *options)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/attach.c:177,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/attach.c:179,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 200
      start: 173
    functionDepth: 1
    functionLinenumber: 173
    functionLinenumberEnd: 200
    functionName: alloc_attach_context
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - zalloc
    linkageType: ''
    returnType: struct attach_context
    signature: struct attach_context *alloc_attach_context(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_get_config_item
      Src: /src/lxc/src/lxc/attach.c:209,1
    - Dst: lxc_config_parse_arch
      Src: /src/lxc/src/lxc/attach.c:215,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:217,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 3
    argNames:
    - name
    - lxcpath
    - personality
    argTypes:
    - char*
    - char*
    - personality_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 221
      start: 202
    functionDepth: 1
    functionLinenumber: 202
    functionLinenumberEnd: 221
    functionName: get_personality
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_config_item
    - lxc_config_parse_arch
    - syserror
    linkageType: ''
    returnType: int
    signature: "int get_personality(const char *name, const char *lxcpath,\n\t\t\t
      \  personality_t *personality)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: fdopen_at
      Src: /src/lxc/src/lxc/attach.c:237,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:239,1
    - Dst: getline
      Src: /src/lxc/src/lxc/attach.c:241,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/attach.c:242,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:247,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:253,1
    - Dst: fdopen_at
      Src: /src/lxc/src/lxc/attach.c:257,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:259,1
    - Dst: getline
      Src: /src/lxc/src/lxc/attach.c:261,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/attach.c:262,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:267,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:273,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 40
    argCount: 2
    argNames:
    - ctx
    - options
    argTypes:
    - struct attach_context*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 284
      start: 223
    functionDepth: 1
    functionLinenumber: 223
    functionLinenumberEnd: 284
    functionName: userns_setup_ids
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - getline
    - TRACE
    - syserror
    - sscanf
    - fdopen_at
    linkageType: ''
    returnType: int
    signature: "int userns_setup_ids(struct attach_context *ctx,\n\t\t\t    lxc_attach_options_t
      *options)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: WARN
      Src: /src/lxc/src/lxc/attach.c:296,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/attach.c:306,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 2
    argNames:
    - ctx
    - options
    argTypes:
    - struct attach_context*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 307
      start: 286
    functionDepth: 1
    functionLinenumber: 286
    functionLinenumberEnd: 307
    functionName: userns_target_ids
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - WARN
    linkageType: ''
    returnType: void
    signature: void userns_target_ids(struct attach_context *ctx, lxc_attach_options_t
      *options)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fdopen_at
      Src: /src/lxc/src/lxc/attach.c:317,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:319,1
    - Dst: getline
      Src: /src/lxc/src/lxc/attach.c:321,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/attach.c:328,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:331,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/attach.c:335,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:338,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/attach.c:342,1
    - Dst: userns_setup_ids
      Src: /src/lxc/src/lxc/attach.c:356,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/attach.c:358,1
    - Dst: userns_target_ids
      Src: /src/lxc/src/lxc/attach.c:359,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 2
    argNames:
    - ctx
    - options
    argTypes:
    - struct attach_context*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 362
      start: 309
    functionDepth: 2
    functionLinenumber: 309
    functionLinenumberEnd: 362
    functionName: parse_init_status
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - userns_setup_ids
    - getline
    - TRACE
    - syserror_ret
    - syserror
    - sscanf
    - userns_target_ids
    - fdopen_at
    linkageType: ''
    returnType: int
    signature: int parse_init_status(struct attach_context *ctx, lxc_attach_options_t
      *options)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setns
      Src: /src/lxc/src/lxc/attach.c:375,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:378,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct attach_context*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 381
      start: 364
    functionDepth: 1
    functionLinenumber: 364
    functionLinenumberEnd: 381
    functionName: pidfd_setns_supported
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - setns
    - TRACE
    linkageType: ''
    returnType: bool
    signature: bool pidfd_setns_supported(struct attach_context *ctx)
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/attach.c:394,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:398,1
    - Dst: lxc_cmd_get_init_pidfd
      Src: /src/lxc/src/lxc/attach.c:400,1
    - Dst: pidfd_get_pid
      Src: /src/lxc/src/lxc/attach.c:402,1
    - Dst: lxc_cmd_get_init_pid
      Src: /src/lxc/src/lxc/attach.c:404,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/attach.c:406,1
    - Dst: lxc_cmd_get_clone_flags
      Src: /src/lxc/src/lxc/attach.c:408,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:410,1
    - Dst: core_scheduling_cookie_get
      Src: /src/lxc/src/lxc/attach.c:413,1
    - Dst: core_scheduling_cookie_valid
      Src: /src/lxc/src/lxc/attach.c:414,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/attach.c:415,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/attach.c:417,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/attach.c:420,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/attach.c:422,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/attach.c:424,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:428,1
    - Dst: lxc_raw_pidfd_send_signal
      Src: /src/lxc/src/lxc/attach.c:431,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:433,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:435,1
    - Dst: pidfd_setns_supported
      Src: /src/lxc/src/lxc/attach.c:437,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:439,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:440,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:443,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/attach.c:451,1
    - Dst: cgns_supported
      Src: /src/lxc/src/lxc/attach.c:456,1
    - Dst: parse_init_status
      Src: /src/lxc/src/lxc/attach.c:466,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:468,1
    - Dst: lsm_init_static
      Src: /src/lxc/src/lxc/attach.c:470,1
    - Dst: attach_lsm
      Src: /src/lxc/src/lxc/attach.c:472,1
    - Dst: struct attach_context*::lsm_ops::process_label_get_at
      Src: /src/lxc/src/lxc/attach.c:476,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/attach.c:478,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/attach.c:480,1
    - Dst: get_personality
      Src: /src/lxc/src/lxc/attach.c:483,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/attach.c:485,1
    - Dst: lxc_conf_init
      Src: /src/lxc/src/lxc/attach.c:488,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/attach.c:490,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/attach.c:493,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 73
    argCount: 3
    argNames:
    - ctx
    - container
    - options
    argTypes:
    - struct attach_context*
    - struct lxc_container*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 495
      start: 383
    functionDepth: 3
    functionLinenumber: 383
    functionLinenumberEnd: 495
    functionName: get_attach_context
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - struct attach_context*::lsm_ops::process_label_get_at
    - open_at
    - pidfd_get_pid
    - parse_init_status
    - TRACE
    - syserror_ret
    - syserror
    - WARN
    - move_ptr
    - core_scheduling_cookie_get
    - attach_lsm
    - lxc_cmd_get_clone_flags
    - core_scheduling_cookie_valid
    - lxc_cmd_get_init_pidfd
    - lsm_init_static
    - ret_errno
    - syserror_set
    - pidfd_setns_supported
    - strnprintf
    - SYSERROR
    - get_personality
    - lxc_conf_init
    - lxc_cmd_get_init_pid
    - cgns_supported
    - lxc_raw_pidfd_send_signal
    - INFO
    - close
    linkageType: ''
    returnType: int
    signature: "int get_attach_context(struct attach_context *ctx,\n\t\t\t      struct
      lxc_container *container,\n\t\t\t      lxc_attach_options_t *options)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fstatat
      Src: /src/lxc/src/lxc/attach.c:502,1
    - Dst: fstatat
      Src: /src/lxc/src/lxc/attach.c:506,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - dfd_pid1
    - dfd_pid2
    - ns_path
    argTypes:
    - int
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 516
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 516
    functionName: same_nsfd
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - fstatat
    linkageType: ''
    returnType: int
    signature: int same_nsfd(int dfd_pid1, int dfd_pid2, const char *ns_path)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/attach.c:523,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:529,1
    - Dst: same_nsfd
      Src: /src/lxc/src/lxc/attach.c:532,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/attach.c:537,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/attach.c:540,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 3
    argNames:
    - dfd_pid1
    - dfd_pid2
    - ns_path
    argTypes:
    - int
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 544
      start: 518
    functionDepth: 1
    functionLinenumber: 518
    functionLinenumberEnd: 544
    functionName: same_ns
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - same_nsfd
    - open_at
    - ret_errno
    - syserror
    - move_fd
    linkageType: ''
    returnType: int
    signature: int same_ns(int dfd_pid1, int dfd_pid2, const char *ns_path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: same_nsfd
      Src: /src/lxc/src/lxc/attach.c:551,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:559,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:562,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:566,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct attach_context*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 571
      start: 546
    functionDepth: 1
    functionLinenumber: 546
    functionLinenumberEnd: 571
    functionName: __prepare_namespaces_pidfd
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - same_nsfd
    - syserror
    - TRACE
    linkageType: ''
    returnType: int
    signature: int __prepare_namespaces_pidfd(struct attach_context *ctx)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/attach.c:580,1
    - Dst: same_ns
      Src: /src/lxc/src/lxc/attach.c:587,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:602,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:609,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/attach.c:611,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 2
    argNames:
    - ctx
    - options
    argTypes:
    - struct attach_context*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 615
      start: 573
    functionDepth: 2
    functionLinenumber: 573
    functionLinenumberEnd: 615
    functionName: __prepare_namespaces_nsfd
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - open_at
    - same_ns
    - ret_errno
    - close_prot_errno_disarm
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: "int __prepare_namespaces_nsfd(struct attach_context *ctx,\n\t\t\t\t
      \    lxc_attach_options_t *options)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __prepare_namespaces_nsfd
      Src: /src/lxc/src/lxc/attach.c:621,1
    - Dst: __prepare_namespaces_pidfd
      Src: /src/lxc/src/lxc/attach.c:623,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - ctx
    - options
    argTypes:
    - struct attach_context*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 624
      start: 617
    functionDepth: 3
    functionLinenumber: 617
    functionLinenumberEnd: 624
    functionName: prepare_namespaces
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - __prepare_namespaces_pidfd
    - __prepare_namespaces_nsfd
    linkageType: ''
    returnType: int
    signature: "int prepare_namespaces(struct attach_context *ctx,\n\t\t\t      lxc_attach_options_t
      *options)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:630,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct attach_context*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 632
      start: 626
    functionDepth: 1
    functionLinenumber: 626
    functionLinenumberEnd: 632
    functionName: put_namespaces
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void put_namespaces(struct attach_context *ctx)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: setns
      Src: /src/lxc/src/lxc/attach.c:641,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:643,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:646,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:647,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/attach.c:650,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - ctx
    - options
    argTypes:
    - struct attach_context*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 651
      start: 634
    functionDepth: 1
    functionLinenumber: 634
    functionLinenumberEnd: 651
    functionName: __attach_namespaces_pidfd
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - close
    - setns
    - log_trace
    - syserror
    linkageType: ''
    returnType: int
    signature: "int __attach_namespaces_pidfd(struct attach_context *ctx,\n\t\t\t\t
      \    lxc_attach_options_t *options)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: setns
      Src: /src/lxc/src/lxc/attach.c:664,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:666,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:669,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:671,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 2
    argNames:
    - ctx
    - options
    argTypes:
    - struct attach_context*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 678
      start: 653
    functionDepth: 1
    functionLinenumber: 653
    functionLinenumberEnd: 678
    functionName: __attach_namespaces_nsfd
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - SYSERROR
    - close
    - setns
    - syserror
    linkageType: ''
    returnType: int
    signature: "int __attach_namespaces_nsfd(struct attach_context *ctx,\n\t\t\t\t
      \   lxc_attach_options_t *options)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/attach.c:683,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:686,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:690,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:693,1
    - Dst: __attach_namespaces_nsfd
      Src: /src/lxc/src/lxc/attach.c:698,1
    - Dst: __attach_namespaces_pidfd
      Src: /src/lxc/src/lxc/attach.c:700,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 2
    argNames:
    - ctx
    - options
    argTypes:
    - struct attach_context*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 701
      start: 680
    functionDepth: 2
    functionLinenumber: 680
    functionLinenumberEnd: 701
    functionName: attach_namespaces
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - __attach_namespaces_nsfd
    - __attach_namespaces_pidfd
    - lxc_log_trace
    - TRACE
    linkageType: ''
    returnType: int
    signature: "int attach_namespaces(struct attach_context *ctx,\n\t\t\t     lxc_attach_options_t
      *options)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/attach.c:707,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:708,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/attach.c:711,1
    - Dst: put_namespaces
      Src: /src/lxc/src/lxc/attach.c:715,1
    - Dst: free
      Src: /src/lxc/src/lxc/attach.c:716,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct attach_context*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 718
      start: 703
    functionDepth: 3
    functionLinenumber: 703
    functionLinenumberEnd: 718
    functionName: put_attach_context
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - free_disarm
    - lxc_container_put
    - put_namespaces
    - close_prot_errno_disarm
    - free
    linkageType: ''
    returnType: void
    signature: void put_attach_context(struct attach_context *ctx)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:727,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:731,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct attach_context*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 737
      start: 724
    functionDepth: 0
    functionLinenumber: 724
    functionLinenumberEnd: 737
    functionName: attach_context_security_barrier
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - close
    linkageType: ''
    returnType: bool
    signature: bool attach_context_security_barrier(struct attach_context *ctx)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: unshare
      Src: /src/lxc/src/lxc/attach.c:743,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:745,1
    - Dst: detect_shared_rootfs
      Src: /src/lxc/src/lxc/attach.c:747,1
    - Dst: mount
      Src: /src/lxc/src/lxc/attach.c:747,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:748,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/attach.c:751,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:753,1
    - Dst: mount
      Src: /src/lxc/src/lxc/attach.c:755,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:757,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/attach.c:763,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:765,1
    - Dst: mount
      Src: /src/lxc/src/lxc/attach.c:768,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:769,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 772
      start: 739
    functionDepth: 3
    functionLinenumber: 739
    functionLinenumberEnd: 772
    functionName: lxc_attach_remount_sys_proc
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 1
    functionsReached:
    - mount
    - detect_shared_rootfs
    - unshare
    - syserror
    - umount2
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int lxc_attach_remount_sys_proc(void)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_caps_last_cap
      Src: /src/lxc/src/lxc/attach.c:779,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/attach.c:781,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/attach.c:787,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/attach.c:787,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/attach.c:787,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/attach.c:788,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/attach.c:788,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:789,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:791,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct attach_context*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 795
      start: 774
    functionDepth: 1
    functionLinenumber: 774
    functionLinenumberEnd: 795
    functionName: drop_capabilities
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - lxc_caps_last_cap
    - prctl
    - TRACE
    - syserror_ret
    - syserror
    - prctl_arg
    linkageType: ''
    returnType: int
    signature: int drop_capabilities(struct attach_context *ctx)
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/attach.c:813,1
    - Dst: getenv
      Src: /src/lxc/src/lxc/attach.c:818,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/attach.c:820,1
    - Dst: free
      Src: /src/lxc/src/lxc/attach.c:823,1
    - Dst: free
      Src: /src/lxc/src/lxc/attach.c:825,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/attach.c:829,1
    - Dst: clearenv
      Src: /src/lxc/src/lxc/attach.c:835,1
    - Dst: free
      Src: /src/lxc/src/lxc/attach.c:840,1
    - Dst: free
      Src: /src/lxc/src/lxc/attach.c:842,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:845,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/attach.c:853,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/attach.c:855,1
    - Dst: free
      Src: /src/lxc/src/lxc/attach.c:858,1
    - Dst: free
      Src: /src/lxc/src/lxc/attach.c:861,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/attach.c:870,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/attach.c:872,1
    - Dst: putenv
      Src: /src/lxc/src/lxc/attach.c:876,1
    - Dst: log_warn
      Src: /src/lxc/src/lxc/attach.c:878,1
    - Dst: lxc_set_environment
      Src: /src/lxc/src/lxc/attach.c:882,1
    - Dst: lxc_set_environment
      Src: /src/lxc/src/lxc/attach.c:886,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/attach.c:899,1
    - Dst: putenv
      Src: /src/lxc/src/lxc/attach.c:903,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/attach.c:905,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 69
    argCount: 4
    argNames:
    - ctx
    - policy
    - extra_env
    - extra_keep
    argTypes:
    - struct attach_context*
    - enum lxc_attach_env_policy_t
    - char**
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 910
      start: 797
    functionDepth: 2
    functionLinenumber: 797
    functionLinenumberEnd: 910
    functionName: lxc_attach_set_environment
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - clearenv
    - SYSWARN
    - strequal
    - getenv
    - log_warn
    - lxc_set_environment
    - zalloc
    - setenv
    - putenv
    - syserror
    - strdup
    - free
    linkageType: ''
    returnType: int
    signature: "int lxc_attach_set_environment(struct attach_context *ctx,\n\t\t\t\t
      \     enum lxc_attach_env_policy_t policy,\n\t\t\t\t      char **extra_env,
      char **extra_keep)"
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: pipe2
      Src: /src/lxc/src/lxc/attach.c:925,1
    - Dst: fork
      Src: /src/lxc/src/lxc/attach.c:929,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:931,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:932,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:945,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/attach.c:948,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:949,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:951,1
    - Dst: open_devnull
      Src: /src/lxc/src/lxc/attach.c:956,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:958,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:959,1
    - Dst: dup3
      Src: /src/lxc/src/lxc/attach.c:961,1
    - Dst: dup3
      Src: /src/lxc/src/lxc/attach.c:962,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:963,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/attach.c:967,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:969,1
    - Dst: execvp
      Src: /src/lxc/src/lxc/attach.c:972,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:973,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:976,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/attach.c:978,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:980,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/attach.c:984,1
    - Dst: getline
      Src: /src/lxc/src/lxc/attach.c:986,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/attach.c:1003,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/attach.c:1007,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/attach.c:1012,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/attach.c:1017,1
    - Dst: strtol
      Src: /src/lxc/src/lxc/attach.c:1018,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/attach.c:1029,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/attach.c:1037,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/attach.c:1038,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/attach.c:1041,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/attach.c:1049,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/attach.c:1056,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 80
    argCount: 1
    argNames:
    - uid
    argTypes:
    - uid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1057
      start: 912
    functionDepth: 2
    functionLinenumber: 912
    functionLinenumberEnd: 1057
    functionName: lxc_attach_getpwshell
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - execvp
    - _exit
    - dup2
    - move_fd
    - free_disarm
    - strtok_r
    - strtol
    - move_ptr
    - pipe2
    - strdup
    - strlen
    - fdopen
    - getline
    - strnprintf
    - dup3
    - wait_for_pid
    - open_devnull
    - fork
    - close
    linkageType: ''
    returnType: char
    signature: char *lxc_attach_getpwshell(uid_t uid)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: attach_lsm
      Src: /src/lxc/src/lxc/attach.c:1065,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/attach.c:1066,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/attach.c:1071,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/attach.c:1072,1
    - Dst: struct lxc_container*::get_running_config_item
      Src: /src/lxc/src/lxc/attach.c:1076,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/attach.c:1078,1
    - Dst: struct lxc_container*::get_running_config_item
      Src: /src/lxc/src/lxc/attach.c:1080,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/attach.c:1082,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/attach.c:1086,1
    - Dst: lxc_read_seccomp_config
      Src: /src/lxc/src/lxc/attach.c:1091,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/attach.c:1093,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/attach.c:1095,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 2
    argNames:
    - c
    - options
    argTypes:
    - struct lxc_container*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1096
      start: 1059
    functionDepth: 1
    functionLinenumber: 1059
    functionLinenumberEnd: 1096
    functionName: fetch_seccomp
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - log_info
    - free_disarm
    - struct lxc_container*::get_running_config_item
    - log_error
    - struct lxc_container*::set_config_item
    - lxc_read_seccomp_config
    - attach_lsm
    - INFO
    linkageType: ''
    returnType: bool
    signature: bool fetch_seccomp(struct lxc_container *c, lxc_attach_options_t *options)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/attach.c:1103,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/attach.c:1104,1
    - Dst: struct lxc_container*::get_running_config_item
      Src: /src/lxc/src/lxc/attach.c:1107,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/attach.c:1109,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/attach.c:1112,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - c
    - options
    argTypes:
    - struct lxc_container*
    - lxc_attach_options_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1113
      start: 1098
    functionDepth: 1
    functionLinenumber: 1098
    functionLinenumberEnd: 1113
    functionName: no_new_privs
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::get_running_config_item
    - log_info
    - struct lxc_container*::set_config_item
    linkageType: ''
    returnType: bool
    signature: bool no_new_privs(struct lxc_container *c, lxc_attach_options_t *options)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1127,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1128,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1129,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - p
    argTypes:
    - struct attach_payload*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1132
      start: 1124
    functionDepth: 4
    functionLinenumber: 1124
    functionLinenumberEnd: 1132
    functionName: put_attach_payload
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    - put_attach_context
    linkageType: ''
    returnType: void
    signature: void put_attach_payload(struct attach_payload *p)
  - BBCount: 45
    BranchProfiles: []
    Callsites:
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/attach.c:1136,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/attach.c:1137,1
    - Dst: core_scheduling_cookie_valid
      Src: /src/lxc/src/lxc/attach.c:1151,1
    - Dst: core_scheduling_cookie_share_with
      Src: /src/lxc/src/lxc/attach.c:1156,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1158,1
    - Dst: core_scheduling_cookie_get
      Src: /src/lxc/src/lxc/attach.c:1163,1
    - Dst: getpid
      Src: /src/lxc/src/lxc/attach.c:1163,1
    - Dst: core_scheduling_cookie_valid
      Src: /src/lxc/src/lxc/attach.c:1164,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1166,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/attach.c:1172,1
    - Dst: lxc_attach_remount_sys_proc
      Src: /src/lxc/src/lxc/attach.c:1183,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1187,1
    - Dst: lxc_personality
      Src: /src/lxc/src/lxc/attach.c:1200,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1204,1
    - Dst: drop_capabilities
      Src: /src/lxc/src/lxc/attach.c:1209,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1213,1
    - Dst: lxc_attach_set_environment
      Src: /src/lxc/src/lxc/attach.c:1219,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1226,1
    - Dst: attach_lsm
      Src: /src/lxc/src/lxc/attach.c:1240,1
    - Dst: sync_wait_fd
      Src: /src/lxc/src/lxc/attach.c:1241,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1242,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1246,1
    - Dst: isatty
      Src: /src/lxc/src/lxc/attach.c:1249,1
    - Dst: lxc_make_controlling_terminal
      Src: /src/lxc/src/lxc/attach.c:1250,1
    - Dst: lxc_setgroups
      Src: /src/lxc/src/lxc/attach.c:1257,1
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/attach.c:1260,1
    - Dst: lxc_switch_uid_gid
      Src: /src/lxc/src/lxc/attach.c:1265,1
    - Dst: attach_lsm
      Src: /src/lxc/src/lxc/attach.c:1268,1
    - Dst: struct attach_context*::lsm_ops::process_label_set_at
      Src: /src/lxc/src/lxc/attach.c:1273,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1274,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1278,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/attach.c:1282,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/attach.c:1282,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/attach.c:1282,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/attach.c:1283,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/attach.c:1283,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1287,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/attach.c:1300,1
    - Dst: SYSDEBUG
      Src: /src/lxc/src/lxc/attach.c:1301,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/attach.c:1304,1
    - Dst: SYSDEBUG
      Src: /src/lxc/src/lxc/attach.c:1305,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/attach.c:1308,1
    - Dst: SYSDEBUG
      Src: /src/lxc/src/lxc/attach.c:1309,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:1313,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:1316,1
    - Dst: close
      Src: /src/lxc/src/lxc/attach.c:1319,1
    - Dst: lxc_fd_cloexec
      Src: /src/lxc/src/lxc/attach.c:1326,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1328,1
    - Dst: lxc_terminal_prepare_login
      Src: /src/lxc/src/lxc/attach.c:1334,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1336,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1340,1
    - Dst: fix_stdio_permissions
      Src: /src/lxc/src/lxc/attach.c:1354,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/attach.c:1356,1
    - Dst: lxc_seccomp_load
      Src: /src/lxc/src/lxc/attach.c:1359,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1363,1
    - Dst: lxc_seccomp_send_notifier_fd
      Src: /src/lxc/src/lxc/attach.c:1365,1
    - Dst: lxc_seccomp_close_notifier_fd
      Src: /src/lxc/src/lxc/attach.c:1368,1
    - Dst: lxc_switch_uid_gid
      Src: /src/lxc/src/lxc/attach.c:1371,1
    - Dst: put_attach_payload
      Src: /src/lxc/src/lxc/attach.c:1374,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:1377,1
    - Dst: attach_function
      Src: /src/lxc/src/lxc/attach.c:1377,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/attach.c:1380,1
    - Dst: put_attach_payload
      Src: /src/lxc/src/lxc/attach.c:1381,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:1382,1
    CyclomaticComplexity: 77
    EdgeCount: 77
    ICount: 151
    argCount: 1
    argNames:
    - ap
    argTypes:
    - struct attach_payload*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1383
      start: 1134
    functionDepth: 5
    functionLinenumber: 1134
    functionLinenumberEnd: 1383
    functionName: do_attach
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - SYSDEBUG
    - drop_capabilities
    - lxc_setgroups
    - TRACE
    - close_prot_errno_disarm
    - lxc_seccomp_load
    - _exit
    - struct attach_context*::lsm_ops::process_label_set_at
    - dup2
    - fix_stdio_permissions
    - lxc_seccomp_send_notifier_fd
    - isatty
    - move_ptr
    - core_scheduling_cookie_get
    - attach_lsm
    - sync_wait_fd
    - lxc_seccomp_close_notifier_fd
    - prctl_arg
    - lxc_personality
    - lxc_attach_set_environment
    - lxc_switch_uid_gid
    - core_scheduling_cookie_valid
    - ERROR
    - prctl
    - lxc_attach_remount_sys_proc
    - getpid
    - lxc_fd_cloexec
    - lxc_make_controlling_terminal
    - SYSERROR
    - lxc_terminal_prepare_login
    - lxc_drop_groups
    - attach_function
    - core_scheduling_cookie_share_with
    - INFO
    - close
    - put_attach_payload
    linkageType: ''
    returnType: __noreturn
    signature: __noreturn do_attach(struct attach_payload *ap)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_init
      Src: /src/lxc/src/lxc/attach.c:1390,1
    - Dst: lxc_terminal_create
      Src: /src/lxc/src/lxc/attach.c:1392,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:1394,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - name
    - lxcpath
    - conf
    - terminal
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1397
      start: 1385
    functionDepth: 1
    functionLinenumber: 1385
    functionLinenumberEnd: 1397
    functionName: lxc_attach_terminal
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_init
    - lxc_terminal_create
    - syserror
    linkageType: ''
    returnType: int
    signature: "int lxc_attach_terminal(const char *name, const char *lxcpath, struct
      lxc_conf *conf,\n\t\t\t       struct lxc_terminal *terminal)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_mainloop_open
      Src: /src/lxc/src/lxc/attach.c:1404,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:1406,1
    - Dst: lxc_terminal_mainloop_add
      Src: /src/lxc/src/lxc/attach.c:1408,1
    - Dst: lxc_mainloop_close
      Src: /src/lxc/src/lxc/attach.c:1410,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:1411,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 2
    argNames:
    - terminal
    - descr
    argTypes:
    - struct lxc_terminal*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1415
      start: 1399
    functionDepth: 3
    functionLinenumber: 1399
    functionLinenumberEnd: 1415
    functionName: lxc_attach_terminal_mainloop_init
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - lxc_mainloop_close
    - lxc_terminal_mainloop_add
    - lxc_mainloop_open
    - syserror
    linkageType: ''
    returnType: int
    signature: "int lxc_attach_terminal_mainloop_init(struct lxc_terminal *terminal,\n\t\t\t\t\t
      \    struct lxc_async_descr *descr)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1419,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1420
      start: 1417
    functionDepth: 1
    functionLinenumber: 1417
    functionLinenumberEnd: 1420
    functionName: lxc_attach_terminal_close_ptx
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_attach_terminal_close_ptx(struct lxc_terminal *terminal)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1424,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1425
      start: 1422
    functionDepth: 1
    functionLinenumber: 1422
    functionLinenumberEnd: 1425
    functionName: lxc_attach_terminal_close_pts
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_attach_terminal_close_pts(struct lxc_terminal *terminal)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1429,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1430
      start: 1427
    functionDepth: 1
    functionLinenumber: 1427
    functionLinenumberEnd: 1430
    functionName: lxc_attach_terminal_close_peer
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_attach_terminal_close_peer(struct lxc_terminal *terminal)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1434,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1435
      start: 1432
    functionDepth: 1
    functionLinenumber: 1432
    functionLinenumberEnd: 1435
    functionName: lxc_attach_terminal_close_log
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_attach_terminal_close_log(struct lxc_terminal *terminal)
  - BBCount: 54
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/attach.c:1452,1
    - Dst: lxc_container_get
      Src: /src/lxc/src/lxc/attach.c:1454,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/attach.c:1455,1
    - Dst: alloc_attach_context
      Src: /src/lxc/src/lxc/attach.c:1465,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/attach.c:1467,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/attach.c:1468,1
    - Dst: get_attach_context
      Src: /src/lxc/src/lxc/attach.c:1471,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1473,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:1474,1
    - Dst: fetch_seccomp
      Src: /src/lxc/src/lxc/attach.c:1479,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/attach.c:1480,1
    - Dst: no_new_privs
      Src: /src/lxc/src/lxc/attach.c:1482,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/attach.c:1483,1
    - Dst: prepare_namespaces
      Src: /src/lxc/src/lxc/attach.c:1485,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1487,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:1488,1
    - Dst: lxc_attach_terminal
      Src: /src/lxc/src/lxc/attach.c:1492,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1494,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:1495,1
    - Dst: lxc_terminal_init
      Src: /src/lxc/src/lxc/attach.c:1500,1
    - Dst: socketpair
      Src: /src/lxc/src/lxc/attach.c:1536,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1538,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:1539,1
    - Dst: fork
      Src: /src/lxc/src/lxc/attach.c:1549,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1551,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/attach.c:1552,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1559,1
    - Dst: lxc_attach_terminal_close_ptx
      Src: /src/lxc/src/lxc/attach.c:1562,1
    - Dst: lxc_attach_terminal_close_peer
      Src: /src/lxc/src/lxc/attach.c:1563,1
    - Dst: lxc_attach_terminal_close_log
      Src: /src/lxc/src/lxc/attach.c:1564,1
    - Dst: sync_wait
      Src: /src/lxc/src/lxc/attach.c:1568,1
    - Dst: shutdown
      Src: /src/lxc/src/lxc/attach.c:1569,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1570,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:1571,1
    - Dst: attach_context_security_barrier
      Src: /src/lxc/src/lxc/attach.c:1574,1
    - Dst: shutdown
      Src: /src/lxc/src/lxc/attach.c:1575,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1576,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:1577,1
    - Dst: getcwd
      Src: /src/lxc/src/lxc/attach.c:1580,1
    - Dst: attach_namespaces
      Src: /src/lxc/src/lxc/attach.c:1592,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/attach.c:1594,1
    - Dst: shutdown
      Src: /src/lxc/src/lxc/attach.c:1595,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1596,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:1597,1
    - Dst: chdir
      Src: /src/lxc/src/lxc/attach.c:1606,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/attach.c:1608,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/attach.c:1610,1
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/lxc/attach.c:1613,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1615,1
    - Dst: shutdown
      Src: /src/lxc/src/lxc/attach.c:1616,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1617,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:1618,1
    - Dst: lxc_terminal_signal_sigmask_safe_blocked
      Src: /src/lxc/src/lxc/attach.c:1632,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1634,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:1635,1
    - Dst: do_attach
      Src: /src/lxc/src/lxc/attach.c:1640,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1642,1
    - Dst: lxc_attach_terminal_close_pts
      Src: /src/lxc/src/lxc/attach.c:1645,1
    - Dst: sync_wake_pid
      Src: /src/lxc/src/lxc/attach.c:1648,1
    - Dst: shutdown
      Src: /src/lxc/src/lxc/attach.c:1655,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1656,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:1657,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1661,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/attach.c:1662,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1664,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1669,1
    - Dst: put_namespaces
      Src: /src/lxc/src/lxc/attach.c:1670,1
    - Dst: lxc_attach_terminal_close_pts
      Src: /src/lxc/src/lxc/attach.c:1672,1
    - Dst: cgroup_attach
      Src: /src/lxc/src/lxc/attach.c:1680,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/attach.c:1682,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/attach.c:1683,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1684,1
    - Dst: cgroup_init
      Src: /src/lxc/src/lxc/attach.c:1688,1
    - Dst: struct cgroup_ops*::attach
      Src: /src/lxc/src/lxc/attach.c:1692,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1696,1
    - Dst: attach_context_security_barrier
      Src: /src/lxc/src/lxc/attach.c:1703,1
    - Dst: setup_proc_filesystem
      Src: /src/lxc/src/lxc/attach.c:1707,1
    - Dst: setup_resource_limits
      Src: /src/lxc/src/lxc/attach.c:1712,1
    - Dst: lxc_attach_terminal_mainloop_init
      Src: /src/lxc/src/lxc/attach.c:1717,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1721,1
    - Dst: sync_wake
      Src: /src/lxc/src/lxc/attach.c:1725,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1728,1
    - Dst: sync_wait_pid
      Src: /src/lxc/src/lxc/attach.c:1731,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1734,1
    - Dst: signal
      Src: /src/lxc/src/lxc/attach.c:1738,1
    - Dst: signal
      Src: /src/lxc/src/lxc/attach.c:1739,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/attach.c:1743,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1747,1
    - Dst: attach_lsm
      Src: /src/lxc/src/lxc/attach.c:1753,1
    - Dst: struct attach_context*::lsm_ops::process_label_fd_get
      Src: /src/lxc/src/lxc/attach.c:1758,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1762,1
    - Dst: sync_wake_fd
      Src: /src/lxc/src/lxc/attach.c:1765,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1766,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/attach.c:1770,1
    - Dst: lxc_seccomp_recv_notifier_fd
      Src: /src/lxc/src/lxc/attach.c:1774,1
    - Dst: lxc_seccomp_add_notifier
      Src: /src/lxc/src/lxc/attach.c:1778,1
    - Dst: shutdown
      Src: /src/lxc/src/lxc/attach.c:1791,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1792,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/attach.c:1798,1
    - Dst: lxc_mainloop_close
      Src: /src/lxc/src/lxc/attach.c:1807,1
    - Dst: shutdown
      Src: /src/lxc/src/lxc/attach.c:1811,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/attach.c:1812,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/attach.c:1816,1
    - Dst: lxc_terminal_delete
      Src: /src/lxc/src/lxc/attach.c:1819,1
    - Dst: lxc_terminal_conf_free
      Src: /src/lxc/src/lxc/attach.c:1820,1
    - Dst: put_attach_context
      Src: /src/lxc/src/lxc/attach.c:1823,1
    CyclomaticComplexity: 68
    EdgeCount: 68
    ICount: 228
    argCount: 5
    argNames:
    - container
    - exec_function
    - exec_payload
    - options
    - attached_process
    argTypes:
    - struct lxc_container*
    - lxc_attach_exec_t
    - void*
    - lxc_attach_options_t*
    - pid_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1825
      start: 1437
    functionDepth: 6
    functionLinenumber: 1437
    functionLinenumberEnd: 1825
    functionName: lxc_attach
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 2
    functionsReached:
    - no_new_privs
    - get_attach_context
    - lxc_mainloop_close
    - TRACE
    - lxc_container_put
    - lxc_terminal_signal_sigmask_safe_blocked
    - close_prot_errno_disarm
    - _exit
    - syserror
    - lxc_attach_terminal_close_log
    - chdir
    - lxc_attach_terminal_close_pts
    - put_attach_context
    - cgroup_init
    - lxc_seccomp_add_notifier
    - sync_wait
    - lxc_attach_terminal
    - free_disarm
    - attach_namespaces
    - attach_context_security_barrier
    - WARN
    - lxc_attach_terminal_mainloop_init
    - attach_lsm
    - prepare_namespaces
    - sync_wake
    - sync_wait_pid
    - signal
    - shutdown
    - ERROR
    - setup_proc_filesystem
    - lxc_terminal_delete
    - sync_wake_pid
    - struct attach_context*::lsm_ops::process_label_fd_get
    - do_attach
    - lxc_raw_clone
    - call_cleaner
    - lxc_attach_terminal_close_peer
    - ret_errno
    - syserror_set
    - put_namespaces
    - lxc_seccomp_recv_notifier_fd
    - SYSERROR
    - socketpair
    - struct cgroup_ops*::attach
    - alloc_attach_context
    - sync_wake_fd
    - wait_for_pid
    - lxc_container_get
    - lxc_mainloop
    - getcwd
    - setup_resource_limits
    - lxc_attach_terminal_close_ptx
    - lxc_terminal_conf_free
    - fetch_seccomp
    - fork
    - lxc_terminal_init
    - ERRNO_IS_NOT_SUPPORTED
    - cgroup_attach
    linkageType: ''
    returnType: int
    signature: "int lxc_attach(struct lxc_container *container, lxc_attach_exec_t
      exec_function,\n\t       void *exec_payload, lxc_attach_options_t *options,\n\t
      \      pid_t *attached_process)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: execvp
      Src: /src/lxc/src/lxc/attach.c:1832,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/attach.c:1845,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1846
      start: 1827
    functionDepth: 1
    functionLinenumber: 1827
    functionLinenumberEnd: 1846
    functionName: lxc_attach_run_command
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - execvp
    - syserror_ret
    linkageType: ''
    returnType: int
    signature: int lxc_attach_run_command(void *payload)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: getuid
      Src: /src/lxc/src/lxc/attach.c:1861,1
    - Dst: sysconf
      Src: /src/lxc/src/lxc/attach.c:1863,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/attach.c:1867,1
    - Dst: getpwuid_r
      Src: /src/lxc/src/lxc/attach.c:1869,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/attach.c:1872,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/attach.c:1874,1
    - Dst: lxc_attach_getpwshell
      Src: /src/lxc/src/lxc/attach.c:1885,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/attach.c:1890,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/attach.c:1895,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/attach.c:1897,1
    - Dst: free
      Src: /src/lxc/src/lxc/attach.c:1899,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 1
    argNames:
    - payload
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1902
      start: 1848
    functionDepth: 3
    functionLinenumber: 1848
    functionLinenumberEnd: 1902
    functionName: lxc_attach_run_shell
    functionSourceFile: /src/lxc/src/lxc/attach.c
    functionUses: 0
    functionsReached:
    - malloc
    - sysconf
    - getpwuid_r
    - WARN
    - lxc_attach_getpwshell
    - getuid
    - execlp
    - SYSERROR
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_attach_run_shell(void* payload)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: backtrace
      Src: /src/lxc/src/lxc/lxclock.c:38,1
    - Dst: backtrace_symbols
      Src: /src/lxc/src/lxc/lxclock.c:39,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxclock.c:42,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lxclock.c:45,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxclock.c:47,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 48
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 48
    functionName: dump_stacktrace
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 0
    functionsReached:
    - backtrace_symbols
    - backtrace
    - free
    - fprintf
    linkageType: ''
    returnType: void
    signature: void dump_stacktrace(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 52
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 52
    functionName: dump_stacktrace
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void dump_stacktrace(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: pthread_mutex_lock
      Src: /src/lxc/src/lxc/lxclock.c:59,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxclock.c:61,1
    - Dst: dump_stacktrace
      Src: /src/lxc/src/lxc/lxclock.c:62,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxclock.c:63,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - l
    argTypes:
    - pthread_mutex_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 65
      start: 55
    functionDepth: 1
    functionLinenumber: 55
    functionLinenumberEnd: 65
    functionName: lock_mutex
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 0
    functionsReached:
    - pthread_mutex_lock
    - SYSERROR
    - _exit
    - dump_stacktrace
    linkageType: ''
    returnType: void
    signature: void lock_mutex(pthread_mutex_t *l)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: pthread_mutex_unlock
      Src: /src/lxc/src/lxc/lxclock.c:71,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lxclock.c:73,1
    - Dst: dump_stacktrace
      Src: /src/lxc/src/lxc/lxclock.c:74,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/lxclock.c:75,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - l
    argTypes:
    - pthread_mutex_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 77
      start: 67
    functionDepth: 1
    functionLinenumber: 67
    functionLinenumberEnd: 77
    functionName: unlock_mutex
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 0
    functionsReached:
    - SYSERROR
    - pthread_mutex_unlock
    - _exit
    - dump_stacktrace
    linkageType: ''
    returnType: void
    signature: void unlock_mutex(pthread_mutex_t *l)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/lxclock.c:92,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxclock.c:92,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxclock.c:92,1
    - Dst: get_rundir
      Src: /src/lxc/src/lxc/lxclock.c:94,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lxclock.c:98,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxclock.c:100,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxclock.c:104,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/lxclock.c:108,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/lxclock.c:112,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lxclock.c:116,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 2
    argNames:
    - p
    - n
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 117
      start: 79
    functionDepth: 2
    functionLinenumber: 79
    functionLinenumberEnd: 117
    functionName: lxclock_name
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 0
    functionsReached:
    - malloc
    - STRLITERALLEN
    - get_rundir
    - move_ptr
    - strlen
    - strnprintf
    - lxc_mkdir_p
    linkageType: ''
    returnType: char
    signature: char *lxclock_name(const char *p, const char *n)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/lxclock.c:124,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxclock.c:126,1
    - Dst: sem_init
      Src: /src/lxc/src/lxc/lxclock.c:128,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lxclock.c:132,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 133
      start: 119
    functionDepth: 1
    functionLinenumber: 119
    functionLinenumberEnd: 133
    functionName: lxc_new_unnamed_sem
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 0
    functionsReached:
    - malloc
    - move_ptr
    - sem_init
    - ret_set_errno
    linkageType: ''
    returnType: sem_t
    signature: sem_t *lxc_new_unnamed_sem(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/lxclock.c:139,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxclock.c:141,1
    - Dst: lxclock_name
      Src: /src/lxc/src/lxc/lxclock.c:145,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxclock.c:147,1
    - Dst: lxc_new_unnamed_sem
      Src: /src/lxc/src/lxc/lxclock.c:151,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxclock.c:153,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lxclock.c:156,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 2
    argNames:
    - lxcpath
    - name
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 157
      start: 135
    functionDepth: 3
    functionLinenumber: 135
    functionLinenumberEnd: 157
    functionName: lxc_newlock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 3
    functionsReached:
    - lxc_new_unnamed_sem
    - lxclock_name
    - zalloc
    - move_ptr
    - ret_set_errno
    linkageType: ''
    returnType: struct lxc_lock
    signature: struct lxc_lock *lxc_newlock(const char *lxcpath, const char *name)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: sem_wait
      Src: /src/lxc/src/lxc/lxclock.c:167,1
    - Dst: clock_gettime
      Src: /src/lxc/src/lxc/lxclock.c:171,1
    - Dst: sem_timedwait
      Src: /src/lxc/src/lxc/lxclock.c:176,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxclock.c:182,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/lxclock.c:185,1
    - Dst: open
      Src: /src/lxc/src/lxc/lxclock.c:188,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lxclock.c:190,1
    - Dst: memset
      Src: /src/lxc/src/lxc/lxclock.c:193,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/lxclock.c:198,1
    - Dst: flock
      Src: /src/lxc/src/lxc/lxclock.c:200,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxclock.c:203,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 34
    argCount: 2
    argNames:
    - l
    - timeout
    argTypes:
    - struct lxc_lock*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 207
      start: 159
    functionDepth: 1
    functionLinenumber: 159
    functionLinenumberEnd: 207
    functionName: lxclock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 2
    functionsReached:
    - open
    - sem_wait
    - log_error
    - sem_timedwait
    - ret_set_errno
    - log_error_errno
    - memset
    - flock
    - clock_gettime
    - fcntl
    linkageType: ''
    returnType: int
    signature: int lxclock(struct lxc_lock *l, int timeout)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: sem_post
      Src: /src/lxc/src/lxc/lxclock.c:219,1
    - Dst: memset
      Src: /src/lxc/src/lxc/lxclock.c:225,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/lxclock.c:230,1
    - Dst: flock
      Src: /src/lxc/src/lxc/lxclock.c:232,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/lxclock.c:234,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/lxclock.c:237,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - l
    argTypes:
    - struct lxc_lock*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 241
      start: 209
    functionDepth: 1
    functionLinenumber: 209
    functionLinenumberEnd: 241
    functionName: lxcunlock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 2
    functionsReached:
    - ret_set_errno
    - sem_post
    - flock
    - close_prot_errno_disarm
    - memset
    - fcntl
    linkageType: ''
    returnType: int
    signature: int lxcunlock(struct lxc_lock *l)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sem_destroy
      Src: /src/lxc/src/lxc/lxclock.c:258,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/lxclock.c:259,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/lxclock.c:263,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/lxclock.c:264,1
    - Dst: free
      Src: /src/lxc/src/lxc/lxclock.c:268,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - l
    argTypes:
    - struct lxc_lock*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 269
      start: 250
    functionDepth: 1
    functionLinenumber: 250
    functionLinenumberEnd: 269
    functionName: lxc_putlock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 3
    functionsReached:
    - free_disarm
    - close_prot_errno_disarm
    - free
    - sem_destroy
    linkageType: ''
    returnType: void
    signature: void lxc_putlock(struct lxc_lock *l)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lock_mutex
      Src: /src/lxc/src/lxc/lxclock.c:273,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 274
      start: 271
    functionDepth: 2
    functionLinenumber: 271
    functionLinenumberEnd: 274
    functionName: process_lock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 0
    functionsReached:
    - lock_mutex
    linkageType: ''
    returnType: void
    signature: void process_lock(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: unlock_mutex
      Src: /src/lxc/src/lxc/lxclock.c:278,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 279
      start: 276
    functionDepth: 2
    functionLinenumber: 276
    functionLinenumberEnd: 279
    functionName: process_unlock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 0
    functionsReached:
    - unlock_mutex
    linkageType: ''
    returnType: void
    signature: void process_unlock(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxclock
      Src: /src/lxc/src/lxc/lxclock.c:283,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 284
      start: 281
    functionDepth: 2
    functionLinenumber: 281
    functionLinenumberEnd: 284
    functionName: container_mem_lock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 15
    functionsReached:
    - lxclock
    linkageType: ''
    returnType: int
    signature: int container_mem_lock(struct lxc_container *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxcunlock
      Src: /src/lxc/src/lxc/lxclock.c:288,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 289
      start: 286
    functionDepth: 2
    functionLinenumber: 286
    functionLinenumberEnd: 289
    functionName: container_mem_unlock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 15
    functionsReached:
    - lxcunlock
    linkageType: ''
    returnType: void
    signature: void container_mem_unlock(struct lxc_container *c)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxclock
      Src: /src/lxc/src/lxc/lxclock.c:295,1
    - Dst: lxclock
      Src: /src/lxc/src/lxc/lxclock.c:299,1
    - Dst: lxcunlock
      Src: /src/lxc/src/lxc/lxclock.c:301,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 306
      start: 291
    functionDepth: 2
    functionLinenumber: 291
    functionLinenumberEnd: 306
    functionName: container_disk_lock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 4
    functionsReached:
    - lxcunlock
    - lxclock
    linkageType: ''
    returnType: int
    signature: int container_disk_lock(struct lxc_container *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxcunlock
      Src: /src/lxc/src/lxc/lxclock.c:310,1
    - Dst: lxcunlock
      Src: /src/lxc/src/lxc/lxclock.c:311,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 312
      start: 308
    functionDepth: 2
    functionLinenumber: 308
    functionLinenumberEnd: 312
    functionName: container_disk_unlock
    functionSourceFile: /src/lxc/src/lxc/lxclock.c
    functionUses: 4
    functionsReached:
    - lxcunlock
    linkageType: ''
    returnType: void
    signature: void container_disk_unlock(struct lxc_container *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - mode
    - ','
    - mask
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 38
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 38
    functionName: __S_ISTYPE
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __S_ISTYPE(mode, mask)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - type
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 301
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 301
    functionName: INTTYPE_TO_STRLEN
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 13
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: INTTYPE_TO_STRLEN(type)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - condition
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 429
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 429
    functionName: BUILD_BUG_ON
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BUILD_BUG_ON(condition)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - condition
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 437
      start: 431
    functionDepth: 0
    functionLinenumber: 431
    functionLinenumberEnd: 437
    functionName: BUILD_BUG_ON
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BUILD_BUG_ON(condition)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 440
      start: 439
    functionDepth: 0
    functionLinenumber: 439
    functionLinenumberEnd: 440
    functionName: prctl_arg
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 11
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: prctl_arg(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - p
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 673
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 673
    functionName: PTR_TO_INT
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: PTR_TO_INT(p)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - u
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 674
      start: 673
    functionDepth: 0
    functionLinenumber: 673
    functionLinenumberEnd: 674
    functionName: INT_TO_PTR
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: INT_TO_PTR(u)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - p
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 676
      start: 675
    functionDepth: 0
    functionLinenumber: 675
    functionLinenumberEnd: 676
    functionName: PTR_TO_PID
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: PTR_TO_PID(p)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - u
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 677
      start: 676
    functionDepth: 0
    functionLinenumber: 676
    functionLinenumberEnd: 677
    functionName: PID_TO_PTR
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: PID_TO_PTR(u)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - p
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 679
      start: 678
    functionDepth: 0
    functionLinenumber: 678
    functionLinenumberEnd: 679
    functionName: PTR_TO_UINT64
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: PTR_TO_UINT64(p)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - p
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 680
      start: 679
    functionDepth: 0
    functionLinenumber: 679
    functionLinenumberEnd: 680
    functionName: PTR_TO_U64
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: PTR_TO_U64(p)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - u
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 682
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 682
    functionName: UINT_TO_PTR
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: UINT_TO_PTR(u)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - p
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 683
      start: 682
    functionDepth: 0
    functionLinenumber: 682
    functionLinenumberEnd: 683
    functionName: PTR_TO_USHORT
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 2
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: PTR_TO_USHORT(p)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 688
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 688
    functionName: STRLITERALLEN
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 18
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: STRLITERALLEN(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 689
      start: 688
    functionDepth: 0
    functionLinenumber: 688
    functionLinenumberEnd: 689
    functionName: STRARRAYLEN
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 4
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: STRARRAYLEN(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - ptr
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 699
      start: 693
    functionDepth: 0
    functionLinenumber: 693
    functionLinenumberEnd: 699
    functionName: move_ptr
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 30
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: move_ptr(ptr)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - fd
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 706
      start: 700
    functionDepth: 0
    functionLinenumber: 700
    functionLinenumberEnd: 706
    functionName: move_fd
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 19
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: move_fd(fd)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - __ret__
    - ','
    - __errno__
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 713
      start: 707
    functionDepth: 0
    functionLinenumber: 707
    functionLinenumberEnd: 713
    functionName: ret_set_errno
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 24
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: ret_set_errno(__ret__, __errno__)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - __errno__
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 719
      start: 714
    functionDepth: 0
    functionLinenumber: 714
    functionLinenumberEnd: 719
    functionName: ret_errno
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 63
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: ret_errno(__errno__)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 731
      start: 727
    functionDepth: 0
    functionLinenumber: 727
    functionLinenumberEnd: 731
    functionName: ARRAY_SIZE
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 4
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: ARRAY_SIZE(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - a
    - ','
    - b
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 750
      start: 744
    functionDepth: 0
    functionLinenumber: 744
    functionLinenumberEnd: 750
    functionName: swap
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: swap(a, b)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - x
    - ','
    - y
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 758
      start: 751
    functionDepth: 0
    functionLinenumber: 751
    functionLinenumberEnd: 758
    functionName: min
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 2
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: min(x, y)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - e
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 760
      start: 759
    functionDepth: 0
    functionLinenumber: 759
    functionLinenumberEnd: 760
    functionName: BUILD_BUG_ON_ZERO
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BUILD_BUG_ON_ZERO(e)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - w
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 774
      start: 764
    functionDepth: 0
    functionLinenumber: 764
    functionLinenumberEnd: 774
    functionName: __const_hweight8
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __const_hweight8(w)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - w
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 776
      start: 775
    functionDepth: 0
    functionLinenumber: 775
    functionLinenumberEnd: 776
    functionName: __const_hweight16
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __const_hweight16(w)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - w
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 777
      start: 776
    functionDepth: 0
    functionLinenumber: 776
    functionLinenumberEnd: 777
    functionName: __const_hweight32
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __const_hweight32(w)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - w
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 778
      start: 777
    functionDepth: 0
    functionLinenumber: 777
    functionLinenumberEnd: 778
    functionName: __const_hweight64
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __const_hweight64(w)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - w
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 780
      start: 779
    functionDepth: 0
    functionLinenumber: 779
    functionLinenumberEnd: 780
    functionName: hweight8
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hweight8(w)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - w
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 781
      start: 780
    functionDepth: 0
    functionLinenumber: 780
    functionLinenumberEnd: 781
    functionName: hweight16
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hweight16(w)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - w
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 782
      start: 781
    functionDepth: 0
    functionLinenumber: 781
    functionLinenumberEnd: 782
    functionName: hweight32
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hweight32(w)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - w
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 783
      start: 782
    functionDepth: 0
    functionLinenumber: 782
    functionLinenumberEnd: 783
    functionName: hweight64
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hweight64(w)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - type
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 790
      start: 789
    functionDepth: 0
    functionLinenumber: 789
    functionLinenumberEnd: 790
    functionName: BITS_PER_TYPE
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BITS_PER_TYPE(type)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - type
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 791
      start: 790
    functionDepth: 0
    functionLinenumber: 790
    functionLinenumberEnd: 791
    functionName: LAST_BIT_PER_TYPE
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: LAST_BIT_PER_TYPE(type)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - flags
    - mask
    argTypes:
    - __u32
    - __u32
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 800
      start: 797
    functionDepth: 0
    functionLinenumber: 797
    functionLinenumberEnd: 800
    functionName: has_exact_flags
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool has_exact_flags(__u32 flags, __u32 mask)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - ptr
    - ','
    - type
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 815
      start: 809
    functionDepth: 0
    functionLinenumber: 809
    functionLinenumberEnd: 815
    functionName: container_of
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: container_of(ptr, type, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - n
    - ','
    - d
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 821
      start: 820
    functionDepth: 0
    functionLinenumber: 820
    functionLinenumberEnd: 821
    functionName: DIV_ROUND_UP
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: DIV_ROUND_UP(n, d)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - nr
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 822
      start: 821
    functionDepth: 0
    functionLinenumber: 821
    functionLinenumberEnd: 822
    functionName: BITS_TO_LONGS
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 2
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BITS_TO_LONGS(nr)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - bit
    - bitarr
    argTypes:
    - __u32
    - __u32*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 826
      start: 823
    functionDepth: 0
    functionLinenumber: 823
    functionLinenumberEnd: 826
    functionName: set_bit
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 2
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void set_bit(__u32 bit, __u32 *bitarr)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - bit
    - bitarr
    argTypes:
    - __u32
    - __u32*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 831
      start: 828
    functionDepth: 0
    functionLinenumber: 828
    functionLinenumberEnd: 831
    functionName: clear_bit
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void clear_bit(__u32 bit, __u32 *bitarr)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - bit
    - bitarr
    argTypes:
    - __u32
    - __u32*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 836
      start: 833
    functionDepth: 0
    functionLinenumber: 833
    functionLinenumberEnd: 836
    functionName: is_set
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 6
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool is_set(__u32 bit, __u32 *bitarr)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - nr
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 839
      start: 838
    functionDepth: 0
    functionLinenumber: 838
    functionLinenumberEnd: 839
    functionName: BIT
    functionSourceFile: /src/lxc/src/lxc/macro.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BIT(nr)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/lxc.h:106,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 107
      start: 103
    functionDepth: 3
    functionLinenumber: 103
    functionLinenumberEnd: 107
    functionName: put_lxc_container
    functionSourceFile: /src/lxc/src/lxc/lxc.h
    functionUses: 0
    functionsReached:
    - lxc_container_put
    linkageType: ''
    returnType: void
    signature: void put_lxc_container(struct lxc_container *c)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:39,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - cmd
    - arg2
    - arg3
    - arg4
    - arg5
    argTypes:
    - int
    - unsigned long
    - unsigned long
    - unsigned long
    - unsigned long
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 40
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 40
    functionName: __keyctl
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: long
    signature: "long __keyctl(int cmd, unsigned long arg2, unsigned long arg3,\n\t\t\t
      \   unsigned long arg4, unsigned long arg5)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:61,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - name
    - flags
    argTypes:
    - char*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 62
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 62
    functionName: memfd_create_lxc
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int memfd_create_lxc(const char *name, unsigned int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:71,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - new_root
    - put_old
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 72
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 72
    functionName: pivot_root
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 2
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int pivot_root(const char *new_root, const char *put_old)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:81,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - name
    - len
    argTypes:
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 82
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 82
    functionName: sethostname
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 1
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int sethostname(const char *name, size_t len)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:89,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - fd
    - nstype
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 90
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 90
    functionName: setns
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 6
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int setns(int fd, int nstype)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:118,1
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:121,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - fd
    - mask
    - flags
    argTypes:
    - int
    - sigset_t*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 125
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 125
    functionName: signalfd
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int signalfd(int fd, const sigset_t *mask, int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:132,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - flags
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 133
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 133
    functionName: unshare
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 8
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int unshare(int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:142,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - __fd
    - __file
    - __type
    - __flag
    argTypes:
    - int
    - char*
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 143
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 143
    functionName: faccessat
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 1
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int faccessat(int __fd, const char *__file, int __type, int __flag)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:157,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - fd
    - max_fd
    - flags
    argTypes:
    - unsigned int
    - unsigned int
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 158
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 158
    functionName: close_range
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int close_range(unsigned int fd, unsigned int max_fd, unsigned int
      flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/syscall_wrappers.h:164,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - persona
    argTypes:
    - unsigned long
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 165
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 165
    functionName: personality
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 4
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int personality(unsigned long persona)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - cookie
    argTypes:
    - __u64
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 212
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 212
    functionName: core_scheduling_cookie_valid
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 2
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool core_scheduling_cookie_valid(__u64 cookie)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/syscall_wrappers.h:219,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/syscall_wrappers.h:221,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - pid
    - cookie
    argTypes:
    - pid_t
    - __u64*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 229
      start: 214
    functionDepth: 1
    functionLinenumber: 214
    functionLinenumberEnd: 229
    functionName: core_scheduling_cookie_get
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 2
    functionsReached:
    - ret_errno
    - prctl
    linkageType: ''
    returnType: int
    signature: int core_scheduling_cookie_get(pid_t pid, __u64 *cookie)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: prctl
      Src: /src/lxc/src/lxc/syscall_wrappers.h:235,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - pid
    argTypes:
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 241
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 241
    functionName: core_scheduling_cookie_create_threadgroup
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 0
    functionsReached:
    - prctl
    linkageType: ''
    returnType: int
    signature: int core_scheduling_cookie_create_threadgroup(pid_t pid)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: prctl
      Src: /src/lxc/src/lxc/syscall_wrappers.h:245,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - pid
    argTypes:
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 247
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 247
    functionName: core_scheduling_cookie_share_with
    functionSourceFile: /src/lxc/src/lxc/syscall_wrappers.h
    functionUses: 1
    functionsReached:
    - prctl
    linkageType: ''
    returnType: int
    signature: int core_scheduling_cookie_share_with(pid_t pid)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 28
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 28
    functionName: lxc_caps_down
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_caps_down(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: lxc_caps_up
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_caps_up(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: lxc_ambient_caps_up
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_ambient_caps_up(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 43
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 43
    functionName: lxc_ambient_caps_down
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_ambient_caps_down(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 48
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 48
    functionName: lxc_caps_init
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_caps_init(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - cap
    argTypes:
    - __u32*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 53
    functionName: lxc_caps_last_cap
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 4
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_caps_last_cap(__u32 *cap)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - cap
    - flag
    argTypes:
    - cap_value_t
    - cap_flag_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 60
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 60
    functionName: lxc_proc_cap_is_set
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool lxc_proc_cap_is_set(cap_value_t cap, cap_flag_t flag)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - path
    - cap
    - flag
    argTypes:
    - char*
    - cap_value_t
    - cap_flag_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 66
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 66
    functionName: lxc_file_cap_is_set
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: "bool lxc_file_cap_is_set(const char *path, cap_value_t cap,\n\t\t\t\t
      \      cap_flag_t flag)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - __lxc_function
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 83
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 83
    functionName: lxc_priv
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_priv(__lxc_function)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - __lxc_function
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 98
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 98
    functionName: lxc_unpriv
    functionSourceFile: /src/lxc/src/lxc/caps.h
    functionUses: 2
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_unpriv(__lxc_function)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/file_utils.c:26,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - dir
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 1
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: lxc_open_dirfd
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - open_at
    linkageType: ''
    returnType: int
    signature: int lxc_open_dirfd(const char *dir)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/file_utils.c:34,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/file_utils.c:38,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 4
    argNames:
    - dirfd
    - filename
    - buf
    - count
    argTypes:
    - int
    - char*
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 43
      start: 29
    functionDepth: 1
    functionLinenumber: 29
    functionLinenumberEnd: 43
    functionName: lxc_readat
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - lxc_read_nointr
    - open_at
    linkageType: ''
    returnType: int
    signature: int lxc_readat(int dirfd, const char *filename, void *buf, size_t count)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/file_utils.c:50,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/file_utils.c:54,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - dirfd
    - filename
    - buf
    - count
    argTypes:
    - int
    - char*
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 59
      start: 45
    functionDepth: 1
    functionLinenumber: 45
    functionLinenumberEnd: 59
    functionName: lxc_writeat
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - open_at
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int lxc_writeat(int dirfd, const char *filename, const void *buf, size_t
      count)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/file_utils.c:66,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/file_utils.c:70,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - dir
    - filename
    - buf
    - count
    argTypes:
    - char*
    - char*
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 71
      start: 61
    functionDepth: 2
    functionLinenumber: 61
    functionLinenumberEnd: 71
    functionName: lxc_write_openat
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_writeat
    linkageType: ''
    returnType: int
    signature: "int lxc_write_openat(const char *dir, const char *filename, const
      void *buf,\n\t\t     size_t count)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/file_utils.c:79,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/file_utils.c:83,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/file_utils.c:91,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 5
    argNames:
    - filename
    - buf
    - count
    - add_newline
    - mode
    argTypes:
    - char*
    - void*
    - size_t
    - bool
    - mode_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 97
      start: 73
    functionDepth: 1
    functionLinenumber: 73
    functionLinenumberEnd: 97
    functionName: lxc_write_to_file
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 3
    functionsReached:
    - open
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: "int lxc_write_to_file(const char *filename, const void *buf, size_t
      count,\n\t\t      bool add_newline, mode_t mode)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/file_utils.c:104,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/file_utils.c:112,1
    - Dst: memset
      Src: /src/lxc/src/lxc/file_utils.c:118,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/file_utils.c:119,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 3
    argNames:
    - filename
    - buf
    - count
    argTypes:
    - char*
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 123
      start: 99
    functionDepth: 1
    functionLinenumber: 99
    functionLinenumberEnd: 123
    functionName: lxc_read_from_file
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_read_nointr
    - memset
    linkageType: ''
    returnType: int
    signature: int lxc_read_from_file(const char *filename, void *buf, size_t count)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/file_utils.c:130,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/file_utils.c:138,1
    - Dst: memset
      Src: /src/lxc/src/lxc/file_utils.c:144,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/file_utils.c:145,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 4
    argNames:
    - dfd
    - path
    - buf
    - count
    argTypes:
    - int
    - char*
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 149
      start: 125
    functionDepth: 1
    functionLinenumber: 125
    functionLinenumberEnd: 149
    functionName: lxc_read_try_buf_at
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - memset
    - lxc_read_nointr
    - open_at
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_read_try_buf_at(int dfd, const char *path, void *buf, size_t
      count)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: poll
      Src: /src/lxc/src/lxc/file_utils.c:161,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 3
    argNames:
    - fd
    - event
    - timeout_ms
    argTypes:
    - int
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 183
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 183
    functionName: __lxc_wait_for_io_ready
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - poll
    linkageType: ''
    returnType: int
    signature: int __lxc_wait_for_io_ready(int fd, int event, int timeout_ms)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: fcntl
      Src: /src/lxc/src/lxc/file_utils.c:191,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/file_utils.c:193,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/file_utils.c:197,1
    - Dst: write
      Src: /src/lxc/src/lxc/file_utils.c:200,1
    - Dst: __lxc_wait_for_io_ready
      Src: /src/lxc/src/lxc/file_utils.c:216,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/file_utils.c:226,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/file_utils.c:230,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 27
    argCount: 3
    argNames:
    - fd
    - buf
    - count
    argTypes:
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 234
      start: 185
    functionDepth: 1
    functionLinenumber: 185
    functionLinenumberEnd: 234
    functionName: lxc_write_all
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - __lxc_wait_for_io_ready
    - write
    - fcntl
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_write_all(int fd, const void *buf, size_t count)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: write
      Src: /src/lxc/src/lxc/file_utils.c:241,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - fd
    - buf
    - count
    argTypes:
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 245
      start: 236
    functionDepth: 0
    functionLinenumber: 236
    functionLinenumberEnd: 245
    functionName: lxc_write_nointr
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 19
    functionsReached:
    - write
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_write_nointr(int fd, const void *buf, size_t count)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: pwrite
      Src: /src/lxc/src/lxc/file_utils.c:252,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 4
    argNames:
    - fd
    - buf
    - count
    - offset
    argTypes:
    - int
    - void*
    - size_t
    - off_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 256
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 256
    functionName: lxc_pwrite_nointr
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - pwrite
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_pwrite_nointr(int fd, const void *buf, size_t count, off_t
      offset)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: send
      Src: /src/lxc/src/lxc/file_utils.c:263,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 4
    argNames:
    - sockfd
    - buf
    - len
    - flags
    argTypes:
    - int
    - void*
    - size_t
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 267
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 267
    functionName: lxc_send_nointr
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - send
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_send_nointr(int sockfd, void *buf, size_t len, int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: read
      Src: /src/lxc/src/lxc/file_utils.c:274,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - fd
    - buf
    - count
    argTypes:
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 278
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 278
    functionName: lxc_read_nointr
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 15
    functionsReached:
    - read
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_read_nointr(int fd, void *buf, size_t count)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: recv
      Src: /src/lxc/src/lxc/file_utils.c:285,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 4
    argNames:
    - sockfd
    - buf
    - len
    - flags
    argTypes:
    - int
    - void*
    - size_t
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 289
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 289
    functionName: lxc_recv_nointr
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 1
    functionsReached:
    - recv
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_recv_nointr(int sockfd, void *buf, size_t len, int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: recvmsg
      Src: /src/lxc/src/lxc/file_utils.c:301,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 4
    argNames:
    - sockfd
    - iov
    - iovlen
    - flags
    argTypes:
    - int
    - struct iovec*
    - size_t
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 305
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 305
    functionName: lxc_recvmsg_nointr_iov
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 1
    functionsReached:
    - recvmsg
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_recvmsg_nointr_iov(int sockfd, struct iovec *iov, size_t
      iovlen,\n\t\t\t       int flags)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/file_utils.c:312,1
    - Dst: memcmp
      Src: /src/lxc/src/lxc/file_utils.c:319,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/file_utils.c:320,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 4
    argNames:
    - fd
    - buf
    - count
    - expected_buf
    argTypes:
    - int
    - void*
    - size_t
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 323
      start: 307
    functionDepth: 1
    functionLinenumber: 307
    functionLinenumberEnd: 323
    functionName: lxc_read_nointr_expect
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - lxc_read_nointr
    - memcmp
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_read_nointr_expect(int fd, void *buf, size_t count,\n\t\t\t
      \      const void *expected_buf)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/file_utils.c:330,1
    - Dst: lxc_read_nointr_expect
      Src: /src/lxc/src/lxc/file_utils.c:334,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - path
    - buf
    - count
    - expected_buf
    argTypes:
    - char*
    - void*
    - size_t
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 335
      start: 325
    functionDepth: 2
    functionLinenumber: 325
    functionLinenumberEnd: 335
    functionName: lxc_read_file_expect
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_read_nointr_expect
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_read_file_expect(const char *path, void *buf, size_t count,\n\t\t\t
      \    const void *expected_buf)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/lxc/src/lxc/file_utils.c:341,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - f
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 342
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 342
    functionName: file_exists
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 13
    functionsReached:
    - stat
    linkageType: ''
    returnType: bool
    signature: bool file_exists(const char *f)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/file_utils.c:350,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/file_utils.c:354,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/file_utils.c:355,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 2
    argNames:
    - file
    - content
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 362
      start: 344
    functionDepth: 0
    functionLinenumber: 344
    functionLinenumberEnd: 362
    functionName: print_to_file
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - strlen
    - fopen
    - fprintf
    linkageType: ''
    returnType: int
    signature: int print_to_file(const char *file, const char *content)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/lxc/src/lxc/file_utils.c:369,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/file_utils.c:370,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 374
      start: 364
    functionDepth: 0
    functionLinenumber: 364
    functionLinenumberEnd: 374
    functionName: lxc_is_dir
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 1
    functionsReached:
    - stat
    - S_ISDIR
    linkageType: ''
    returnType: int
    signature: int lxc_is_dir(const char *path)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fopen_cloexec
      Src: /src/lxc/src/lxc/file_utils.c:386,1
    - Dst: getline
      Src: /src/lxc/src/lxc/file_utils.c:390,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - fn
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 394
      start: 379
    functionDepth: 1
    functionLinenumber: 379
    functionLinenumberEnd: 394
    functionName: lxc_count_file_lines
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - fopen_cloexec
    - getline
    linkageType: ''
    returnType: int
    signature: int lxc_count_file_lines(const char *fn)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: umask
      Src: /src/lxc/src/lxc/file_utils.c:402,1
    - Dst: mkstemp
      Src: /src/lxc/src/lxc/file_utils.c:403,1
    - Dst: umask
      Src: /src/lxc/src/lxc/file_utils.c:404,1
    - Dst: lxc_set_cloexec
      Src: /src/lxc/src/lxc/file_utils.c:408,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.c:412,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/file_utils.c:414,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.c:418,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - rm
    argTypes:
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 419
      start: 396
    functionDepth: 1
    functionLinenumber: 396
    functionLinenumberEnd: 419
    functionName: lxc_make_tmpfile
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 10
    functionsReached:
    - lxc_set_cloexec
    - mkstemp
    - unlink
    - move_fd
    - umask
    linkageType: ''
    returnType: int
    signature: int lxc_make_tmpfile(char *template, bool rm)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - fs
    - magic_val
    argTypes:
    - struct statfs*
    - fs_type_magic
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 424
      start: 421
    functionDepth: 0
    functionLinenumber: 421
    functionLinenumberEnd: 424
    functionName: lxc_is_fs_type
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool lxc_is_fs_type(const struct statfs *fs, fs_type_magic magic_val)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: statfs
      Src: /src/lxc/src/lxc/file_utils.c:431,1
    - Dst: lxc_is_fs_type
      Src: /src/lxc/src/lxc/file_utils.c:435,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - path
    - magic_val
    argTypes:
    - char*
    - fs_type_magic
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 436
      start: 426
    functionDepth: 1
    functionLinenumber: 426
    functionLinenumberEnd: 436
    functionName: has_fs_type
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 1
    functionsReached:
    - lxc_is_fs_type
    - statfs
    linkageType: ''
    returnType: bool
    signature: bool has_fs_type(const char *path, fs_type_magic magic_val)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fstatfs
      Src: /src/lxc/src/lxc/file_utils.c:443,1
    - Dst: lxc_is_fs_type
      Src: /src/lxc/src/lxc/file_utils.c:447,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - fd
    - magic_val
    argTypes:
    - int
    - fs_type_magic
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 448
      start: 438
    functionDepth: 1
    functionLinenumber: 438
    functionLinenumberEnd: 448
    functionName: fhas_fs_type
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - lxc_is_fs_type
    - fstatfs
    linkageType: ''
    returnType: bool
    signature: bool fhas_fs_type(int fd, fs_type_magic magic_val)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/file_utils.c:456,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/file_utils.c:459,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/file_utils.c:462,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/file_utils.c:465,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/file_utils.c:468,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/file_utils.c:471,1
    - Dst: open
      Src: /src/lxc/src/lxc/file_utils.c:479,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/file_utils.c:483,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.c:485,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 35
    argCount: 2
    argNames:
    - path
    - mode
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 487
      start: 450
    functionDepth: 1
    functionLinenumber: 450
    functionLinenumberEnd: 487
    functionName: fopen_cloexec
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 2
    functionsReached:
    - open
    - fdopen
    - strnequal
    - move_fd
    linkageType: ''
    returnType: FILE
    signature: FILE *fopen_cloexec(const char *path, const char *mode)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sendfile
      Src: /src/lxc/src/lxc/file_utils.c:494,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 4
    argNames:
    - out_fd
    - in_fd
    - offset
    - count
    argTypes:
    - int
    - int
    - off_t*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 498
      start: 489
    functionDepth: 0
    functionLinenumber: 489
    functionLinenumberEnd: 498
    functionName: lxc_sendfile_nointr
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 1
    functionsReached:
    - sendfile
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_sendfile_nointr(int out_fd, int in_fd, off_t *offset, size_t
      count)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/file_utils.c:510,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/file_utils.c:521,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 2
    argNames:
    - from
    - to
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 531
      start: 500
    functionDepth: 1
    functionLinenumber: 500
    functionLinenumberEnd: 531
    functionName: __fd_to_fd
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 2
    functionsReached:
    - lxc_read_nointr
    - lxc_write_nointr
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t __fd_to_fd(int from, int to)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/file_utils.c:546,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/file_utils.c:553,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/file_utils.c:555,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/file_utils.c:557,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/file_utils.c:561,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 3
    argNames:
    - fd
    - buf
    - length
    argTypes:
    - int
    - char**
    - size_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 563
      start: 533
    functionDepth: 1
    functionLinenumber: 533
    functionLinenumberEnd: 563
    functionName: fd_to_buf
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - realloc
    - memcpy
    - move_ptr
    - ret_errno
    - lxc_read_nointr
    linkageType: ''
    returnType: int
    signature: int fd_to_buf(int fd, char **buf, size_t *length)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/file_utils.c:573,1
    - Dst: fd_to_buf
      Src: /src/lxc/src/lxc/file_utils.c:577,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - path
    - length
    argTypes:
    - char*
    - size_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 581
      start: 565
    functionDepth: 2
    functionLinenumber: 565
    functionLinenumberEnd: 581
    functionName: file_to_buf
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 2
    functionsReached:
    - open
    - fd_to_buf
    linkageType: ''
    returnType: char
    signature: char *file_to_buf(const char *path, size_t *length)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: file_to_buf
      Src: /src/lxc/src/lxc/file_utils.c:590,1
    - Dst: fmemopen
      Src: /src/lxc/src/lxc/file_utils.c:594,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/file_utils.c:597,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/file_utils.c:600,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 3
    argNames:
    - path
    - mode
    - caller_freed_buffer
    argTypes:
    - char*
    - char*
    - void**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 602
      start: 583
    functionDepth: 3
    functionLinenumber: 583
    functionLinenumberEnd: 602
    functionName: fopen_cached
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 1
    functionsReached:
    - file_to_buf
    - move_ptr
    - fmemopen
    - fopen
    linkageType: ''
    returnType: FILE
    signature: FILE *fopen_cached(const char *path, const char *mode, void **caller_freed_buffer)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: fd_to_buf
      Src: /src/lxc/src/lxc/file_utils.c:611,1
    - Dst: fmemopen
      Src: /src/lxc/src/lxc/file_utils.c:614,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/file_utils.c:618,1
    - Dst: dup
      Src: /src/lxc/src/lxc/file_utils.c:624,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/file_utils.c:628,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.c:633,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 3
    argNames:
    - fd
    - mode
    - caller_freed_buffer
    argTypes:
    - int
    - char*
    - void**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 636
      start: 604
    functionDepth: 2
    functionLinenumber: 604
    functionLinenumberEnd: 636
    functionName: fdopen_cached
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - fdopen
    - move_ptr
    - dup
    - fmemopen
    - fd_to_buf
    - move_fd
    linkageType: ''
    returnType: FILE
    signature: FILE *fdopen_cached(int fd, const char *mode, void **caller_freed_buffer)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: fcntl
      Src: /src/lxc/src/lxc/file_utils.c:642,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/file_utils.c:654,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 2
    argNames:
    - fd
    - cloexec
    argTypes:
    - int
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 658
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 658
    functionName: lxc_fd_cloexec
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 3
    functionsReached:
    - fcntl
    linkageType: ''
    returnType: int
    signature: int lxc_fd_cloexec(int fd, bool cloexec)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/file_utils.c:666,1
    - Dst: dup_cloexec
      Src: /src/lxc/src/lxc/file_utils.c:667,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/file_utils.c:669,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/file_utils.c:673,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.c:678,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/file_utils.c:680,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 5
    argNames:
    - dfd
    - path
    - mode
    - o_flags
    - resolve_flags
    argTypes:
    - int
    - char*
    - char*
    - unsigned int
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 681
      start: 660
    functionDepth: 2
    functionLinenumber: 660
    functionLinenumberEnd: 681
    functionName: fdopen_at
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 3
    functionsReached:
    - fdopen
    - open_at
    - is_empty_string
    - move_ptr
    - dup_cloexec
    - move_fd
    linkageType: ''
    returnType: FILE
    signature: "FILE *fdopen_at(int dfd, const char *path, const char *mode,\n\t\tunsigned
      int o_flags, unsigned int resolve_flags)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/file_utils.c:687,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/file_utils.c:688,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/file_utils.c:688,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/file_utils.c:689,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/file_utils.c:689,1
    - Dst: open
      Src: /src/lxc/src/lxc/file_utils.c:694,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/file_utils.c:698,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/file_utils.c:700,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/file_utils.c:702,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 3
    argNames:
    - clk_id
    - s_offset
    - ns_offset
    argTypes:
    - clockid_t
    - int64_t
    - int64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 707
      start: 683
    functionDepth: 1
    functionLinenumber: 683
    functionLinenumberEnd: 707
    functionName: timens_offset_write
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - open
    - STRLITERALLEN
    - INTTYPE_TO_STRLEN
    - ret_errno
    - strnprintf
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int timens_offset_write(clockid_t clk_id, int64_t s_offset, int64_t
      ns_offset)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fstatat
      Src: /src/lxc/src/lxc/file_utils.c:714,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/file_utils.c:718,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - dir_fd
    - path
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 725
      start: 709
    functionDepth: 0
    functionLinenumber: 709
    functionLinenumberEnd: 725
    functionName: exists_dir_at
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 1
    functionsReached:
    - fstatat
    - S_ISDIR
    linkageType: ''
    returnType: bool
    signature: bool exists_dir_at(int dir_fd, const char *path)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fstatat
      Src: /src/lxc/src/lxc/file_utils.c:732,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - dir_fd
    - path
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 736
      start: 727
    functionDepth: 0
    functionLinenumber: 727
    functionLinenumberEnd: 736
    functionName: exists_file_at
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 1
    functionsReached:
    - fstatat
    linkageType: ''
    returnType: bool
    signature: bool exists_file_at(int dir_fd, const char *path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: openat2
      Src: /src/lxc/src/lxc/file_utils.c:748,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.c:750,1
    - Dst: openat
      Src: /src/lxc/src/lxc/file_utils.c:755,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.c:759,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 5
    argNames:
    - dfd
    - path
    - o_flags
    - resolve_flags
    - mode
    argTypes:
    - int
    - char*
    - unsigned int
    - unsigned int
    - mode_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 760
      start: 738
    functionDepth: 1
    functionLinenumber: 738
    functionLinenumberEnd: 760
    functionName: open_at
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 29
    functionsReached:
    - openat
    - move_fd
    - openat2
    linkageType: ''
    returnType: int
    signature: "int open_at(int dfd, const char *path, unsigned int o_flags,\n\t    unsigned
      int resolve_flags, mode_t mode)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/file_utils.c:767,1
    - Dst: same_file_lax
      Src: /src/lxc/src/lxc/file_utils.c:771,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/file_utils.c:772,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.c:774,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 6
    argNames:
    - fd_same
    - dfd
    - path
    - o_flags
    - resolve_flags
    - mode
    argTypes:
    - int
    - int
    - char*
    - unsigned int
    - unsigned int
    - mode_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 775
      start: 762
    functionDepth: 2
    functionLinenumber: 762
    functionLinenumberEnd: 775
    functionName: open_at_same
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 2
    functionsReached:
    - same_file_lax
    - move_fd
    - ret_errno
    - open_at
    linkageType: ''
    returnType: int
    signature: "int open_at_same(int fd_same, int dfd, const char *path, unsigned
      int o_flags,\n\t\t unsigned int resolve_flags, mode_t mode)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fcntl
      Src: /src/lxc/src/lxc/file_utils.c:781,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/file_utils.c:786,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 787
      start: 777
    functionDepth: 0
    functionLinenumber: 777
    functionLinenumberEnd: 787
    functionName: fd_make_blocking
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 1
    functionsReached:
    - fcntl
    linkageType: ''
    returnType: int
    signature: int fd_make_blocking(int fd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fcntl
      Src: /src/lxc/src/lxc/file_utils.c:793,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/file_utils.c:798,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 799
      start: 789
    functionDepth: 0
    functionLinenumber: 789
    functionLinenumberEnd: 799
    functionName: fd_make_nonblocking
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - fcntl
    linkageType: ''
    returnType: int
    signature: int fd_make_nonblocking(int fd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/file_utils.c:808,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 3
    argNames:
    - mem
    - oldlen
    - newlen
    argTypes:
    - char**
    - size_t
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 809
      start: 802
    functionDepth: 1
    functionLinenumber: 802
    functionLinenumberEnd: 809
    functionName: batch_realloc
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - must_realloc
    linkageType: ''
    returnType: void
    signature: void batch_realloc(char **mem, size_t oldlen, size_t newlen)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: batch_realloc
      Src: /src/lxc/src/lxc/file_utils.c:815,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/file_utils.c:817,1
    - Dst: newlen::newlen
      Src: /src/lxc/src/lxc/file_utils.c:817,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 4
    argNames:
    - dest
    - oldlen
    - new
    - newlen
    argTypes:
    - char**
    - size_t
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 818
      start: 811
    functionDepth: 0
    functionLinenumber: 811
    functionLinenumberEnd: 818
    functionName: append_line
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - memcpy
    - newlen::newlen
    - batch_realloc
    linkageType: ''
    returnType: void
    signature: void append_line(char **dest, size_t oldlen, char *new, size_t newlen)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/file_utils.c:830,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/file_utils.c:834,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/file_utils.c:838,1
    - Dst: getline
      Src: /src/lxc/src/lxc/file_utils.c:840,1
    - Dst: append_line
      Src: /src/lxc/src/lxc/file_utils.c:841,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/file_utils.c:845,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 4
    argNames:
    - dfd
    - fnam
    - o_flags
    - resolve_flags
    argTypes:
    - int
    - char*
    - unsigned int
    - unsigned
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 846
      start: 821
    functionDepth: 2
    functionLinenumber: 821
    functionLinenumberEnd: 846
    functionName: read_file_at
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - append_line
    - fdopen
    - getline
    - open_at
    - move_ptr
    - move_fd
    linkageType: ''
    returnType: char
    signature: "char *read_file_at(int dfd, const char *fnam,\n\t\t   unsigned int
      o_flags, unsigned resolve_flags)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: fstat
      Src: /src/lxc/src/lxc/file_utils.c:856,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/file_utils.c:859,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 2
    argNames:
    - fda
    - fdb
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 869
      start: 848
    functionDepth: 0
    functionLinenumber: 848
    functionLinenumberEnd: 869
    functionName: same_file_lax
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 2
    functionsReached:
    - fstat
    linkageType: ''
    returnType: bool
    signature: bool same_file_lax(int fda, int fdb)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/file_utils.c:880,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/file_utils.c:881,1
    - Dst: fstatat
      Src: /src/lxc/src/lxc/file_utils.c:883,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/file_utils.c:887,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/file_utils.c:888,1
    - Dst: fstatat
      Src: /src/lxc/src/lxc/file_utils.c:890,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 4
    argNames:
    - fda
    - patha
    - fdb
    - pathb
    argTypes:
    - int
    - char*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 901
      start: 871
    functionDepth: 1
    functionLinenumber: 871
    functionLinenumberEnd: 901
    functionName: same_device
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - fstat
    - fstatat
    - is_empty_string
    linkageType: ''
    returnType: bool
    signature: bool same_device(int fda, const char *patha, int fdb, const char *pathb)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/file_utils.c:905,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - dfd
    - path
    - flags
    argTypes:
    - int
    - char*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 906
      start: 903
    functionDepth: 2
    functionLinenumber: 903
    functionLinenumberEnd: 906
    functionName: open_beneath
    functionSourceFile: /src/lxc/src/lxc/file_utils.c
    functionUses: 0
    functionsReached:
    - open_at
    linkageType: ''
    returnType: int
    signature: int open_beneath(int dfd, const char *path, unsigned int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 33
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 33
    functionName: ns_info
    functionSourceFile: /src/lxc/src/lxc/namespace.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: __hidden
    signature: __hidden ns_info
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - type
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 73
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 73
    functionName: lxc_net_type_to_str
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_net_type_to_str(int type)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: randseed
      Src: /src/lxc/src/lxc/network.c:84,1
    - Dst: randseed
      Src: /src/lxc/src/lxc/network.c:87,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:90,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:96,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:98,1
    - Dst: rand_r
      Src: /src/lxc/src/lxc/network.c:101,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:101,1
    - Dst: rand
      Src: /src/lxc/src/lxc/network.c:103,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:103,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:108,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:112,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 115
      start: 77
    functionDepth: 2
    functionLinenumber: 77
    functionLinenumberEnd: 115
    functionName: lxc_ifname_alnum_case_sensitive
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - if_nametoindex
    - rand_r
    - rand
    - strlcpy
    - randseed
    - strlen
    linkageType: ''
    returnType: char
    signature: char *lxc_ifname_alnum_case_sensitive(char *template)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:125,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:127,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:134,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:138,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:142,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:150,1
    - Dst: nla_put_buffer
      Src: /src/lxc/src/lxc/network.c:161,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:164,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:167,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 5
    argNames:
    - nlmsg_type
    - family
    - ifindex
    - dest
    - netmask
    argTypes:
    - __u16
    - int
    - int
    - void*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 168
      start: 123
    functionDepth: 4
    functionLinenumber: 123
    functionLinenumberEnd: 168
    functionName: lxc_ip_route_dest
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - nla_put_u32
    - call_cleaner
    - nla_put_buffer
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: int lxc_ip_route_dest(__u16 nlmsg_type, int family, int ifindex, void
      *dest, unsigned int netmask)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ip_route_dest
      Src: /src/lxc/src/lxc/network.c:172,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - ifindex
    - dest
    - netmask
    argTypes:
    - int
    - struct in_addr*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 173
      start: 170
    functionDepth: 5
    functionLinenumber: 170
    functionLinenumberEnd: 173
    functionName: lxc_ipv4_dest_add
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_ip_route_dest
    linkageType: ''
    returnType: int
    signature: int lxc_ipv4_dest_add(int ifindex, struct in_addr *dest, unsigned int
      netmask)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ip_route_dest
      Src: /src/lxc/src/lxc/network.c:177,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - ifindex
    - dest
    - netmask
    argTypes:
    - int
    - struct in6_addr*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 178
      start: 175
    functionDepth: 5
    functionLinenumber: 175
    functionLinenumberEnd: 178
    functionName: lxc_ipv6_dest_add
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_ip_route_dest
    linkageType: ''
    returnType: int
    signature: int lxc_ipv6_dest_add(int ifindex, struct in6_addr *dest, unsigned
      int netmask)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ip_route_dest
      Src: /src/lxc/src/lxc/network.c:184,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - ifindex
    - dest
    - netmask
    argTypes:
    - int
    - struct in_addr*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 185
      start: 182
    functionDepth: 5
    functionLinenumber: 182
    functionLinenumberEnd: 185
    functionName: lxc_ipv4_dest_del
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_ip_route_dest
    linkageType: ''
    returnType: int
    signature: int lxc_ipv4_dest_del(int ifindex, struct in_addr *dest, unsigned int
      netmask)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ip_route_dest
      Src: /src/lxc/src/lxc/network.c:189,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - ifindex
    - dest
    - netmask
    argTypes:
    - int
    - struct in6_addr*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 190
      start: 187
    functionDepth: 5
    functionLinenumber: 187
    functionLinenumberEnd: 190
    functionName: lxc_ipv6_dest_del
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_ip_route_dest
    linkageType: ''
    returnType: int
    signature: int lxc_ipv6_dest_del(int ifindex, struct in6_addr *dest, unsigned
      int netmask)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:198,1
    - Dst: lxc_ipv4_dest_add
      Src: /src/lxc/src/lxc/network.c:199,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:201,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 205
      start: 192
    functionDepth: 6
    functionLinenumber: 192
    functionLinenumberEnd: 205
    functionName: setup_ipv4_routes
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - list_for_each_entry
    - lxc_ipv4_dest_add
    linkageType: ''
    returnType: int
    signature: int setup_ipv4_routes(struct lxc_netdev *netdev)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:213,1
    - Dst: lxc_ipv6_dest_add
      Src: /src/lxc/src/lxc/network.c:214,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:216,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 220
      start: 207
    functionDepth: 6
    functionLinenumber: 207
    functionLinenumberEnd: 220
    functionName: setup_ipv6_routes
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - list_for_each_entry
    - lxc_ipv6_dest_add
    linkageType: ''
    returnType: int
    signature: int setup_ipv6_routes(struct lxc_netdev *netdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:229,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:232,1
    - Dst: lxc_ipv4_dest_add
      Src: /src/lxc/src/lxc/network.c:233,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:235,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 239
      start: 222
    functionDepth: 6
    functionLinenumber: 222
    functionLinenumberEnd: 239
    functionName: setup_ipv4_addr_routes
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - ret_errno
    - lxc_ipv4_dest_add
    - log_error_errno
    linkageType: ''
    returnType: int
    signature: int setup_ipv4_addr_routes(struct lxc_netdev *netdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:248,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:251,1
    - Dst: lxc_ipv6_dest_add
      Src: /src/lxc/src/lxc/network.c:253,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:255,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 259
      start: 241
    functionDepth: 6
    functionLinenumber: 241
    functionLinenumberEnd: 259
    functionName: setup_ipv6_addr_routes
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - ret_errno
    - log_error_errno
    - lxc_ipv6_dest_add
    linkageType: ''
    returnType: int
    signature: int setup_ipv6_addr_routes(struct lxc_netdev *netdev)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:263,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:265,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:271,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:275,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:279,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:286,1
    - Dst: nla_put_buffer
      Src: /src/lxc/src/lxc/network.c:295,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:298,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 4
    argNames:
    - nlmsg_type
    - family
    - ifindex
    - dest
    argTypes:
    - __u16
    - int
    - int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 299
      start: 261
    functionDepth: 4
    functionLinenumber: 261
    functionLinenumberEnd: 299
    functionName: lxc_ip_neigh_proxy
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - call_cleaner
    - nla_put_buffer
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: int lxc_ip_neigh_proxy(__u16 nlmsg_type, int family, int ifindex, void
      *dest)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:308,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:310,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:314,1
    - Dst: lxc_read_file_expect
      Src: /src/lxc/src/lxc/network.c:316,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - ifname
    - family
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 317
      start: 301
    functionDepth: 3
    functionLinenumber: 301
    functionLinenumberEnd: 317
    functionName: lxc_is_ip_forwarding_enabled
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - strnprintf
    - lxc_read_file_expect
    linkageType: ''
    returnType: int
    signature: int lxc_is_ip_forwarding_enabled(const char *ifname, int family)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:326,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:328,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:335,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:339,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:341,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:343,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:345,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:350,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:352,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:356,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:358,1
    - Dst: nla_put_u16
      Src: /src/lxc/src/lxc/network.c:361,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:362,1
    - Dst: nla_put_buffer
      Src: /src/lxc/src/lxc/network.c:369,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:370,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:372,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:374,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 33
    argCount: 4
    argNames:
    - ifindex
    - operation
    - vlan_id
    - tagged
    argTypes:
    - unsigned int
    - unsigned short
    - unsigned short
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 375
      start: 324
    functionDepth: 4
    functionLinenumber: 324
    functionLinenumberEnd: 375
    functionName: lxc_bridge_vlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - call_cleaner
    - nla_begin_nested
    - nla_put_u16
    - nla_put_buffer
    - ret_errno
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    - nla_end_nested
    linkageType: ''
    returnType: int
    signature: int lxc_bridge_vlan(unsigned int ifindex, unsigned short operation,
      unsigned short vlan_id, bool tagged)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_bridge_vlan
      Src: /src/lxc/src/lxc/network.c:379,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - ifindex
    - vlan_id
    - tagged
    argTypes:
    - unsigned int
    - unsigned short
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 380
      start: 377
    functionDepth: 5
    functionLinenumber: 377
    functionLinenumberEnd: 380
    functionName: lxc_bridge_vlan_add
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_bridge_vlan
    linkageType: ''
    returnType: int
    signature: int lxc_bridge_vlan_add(unsigned int ifindex, unsigned short vlan_id,
      bool tagged)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_bridge_vlan
      Src: /src/lxc/src/lxc/network.c:384,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ifindex
    - vlan_id
    argTypes:
    - unsigned int
    - unsigned short
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 385
      start: 382
    functionDepth: 5
    functionLinenumber: 382
    functionLinenumberEnd: 385
    functionName: lxc_bridge_vlan_del
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_bridge_vlan
    linkageType: ''
    returnType: int
    signature: int lxc_bridge_vlan_del(unsigned int ifindex, unsigned short vlan_id)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: PTR_TO_USHORT
      Src: /src/lxc/src/lxc/network.c:393,1
    - Dst: lxc_bridge_vlan_add
      Src: /src/lxc/src/lxc/network.c:395,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:397,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - ifindex
    - vlan_ids
    argTypes:
    - unsigned int
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 401
      start: 387
    functionDepth: 6
    functionLinenumber: 387
    functionLinenumberEnd: 401
    functionName: lxc_bridge_vlan_add_tagged
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - PTR_TO_USHORT
    - lxc_bridge_vlan_add
    linkageType: ''
    returnType: int
    signature: int lxc_bridge_vlan_add_tagged(unsigned int ifindex, struct lxc_list
      *vlan_ids)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: PTR_TO_USHORT
      Src: /src/lxc/src/lxc/network.c:393,1
    - Dst: lxc_bridge_vlan_add
      Src: /src/lxc/src/lxc/network.c:395,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:397,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 398
      start: 392
    functionDepth: 6
    functionLinenumber: 392
    functionLinenumberEnd: 398
    functionName: lxc_list_for_each
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - log_error_errno
    - PTR_TO_USHORT
    - lxc_bridge_vlan_add
    linkageType: ''
    returnType: void
    signature: void lxc_list_for_each(iterator, vlan_ids)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:405,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:408,1
    - Dst: lxc_list_len
      Src: /src/lxc/src/lxc/network.c:411,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:412,1
    - Dst: lxc_list_for_each
      Src: /src/lxc/src/lxc/network.c:417,1
    - Dst: PTR_TO_USHORT
      Src: /src/lxc/src/lxc/network.c:418,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:420,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 425
      start: 403
    functionDepth: 1
    functionLinenumber: 403
    functionLinenumberEnd: 425
    functionName: validate_veth
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - PTR_TO_USHORT
    - is_empty_string
    - lxc_list_len
    - log_error_errno
    - lxc_list_for_each
    linkageType: ''
    returnType: int
    signature: int validate_veth(struct lxc_netdev *netdev)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/network.c:430,1
    - Dst: lxc_list_len
      Src: /src/lxc/src/lxc/network.c:434,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:438,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/network.c:442,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:444,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/network.c:448,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:449,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:452,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:454,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:461,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/network.c:465,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:467,1
    - Dst: get_u16
      Src: /src/lxc/src/lxc/network.c:470,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:472,1
    - Dst: lxc_bridge_vlan_del
      Src: /src/lxc/src/lxc/network.c:476,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:478,1
    - Dst: lxc_bridge_vlan_add
      Src: /src/lxc/src/lxc/network.c:482,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:484,1
    - Dst: lxc_bridge_vlan_add_tagged
      Src: /src/lxc/src/lxc/network.c:489,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:491,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 41
    argCount: 2
    argNames:
    - veth1
    - netdev
    argTypes:
    - char*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 494
      start: 427
    functionDepth: 7
    functionLinenumber: 427
    functionLinenumberEnd: 494
    functionName: setup_veth_native_bridge_vlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - lxc_list_len
    - if_nametoindex
    - strequal
    - lxc_bridge_vlan_del
    - log_error_errno
    - lxc_bridge_vlan_add_tagged
    - lxc_bridge_vlan_add
    - strnprintf
    - get_u16
    - lxc_read_from_file
    linkageType: ''
    returnType: int
    signature: int setup_veth_native_bridge_vlan(char *veth1, struct lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/network.c:505,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - args
    argTypes:
    - struct ovs_veth_vlan_args*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 506
      start: 503
    functionDepth: 1
    functionLinenumber: 503
    functionLinenumberEnd: 506
    functionName: free_ovs_veth_vlan_args
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: void
    signature: void free_ovs_veth_vlan_args(struct ovs_veth_vlan_args *args)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:514,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/network.c:516,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:522,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:524,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/network.c:526,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/network.c:530,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/network.c:534,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/network.c:536,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/network.c:538,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 543
      start: 508
    functionDepth: 2
    functionLinenumber: 508
    functionLinenumberEnd: 543
    functionName: lxc_ovs_setup_bridge_vlan_exec
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - must_concat
    - log_error_errno
    - ret_errno
    - execlp
    - strnprintf
    linkageType: ''
    returnType: int
    signature: int lxc_ovs_setup_bridge_vlan_exec(void *data)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_len
      Src: /src/lxc/src/lxc/network.c:547,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:561,1
    - Dst: lxc_list_for_each
      Src: /src/lxc/src/lxc/network.c:583,1
    - Dst: PTR_TO_USHORT
      Src: /src/lxc/src/lxc/network.c:584,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:588,1
    - Dst: free_ovs_veth_vlan_args
      Src: /src/lxc/src/lxc/network.c:590,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:591,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/network.c:595,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/network.c:597,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/network.c:605,1
    - Dst: free_ovs_veth_vlan_args
      Src: /src/lxc/src/lxc/network.c:607,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:608,1
    - Dst: free_ovs_veth_vlan_args
      Src: /src/lxc/src/lxc/network.c:612,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 2
    argNames:
    - veth1
    - netdev
    argTypes:
    - char*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 614
      start: 545
    functionDepth: 3
    functionLinenumber: 545
    functionLinenumberEnd: 614
    functionName: setup_veth_ovs_bridge_vlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - run_command
    - PTR_TO_USHORT
    - lxc_list_len
    - must_concat
    - log_error_errno
    - lxc_list_for_each
    - free_ovs_veth_vlan_args
    - strnprintf
    linkageType: ''
    returnType: int
    signature: int setup_veth_ovs_bridge_vlan(char *veth1, struct lxc_netdev *netdev)
  - BBCount: 44
    BranchProfiles: []
    Callsites:
    - Dst: validate_veth
      Src: /src/lxc/src/lxc/network.c:623,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:627,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/network.c:630,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:632,1
    - Dst: lxc_ifname_alnum_case_sensitive
      Src: /src/lxc/src/lxc/network.c:636,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/network.c:641,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:644,1
    - Dst: lxc_ifname_alnum_case_sensitive
      Src: /src/lxc/src/lxc/network.c:648,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/network.c:654,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:655,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:656,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:659,1
    - Dst: netdev_get_mtu
      Src: /src/lxc/src/lxc/network.c:661,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:662,1
    - Dst: lxc_veth_create
      Src: /src/lxc/src/lxc/network.c:666,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:669,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:679,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:686,1
    - Dst: setup_private_host_hw_addr
      Src: /src/lxc/src/lxc/network.c:693,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:696,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:701,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:703,1
    - Dst: lxc_netdev_set_mtu
      Src: /src/lxc/src/lxc/network.c:708,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:711,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:716,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/network.c:721,1
    - Dst: open
      Src: /src/lxc/src/lxc/network.c:722,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:726,1
    - Dst: write
      Src: /src/lxc/src/lxc/network.c:729,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:731,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:734,1
    - Dst: lxc_nic_exists
      Src: /src/lxc/src/lxc/network.c:737,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:738,1
    - Dst: lxc_bridge_attach
      Src: /src/lxc/src/lxc/network.c:742,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:745,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:748,1
    - Dst: is_ovs_bridge
      Src: /src/lxc/src/lxc/network.c:750,1
    - Dst: setup_veth_ovs_bridge_vlan
      Src: /src/lxc/src/lxc/network.c:751,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:753,1
    - Dst: lxc_ovs_delete_port
      Src: /src/lxc/src/lxc/network.c:754,1
    - Dst: setup_veth_native_bridge_vlan
      Src: /src/lxc/src/lxc/network.c:758,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:760,1
    - Dst: lxc_netdev_up
      Src: /src/lxc/src/lxc/network.c:766,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:769,1
    - Dst: setup_ipv4_routes
      Src: /src/lxc/src/lxc/network.c:774,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:775,1
    - Dst: setup_ipv6_routes
      Src: /src/lxc/src/lxc/network.c:780,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:781,1
    - Dst: nanosleep
      Src: /src/lxc/src/lxc/network.c:791,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/network.c:795,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:796,1
    - Dst: lxc_ip_forwarding_on
      Src: /src/lxc/src/lxc/network.c:800,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:802,1
    - Dst: lxc_ip_neigh_proxy
      Src: /src/lxc/src/lxc/network.c:806,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:808,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/network.c:816,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:817,1
    - Dst: lxc_is_ip_forwarding_enabled
      Src: /src/lxc/src/lxc/network.c:824,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:826,1
    - Dst: lxc_ip_forwarding_on
      Src: /src/lxc/src/lxc/network.c:830,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:832,1
    - Dst: lxc_neigh_proxy_on
      Src: /src/lxc/src/lxc/network.c:836,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:838,1
    - Dst: lxc_ip_neigh_proxy
      Src: /src/lxc/src/lxc/network.c:842,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:844,1
    - Dst: setup_ipv4_addr_routes
      Src: /src/lxc/src/lxc/network.c:850,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:852,1
    - Dst: setup_ipv6_addr_routes
      Src: /src/lxc/src/lxc/network.c:857,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:859,1
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:872,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:879,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/network.c:884,1
    CyclomaticComplexity: 68
    EdgeCount: 68
    ICount: 203
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 886
      start: 616
    functionDepth: 8
    functionLinenumber: 616
    functionLinenumberEnd: 886
    functionName: netdev_configure_server_veth
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - is_empty_string
    - lxc_veth_create
    - run_script_argv
    - lxc_bridge_attach
    - setup_private_host_hw_addr
    - is_ovs_bridge
    - setup_ipv6_routes
    - snprintf
    - lxc_netdev_up
    - inet_ntop
    - setup_ipv4_addr_routes
    - validate_veth
    - open
    - memcpy
    - lxc_ip_neigh_proxy
    - lxc_ip_forwarding_on
    - lxc_neigh_proxy_on
    - nanosleep
    - strlcpy
    - setup_veth_native_bridge_vlan
    - ERROR
    - write
    - lxc_ovs_delete_port
    - log_error_errno
    - strnprintf
    - lxc_netdev_delete_by_name
    - SYSERROR
    - DEBUG
    - netdev_get_mtu
    - lxc_safe_uint
    - lxc_netdev_set_mtu
    - lxc_nic_exists
    - lxc_ifname_alnum_case_sensitive
    - if_nametoindex
    - setup_veth_ovs_bridge_vlan
    - setup_ipv6_addr_routes
    - lxc_is_ip_forwarding_enabled
    - setup_ipv4_routes
    - INFO
    - close
    linkageType: ''
    returnType: int
    signature: int netdev_configure_server_veth(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:893,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:894,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:898,1
    - Dst: lxc_ifname_alnum_case_sensitive
      Src: /src/lxc/src/lxc/network.c:902,1
    - Dst: lxc_macvlan_create
      Src: /src/lxc/src/lxc/network.c:905,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:909,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:914,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:916,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:918,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/network.c:925,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:928,1
    - Dst: lxc_netdev_set_mtu
      Src: /src/lxc/src/lxc/network.c:932,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:935,1
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:947,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:954,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/network.c:960,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 52
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 962
      start: 888
    functionDepth: 4
    functionLinenumber: 888
    functionLinenumberEnd: 962
    functionName: netdev_configure_server_macvlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ERROR
    - lxc_netdev_set_mtu
    - lxc_ifname_alnum_case_sensitive
    - is_empty_string
    - lxc_macvlan_create
    - run_script_argv
    - if_nametoindex
    - lxc_netdev_delete_by_name
    - strlcpy
    - strnprintf
    - DEBUG
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int netdev_configure_server_macvlan(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:966,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:968,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:973,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:975,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:977,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:979,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:981,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:983,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:985,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:989,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:991,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:993,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:995,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:1000,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1002,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:1005,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1007,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:1009,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1010,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:1012,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1014,1
    - Dst: nla_put_u16
      Src: /src/lxc/src/lxc/network.c:1016,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1017,1
    - Dst: nla_put_u16
      Src: /src/lxc/src/lxc/network.c:1023,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1024,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:1026,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:1027,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:1029,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1030,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:1032,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1033,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:1035,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 46
    argCount: 4
    argNames:
    - parent
    - name
    - mode
    - isolation
    argTypes:
    - char*
    - char*
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1036
      start: 964
    functionDepth: 4
    functionLinenumber: 964
    functionLinenumberEnd: 1036
    functionName: lxc_ipvlan_create
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - nla_put_u32
    - call_cleaner
    - nla_put_string
    - if_nametoindex
    - nla_begin_nested
    - nla_put_u16
    - ret_errno
    - strlen
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    - nla_end_nested
    linkageType: ''
    returnType: int
    signature: int lxc_ipvlan_create(const char *parent, const char *name, int mode,
      int isolation)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:1043,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:1044,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:1048,1
    - Dst: lxc_ifname_alnum_case_sensitive
      Src: /src/lxc/src/lxc/network.c:1052,1
    - Dst: lxc_ipvlan_create
      Src: /src/lxc/src/lxc/network.c:1055,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:1058,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:1063,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:1065,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:1067,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/network.c:1074,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:1077,1
    - Dst: lxc_netdev_set_mtu
      Src: /src/lxc/src/lxc/network.c:1081,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:1084,1
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1096,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:1102,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/network.c:1108,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 51
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1110
      start: 1038
    functionDepth: 5
    functionLinenumber: 1038
    functionLinenumberEnd: 1110
    functionName: netdev_configure_server_ipvlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ERROR
    - SYSERROR
    - lxc_ifname_alnum_case_sensitive
    - is_empty_string
    - lxc_netdev_set_mtu
    - run_script_argv
    - if_nametoindex
    - lxc_netdev_delete_by_name
    - strlcpy
    - strnprintf
    - DEBUG
    - lxc_ipvlan_create
    linkageType: ''
    returnType: int
    signature: int netdev_configure_server_ipvlan(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:1118,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:1119,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:1123,1
    - Dst: lxc_vlan_create
      Src: /src/lxc/src/lxc/network.c:1128,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:1131,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:1136,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:1138,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:1140,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/network.c:1147,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:1150,1
    - Dst: lxc_netdev_set_mtu
      Src: /src/lxc/src/lxc/network.c:1154,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:1157,1
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1169,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:1176,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/network.c:1182,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 50
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1184
      start: 1112
    functionDepth: 4
    functionLinenumber: 1112
    functionLinenumberEnd: 1184
    functionName: netdev_configure_server_vlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ERROR
    - lxc_netdev_set_mtu
    - is_empty_string
    - lxc_vlan_create
    - run_script_argv
    - if_nametoindex
    - lxc_netdev_delete_by_name
    - strlcpy
    - strnprintf
    - DEBUG
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int netdev_configure_server_vlan(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1188,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1190,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1199,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:1201,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:1205,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1207,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:1209,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1211,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:1222,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1224,1
    - Dst: netlink_send
      Src: /src/lxc/src/lxc/network.c:1230,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:1232,1
    - Dst: netlink_rcv
      Src: /src/lxc/src/lxc/network.c:1244,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:1246,1
    - Dst: NLMSG_OK
      Src: /src/lxc/src/lxc/network.c:1253,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:1256,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:1257,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:1263,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1268,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:1270,1
    - Dst: IFLA_RTA
      Src: /src/lxc/src/lxc/network.c:1272,1
    - Dst: NLMSG_LENGTH
      Src: /src/lxc/src/lxc/network.c:1273,1
    - Dst: RTA_OK
      Src: /src/lxc/src/lxc/network.c:1275,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:1280,1
    - Dst: RTA_NEXT
      Src: /src/lxc/src/lxc/network.c:1284,1
    - Dst: NLMSG_NEXT
      Src: /src/lxc/src/lxc/network.c:1294,1
    - Dst: RTA_DATA
      Src: /src/lxc/src/lxc/network.c:1300,1
    - Dst: RTA_PAYLOAD
      Src: /src/lxc/src/lxc/network.c:1301,1
    - Dst: RTA_OK
      Src: /src/lxc/src/lxc/network.c:1303,1
    - Dst: lxc_append_string
      Src: /src/lxc/src/lxc/network.c:1307,1
    - Dst: RTA_DATA
      Src: /src/lxc/src/lxc/network.c:1307,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1309,1
    - Dst: RTA_NEXT
      Src: /src/lxc/src/lxc/network.c:1311,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:1315,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 71
    argCount: 2
    argNames:
    - ifindex
    - altnames
    argTypes:
    - int
    - char***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1321
      start: 1186
    functionDepth: 3
    functionLinenumber: 1186
    functionLinenumberEnd: 1321
    functionName: lxc_netdev_get_altnames
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - NLMSG_DATA
    - TRACE
    - lxc_append_string
    - nlmsg_alloc_reserve
    - IFLA_RTA
    - nlmsg_reserve
    - netlink_send
    - RTA_NEXT
    - WARN
    - NLMSG_OK
    - netlink_rcv
    - RTA_PAYLOAD
    - RTA_DATA
    - ERROR
    - NLMSG_NEXT
    - call_cleaner
    - RTA_OK
    - NLMSG_LENGTH
    - ret_errno
    - nlmsg_alloc
    - netlink_open
    - ret_set_errno
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_get_altnames(int ifindex, char ***altnames)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1325,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1327,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:1332,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:1336,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1338,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:1340,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1342,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:1353,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1355,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:1359,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1361,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:1363,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1364,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:1366,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:1368,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 3
    argNames:
    - ifindex
    - altname
    - create
    argTypes:
    - int
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1369
      start: 1323
    functionDepth: 4
    functionLinenumber: 1323
    functionLinenumberEnd: 1369
    functionName: lxc_netdev_mod_altname
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - call_cleaner
    - nla_put_string
    - nla_begin_nested
    - ret_errno
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    - nla_end_nested
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_mod_altname(int ifindex, const char *altname, bool create)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_netdev_mod_altname
      Src: /src/lxc/src/lxc/network.c:1373,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ifindex
    - altname
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1374
      start: 1371
    functionDepth: 5
    functionLinenumber: 1371
    functionLinenumberEnd: 1374
    functionName: lxc_netdev_add_altname
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_netdev_mod_altname
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_add_altname(int ifindex, const char *altname)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_netdev_mod_altname
      Src: /src/lxc/src/lxc/network.c:1378,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ifindex
    - altname
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1379
      start: 1376
    functionDepth: 5
    functionLinenumber: 1376
    functionLinenumberEnd: 1379
    functionName: lxc_netdev_delete_altname
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_netdev_mod_altname
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_delete_altname(int ifindex, const char *altname)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_netdev_get_altnames
      Src: /src/lxc/src/lxc/network.c:1388,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1390,1
    - Dst: lxc_netdev_delete_altname
      Src: /src/lxc/src/lxc/network.c:1393,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1395,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:1397,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1401
      start: 1381
    functionDepth: 6
    functionLinenumber: 1381
    functionLinenumberEnd: 1401
    functionName: lxc_netdev_keep_altnames
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_netdev_delete_altname
    - lxc_netdev_get_altnames
    - log_error_errno
    - DEBUG
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_keep_altnames(struct lxc_netdev *netdev)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_netdev_get_altnames
      Src: /src/lxc/src/lxc/network.c:1420,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1422,1
    - Dst: lxc_netdev_delete_altname
      Src: /src/lxc/src/lxc/network.c:1425,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1427,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:1429,1
    - Dst: lxc_netdev_add_altname
      Src: /src/lxc/src/lxc/network.c:1433,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1435,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:1437,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1441
      start: 1403
    functionDepth: 6
    functionLinenumber: 1403
    functionLinenumberEnd: 1441
    functionName: lxc_netdev_restore_altnames
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_netdev_delete_altname
    - lxc_netdev_get_altnames
    - lxc_netdev_add_altname
    - log_error_errno
    - DEBUG
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_restore_altnames(struct lxc_netdev *netdev)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:1447,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1448,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:1458,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1460,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:1462,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:1463,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:1464,1
    - Dst: netdev_get_mtu
      Src: /src/lxc/src/lxc/network.c:1476,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1478,1
    - Dst: lxc_netdev_keep_altnames
      Src: /src/lxc/src/lxc/network.c:1486,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1488,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/network.c:1493,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1495,1
    - Dst: lxc_netdev_set_mtu
      Src: /src/lxc/src/lxc/network.c:1497,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1499,1
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1509,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:1515,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 32
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1519
      start: 1443
    functionDepth: 7
    functionLinenumber: 1443
    functionLinenumberEnd: 1519
    functionName: netdev_configure_server_phys
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - lxc_netdev_set_mtu
    - is_empty_string
    - lxc_netdev_keep_altnames
    - run_script_argv
    - if_nametoindex
    - log_error_errno
    - strlcpy
    - DEBUG
    - netdev_get_mtu
    linkageType: ''
    returnType: int
    signature: int netdev_configure_server_phys(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/network.c:1532,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/network.c:1533,1
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1538,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1544
      start: 1521
    functionDepth: 4
    functionLinenumber: 1521
    functionLinenumberEnd: 1544
    functionName: netdev_configure_server_empty
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - run_script_argv
    - syserror_set
    - strequal
    linkageType: ''
    returnType: int
    signature: int netdev_configure_server_empty(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1550
      start: 1546
    functionDepth: 0
    functionLinenumber: 1546
    functionLinenumberEnd: 1550
    functionName: netdev_configure_server_none
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int netdev_configure_server_none(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:1568,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1570,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:1574,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:1575,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/network.c:1577,1
    - Dst: lxc_netdev_rename_by_name
      Src: /src/lxc/src/lxc/network.c:1580,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1582,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:1585,1
    - Dst: if_indextoname
      Src: /src/lxc/src/lxc/network.c:1592,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:1593,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:1600,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1604
      start: 1564
    functionDepth: 1
    functionLinenumber: 1564
    functionLinenumberEnd: 1604
    functionName: __netdev_configure_container_common
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - is_empty_string
    - if_nametoindex
    - strequal
    - lxc_netdev_rename_by_name
    - TRACE
    - log_error_errno
    - strlcpy
    - if_indextoname
    linkageType: ''
    returnType: int
    signature: int __netdev_configure_container_common(struct lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __netdev_configure_container_common
      Src: /src/lxc/src/lxc/network.c:1609,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1610
      start: 1606
    functionDepth: 2
    functionLinenumber: 1606
    functionLinenumberEnd: 1610
    functionName: netdev_configure_container_veth
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - __netdev_configure_container_common
    linkageType: ''
    returnType: int
    signature: int netdev_configure_container_veth(struct lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __netdev_configure_container_common
      Src: /src/lxc/src/lxc/network.c:1614,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1615
      start: 1612
    functionDepth: 2
    functionLinenumber: 1612
    functionLinenumberEnd: 1615
    functionName: netdev_configure_container_macvlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - __netdev_configure_container_common
    linkageType: ''
    returnType: int
    signature: int netdev_configure_container_macvlan(struct lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __netdev_configure_container_common
      Src: /src/lxc/src/lxc/network.c:1619,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1620
      start: 1617
    functionDepth: 2
    functionLinenumber: 1617
    functionLinenumberEnd: 1620
    functionName: netdev_configure_container_ipvlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - __netdev_configure_container_common
    linkageType: ''
    returnType: int
    signature: int netdev_configure_container_ipvlan(struct lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __netdev_configure_container_common
      Src: /src/lxc/src/lxc/network.c:1624,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1625
      start: 1622
    functionDepth: 2
    functionLinenumber: 1622
    functionLinenumberEnd: 1625
    functionName: netdev_configure_container_vlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - __netdev_configure_container_common
    linkageType: ''
    returnType: int
    signature: int netdev_configure_container_vlan(struct lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __netdev_configure_container_common
      Src: /src/lxc/src/lxc/network.c:1629,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1630
      start: 1627
    functionDepth: 2
    functionLinenumber: 1627
    functionLinenumberEnd: 1630
    functionName: netdev_configure_container_phys
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - __netdev_configure_container_common
    linkageType: ''
    returnType: int
    signature: int netdev_configure_container_phys(struct lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1635
      start: 1632
    functionDepth: 0
    functionLinenumber: 1632
    functionLinenumberEnd: 1635
    functionName: netdev_configure_container_empty
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int netdev_configure_container_empty(struct lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1640
      start: 1637
    functionDepth: 0
    functionLinenumber: 1637
    functionLinenumberEnd: 1640
    functionName: netdev_configure_container_none
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int netdev_configure_container_none(struct lxc_netdev *netdev)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:1667,1
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1672,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1679
      start: 1654
    functionDepth: 4
    functionLinenumber: 1654
    functionLinenumberEnd: 1679
    functionName: netdev_shutdown_server_veth
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - run_script_argv
    - is_empty_string
    linkageType: ''
    returnType: int
    signature: int netdev_shutdown_server_veth(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1693,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1699
      start: 1681
    functionDepth: 4
    functionLinenumber: 1681
    functionLinenumberEnd: 1699
    functionName: netdev_shutdown_server_macvlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - run_script_argv
    linkageType: ''
    returnType: int
    signature: int netdev_shutdown_server_macvlan(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1713,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1719
      start: 1701
    functionDepth: 4
    functionLinenumber: 1701
    functionLinenumberEnd: 1719
    functionName: netdev_shutdown_server_ipvlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - run_script_argv
    linkageType: ''
    returnType: int
    signature: int netdev_shutdown_server_ipvlan(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1733,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1739
      start: 1721
    functionDepth: 4
    functionLinenumber: 1721
    functionLinenumberEnd: 1739
    functionName: netdev_shutdown_server_vlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - run_script_argv
    linkageType: ''
    returnType: int
    signature: int netdev_shutdown_server_vlan(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1753,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1759
      start: 1741
    functionDepth: 4
    functionLinenumber: 1741
    functionLinenumberEnd: 1759
    functionName: netdev_shutdown_server_phys
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - run_script_argv
    linkageType: ''
    returnType: int
    signature: int netdev_shutdown_server_phys(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:1772,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1778
      start: 1761
    functionDepth: 4
    functionLinenumber: 1761
    functionLinenumberEnd: 1778
    functionName: netdev_shutdown_server_empty
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - run_script_argv
    linkageType: ''
    returnType: int
    signature: int netdev_shutdown_server_empty(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - handler
    - netdev
    argTypes:
    - struct lxc_handler*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1783
      start: 1780
    functionDepth: 0
    functionLinenumber: 1780
    functionLinenumberEnd: 1783
    functionName: netdev_shutdown_server_none
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int netdev_shutdown_server_none(struct lxc_handler *handler, struct
      lxc_netdev *netdev)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1799,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1801,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:1805,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:1809,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1811,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:1816,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1818,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:1823,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1824,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:1826,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:1826,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1827,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:1829,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 3
    argNames:
    - ifindex
    - fd
    - ifname
    argTypes:
    - int
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1830
      start: 1797
    functionDepth: 4
    functionLinenumber: 1797
    functionLinenumberEnd: 1830
    functionName: lxc_netdev_move_by_index_fd
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - nla_put_u32
    - is_empty_string
    - call_cleaner
    - nla_put_string
    - ret_errno
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_move_by_index_fd(int ifindex, int fd, const char *ifname)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1834,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1836,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:1840,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:1844,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1846,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:1851,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1853,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:1858,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1859,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:1861,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:1861,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:1862,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:1864,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 3
    argNames:
    - ifindex
    - pid
    - ifname
    argTypes:
    - int
    - pid_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1865
      start: 1832
    functionDepth: 4
    functionLinenumber: 1832
    functionLinenumberEnd: 1865
    functionName: lxc_netdev_move_by_index
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - nla_put_u32
    - is_empty_string
    - call_cleaner
    - nla_put_string
    - ret_errno
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_move_by_index(int ifindex, pid_t pid, const char *ifname)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:1880,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:1880,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/network.c:1881,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:1882,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/network.c:1886,1
    - Dst: fseek
      Src: /src/lxc/src/lxc/network.c:1891,1
    - Dst: ftell
      Src: /src/lxc/src/lxc/network.c:1892,1
    - Dst: fseek
      Src: /src/lxc/src/lxc/network.c:1893,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/network.c:1897,1
    - Dst: memset
      Src: /src/lxc/src/lxc/network.c:1901,1
    - Dst: fread
      Src: /src/lxc/src/lxc/network.c:1902,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/network.c:1914,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 1
    argNames:
    - ifname
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1915
      start: 1872
    functionDepth: 1
    functionLinenumber: 1872
    functionLinenumberEnd: 1915
    functionName: is_wlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - malloc
    - fread
    - must_realloc
    - move_ptr
    - memset
    - fopen
    - strlen
    - strnprintf
    - ftell
    - fseek
    linkageType: ''
    returnType: char
    signature: char *is_wlan(const char *ifname)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/lxc/network.c:1922,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/network.c:1927,1
    - Dst: switch_to_ns
      Src: /src/lxc/src/lxc/network.c:1929,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 3
    argNames:
    - pid
    - old
    - new
    argTypes:
    - pid_t
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1933
      start: 1917
    functionDepth: 2
    functionLinenumber: 1917
    functionLinenumberEnd: 1933
    functionName: lxc_netdev_rename_by_name_in_netns
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - fork
    - switch_to_ns
    - wait_for_pid
    linkageType: ''
    returnType: int
    signature: "int lxc_netdev_rename_by_name_in_netns(pid_t pid, const char *old,\n\t\t\t\t\t
      \     const char *new)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: on_path
      Src: /src/lxc/src/lxc/network.c:1945,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:1947,1
    - Dst: fork
      Src: /src/lxc/src/lxc/network.c:1951,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/network.c:1957,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/network.c:1958,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/network.c:1959,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/network.c:1962,1
    - Dst: lxc_netdev_rename_by_name_in_netns
      Src: /src/lxc/src/lxc/network.c:1966,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 4
    argNames:
    - physname
    - ifname
    - pid
    - newname
    argTypes:
    - char*
    - char*
    - pid_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1969
      start: 1935
    functionDepth: 3
    functionLinenumber: 1935
    functionLinenumberEnd: 1969
    functionName: lxc_netdev_move_wlan
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - wait_for_pid
    - ERROR
    - sprintf
    - lxc_netdev_rename_by_name_in_netns
    - execlp
    - _exit
    - fork
    - on_path
    linkageType: ''
    returnType: int
    signature: "int lxc_netdev_move_wlan(char *physname, const char *ifname, pid_t
      pid,\n\t\t\t\tconst char *newname)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:1979,1
    - Dst: is_wlan
      Src: /src/lxc/src/lxc/network.c:1983,1
    - Dst: lxc_netdev_move_wlan
      Src: /src/lxc/src/lxc/network.c:1985,1
    - Dst: lxc_netdev_move_by_index
      Src: /src/lxc/src/lxc/network.c:1987,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - ifname
    - pid
    - newname
    argTypes:
    - char*
    - pid_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1988
      start: 1971
    functionDepth: 5
    functionLinenumber: 1971
    functionLinenumberEnd: 1988
    functionName: lxc_netdev_move_by_name
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 2
    functionsReached:
    - is_wlan
    - if_nametoindex
    - lxc_netdev_move_by_index
    - lxc_netdev_move_wlan
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_move_by_name(const char *ifname, pid_t pid, const char*
      newname)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1992,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:1994,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:1998,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2002,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2004,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2006,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2008,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2013,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2015,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:2020,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - ifindex
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2021
      start: 1990
    functionDepth: 4
    functionLinenumber: 1990
    functionLinenumberEnd: 2021
    functionName: lxc_netdev_delete_by_index
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - call_cleaner
    - ret_errno
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_delete_by_index(int ifindex)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:2027,1
    - Dst: lxc_netdev_delete_by_index
      Src: /src/lxc/src/lxc/network.c:2031,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2032
      start: 2023
    functionDepth: 5
    functionLinenumber: 2023
    functionLinenumberEnd: 2032
    functionName: lxc_netdev_delete_by_name
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 4
    functionsReached:
    - if_nametoindex
    - lxc_netdev_delete_by_index
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_delete_by_name(const char *name)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2036,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2038,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2042,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2046,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2048,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2050,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2052,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2054,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2056,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2061,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2063,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:2068,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2069,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:2071,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 2
    argNames:
    - ifindex
    - newname
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2072
      start: 2034
    functionDepth: 4
    functionLinenumber: 2034
    functionLinenumberEnd: 2072
    functionName: lxc_netdev_rename_by_index
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - call_cleaner
    - nla_put_string
    - ret_errno
    - strlen
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_rename_by_index(int ifindex, const char *newname)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2078,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:2082,1
    - Dst: lxc_netdev_rename_by_index
      Src: /src/lxc/src/lxc/network.c:2086,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - oldname
    - newname
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2087
      start: 2074
    functionDepth: 5
    functionLinenumber: 2074
    functionLinenumberEnd: 2087
    functionName: lxc_netdev_rename_by_name
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - strlen
    - lxc_netdev_rename_by_index
    - if_nametoindex
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_rename_by_name(const char *oldname, const char *newname)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2091,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2093,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2097,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2101,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2103,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2105,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2107,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2109,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2111,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:2113,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2115,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2120,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2122,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:2129,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 2
    argNames:
    - name
    - flag
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2130
      start: 2089
    functionDepth: 4
    functionLinenumber: 2089
    functionLinenumberEnd: 2130
    functionName: netdev_set_flag
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - call_cleaner
    - if_nametoindex
    - ret_errno
    - strlen
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: int netdev_set_flag(const char *name, int flag)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2134,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2136,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2141,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2143,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2147,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2149,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2151,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2153,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2155,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2157,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:2159,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2161,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2166,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2168,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:2173,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:2175,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:2177,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 33
    argCount: 2
    argNames:
    - name
    - flag
    argTypes:
    - char*
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2181
      start: 2132
    functionDepth: 4
    functionLinenumber: 2132
    functionLinenumberEnd: 2181
    functionName: netdev_get_flag
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - call_cleaner
    - NLMSG_DATA
    - if_nametoindex
    - ret_errno
    - strlen
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    - ret_set_errno
    linkageType: ''
    returnType: int
    signature: int netdev_get_flag(const char *name, int *flag)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: netdev_get_flag
      Src: /src/lxc/src/lxc/network.c:2198,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2206
      start: 2193
    functionDepth: 5
    functionLinenumber: 2193
    functionLinenumberEnd: 2206
    functionName: lxc_netdev_isup
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 2
    functionsReached:
    - netdev_get_flag
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_isup(const char *name)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2210,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2212,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2219,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2223,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2225,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2227,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2229,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2240,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2242,1
    - Dst: netlink_send
      Src: /src/lxc/src/lxc/network.c:2248,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:2250,1
    - Dst: netlink_rcv
      Src: /src/lxc/src/lxc/network.c:2262,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:2264,1
    - Dst: NLMSG_OK
      Src: /src/lxc/src/lxc/network.c:2271,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:2274,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:2275,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:2284,1
    - Dst: IFLA_RTA
      Src: /src/lxc/src/lxc/network.c:2286,1
    - Dst: NLMSG_LENGTH
      Src: /src/lxc/src/lxc/network.c:2287,1
    - Dst: RTA_OK
      Src: /src/lxc/src/lxc/network.c:2290,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/network.c:2296,1
    - Dst: RTA_DATA
      Src: /src/lxc/src/lxc/network.c:2296,1
    - Dst: RTA_NEXT
      Src: /src/lxc/src/lxc/network.c:2300,1
    - Dst: NLMSG_NEXT
      Src: /src/lxc/src/lxc/network.c:2310,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 54
    argCount: 1
    argNames:
    - ifindex
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2318
      start: 2208
    functionDepth: 3
    functionLinenumber: 2208
    functionLinenumberEnd: 2318
    functionName: netdev_get_mtu
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 2
    functionsReached:
    - netlink_open
    - memcpy
    - RTA_DATA
    - NLMSG_NEXT
    - call_cleaner
    - NLMSG_DATA
    - RTA_OK
    - RTA_NEXT
    - IFLA_RTA
    - netlink_rcv
    - NLMSG_LENGTH
    - ret_errno
    - NLMSG_OK
    - ret_set_errno
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_send
    linkageType: ''
    returnType: int
    signature: int netdev_get_mtu(int ifindex)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2322,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2324,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2328,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2332,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2334,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2336,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2338,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2340,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2342,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2347,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2349,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:2353,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2354,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2356,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2357,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:2359,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 2
    argNames:
    - name
    - mtu
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2360
      start: 2320
    functionDepth: 4
    functionLinenumber: 2320
    functionLinenumberEnd: 2360
    functionName: lxc_netdev_set_mtu
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 5
    functionsReached:
    - netlink_open
    - nla_put_u32
    - call_cleaner
    - nla_put_string
    - ret_errno
    - strlen
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_set_mtu(const char *name, int mtu)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: netdev_set_flag
      Src: /src/lxc/src/lxc/network.c:2364,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2365
      start: 2362
    functionDepth: 5
    functionLinenumber: 2362
    functionLinenumberEnd: 2365
    functionName: lxc_netdev_up
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - netdev_set_flag
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_up(const char *name)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: netdev_set_flag
      Src: /src/lxc/src/lxc/network.c:2369,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2370
      start: 2367
    functionDepth: 5
    functionLinenumber: 2367
    functionLinenumberEnd: 2370
    functionName: lxc_netdev_down
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 2
    functionsReached:
    - netdev_set_flag
    linkageType: ''
    returnType: int
    signature: int lxc_netdev_down(const char *name)
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2375,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2377,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2382,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2386,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2388,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2390,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2392,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2394,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2396,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2398,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2400,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2405,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2407,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:2411,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2413,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:2415,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2416,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:2418,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2420,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:2422,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2424,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2426,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2428,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:2430,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2431,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2433,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2434,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2436,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2437,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2439,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2440,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2442,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2443,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:2445,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:2446,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:2447,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:2449,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2450,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2452,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2453,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2455,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2456,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:2458,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 58
    argCount: 6
    argNames:
    - name1
    - name2
    - pid
    - mtu
    - n_rxqueues
    - n_txqueues
    argTypes:
    - char*
    - char*
    - pid_t
    - unsigned int
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2459
      start: 2372
    functionDepth: 4
    functionLinenumber: 2372
    functionLinenumberEnd: 2459
    functionName: lxc_veth_create
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - netlink_open
    - nla_put_u32
    - call_cleaner
    - nla_put_string
    - nla_begin_nested
    - ret_errno
    - strlen
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    - nla_end_nested
    linkageType: ''
    returnType: int
    signature: "int lxc_veth_create(const char *name1, const char *name2, pid_t pid,
      unsigned int mtu,\n                    int n_rxqueues, int n_txqueues)"
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2464,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2466,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2471,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2475,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2477,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2479,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2481,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2483,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2485,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2487,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2489,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:2491,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2493,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2498,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2500,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:2504,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2506,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:2508,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2509,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:2511,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2513,1
    - Dst: nla_put_u16
      Src: /src/lxc/src/lxc/network.c:2515,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2516,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:2518,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:2519,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2521,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2522,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:2524,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2525,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:2527,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 44
    argCount: 3
    argNames:
    - parent
    - name
    - vlanid
    argTypes:
    - char*
    - char*
    - unsigned short
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2528
      start: 2462
    functionDepth: 4
    functionLinenumber: 2462
    functionLinenumberEnd: 2528
    functionName: lxc_vlan_create
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - netlink_open
    - nla_put_u32
    - call_cleaner
    - nla_put_string
    - if_nametoindex
    - nla_begin_nested
    - nla_put_u16
    - ret_errno
    - strlen
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    - nla_end_nested
    linkageType: ''
    returnType: int
    signature: int lxc_vlan_create(const char *parent, const char *name, unsigned
      short vlanid)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2532,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2534,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2539,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2543,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2545,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2547,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2549,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2551,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2553,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2555,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2557,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:2559,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2561,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2566,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2568,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:2572,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2574,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:2576,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2577,1
    - Dst: nla_begin_nested
      Src: /src/lxc/src/lxc/network.c:2580,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2582,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2584,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2585,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:2587,1
    - Dst: nla_end_nested
      Src: /src/lxc/src/lxc/network.c:2590,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:2592,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2593,1
    - Dst: nla_put_string
      Src: /src/lxc/src/lxc/network.c:2595,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2596,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:2598,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 46
    argCount: 3
    argNames:
    - parent
    - name
    - mode
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2599
      start: 2530
    functionDepth: 4
    functionLinenumber: 2530
    functionLinenumberEnd: 2599
    functionName: lxc_macvlan_create
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - netlink_open
    - nla_put_u32
    - call_cleaner
    - nla_put_string
    - if_nametoindex
    - nla_begin_nested
    - ret_errno
    - strlen
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    - nla_end_nested
    linkageType: ''
    returnType: int
    signature: int lxc_macvlan_create(const char *parent, const char *name, int mode)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/network.c:2606,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/network.c:2610,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:2610,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:2613,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - path
    - value
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2615
      start: 2601
    functionDepth: 1
    functionLinenumber: 2601
    functionLinenumberEnd: 2615
    functionName: proc_sys_net_write
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - open
    - strlen
    - lxc_write_nointr
    - close
    linkageType: ''
    returnType: int
    signature: int proc_sys_net_write(const char *path, const char *value)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:2625,1
    - Dst: proc_sys_net_write
      Src: /src/lxc/src/lxc/network.c:2631,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - ifname
    - family
    - flag
    argTypes:
    - char*
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2632
      start: 2617
    functionDepth: 2
    functionLinenumber: 2617
    functionLinenumberEnd: 2632
    functionName: ip_forwarding_set
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - proc_sys_net_write
    - strnprintf
    linkageType: ''
    returnType: int
    signature: int ip_forwarding_set(const char *ifname, int family, int flag)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ip_forwarding_set
      Src: /src/lxc/src/lxc/network.c:2636,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - name
    - family
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2637
      start: 2634
    functionDepth: 3
    functionLinenumber: 2634
    functionLinenumberEnd: 2637
    functionName: lxc_ip_forwarding_on
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - ip_forwarding_set
    linkageType: ''
    returnType: int
    signature: int lxc_ip_forwarding_on(const char *name, int family)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ip_forwarding_set
      Src: /src/lxc/src/lxc/network.c:2641,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - name
    - family
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2642
      start: 2639
    functionDepth: 3
    functionLinenumber: 2639
    functionLinenumberEnd: 2642
    functionName: lxc_ip_forwarding_off
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ip_forwarding_set
    linkageType: ''
    returnType: int
    signature: int lxc_ip_forwarding_off(const char *name, int family)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:2652,1
    - Dst: proc_sys_net_write
      Src: /src/lxc/src/lxc/network.c:2658,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - ifname
    - family
    - flag
    argTypes:
    - char*
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2659
      start: 2644
    functionDepth: 2
    functionLinenumber: 2644
    functionLinenumberEnd: 2659
    functionName: neigh_proxy_set
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - proc_sys_net_write
    - strnprintf
    linkageType: ''
    returnType: int
    signature: int neigh_proxy_set(const char *ifname, int family, int flag)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:2670,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:2672,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:2676,1
    - Dst: lxc_read_file_expect
      Src: /src/lxc/src/lxc/network.c:2678,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - ifname
    - family
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2679
      start: 2663
    functionDepth: 3
    functionLinenumber: 2663
    functionLinenumberEnd: 2679
    functionName: lxc_is_ip_neigh_proxy_enabled
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - strnprintf
    - lxc_read_file_expect
    linkageType: ''
    returnType: int
    signature: int lxc_is_ip_neigh_proxy_enabled(const char *ifname, int family)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: neigh_proxy_set
      Src: /src/lxc/src/lxc/network.c:2685,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - name
    - family
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2686
      start: 2683
    functionDepth: 3
    functionLinenumber: 2683
    functionLinenumberEnd: 2686
    functionName: lxc_neigh_proxy_on
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - neigh_proxy_set
    linkageType: ''
    returnType: int
    signature: int lxc_neigh_proxy_on(const char *name, int family)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: neigh_proxy_set
      Src: /src/lxc/src/lxc/network.c:2690,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - name
    - family
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2691
      start: 2688
    functionDepth: 3
    functionLinenumber: 2688
    functionLinenumberEnd: 2691
    functionName: lxc_neigh_proxy_off
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - neigh_proxy_set
    linkageType: ''
    returnType: int
    signature: int lxc_neigh_proxy_off(const char *name, int family)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: isdigit
      Src: /src/lxc/src/lxc/network.c:2705,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/network.c:2716,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 31
    argCount: 2
    argNames:
    - macaddr
    - sockaddr
    argTypes:
    - char*
    - struct sockaddr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2736
      start: 2693
    functionDepth: 0
    functionLinenumber: 2693
    functionLinenumberEnd: 2736
    functionName: lxc_convert_mac
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - isdigit
    linkageType: ''
    returnType: int
    signature: int lxc_convert_mac(char *macaddr, struct sockaddr *sockaddr)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2741,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2743,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2750,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2754,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2756,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2758,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2760,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2765,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2767,1
    - Dst: nla_put_buffer
      Src: /src/lxc/src/lxc/network.c:2774,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2775,1
    - Dst: nla_put_buffer
      Src: /src/lxc/src/lxc/network.c:2777,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2778,1
    - Dst: nla_put_buffer
      Src: /src/lxc/src/lxc/network.c:2780,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2781,1
    - Dst: memcmp
      Src: /src/lxc/src/lxc/network.c:2785,1
    - Dst: memcmp
      Src: /src/lxc/src/lxc/network.c:2786,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2787,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:2789,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 31
    argCount: 6
    argNames:
    - family
    - ifindex
    - addr
    - bcast
    - acast
    - prefix
    argTypes:
    - int
    - int
    - void*
    - void*
    - void*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2790
      start: 2738
    functionDepth: 4
    functionLinenumber: 2738
    functionLinenumberEnd: 2790
    functionName: ip_addr_add
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - call_cleaner
    - nla_put_buffer
    - ret_errno
    - memcmp
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: "int ip_addr_add(int family, int ifindex, void *addr, void *bcast,\n\t\t
      \      void *acast, int prefix)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ip_addr_add
      Src: /src/lxc/src/lxc/network.c:2796,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - ifindex
    - addr
    - mcast
    - acast
    - prefix
    argTypes:
    - int
    - struct in6_addr*
    - struct in6_addr*
    - struct in6_addr*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2797
      start: 2792
    functionDepth: 5
    functionLinenumber: 2792
    functionLinenumberEnd: 2797
    functionName: lxc_ipv6_addr_add
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ip_addr_add
    linkageType: ''
    returnType: int
    signature: "int lxc_ipv6_addr_add(int ifindex, struct in6_addr *addr,\n\t\t      struct
      in6_addr *mcast, struct in6_addr *acast,\n\t\t      int prefix)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ip_addr_add
      Src: /src/lxc/src/lxc/network.c:2802,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - ifindex
    - addr
    - bcast
    - prefix
    argTypes:
    - int
    - struct in_addr*
    - struct in_addr*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2803
      start: 2799
    functionDepth: 5
    functionLinenumber: 2799
    functionLinenumberEnd: 2803
    functionName: lxc_ipv4_addr_add
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ip_addr_add
    linkageType: ''
    returnType: int
    signature: "int lxc_ipv4_addr_add(int ifindex, struct in_addr *addr, struct in_addr
      *bcast,\n\t\t      int prefix)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:2815,1
    - Dst: IFA_RTA
      Src: /src/lxc/src/lxc/network.c:2816,1
    - Dst: NLMSG_PAYLOAD
      Src: /src/lxc/src/lxc/network.c:2817,1
    - Dst: RTA_OK
      Src: /src/lxc/src/lxc/network.c:2826,1
    - Dst: RTA_PAYLOAD
      Src: /src/lxc/src/lxc/network.c:2836,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/network.c:2843,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/network.c:2848,1
    - Dst: RTA_DATA
      Src: /src/lxc/src/lxc/network.c:2848,1
    - Dst: RTA_NEXT
      Src: /src/lxc/src/lxc/network.c:2852,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 3
    argNames:
    - family
    - msg
    - res
    argTypes:
    - int
    - struct nlmsghdr*
    - void**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2855
      start: 2812
    functionDepth: 0
    functionLinenumber: 2812
    functionLinenumberEnd: 2855
    functionName: ifa_get_local_ip
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - malloc
    - memcpy
    - RTA_DATA
    - RTA_NEXT
    - RTA_OK
    - NLMSG_PAYLOAD
    - NLMSG_DATA
    - IFA_RTA
    - RTA_PAYLOAD
    linkageType: ''
    returnType: int
    signature: int ifa_get_local_ip(int family, struct nlmsghdr *msg, void **res)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2861,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2863,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2870,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2874,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2876,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2878,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2880,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:2890,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2892,1
    - Dst: netlink_send
      Src: /src/lxc/src/lxc/network.c:2899,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:2901,1
    - Dst: netlink_rcv
      Src: /src/lxc/src/lxc/network.c:2913,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:2915,1
    - Dst: NLMSG_OK
      Src: /src/lxc/src/lxc/network.c:2923,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:2926,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:2927,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2937,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:2939,1
    - Dst: ifa_get_local_ip
      Src: /src/lxc/src/lxc/network.c:2941,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2942,1
    - Dst: NLMSG_NEXT
      Src: /src/lxc/src/lxc/network.c:2955,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 52
    argCount: 3
    argNames:
    - family
    - ifindex
    - res
    argTypes:
    - int
    - int
    - void**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2965
      start: 2859
    functionDepth: 3
    functionLinenumber: 2859
    functionLinenumberEnd: 2965
    functionName: ip_addr_get
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - ifa_get_local_ip
    - NLMSG_NEXT
    - call_cleaner
    - NLMSG_DATA
    - netlink_rcv
    - ret_errno
    - NLMSG_OK
    - ret_set_errno
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_send
    linkageType: ''
    returnType: int
    signature: int ip_addr_get(int family, int ifindex, void **res)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ip_addr_get
      Src: /src/lxc/src/lxc/network.c:2969,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ifindex
    - res
    argTypes:
    - int
    - struct in6_addr**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2970
      start: 2967
    functionDepth: 4
    functionLinenumber: 2967
    functionLinenumberEnd: 2970
    functionName: lxc_ipv6_addr_get
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ip_addr_get
    linkageType: ''
    returnType: int
    signature: int lxc_ipv6_addr_get(int ifindex, struct in6_addr **res)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ip_addr_get
      Src: /src/lxc/src/lxc/network.c:2974,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ifindex
    - res
    argTypes:
    - int
    - struct in_addr**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2975
      start: 2972
    functionDepth: 4
    functionLinenumber: 2972
    functionLinenumberEnd: 2975
    functionName: lxc_ipv4_addr_get
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ip_addr_get
    linkageType: ''
    returnType: int
    signature: int lxc_ipv4_addr_get(int ifindex, struct in_addr **res)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2979,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:2981,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:2988,1
    - Dst: nlmsg_alloc
      Src: /src/lxc/src/lxc/network.c:2992,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2994,1
    - Dst: nlmsg_alloc_reserve
      Src: /src/lxc/src/lxc/network.c:2996,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:2998,1
    - Dst: nlmsg_reserve
      Src: /src/lxc/src/lxc/network.c:3003,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:3005,1
    - Dst: nla_put_buffer
      Src: /src/lxc/src/lxc/network.c:3016,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:3017,1
    - Dst: nla_put_u32
      Src: /src/lxc/src/lxc/network.c:3022,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:3023,1
    - Dst: netlink_transaction
      Src: /src/lxc/src/lxc/network.c:3025,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 29
    argCount: 3
    argNames:
    - family
    - ifindex
    - gw
    argTypes:
    - int
    - int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3026
      start: 2977
    functionDepth: 4
    functionLinenumber: 2977
    functionLinenumberEnd: 3026
    functionName: ip_gateway_add
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - nla_put_u32
    - call_cleaner
    - nla_put_buffer
    - ret_errno
    - nlmsg_alloc_reserve
    - nlmsg_alloc
    - nlmsg_reserve
    - netlink_transaction
    linkageType: ''
    returnType: int
    signature: int ip_gateway_add(int family, int ifindex, void *gw)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ip_gateway_add
      Src: /src/lxc/src/lxc/network.c:3030,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ifindex
    - gw
    argTypes:
    - int
    - struct in_addr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3031
      start: 3028
    functionDepth: 5
    functionLinenumber: 3028
    functionLinenumberEnd: 3031
    functionName: lxc_ipv4_gateway_add
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ip_gateway_add
    linkageType: ''
    returnType: int
    signature: int lxc_ipv4_gateway_add(int ifindex, struct in_addr *gw)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ip_gateway_add
      Src: /src/lxc/src/lxc/network.c:3035,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ifindex
    - gw
    argTypes:
    - int
    - struct in6_addr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3036
      start: 3033
    functionDepth: 5
    functionLinenumber: 3033
    functionLinenumberEnd: 3036
    functionName: lxc_ipv6_gateway_add
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ip_gateway_add
    linkageType: ''
    returnType: int
    signature: int lxc_ipv6_gateway_add(int ifindex, struct in6_addr *gw)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:3043,1
    - Dst: stat
      Src: /src/lxc/src/lxc/network.c:3048,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - bridge
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3053
      start: 3037
    functionDepth: 1
    functionLinenumber: 3037
    functionLinenumberEnd: 3053
    functionName: is_ovs_bridge
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - strnprintf
    - stat
    linkageType: ''
    returnType: bool
    signature: bool is_ovs_bridge(const char *bridge)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/network.c:3067,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3069
      start: 3063
    functionDepth: 0
    functionLinenumber: 3063
    functionLinenumberEnd: 3069
    functionName: lxc_ovs_delete_port_exec
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int lxc_ovs_delete_port_exec(void *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: run_command
      Src: /src/lxc/src/lxc/network.c:3079,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:3082,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - bridge
    - nic
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3085
      start: 3071
    functionDepth: 3
    functionLinenumber: 3071
    functionLinenumberEnd: 3085
    functionName: lxc_ovs_delete_port
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - log_error
    - run_command
    linkageType: ''
    returnType: int
    signature: int lxc_ovs_delete_port(const char *bridge, const char *nic)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/network.c:3091,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3093
      start: 3087
    functionDepth: 0
    functionLinenumber: 3087
    functionLinenumberEnd: 3093
    functionName: lxc_ovs_attach_bridge_exec
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int lxc_ovs_attach_bridge_exec(void *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: run_command
      Src: /src/lxc/src/lxc/network.c:3103,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:3106,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - bridge
    - nic
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3109
      start: 3095
    functionDepth: 3
    functionLinenumber: 3095
    functionLinenumberEnd: 3109
    functionName: lxc_ovs_attach_bridge
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - log_error
    - run_command
    linkageType: ''
    returnType: int
    signature: int lxc_ovs_attach_bridge(const char *bridge, const char *nic)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/network.c:3117,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:3120,1
    - Dst: is_ovs_bridge
      Src: /src/lxc/src/lxc/network.c:3124,1
    - Dst: lxc_ovs_attach_bridge
      Src: /src/lxc/src/lxc/network.c:3125,1
    - Dst: socket
      Src: /src/lxc/src/lxc/network.c:3127,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:3131,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3133,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/network.c:3139,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3140,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 2
    argNames:
    - bridge
    - ifname
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3145
      start: 3111
    functionDepth: 4
    functionLinenumber: 3111
    functionLinenumberEnd: 3145
    functionName: lxc_bridge_attach
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - socket
    - if_nametoindex
    - is_ovs_bridge
    - lxc_ovs_attach_bridge
    - strlcpy
    - ioctl
    - strlen
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_bridge_attach(const char *bridge, const char *ifname)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/lxc/src/lxc/network.c:3153,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:3157,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/network.c:3161,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/network.c:3166,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - veth1
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3171
      start: 3147
    functionDepth: 1
    functionLinenumber: 3147
    functionLinenumberEnd: 3171
    functionName: setup_private_host_hw_addr
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - strnprintf
    - socket
    - ioctl
    linkageType: ''
    returnType: int
    signature: int setup_private_host_hw_addr(char *veth1)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3178,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3183,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3185,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3186,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:3188,1
    - Dst: lxc_ipv4_addr_get
      Src: /src/lxc/src/lxc/network.c:3193,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3194,1
    - Dst: lxc_ipv6_addr_get
      Src: /src/lxc/src/lxc/network.c:3198,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3199,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 21
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3204
      start: 3173
    functionDepth: 5
    functionLinenumber: 3173
    functionLinenumberEnd: 3204
    functionName: lxc_find_gateway_addresses
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - is_empty_string
    - if_nametoindex
    - lxc_ipv6_addr_get
    - log_error_errno
    - lxc_ipv4_addr_get
    linkageType: ''
    returnType: int
    signature: int lxc_find_gateway_addresses(struct lxc_handler *handler)
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3223,1
    - Dst: pipe
      Src: /src/lxc/src/lxc/network.c:3227,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3229,1
    - Dst: fork
      Src: /src/lxc/src/lxc/network.c:3231,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3233,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3234,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3235,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/network.c:3239,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3241,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/network.c:3243,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/network.c:3245,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3246,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:3248,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/network.c:3249,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3252,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:3253,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:3255,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:3257,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/network.c:3258,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:3261,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/network.c:3263,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:3266,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3267,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3268,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/network.c:3269,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/network.c:3273,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:3276,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/network.c:3277,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3281,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/network.c:3283,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:3285,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3286,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/network.c:3291,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3292,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:3294,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:3296,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/network.c:3299,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:3301,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:3308,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:3310,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:3312,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3315,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/network.c:3319,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:3321,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/network.c:3323,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3325,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/network.c:3329,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:3331,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:3333,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3335,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/network.c:3339,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:3341,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/network.c:3343,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3345,1
    - Dst: run_script_argv
      Src: /src/lxc/src/lxc/network.c:3356,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 88
    argCount: 5
    argNames:
    - lxcpath
    - lxcname
    - netdev
    - pid
    - hooks_version
    argTypes:
    - char*
    - char*
    - struct lxc_netdev*
    - pid_t
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3363
      start: 3209
    functionDepth: 4
    functionLinenumber: 3209
    functionLinenumberEnd: 3363
    functionName: lxc_create_network_unpriv_exec
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - fork
    - is_empty_string
    - log_error
    - run_script_argv
    - TRACE
    - execlp
    - _exit
    - lxc_read_nointr
    - dup2
    - strtok_r
    - strlcpy
    - lxc_safe_int
    - log_error_errno
    - strnprintf
    - SYSERROR
    - wait_for_pid
    - INTTYPE_TO_STRLEN
    - INFO
    - close
    - pipe
    linkageType: ''
    returnType: int
    signature: "int lxc_create_network_unpriv_exec(const char *lxcpath,\n\t\t\t\t\t
      \ const char *lxcname,\n\t\t\t\t\t  struct lxc_netdev *netdev, pid_t pid,\n\t\t\t\t\t
      \ unsigned int hooks_version)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3375,1
    - Dst: pipe
      Src: /src/lxc/src/lxc/network.c:3377,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3379,1
    - Dst: fork
      Src: /src/lxc/src/lxc/network.c:3381,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3383,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3384,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3385,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3391,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/network.c:3393,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/network.c:3395,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3396,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:3398,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/network.c:3399,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3402,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3406,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:3407,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/network.c:3408,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3411,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:3412,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/network.c:3413,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:3416,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/network.c:3418,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:3421,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/network.c:3422,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3425,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/network.c:3427,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:3429,1
    - Dst: close
      Src: /src/lxc/src/lxc/network.c:3430,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/network.c:3435,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/network.c:3436,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3438,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3439,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 51
    argCount: 4
    argNames:
    - lxcpath
    - lxcname
    - netdev
    - netns_path
    argTypes:
    - char*
    - char*
    - struct lxc_netdev*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3442
      start: 3365
    functionDepth: 1
    functionLinenumber: 3365
    functionLinenumberEnd: 3442
    functionName: lxc_delete_network_unpriv_exec
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - SYSERROR
    - is_empty_string
    - lxc_read_nointr
    - log_error_errno
    - INFO
    - execlp
    - _exit
    - close_prot_errno_disarm
    - fork
    - close
    - dup2
    - pipe
    linkageType: ''
    returnType: int
    signature: "int lxc_delete_network_unpriv_exec(const char *lxcpath, const char
      *lxcname,\n\t\t\t\t\t  struct lxc_netdev *netdev,\n\t\t\t\t\t  const char *netns_path)"
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/network.c:3458,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/network.c:3458,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/network.c:3463,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/network.c:3465,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/network.c:3466,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3470,1
    - Dst: lxc_netdev_rename_by_index
      Src: /src/lxc/src/lxc/network.c:3480,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3483,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:3486,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3491,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3498,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3503,1
    - Dst: is_ovs_bridge
      Src: /src/lxc/src/lxc/network.c:3503,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3506,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3510,1
    - Dst: lxc_delete_network_unpriv_exec
      Src: /src/lxc/src/lxc/network.c:3513,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3517,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:3520,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 55
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3538
      start: 3444
    functionDepth: 5
    functionLinenumber: 3444
    functionLinenumberEnd: 3538
    functionName: lxc_delete_network_unpriv
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_netdev_rename_by_index
    - list_for_each_entry
    - is_empty_string
    - is_ovs_bridge
    - WARN
    - TRACE
    - INTTYPE_TO_STRLEN
    - lxc_raw_getpid
    - INFO
    - strnprintf
    - log_debug
    - lxc_delete_network_unpriv_exec
    linkageType: ''
    returnType: bool
    signature: bool lxc_delete_network_unpriv(struct lxc_handler *handler)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:3547,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3549,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/network.c:3553,1
    - Dst: lxc_is_ip_forwarding_enabled
      Src: /src/lxc/src/lxc/network.c:3555,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3556,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/network.c:3560,1
    - Dst: lxc_is_ip_neigh_proxy_enabled
      Src: /src/lxc/src/lxc/network.c:3562,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3563,1
    - Dst: lxc_is_ip_forwarding_enabled
      Src: /src/lxc/src/lxc/network.c:3566,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3567,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3574,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:3577,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3579,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3582,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/network.c:3583,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:3584,1
    - Dst: lxc_ip_neigh_proxy
      Src: /src/lxc/src/lxc/network.c:3586,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:3587,1
    - Dst: lxc_ipv4_dest_add
      Src: /src/lxc/src/lxc/network.c:3591,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3593,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3597,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/network.c:3598,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:3599,1
    - Dst: lxc_ip_neigh_proxy
      Src: /src/lxc/src/lxc/network.c:3601,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:3602,1
    - Dst: lxc_ipv6_dest_add
      Src: /src/lxc/src/lxc/network.c:3606,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3608,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 44
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3613
      start: 3540
    functionDepth: 6
    functionLinenumber: 3540
    functionLinenumberEnd: 3613
    functionName: lxc_setup_l2proxy
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - lxc_ipv4_dest_add
    - lxc_is_ip_neigh_proxy_enabled
    - list_empty
    - if_nametoindex
    - log_error_errno
    - lxc_is_ip_forwarding_enabled
    - inet_ntop
    - ret_set_errno
    - lxc_ipv6_dest_add
    - lxc_ip_neigh_proxy
    linkageType: ''
    returnType: int
    signature: int lxc_setup_l2proxy(struct lxc_netdev *netdev)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/network.c:3621,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3622,1
    - Dst: lxc_ipv4_dest_del
      Src: /src/lxc/src/lxc/network.c:3626,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:3628,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3633,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:3634,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3636,1
    - Dst: lxc_ip_neigh_proxy
      Src: /src/lxc/src/lxc/network.c:3638,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:3643,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 3
    argNames:
    - ip
    - link
    - lo_ifindex
    argTypes:
    - struct in_addr*
    - char*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3646
      start: 3615
    functionDepth: 6
    functionLinenumber: 3615
    functionLinenumberEnd: 3646
    functionName: lxc_delete_ipv4_l2proxy
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ERROR
    - is_empty_string
    - if_nametoindex
    - log_error_errno
    - inet_ntop
    - lxc_ipv4_dest_del
    - ret_set_errno
    - lxc_ip_neigh_proxy
    linkageType: ''
    returnType: int
    signature: int lxc_delete_ipv4_l2proxy(struct in_addr *ip, char *link, unsigned
      int lo_ifindex)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/network.c:3654,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3655,1
    - Dst: lxc_ipv6_dest_del
      Src: /src/lxc/src/lxc/network.c:3659,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:3661,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3666,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:3667,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:3669,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:3670,1
    - Dst: lxc_ip_neigh_proxy
      Src: /src/lxc/src/lxc/network.c:3673,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:3678,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 3
    argNames:
    - ip
    - link
    - lo_ifindex
    argTypes:
    - struct in6_addr*
    - char*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3681
      start: 3648
    functionDepth: 6
    functionLinenumber: 3648
    functionLinenumberEnd: 3681
    functionName: lxc_delete_ipv6_l2proxy
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ERROR
    - is_empty_string
    - if_nametoindex
    - log_error_errno
    - inet_ntop
    - ret_set_errno
    - lxc_ipv6_dest_del
    - lxc_ip_neigh_proxy
    linkageType: ''
    returnType: int
    signature: int lxc_delete_ipv6_l2proxy(struct in6_addr *ip, char *link, unsigned
      int lo_ifindex)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:3693,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/network.c:3696,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3700,1
    - Dst: lxc_delete_ipv4_l2proxy
      Src: /src/lxc/src/lxc/network.c:3701,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3705,1
    - Dst: lxc_delete_ipv6_l2proxy
      Src: /src/lxc/src/lxc/network.c:3706,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:3711,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3714
      start: 3683
    functionDepth: 7
    functionLinenumber: 3683
    functionLinenumberEnd: 3714
    functionName: lxc_delete_l2proxy
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - ERROR
    - list_for_each_entry
    - if_nametoindex
    - ret_errno
    - lxc_delete_ipv4_l2proxy
    - lxc_delete_ipv6_l2proxy
    linkageType: ''
    returnType: int
    signature: int lxc_delete_l2proxy(struct lxc_netdev *netdev)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3720,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3722,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3725,1
    - Dst: lxc_setup_l2proxy
      Src: /src/lxc/src/lxc/network.c:3726,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3727,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3731,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3735
      start: 3716
    functionDepth: 7
    functionLinenumber: 3716
    functionLinenumberEnd: 3735
    functionName: lxc_create_network_priv
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_setup_l2proxy
    - log_error_errno
    - list_for_each_entry
    - is_empty_string
    linkageType: ''
    returnType: int
    signature: int lxc_create_network_priv(struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3797,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/network.c:3798,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/network.c:3802,1
    - Dst: lxc_ifname_alnum_case_sensitive
      Src: /src/lxc/src/lxc/network.c:3804,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/network.c:3805,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:3807,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3809
      start: 3793
    functionDepth: 3
    functionLinenumber: 3793
    functionLinenumberEnd: 3809
    functionName: create_transient_name
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_ifname_alnum_case_sensitive
    - is_empty_string
    - TRACE
    - strlcpy
    - syserror_set
    linkageType: ''
    returnType: int
    signature: int create_transient_name(struct lxc_netdev *netdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3826
      start: 3811
    functionDepth: 0
    functionLinenumber: 3811
    functionLinenumberEnd: 3826
    functionName: netdev_requires_move
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int netdev_requires_move(const struct lxc_netdev *netdev)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/network.c:3833,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3836,1
    - Dst: netdev_requires_move
      Src: /src/lxc/src/lxc/network.c:3840,1
    - Dst: create_transient_name
      Src: /src/lxc/src/lxc/network.c:3843,1
    - Dst: is_wlan
      Src: /src/lxc/src/lxc/network.c:3848,1
    - Dst: lxc_netdev_move_wlan
      Src: /src/lxc/src/lxc/network.c:3851,1
    - Dst: lxc_netdev_move_by_index
      Src: /src/lxc/src/lxc/network.c:3853,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3855,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:3858,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/network.c:3859,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3863
      start: 3828
    functionDepth: 5
    functionLinenumber: 3828
    functionLinenumberEnd: 3863
    functionName: lxc_network_move_created_netdev_priv
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - netdev_requires_move
    - am_guest_unpriv
    - is_wlan
    - create_transient_name
    - lxc_netdev_move_by_index
    - maybe_empty
    - lxc_netdev_move_wlan
    - log_error_errno
    - DEBUG
    linkageType: ''
    returnType: int
    signature: int lxc_network_move_created_netdev_priv(struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - type
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3874
      start: 3865
    functionDepth: 0
    functionLinenumber: 3865
    functionLinenumberEnd: 3874
    functionName: network_requires_advanced_setup
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int network_requires_advanced_setup(int type)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3886,1
    - Dst: network_requires_advanced_setup
      Src: /src/lxc/src/lxc/network.c:3887,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:3891,1
    - Dst: lxc_net_type_to_str
      Src: /src/lxc/src/lxc/network.c:3892,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:3895,1
    - Dst: lxc_create_network_unpriv_exec
      Src: /src/lxc/src/lxc/network.c:3897,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3903
      start: 3878
    functionDepth: 5
    functionLinenumber: 3878
    functionLinenumberEnd: 3903
    functionName: lxc_create_network_unpriv
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - lxc_net_type_to_str
    - log_error_errno
    - INFO
    - network_requires_advanced_setup
    - lxc_create_network_unpriv_exec
    linkageType: ''
    returnType: int
    signature: int lxc_create_network_unpriv(struct lxc_handler *handler)
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:3910,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:3923,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3926,1
    - Dst: lxc_delete_l2proxy
      Src: /src/lxc/src/lxc/network.c:3927,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3928,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/network.c:3936,1
    - Dst: lxc_netdev_restore_altnames
      Src: /src/lxc/src/lxc/network.c:3938,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3940,1
    - Dst: lxc_netdev_rename_by_index
      Src: /src/lxc/src/lxc/network.c:3943,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3945,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:3950,1
    - Dst: lxc_netdev_set_mtu
      Src: /src/lxc/src/lxc/network.c:3956,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3958,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:3961,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3968,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3975,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3983,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3987,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3990,1
    - Dst: is_ovs_bridge
      Src: /src/lxc/src/lxc/network.c:3990,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/network.c:3991,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3993,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:3995,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:3996,1
    - Dst: lxc_ovs_delete_port
      Src: /src/lxc/src/lxc/network.c:3997,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:3999,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:4001,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:4018,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 70
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4025
      start: 3905
    functionDepth: 8
    functionLinenumber: 3905
    functionLinenumberEnd: 4025
    functionName: lxc_delete_network_priv
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_netdev_rename_by_index
    - lxc_netdev_set_mtu
    - lxc_delete_l2proxy
    - list_for_each_entry
    - is_empty_string
    - if_nametoindex
    - is_ovs_bridge
    - WARN
    - lxc_netdev_restore_altnames
    - TRACE
    - lxc_ovs_delete_port
    - INFO
    - lxc_netdev_delete_by_name
    linkageType: ''
    returnType: bool
    signature: bool lxc_delete_network_priv(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/network.c:4035,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4050
      start: 4029
    functionDepth: 1
    functionLinenumber: 4029
    functionLinenumberEnd: 4050
    functionName: lxc_requests_empty_network
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - list_empty
    linkageType: ''
    returnType: int
    signature: int lxc_requests_empty_network(struct lxc_handler *handler)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4044
      start: 4038
    functionDepth: 0
    functionLinenumber: 4038
    functionLinenumberEnd: 4044
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 33
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(netdev, netdevs, head)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/network.c:4066,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:4076,1
    - Dst: lxc_preserve_ns
      Src: /src/lxc/src/lxc/network.c:4078,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4080,1
    - Dst: setns
      Src: /src/lxc/src/lxc/network.c:4082,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4084,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:4086,1
    - Dst: if_indextoname
      Src: /src/lxc/src/lxc/network.c:4093,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:4094,1
    - Dst: lxc_netdev_move_by_index_fd
      Src: /src/lxc/src/lxc/network.c:4101,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/network.c:4103,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:4105,1
    - Dst: setns
      Src: /src/lxc/src/lxc/network.c:4108,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4110,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 28
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4113
      start: 4053
    functionDepth: 5
    functionLinenumber: 4053
    functionLinenumberEnd: 4113
    functionName: lxc_restore_phys_nics_to_netns
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - container_uses_namespace
    - setns
    - WARN
    - TRACE
    - log_error_errno
    - lxc_preserve_ns
    - if_indextoname
    - lxc_netdev_move_by_index_fd
    linkageType: ''
    returnType: int
    signature: int lxc_restore_phys_nics_to_netns(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_convert_mac
      Src: /src/lxc/src/lxc/network.c:4122,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4124,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/network.c:4126,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/network.c:4128,1
    - Dst: socket
      Src: /src/lxc/src/lxc/network.c:4130,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/network.c:4134,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/network.c:4136,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:4138,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 2
    argNames:
    - hwaddr
    - ifname
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4141
      start: 4115
    functionDepth: 1
    functionLinenumber: 4115
    functionLinenumberEnd: 4141
    functionName: setup_hw_addr
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - memcpy
    - socket
    - log_error_errno
    - ioctl
    - lxc_convert_mac
    - DEBUG
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int setup_hw_addr(char *hwaddr, const char *ifname)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:4149,1
    - Dst: lxc_ipv4_addr_add
      Src: /src/lxc/src/lxc/network.c:4150,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4153,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4157
      start: 4143
    functionDepth: 6
    functionLinenumber: 4143
    functionLinenumberEnd: 4157
    functionName: setup_ipv4_addr
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_ipv4_addr_add
    - log_error_errno
    - list_for_each_entry
    linkageType: ''
    returnType: int
    signature: int setup_ipv4_addr(struct lxc_netdev *netdev)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:4165,1
    - Dst: lxc_ipv6_addr_add
      Src: /src/lxc/src/lxc/network.c:4166,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4170,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4174
      start: 4159
    functionDepth: 6
    functionLinenumber: 4159
    functionLinenumberEnd: 4174
    functionName: setup_ipv6_addr
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - list_for_each_entry
    - lxc_ipv6_addr_add
    linkageType: ''
    returnType: int
    signature: int setup_ipv6_addr(struct lxc_netdev *netdev)
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: setup_hw_addr
      Src: /src/lxc/src/lxc/network.c:4182,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4183,1
    - Dst: setup_ipv4_addr
      Src: /src/lxc/src/lxc/network.c:4186,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4187,1
    - Dst: setup_ipv6_addr
      Src: /src/lxc/src/lxc/network.c:4190,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4191,1
    - Dst: lxc_netdev_up
      Src: /src/lxc/src/lxc/network.c:4195,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4197,1
    - Dst: lxc_netdev_up
      Src: /src/lxc/src/lxc/network.c:4200,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4202,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:4208,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/network.c:4210,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:4211,1
    - Dst: lxc_ipv4_gateway_add
      Src: /src/lxc/src/lxc/network.c:4215,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4217,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/network.c:4220,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:4221,1
    - Dst: lxc_ipv4_gateway_add
      Src: /src/lxc/src/lxc/network.c:4224,1
    - Dst: lxc_ipv4_dest_add
      Src: /src/lxc/src/lxc/network.c:4231,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4233,1
    - Dst: lxc_ipv4_gateway_add
      Src: /src/lxc/src/lxc/network.c:4235,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4237,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:4245,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/network.c:4247,1
    - Dst: IN6_IS_ADDR_LINKLOCAL
      Src: /src/lxc/src/lxc/network.c:4247,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/network.c:4248,1
    - Dst: lxc_ipv6_gateway_add
      Src: /src/lxc/src/lxc/network.c:4252,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4254,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/network.c:4257,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/network.c:4258,1
    - Dst: lxc_ipv6_gateway_add
      Src: /src/lxc/src/lxc/network.c:4261,1
    - Dst: lxc_ipv6_dest_add
      Src: /src/lxc/src/lxc/network.c:4268,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4270,1
    - Dst: lxc_ipv6_gateway_add
      Src: /src/lxc/src/lxc/network.c:4272,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4274,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:4279,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 63
    argCount: 1
    argNames:
    - netdev
    argTypes:
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4282
      start: 4176
    functionDepth: 7
    functionLinenumber: 4176
    functionLinenumberEnd: 4282
    functionName: lxc_network_setup_in_child_namespaces_common
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_ipv4_dest_add
    - list_empty
    - log_error
    - setup_hw_addr
    - IN6_IS_ADDR_LINKLOCAL
    - setup_ipv6_addr
    - lxc_ipv6_gateway_add
    - log_error_errno
    - lxc_netdev_up
    - inet_ntop
    - lxc_ipv4_gateway_add
    - ret_set_errno
    - setup_ipv4_addr
    - DEBUG
    - lxc_ipv6_dest_add
    linkageType: ''
    returnType: int
    signature: int lxc_network_setup_in_child_namespaces_common(struct lxc_netdev
      *netdev)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/network.c:4318,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:4325,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/network.c:4325,1
    - Dst: lxc_network_setup_in_child_namespaces_common
      Src: /src/lxc/src/lxc/network.c:4332,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4334,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:4336,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:4343,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/network.c:4343,1
    - Dst: lxc_network_setup_in_child_namespaces_common
      Src: /src/lxc/src/lxc/network.c:4348,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4350,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/network.c:4352,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 26
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4356
      start: 4312
    functionDepth: 8
    functionLinenumber: 4312
    functionLinenumberEnd: 4356
    functionName: lxc_setup_network_in_child_namespaces
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - is_empty_string
    - lxc_network_setup_in_child_namespaces_common
    - list_empty
    - strequal
    - log_error_errno
    - INFO
    linkageType: ''
    returnType: int
    signature: int lxc_setup_network_in_child_namespaces(const struct lxc_conf *conf)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:4325,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/network.c:4325,1
    - Dst: lxc_network_setup_in_child_namespaces_common
      Src: /src/lxc/src/lxc/network.c:4332,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4334,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4335
      start: 4322
    functionDepth: 8
    functionLinenumber: 4322
    functionLinenumberEnd: 4335
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 36
    functionsReached:
    - log_error_errno
    - strequal
    - is_empty_string
    - lxc_network_setup_in_child_namespaces_common
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(netdev, netdevs, head)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/network.c:4343,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/network.c:4343,1
    - Dst: lxc_network_setup_in_child_namespaces_common
      Src: /src/lxc/src/lxc/network.c:4348,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/network.c:4350,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4351
      start: 4340
    functionDepth: 8
    functionLinenumber: 4340
    functionLinenumberEnd: 4351
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 36
    functionsReached:
    - log_error_errno
    - strequal
    - is_empty_string
    - lxc_network_setup_in_child_namespaces_common
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(netdev, netdevs, head)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:4363,1
    - Dst: network_requires_advanced_setup
      Src: /src/lxc/src/lxc/network.c:4366,1
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/network.c:4369,1
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/network.c:4373,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:4377,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4381
      start: 4358
    functionDepth: 1
    functionLinenumber: 4358
    functionLinenumberEnd: 4381
    functionName: lxc_network_send_to_child
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - network_requires_advanced_setup
    - list_for_each_entry
    - lxc_send_nointr
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_network_send_to_child(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:4388,1
    - Dst: network_requires_advanced_setup
      Src: /src/lxc/src/lxc/network.c:4391,1
    - Dst: lxc_recv_nointr
      Src: /src/lxc/src/lxc/network.c:4394,1
    - Dst: lxc_recv_nointr
      Src: /src/lxc/src/lxc/network.c:4398,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:4402,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4406
      start: 4383
    functionDepth: 1
    functionLinenumber: 4383
    functionLinenumberEnd: 4406
    functionName: lxc_network_recv_from_parent
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - network_requires_advanced_setup
    - list_for_each_entry
    - lxc_recv_nointr
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_network_recv_from_parent(struct lxc_handler *handler)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/network.c:4421,1
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/network.c:4428,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:4432,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/network.c:4432,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/network.c:4435,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:4436,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4439
      start: 4408
    functionDepth: 1
    functionLinenumber: 4408
    functionLinenumberEnd: 4439
    functionName: lxc_network_send_name_and_ifindex_to_parent
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - list_empty
    - maybe_empty
    - lxc_send_nointr
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_network_send_name_and_ifindex_to_parent(struct lxc_handler
      *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/network.c:4421,1
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/network.c:4428,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:4432,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/network.c:4432,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4433
      start: 4417
    functionDepth: 1
    functionLinenumber: 4417
    functionLinenumberEnd: 4433
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 38
    functionsReached:
    - maybe_empty
    - lxc_send_nointr
    - TRACE
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(netdev, netdevs, head)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/network.c:4449,1
    - Dst: lxc_recv_nointr
      Src: /src/lxc/src/lxc/network.c:4455,1
    - Dst: lxc_recv_nointr
      Src: /src/lxc/src/lxc/network.c:4463,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/network.c:4467,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/network.c:4467,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4471
      start: 4441
    functionDepth: 1
    functionLinenumber: 4441
    functionLinenumberEnd: 4471
    functionName: lxc_network_recv_name_and_ifindex_from_child
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 1
    functionsReached:
    - maybe_empty
    - list_for_each_entry
    - lxc_recv_nointr
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_network_recv_name_and_ifindex_from_child(struct lxc_handler
      *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_expose_namespace_environment
      Src: /src/lxc/src/lxc/network.c:4484,1
    - Dst: lxc_delete_network_priv
      Src: /src/lxc/src/lxc/network.c:4487,1
    - Dst: lxc_delete_network_unpriv
      Src: /src/lxc/src/lxc/network.c:4489,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:4491,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/network.c:4493,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4494
      start: 4475
    functionDepth: 9
    functionLinenumber: 4475
    functionLinenumberEnd: 4494
    functionName: lxc_delete_network
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_delete_network_unpriv
    - DEBUG
    - lxc_delete_network_priv
    - lxc_expose_namespace_environment
    linkageType: ''
    returnType: void
    signature: void lxc_delete_network(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/network.c:4501,1
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/network.c:4502,1
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/network.c:4503,1
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:4505,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:4511,1
    - Dst: memset
      Src: /src/lxc/src/lxc/network.c:4515,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:4520,1
    - Dst: NLMSG_LENGTH
      Src: /src/lxc/src/lxc/network.c:4523,1
    - Dst: addattr
      Src: /src/lxc/src/lxc/network.c:4530,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:4532,1
    - Dst: addattr
      Src: /src/lxc/src/lxc/network.c:4534,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:4536,1
    - Dst: __netlink_transaction
      Src: /src/lxc/src/lxc/network.c:4538,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4539
      start: 4498
    functionDepth: 3
    functionLinenumber: 4498
    functionLinenumberEnd: 4539
    functionName: lxc_netns_set_nsid
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - NLMSG_ALIGN
    - call_cleaner
    - NLMSG_DATA
    - NLMSG_LENGTH
    - addattr
    - ret_errno
    - __netlink_transaction
    - memset
    linkageType: ''
    returnType: int
    signature: int lxc_netns_set_nsid(int fd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/network.c:4544,1
    - Dst: RTA_OK
      Src: /src/lxc/src/lxc/network.c:4546,1
    - Dst: RTA_NEXT
      Src: /src/lxc/src/lxc/network.c:4554,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - tb
    - max
    - rta
    - len
    argTypes:
    - struct rtattr*[]
    - int
    - struct rtattr*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4559
      start: 4541
    functionDepth: 0
    functionLinenumber: 4541
    functionLinenumberEnd: 4559
    functionName: parse_rtattr
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - memset
    - RTA_NEXT
    - RTA_OK
    linkageType: ''
    returnType: int
    signature: int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta,
      int len)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RTA_DATA
      Src: /src/lxc/src/lxc/network.c:4563,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - rta
    argTypes:
    - struct rtattr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4564
      start: 4561
    functionDepth: 0
    functionLinenumber: 4561
    functionLinenumberEnd: 4564
    functionName: rta_getattr_s32
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - RTA_DATA
    linkageType: ''
    returnType: __s32
    signature: __s32 rta_getattr_s32(const struct rtattr *rta)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - r
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4569
      start: 4567
    functionDepth: 0
    functionLinenumber: 4567
    functionLinenumberEnd: 4569
    functionName: NETNS_RTA
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: NETNS_RTA(r)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/network.c:4574,1
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/network.c:4577,1
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/network.c:4578,1
    - Dst: NLMSG_ALIGN
      Src: /src/lxc/src/lxc/network.c:4579,1
    - Dst: netlink_open
      Src: /src/lxc/src/lxc/network.c:4585,1
    - Dst: memset
      Src: /src/lxc/src/lxc/network.c:4589,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:4594,1
    - Dst: NLMSG_LENGTH
      Src: /src/lxc/src/lxc/network.c:4597,1
    - Dst: addattr
      Src: /src/lxc/src/lxc/network.c:4604,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:4606,1
    - Dst: __netlink_transaction
      Src: /src/lxc/src/lxc/network.c:4608,1
    - Dst: NLMSG_DATA
      Src: /src/lxc/src/lxc/network.c:4612,1
    - Dst: NLMSG_SPACE
      Src: /src/lxc/src/lxc/network.c:4613,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/network.c:4615,1
    - Dst: parse_rtattr
      Src: /src/lxc/src/lxc/network.c:4619,1
    - Dst: NETNS_RTA
      Src: /src/lxc/src/lxc/network.c:4619,1
    - Dst: rta_getattr_s32
      Src: /src/lxc/src/lxc/network.c:4621,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4625
      start: 4571
    functionDepth: 3
    functionLinenumber: 4571
    functionLinenumberEnd: 4625
    functionName: lxc_netns_get_nsid
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - netlink_open
    - NLMSG_SPACE
    - rta_getattr_s32
    - NLMSG_ALIGN
    - call_cleaner
    - NLMSG_DATA
    - NETNS_RTA
    - parse_rtattr
    - NLMSG_LENGTH
    - addattr
    - ret_errno
    - __netlink_transaction
    - memset
    linkageType: ''
    returnType: int
    signature: int lxc_netns_get_nsid(int fd)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_create_network_priv
      Src: /src/lxc/src/lxc/network.c:4634,1
    - Dst: lxc_network_move_created_netdev_priv
      Src: /src/lxc/src/lxc/network.c:4638,1
    - Dst: lxc_create_network_unpriv
      Src: /src/lxc/src/lxc/network.c:4641,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4642
      start: 4629
    functionDepth: 8
    functionLinenumber: 4629
    functionLinenumberEnd: 4642
    functionName: lxc_create_network
    functionSourceFile: /src/lxc/src/lxc/network.c
    functionUses: 0
    functionsReached:
    - lxc_network_move_created_netdev_priv
    - lxc_create_network_unpriv
    - lxc_create_network_priv
    linkageType: ''
    returnType: int
    signature: int lxc_create_network(struct lxc_handler *handler)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/initutils.c:26,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/initutils.c:37,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/initutils.c:41,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - p
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 43
      start: 24
    functionDepth: 1
    functionLinenumber: 24
    functionLinenumberEnd: 43
    functionName: copy_global_config_value
    functionSourceFile: /src/lxc/src/lxc/initutils.c
    functionUses: 0
    functionsReached:
    - strlen
    - strlcpy
    - malloc
    linkageType: ''
    returnType: char
    signature: char *copy_global_config_value(char *p)
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: geteuid
      Src: /src/lxc/src/lxc/initutils.c:74,1
    - Dst: getenv
      Src: /src/lxc/src/lxc/initutils.c:75,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/initutils.c:79,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/initutils.c:79,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/initutils.c:80,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/initutils.c:80,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/initutils.c:81,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/initutils.c:81,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/initutils.c:83,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/initutils.c:84,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/initutils.c:85,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/initutils.c:88,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/initutils.c:89,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/initutils.c:90,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/initutils.c:91,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/initutils.c:92,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/initutils.c:100,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:104,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:105,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:106,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:107,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:113,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:114,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:115,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:116,1
    - Dst: fopen_cloexec
      Src: /src/lxc/src/lxc/initutils.c:120,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:121,1
    - Dst: getline
      Src: /src/lxc/src/lxc/initutils.c:127,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/initutils.c:131,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/initutils.c:145,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/initutils.c:152,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/initutils.c:167,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:168,1
    - Dst: copy_global_config_value
      Src: /src/lxc/src/lxc/initutils.c:169,1
    - Dst: remove_trailing_slashes
      Src: /src/lxc/src/lxc/initutils.c:170,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/initutils.c:171,1
    - Dst: copy_global_config_value
      Src: /src/lxc/src/lxc/initutils.c:175,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/initutils.c:181,1
    - Dst: remove_trailing_slashes
      Src: /src/lxc/src/lxc/initutils.c:182,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/initutils.c:183,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/initutils.c:184,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/initutils.c:185,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/initutils.c:186,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/initutils.c:187,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/initutils.c:200,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:202,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:203,1
    - Dst: free
      Src: /src/lxc/src/lxc/initutils.c:204,1
    CyclomaticComplexity: 41
    EdgeCount: 41
    ICount: 98
    argCount: 1
    argNames:
    - option_name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 207
      start: 45
    functionDepth: 2
    functionLinenumber: 45
    functionLinenumberEnd: 207
    functionName: lxc_global_config_value
    functionSourceFile: /src/lxc/src/lxc/initutils.c
    functionUses: 8
    functionsReached:
    - malloc
    - copy_global_config_value
    - sprintf
    - getline
    - fopen_cloexec
    - geteuid
    - getenv
    - strequal
    - remove_trailing_slashes
    - move_ptr
    - strstr
    - strdup
    - strlen
    - fclose
    - strchr
    - free
    linkageType: ''
    returnType: char
    signature: char *lxc_global_config_value(const char *option_name)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: fopen_cloexec
      Src: /src/lxc/src/lxc/initutils.c:232,1
    - Dst: fileno
      Src: /src/lxc/src/lxc/initutils.c:236,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/initutils.c:240,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/initutils.c:251,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/initutils.c:258,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/initutils.c:263,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/initutils.c:269,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/initutils.c:274,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/initutils.c:281,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/initutils.c:283,1
    - Dst: syscall
      Src: /src/lxc/src/lxc/initutils.c:292,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/initutils.c:311,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/initutils.c:311,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/initutils.c:311,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/initutils.c:312,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/initutils.c:312,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/initutils.c:314,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 43
    argCount: 1
    argNames:
    - title
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 317
      start: 213
    functionDepth: 2
    functionLinenumber: 213
    functionLinenumberEnd: 317
    functionName: setproctitle
    functionSourceFile: /src/lxc/src/lxc/initutils.c
    functionUses: 1
    functionsReached:
    - realloc
    - strrchr
    - prctl_arg
    - prctl
    - fopen_cloexec
    - syscall
    - fileno
    - strlcpy
    - strlen
    - sscanf
    - lxc_read_nointr
    - strchr
    linkageType: ''
    returnType: int
    signature: int setproctitle(char *title)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/initutils.c:326,1
    - Dst: getline
      Src: /src/lxc/src/lxc/initutils.c:330,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/initutils.c:335,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/initutils.c:339,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/initutils.c:348,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/initutils.c:352,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/initutils.c:352,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/initutils.c:353,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/initutils.c:353,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/initutils.c:355,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:358,1
    - Dst: open
      Src: /src/lxc/src/lxc/initutils.c:362,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:364,1
    - Dst: write
      Src: /src/lxc/src/lxc/initutils.c:368,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:370,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 374
      start: 319
    functionDepth: 1
    functionLinenumber: 319
    functionLinenumberEnd: 374
    functionName: prevent_forking
    functionSourceFile: /src/lxc/src/lxc/initutils.c
    functionUses: 0
    functionsReached:
    - open
    - getline
    - write
    - fprintf
    - snprintf
    - lxc_char_left_gc
    - strcmp
    - fopen
    - strlen
    - lxc_char_right_gc
    - strchr
    linkageType: ''
    returnType: void
    signature: void prevent_forking(void)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/initutils.c:382,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:384,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/initutils.c:388,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:390,1
    - Dst: feof
      Src: /src/lxc/src/lxc/initutils.c:394,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/initutils.c:397,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:398,1
    - Dst: kill_children
      Src: /src/lxc/src/lxc/initutils.c:402,1
    - Dst: kill
      Src: /src/lxc/src/lxc/initutils.c:403,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - pid
    argTypes:
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 405
      start: 376
    functionDepth: 1
    functionLinenumber: 376
    functionLinenumberEnd: 405
    functionName: kill_children
    functionSourceFile: /src/lxc/src/lxc/initutils.c
    functionUses: 1
    functionsReached:
    - kill
    - fprintf
    - fscanf
    - feof
    - snprintf
    - fopen
    - kill_children
    linkageType: ''
    returnType: void
    signature: void kill_children(pid_t pid)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: readlink
      Src: /src/lxc/src/lxc/initutils.c:413,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/initutils.c:418,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/initutils.c:422,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 425
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 425
    functionName: remove_self
    functionSourceFile: /src/lxc/src/lxc/initutils.c
    functionUses: 0
    functionsReached:
    - umount2
    - unlink
    - readlink
    linkageType: ''
    returnType: void
    signature: void remove_self(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - sig
    - info
    - context
    argTypes:
    - int
    - siginfo_t*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 438
      start: 429
    functionDepth: 0
    functionLinenumber: 429
    functionLinenumberEnd: 438
    functionName: interrupt_handler
    functionSourceFile: /src/lxc/src/lxc/initutils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void interrupt_handler(int sig, siginfo_t *info, void *context)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/lxc/src/lxc/initutils.c:447,1
    - Dst: dirfd
      Src: /src/lxc/src/lxc/initutils.c:451,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/initutils.c:453,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/initutils.c:456,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/initutils.c:459,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/initutils.c:462,1
    - Dst: close
      Src: /src/lxc/src/lxc/initutils.c:469,1
    - Dst: closedir
      Src: /src/lxc/src/lxc/initutils.c:470,1
    - Dst: closedir
      Src: /src/lxc/src/lxc/initutils.c:474,1
    - Dst: closedir
      Src: /src/lxc/src/lxc/initutils.c:478,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 480
      start: 440
    functionDepth: 1
    functionLinenumber: 440
    functionLinenumberEnd: 480
    functionName: close_inherited
    functionSourceFile: /src/lxc/src/lxc/initutils.c
    functionUses: 0
    functionsReached:
    - readdir
    - closedir
    - dirfd
    - opendir
    - lxc_safe_int
    - strcmp
    - close
    linkageType: ''
    returnType: int
    signature: int close_inherited(void)
  - BBCount: 48
    BranchProfiles: []
    Callsites:
    - Dst: sigfillset
      Src: /src/lxc/src/lxc/initutils.c:493,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:495,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/initutils.c:497,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:499,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/initutils.c:501,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:503,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/initutils.c:505,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:507,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/initutils.c:509,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:511,1
    - Dst: sigfillset
      Src: /src/lxc/src/lxc/initutils.c:513,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:515,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/initutils.c:517,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:519,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/initutils.c:521,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:523,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/initutils.c:525,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:527,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/initutils.c:529,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:531,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/initutils.c:533,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:535,1
    - Dst: sigaction
      Src: /src/lxc/src/lxc/initutils.c:550,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:556,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:557,1
    - Dst: remove_self
      Src: /src/lxc/src/lxc/initutils.c:561,1
    - Dst: fork
      Src: /src/lxc/src/lxc/initutils.c:563,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:565,1
    - Dst: signal
      Src: /src/lxc/src/lxc/initutils.c:576,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:578,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/initutils.c:581,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:584,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:585,1
    - Dst: setsid
      Src: /src/lxc/src/lxc/initutils.c:588,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/initutils.c:590,1
    - Dst: execvp
      Src: /src/lxc/src/lxc/initutils.c:592,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:594,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:595,1
    - Dst: open
      Src: /src/lxc/src/lxc/initutils.c:597,1
    - Dst: dup3
      Src: /src/lxc/src/lxc/initutils.c:599,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:601,1
    - Dst: setproctitle
      Src: /src/lxc/src/lxc/initutils.c:604,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/initutils.c:607,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:609,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/initutils.c:611,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:614,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:615,1
    - Dst: close_range
      Src: /src/lxc/src/lxc/initutils.c:618,1
    - Dst: close_inherited
      Src: /src/lxc/src/lxc/initutils.c:628,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:631,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:632,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/initutils.c:645,1
    - Dst: prevent_forking
      Src: /src/lxc/src/lxc/initutils.c:648,1
    - Dst: kill_children
      Src: /src/lxc/src/lxc/initutils.c:650,1
    - Dst: kill
      Src: /src/lxc/src/lxc/initutils.c:652,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:654,1
    - Dst: alarm
      Src: /src/lxc/src/lxc/initutils.c:656,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/initutils.c:660,1
    - Dst: prevent_forking
      Src: /src/lxc/src/lxc/initutils.c:662,1
    - Dst: kill_children
      Src: /src/lxc/src/lxc/initutils.c:664,1
    - Dst: kill
      Src: /src/lxc/src/lxc/initutils.c:666,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:668,1
    - Dst: kill
      Src: /src/lxc/src/lxc/initutils.c:673,1
    - Dst: wait
      Src: /src/lxc/src/lxc/initutils.c:679,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/initutils.c:688,1
    - Dst: alarm
      Src: /src/lxc/src/lxc/initutils.c:695,1
    - Dst: lxc_error_set_and_log
      Src: /src/lxc/src/lxc/initutils.c:701,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:707,1
    - Dst: exit
      Src: /src/lxc/src/lxc/initutils.c:708,1
    CyclomaticComplexity: 73
    EdgeCount: 73
    ICount: 159
    argCount: 3
    argNames:
    - argc
    - argv
    - quiet
    argTypes:
    - int
    - char**
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 709
      start: 482
    functionDepth: 3
    functionLinenumber: 482
    functionLinenumberEnd: 709
    functionName: lxc_container_init
    functionSourceFile: /src/lxc/src/lxc/initutils.c
    functionUses: 1
    functionsReached:
    - pthread_sigmask
    - wait
    - kill
    - prevent_forking
    - setsid
    - execvp
    - close_inherited
    - kill_children
    - sigdelset
    - open
    - sigfillset
    - fprintf
    - remove_self
    - close_range
    - ioctl
    - exit
    - signal
    - setproctitle
    - alarm
    - lxc_error_set_and_log
    - sigaction
    - dup3
    - lxc_raw_getpid
    - fork
    linkageType: ''
    returnType: __noreturn
    signature: __noreturn lxc_container_init(int argc, char *const *argv, bool quiet)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/lxcseccomp.h:97,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - seccomp
    argTypes:
    - struct lxc_seccomp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 99
      start: 93
    functionDepth: 1
    functionLinenumber: 93
    functionLinenumberEnd: 99
    functionName: lxc_seccomp_close_notifier_fd
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 1
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_seccomp_close_notifier_fd(struct lxc_seccomp *seccomp)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - seccomp
    argTypes:
    - struct lxc_seccomp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 109
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 109
    functionName: lxc_seccomp_get_notify_fd
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_seccomp_get_notify_fd(struct lxc_seccomp *seccomp)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 120
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 120
    functionName: lxc_seccomp_load
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_seccomp_load(struct lxc_conf *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 125
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 125
    functionName: lxc_read_seccomp_config
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_read_seccomp_config(struct lxc_conf *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/lxcseccomp.h:129,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - seccomp
    argTypes:
    - struct lxc_seccomp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 130
      start: 127
    functionDepth: 1
    functionLinenumber: 127
    functionLinenumberEnd: 130
    functionName: lxc_seccomp_free
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 1
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_seccomp_free(struct lxc_seccomp *seccomp)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/lxcseccomp.h:135,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 136
      start: 132
    functionDepth: 1
    functionLinenumber: 132
    functionLinenumberEnd: 136
    functionName: seccomp_notify_handler
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 0
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int seccomp_notify_handler(int fd, uint32_t events, void *data,\n\t\t\t\t
      \ struct lxc_async_descr *descr)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/lxcseccomp.h:140,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 141
      start: 138
    functionDepth: 1
    functionLinenumber: 138
    functionLinenumberEnd: 141
    functionName: seccomp_notify_cleanup_handler
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 0
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int seccomp_notify_cleanup_handler(void *data)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 145
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 145
    functionName: seccomp_conf_init
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void seccomp_conf_init(struct lxc_conf *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - seccomp
    - descr
    - handler
    argTypes:
    - struct lxc_seccomp*
    - struct lxc_async_descr*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 152
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 152
    functionName: lxc_seccomp_setup_proxy
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int lxc_seccomp_setup_proxy(struct lxc_seccomp *seccomp,\n\t\t\t\t\t
      \ struct lxc_async_descr *descr,\n\t\t\t\t\t  struct lxc_handler *handler)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - seccomp
    - socket_fd
    argTypes:
    - struct lxc_seccomp*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 158
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 158
    functionName: lxc_seccomp_send_notifier_fd
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 2
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int lxc_seccomp_send_notifier_fd(struct lxc_seccomp *seccomp,\n\t\t\t\t\t
      \      int socket_fd)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - seccomp
    - socket_fd
    argTypes:
    - struct lxc_seccomp*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 164
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 164
    functionName: lxc_seccomp_recv_notifier_fd
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 2
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int lxc_seccomp_recv_notifier_fd(struct lxc_seccomp *seccomp,\n\t\t\t\t\tint
      socket_fd)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - name
    - lxcpath
    - seccomp
    argTypes:
    - char*
    - char*
    - struct lxc_seccomp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 170
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 170
    functionName: lxc_seccomp_add_notifier
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int lxc_seccomp_add_notifier(const char *name, const char *lxcpath,\n\t\t\t\t\t
      \  struct lxc_seccomp *seccomp)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - seccomp
    argTypes:
    - struct lxc_seccomp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 175
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 175
    functionName: lxc_seccomp_get_notify_fd
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_seccomp_get_notify_fd(struct lxc_seccomp *seccomp)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 1
    argNames:
    - seccomp
    argTypes:
    - struct lxc_seccomp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 179
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 179
    functionName: lxc_seccomp_close_notifier_fd
    functionSourceFile: /src/lxc/src/lxc/lxcseccomp.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_seccomp_close_notifier_fd(struct lxc_seccomp *seccomp)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - name
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 37
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 37
    functionName: LIST_HEAD_INIT
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: LIST_HEAD_INIT(name)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - name
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 40
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 40
    functionName: LIST_HEAD
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 21
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: LIST_HEAD(name)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - list
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 52
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 52
    functionName: INIT_LIST_HEAD
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 17
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void INIT_LIST_HEAD(struct list_head *list)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 3
    argNames:
    - new
    - prev
    - next
    argTypes:
    - struct list_head*
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 68
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 68
    functionName: __list_add
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: "void __list_add(struct list_head *new,\n\t\t\t      struct list_head
      *prev,\n\t\t\t      struct list_head *next)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - new
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 81
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 81
    functionName: list_add
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 3
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void list_add(struct list_head *new, struct list_head *head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - new
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 95
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 95
    functionName: list_add_tail
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 6
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void list_add_tail(struct list_head *new, struct list_head *head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - prev
    - next
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 108
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 108
    functionName: __list_del
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void __list_del(struct list_head * prev, struct list_head * next)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __list_del
      Src: /src/lxc/src/lxc/hlist.h:112,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - entry
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 113
      start: 110
    functionDepth: 1
    functionLinenumber: 110
    functionLinenumberEnd: 113
    functionName: __list_del_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - __list_del
    linkageType: ''
    returnType: void
    signature: void __list_del_entry(struct list_head *entry)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __list_del_entry
      Src: /src/lxc/src/lxc/hlist.h:123,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - entry
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 126
      start: 121
    functionDepth: 2
    functionLinenumber: 121
    functionLinenumberEnd: 126
    functionName: list_del
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 21
    functionsReached:
    - __list_del_entry
    linkageType: ''
    returnType: void
    signature: void list_del(struct list_head *entry)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: next::next
      Src: /src/lxc/src/lxc/hlist.h:139,1
    - Dst: prev::prev
      Src: /src/lxc/src/lxc/hlist.h:141,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 2
    argNames:
    - old
    - new
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 142
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 142
    functionName: list_replace
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - next::next
    - prev::prev
    linkageType: ''
    returnType: void
    signature: "void list_replace(struct list_head *old,\n\t\t\t\tstruct list_head
      *new)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/hlist.h:155,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - old
    - new
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 156
      start: 151
    functionDepth: 1
    functionLinenumber: 151
    functionLinenumberEnd: 156
    functionName: list_replace_init
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    linkageType: ''
    returnType: void
    signature: "void list_replace_init(struct list_head *old,\n\t\t\t\t     struct
      list_head *new)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_del
      Src: /src/lxc/src/lxc/hlist.h:168,1
    - Dst: list_replace
      Src: /src/lxc/src/lxc/hlist.h:169,1
    - Dst: list_add
      Src: /src/lxc/src/lxc/hlist.h:172,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - entry1
    - entry2
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 173
      start: 163
    functionDepth: 3
    functionLinenumber: 163
    functionLinenumberEnd: 173
    functionName: list_swap
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - list_del
    - list_add
    - list_replace
    linkageType: ''
    returnType: void
    signature: "void list_swap(struct list_head *entry1,\n\t\t\t     struct list_head
      *entry2)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __list_del_entry
      Src: /src/lxc/src/lxc/hlist.h:181,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/hlist.h:182,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - entry
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 183
      start: 179
    functionDepth: 2
    functionLinenumber: 179
    functionLinenumberEnd: 183
    functionName: list_del_init
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - __list_del_entry
    linkageType: ''
    returnType: void
    signature: void list_del_init(struct list_head *entry)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __list_del_entry
      Src: /src/lxc/src/lxc/hlist.h:192,1
    - Dst: list_add
      Src: /src/lxc/src/lxc/hlist.h:193,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - list
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 194
      start: 190
    functionDepth: 2
    functionLinenumber: 190
    functionLinenumberEnd: 194
    functionName: list_move
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - __list_del_entry
    - list_add
    linkageType: ''
    returnType: void
    signature: void list_move(struct list_head *list, struct list_head *head)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __list_del_entry
      Src: /src/lxc/src/lxc/hlist.h:204,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/hlist.h:205,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - list
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 206
      start: 201
    functionDepth: 2
    functionLinenumber: 201
    functionLinenumberEnd: 206
    functionName: list_move_tail
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - __list_del_entry
    - list_add_tail
    linkageType: ''
    returnType: void
    signature: "void list_move_tail(struct list_head *list,\n\t\t\t\t  struct list_head
      *head)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 3
    argNames:
    - head
    - first
    - last
    argTypes:
    - struct list_head*
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 229
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 229
    functionName: list_bulk_move_tail
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: "void list_bulk_move_tail(struct list_head *head,\n\t\t\t\t       struct
      list_head *first,\n\t\t\t\t       struct list_head *last)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - list
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 240
      start: 236
    functionDepth: 0
    functionLinenumber: 236
    functionLinenumberEnd: 240
    functionName: list_is_first
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int list_is_first(const struct list_head *list,\n\t\t\t\t\tconst struct
      list_head *head)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - list
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 251
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 251
    functionName: list_is_last
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int list_is_last(const struct list_head *list,\n\t\t\t\tconst struct
      list_head *head)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - head
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 260
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 260
    functionName: list_empty
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 23
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int list_empty(const struct list_head *head)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/hlist.h:270,1
    - Dst: list_move_tail
      Src: /src/lxc/src/lxc/hlist.h:272,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - head
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 274
      start: 266
    functionDepth: 3
    functionLinenumber: 266
    functionLinenumberEnd: 274
    functionName: list_rotate_left
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - list_move_tail
    - list_empty
    linkageType: ''
    returnType: void
    signature: void list_rotate_left(struct list_head *head)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_move_tail
      Src: /src/lxc/src/lxc/hlist.h:291,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - list
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 292
      start: 283
    functionDepth: 3
    functionLinenumber: 283
    functionLinenumberEnd: 292
    functionName: list_rotate_to_front
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - list_move_tail
    linkageType: ''
    returnType: void
    signature: "void list_rotate_to_front(struct list_head *list,\n\t\t\t\t\tstruct
      list_head *head)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/hlist.h:300,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - head
    argTypes:
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 301
      start: 298
    functionDepth: 1
    functionLinenumber: 298
    functionLinenumberEnd: 301
    functionName: list_is_singular
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - list_empty
    linkageType: ''
    returnType: int
    signature: int list_is_singular(const struct list_head *head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 3
    argNames:
    - list
    - head
    - entry
    argTypes:
    - struct list_head*
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 313
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 313
    functionName: __list_cut_position
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: "void __list_cut_position(struct list_head *list,\n\t\tstruct list_head
      *head, struct list_head *entry)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/hlist.h:332,1
    - Dst: list_is_singular
      Src: /src/lxc/src/lxc/hlist.h:334,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/hlist.h:338,1
    - Dst: __list_cut_position
      Src: /src/lxc/src/lxc/hlist.h:340,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 3
    argNames:
    - list
    - head
    - entry
    argTypes:
    - struct list_head*
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 341
      start: 329
    functionDepth: 2
    functionLinenumber: 329
    functionLinenumberEnd: 341
    functionName: list_cut_position
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 1
    functionsReached:
    - INIT_LIST_HEAD
    - __list_cut_position
    - list_is_singular
    - list_empty
    linkageType: ''
    returnType: void
    signature: "void list_cut_position(struct list_head *list,\n\t\tstruct list_head
      *head, struct list_head *entry)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/hlist.h:362,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 3
    argNames:
    - list
    - head
    - entry
    argTypes:
    - struct list_head*
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 371
      start: 357
    functionDepth: 1
    functionLinenumber: 357
    functionLinenumberEnd: 371
    functionName: list_cut_before
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    linkageType: ''
    returnType: void
    signature: "void list_cut_before(struct list_head *list,\n\t\t\t\t   struct list_head
      *head,\n\t\t\t\t   struct list_head *entry)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 3
    argNames:
    - list
    - prev
    - next
    argTypes:
    - struct list_head*
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 385
      start: 373
    functionDepth: 0
    functionLinenumber: 373
    functionLinenumberEnd: 385
    functionName: __list_splice
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: "void __list_splice(const struct list_head *list,\n\t\t\t\t struct
      list_head *prev,\n\t\t\t\t struct list_head *next)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/hlist.h:395,1
    - Dst: __list_splice
      Src: /src/lxc/src/lxc/hlist.h:396,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - list
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 397
      start: 392
    functionDepth: 1
    functionLinenumber: 392
    functionLinenumberEnd: 397
    functionName: list_splice
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 1
    functionsReached:
    - __list_splice
    - list_empty
    linkageType: ''
    returnType: void
    signature: "void list_splice(const struct list_head *list,\n\t\t\t\tstruct list_head
      *head)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/hlist.h:407,1
    - Dst: __list_splice
      Src: /src/lxc/src/lxc/hlist.h:408,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - list
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 409
      start: 404
    functionDepth: 1
    functionLinenumber: 404
    functionLinenumberEnd: 409
    functionName: list_splice_tail
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - __list_splice
    - list_empty
    linkageType: ''
    returnType: void
    signature: "void list_splice_tail(struct list_head *list,\n\t\t\t\tstruct list_head
      *head)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/hlist.h:421,1
    - Dst: __list_splice
      Src: /src/lxc/src/lxc/hlist.h:422,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/hlist.h:423,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - list
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 425
      start: 418
    functionDepth: 1
    functionLinenumber: 418
    functionLinenumberEnd: 425
    functionName: list_splice_init
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - __list_splice
    - list_empty
    linkageType: ''
    returnType: void
    signature: "void list_splice_init(struct list_head *list,\n\t\t\t\t    struct
      list_head *head)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/hlist.h:438,1
    - Dst: __list_splice
      Src: /src/lxc/src/lxc/hlist.h:439,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/hlist.h:440,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - list
    - head
    argTypes:
    - struct list_head*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 442
      start: 435
    functionDepth: 1
    functionLinenumber: 435
    functionLinenumberEnd: 442
    functionName: list_splice_tail_init
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - INIT_LIST_HEAD
    - __list_splice
    - list_empty
    linkageType: ''
    returnType: void
    signature: "void list_splice_tail_init(struct list_head *list,\n\t\t\t\t\t struct
      list_head *head)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - ptr
    - ','
    - type
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 452
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 452
    functionName: list_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_entry(ptr, type, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - ptr
    - ','
    - type
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 463
      start: 461
    functionDepth: 0
    functionLinenumber: 461
    functionLinenumberEnd: 463
    functionName: list_first_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_first_entry(ptr, type, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - ptr
    - ','
    - type
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 474
      start: 472
    functionDepth: 0
    functionLinenumber: 472
    functionLinenumberEnd: 474
    functionName: list_last_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_last_entry(ptr, type, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - ptr
    - ','
    - type
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 488
      start: 483
    functionDepth: 0
    functionLinenumber: 483
    functionLinenumberEnd: 488
    functionName: list_first_entry_or_null
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_first_entry_or_null(ptr, type, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - pos
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 496
      start: 494
    functionDepth: 0
    functionLinenumber: 494
    functionLinenumberEnd: 496
    functionName: list_next_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_next_entry(pos, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - pos
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 504
      start: 502
    functionDepth: 0
    functionLinenumber: 502
    functionLinenumberEnd: 504
    functionName: list_prev_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_prev_entry(pos, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - pos
    - ','
    - head
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 512
      start: 510
    functionDepth: 0
    functionLinenumber: 510
    functionLinenumberEnd: 512
    functionName: list_for_each
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 3
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each(pos, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - pos
    - ','
    - head
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 522
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 522
    functionName: list_for_each_continue
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_continue(pos, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - pos
    - ','
    - head
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 530
      start: 528
    functionDepth: 0
    functionLinenumber: 528
    functionLinenumberEnd: 530
    functionName: list_for_each_prev
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_prev(pos, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - n
    - ','
    - head
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 540
      start: 537
    functionDepth: 0
    functionLinenumber: 537
    functionLinenumberEnd: 540
    functionName: list_for_each_safe
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 3
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_safe(pos, n, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - n
    - ','
    - head
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 551
      start: 547
    functionDepth: 0
    functionLinenumber: 547
    functionLinenumberEnd: 551
    functionName: list_for_each_prev_safe
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_prev_safe(pos, n, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 560
      start: 558
    functionDepth: 0
    functionLinenumber: 558
    functionLinenumberEnd: 560
    functionName: list_entry_is_head
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_entry_is_head(pos, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 571
      start: 567
    functionDepth: 0
    functionLinenumber: 567
    functionLinenumberEnd: 571
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 39
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry(pos, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 582
      start: 578
    functionDepth: 0
    functionLinenumber: 578
    functionLinenumberEnd: 582
    functionName: list_for_each_entry_reverse
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry_reverse(pos, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 593
      start: 591
    functionDepth: 0
    functionLinenumber: 591
    functionLinenumberEnd: 593
    functionName: list_prepare_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_prepare_entry(pos, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 607
      start: 603
    functionDepth: 0
    functionLinenumber: 603
    functionLinenumberEnd: 607
    functionName: list_for_each_entry_continue
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry_continue(pos, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 621
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 621
    functionName: list_for_each_entry_continue_reverse
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry_continue_reverse(pos, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 633
      start: 630
    functionDepth: 0
    functionLinenumber: 630
    functionLinenumberEnd: 633
    functionName: list_for_each_entry_from
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry_from(pos, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 646
      start: 643
    functionDepth: 0
    functionLinenumber: 643
    functionLinenumberEnd: 646
    functionName: list_for_each_entry_from_reverse
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry_from_reverse(pos, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - pos
    - ','
    - n
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 659
      start: 654
    functionDepth: 0
    functionLinenumber: 654
    functionLinenumberEnd: 659
    functionName: list_for_each_entry_safe
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 12
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry_safe(pos, n, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - pos
    - ','
    - n
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 675
      start: 670
    functionDepth: 0
    functionLinenumber: 670
    functionLinenumberEnd: 675
    functionName: list_for_each_entry_safe_continue
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry_safe_continue(pos, n, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - pos
    - ','
    - n
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 690
      start: 686
    functionDepth: 0
    functionLinenumber: 686
    functionLinenumberEnd: 690
    functionName: list_for_each_entry_safe_from
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry_safe_from(pos, n, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - pos
    - ','
    - n
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 706
      start: 701
    functionDepth: 0
    functionLinenumber: 701
    functionLinenumberEnd: 706
    functionName: list_for_each_entry_safe_reverse
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_for_each_entry_safe_reverse(pos, n, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - n
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 721
      start: 719
    functionDepth: 0
    functionLinenumber: 719
    functionLinenumberEnd: 721
    functionName: list_safe_reset_next
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_safe_reset_next(pos, n, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - name
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 731
      start: 730
    functionDepth: 0
    functionLinenumber: 730
    functionLinenumberEnd: 731
    functionName: HLIST_HEAD
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: HLIST_HEAD(name)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - ptr
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 732
      start: 731
    functionDepth: 0
    functionLinenumber: 731
    functionLinenumberEnd: 732
    functionName: INIT_HLIST_HEAD
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: INIT_HLIST_HEAD(ptr)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - h
    argTypes:
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 736
      start: 732
    functionDepth: 0
    functionLinenumber: 732
    functionLinenumberEnd: 736
    functionName: INIT_HLIST_NODE
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void INIT_HLIST_NODE(struct hlist_node *h)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - h
    argTypes:
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 749
      start: 746
    functionDepth: 0
    functionLinenumber: 746
    functionLinenumberEnd: 749
    functionName: hlist_unhashed
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int hlist_unhashed(const struct hlist_node *h)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - h
    argTypes:
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 758
      start: 755
    functionDepth: 0
    functionLinenumber: 755
    functionLinenumberEnd: 758
    functionName: hlist_unhashed_lockless
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int hlist_unhashed_lockless(const struct hlist_node *h)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - h
    argTypes:
    - struct hlist_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 767
      start: 764
    functionDepth: 0
    functionLinenumber: 764
    functionLinenumberEnd: 767
    functionName: hlist_empty
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int hlist_empty(const struct hlist_head *h)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - n
    argTypes:
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 777
      start: 769
    functionDepth: 0
    functionLinenumber: 769
    functionLinenumberEnd: 777
    functionName: __hlist_del
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void __hlist_del(struct hlist_node *n)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __hlist_del
      Src: /src/lxc/src/lxc/hlist.h:788,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - n
    argTypes:
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 791
      start: 786
    functionDepth: 1
    functionLinenumber: 786
    functionLinenumberEnd: 791
    functionName: hlist_del
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 1
    functionsReached:
    - __hlist_del
    linkageType: ''
    returnType: void
    signature: void hlist_del(struct hlist_node *n)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: hlist_unhashed
      Src: /src/lxc/src/lxc/hlist.h:801,1
    - Dst: __hlist_del
      Src: /src/lxc/src/lxc/hlist.h:802,1
    - Dst: INIT_HLIST_NODE
      Src: /src/lxc/src/lxc/hlist.h:803,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - n
    argTypes:
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 805
      start: 799
    functionDepth: 1
    functionLinenumber: 799
    functionLinenumberEnd: 805
    functionName: hlist_del_init
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - __hlist_del
    - INIT_HLIST_NODE
    - hlist_unhashed
    linkageType: ''
    returnType: void
    signature: void hlist_del_init(struct hlist_node *n)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - n
    - h
    argTypes:
    - struct hlist_node*
    - struct hlist_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 823
      start: 815
    functionDepth: 0
    functionLinenumber: 815
    functionLinenumberEnd: 823
    functionName: hlist_add_head
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void hlist_add_head(struct hlist_node *n, struct hlist_head *h)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 2
    argNames:
    - n
    - next
    argTypes:
    - struct hlist_node*
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 837
      start: 830
    functionDepth: 0
    functionLinenumber: 830
    functionLinenumberEnd: 837
    functionName: hlist_add_before
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: "void hlist_add_before(struct hlist_node *n,\n\t\t\t\t    struct hlist_node
      *next)"
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - n
    - prev
    argTypes:
    - struct hlist_node*
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 853
      start: 844
    functionDepth: 0
    functionLinenumber: 844
    functionLinenumberEnd: 853
    functionName: hlist_add_behind
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: "void hlist_add_behind(struct hlist_node *n,\n\t\t\t\t    struct hlist_node
      *prev)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - n
    argTypes:
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 866
      start: 863
    functionDepth: 0
    functionLinenumber: 863
    functionLinenumberEnd: 866
    functionName: hlist_add_fake
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void hlist_add_fake(struct hlist_node *n)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - h
    argTypes:
    - struct hlist_node*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 875
      start: 872
    functionDepth: 0
    functionLinenumber: 872
    functionLinenumberEnd: 875
    functionName: hlist_fake
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool hlist_fake(struct hlist_node *h)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - n
    - h
    argTypes:
    - struct hlist_node*
    - struct hlist_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 889
      start: 885
    functionDepth: 0
    functionLinenumber: 885
    functionLinenumberEnd: 889
    functionName: hlist_is_singular_node
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool hlist_is_singular_node(struct hlist_node *n, struct hlist_head
      *h)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: first::first
      Src: /src/lxc/src/lxc/hlist.h:903,1
    - Dst: first::first
      Src: /src/lxc/src/lxc/hlist.h:904,1
    - Dst: first::first
      Src: /src/lxc/src/lxc/hlist.h:904,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - old
    - new
    argTypes:
    - struct hlist_head*
    - struct hlist_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 906
      start: 899
    functionDepth: 0
    functionLinenumber: 899
    functionLinenumberEnd: 906
    functionName: hlist_move_list
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached:
    - first::first
    linkageType: ''
    returnType: void
    signature: "void hlist_move_list(struct hlist_head *old,\n\t\t\t\t   struct hlist_head
      *new)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - ptr
    - ','
    - type
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 909
      start: 908
    functionDepth: 0
    functionLinenumber: 908
    functionLinenumberEnd: 909
    functionName: hlist_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hlist_entry(ptr, type, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - pos
    - ','
    - head
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 912
      start: 910
    functionDepth: 0
    functionLinenumber: 910
    functionLinenumberEnd: 912
    functionName: hlist_for_each
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hlist_for_each(pos, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - n
    - ','
    - head
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 916
      start: 913
    functionDepth: 0
    functionLinenumber: 913
    functionLinenumberEnd: 916
    functionName: hlist_for_each_safe
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hlist_for_each_safe(pos, n, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - ptr
    - ','
    - type
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 921
      start: 917
    functionDepth: 0
    functionLinenumber: 917
    functionLinenumberEnd: 921
    functionName: hlist_entry_safe
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hlist_entry_safe(ptr, type, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 932
      start: 928
    functionDepth: 0
    functionLinenumber: 928
    functionLinenumberEnd: 932
    functionName: hlist_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hlist_for_each_entry(pos, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - pos
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 942
      start: 938
    functionDepth: 0
    functionLinenumber: 938
    functionLinenumberEnd: 942
    functionName: hlist_for_each_entry_continue
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hlist_for_each_entry_continue(pos, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - pos
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 951
      start: 948
    functionDepth: 0
    functionLinenumber: 948
    functionLinenumberEnd: 951
    functionName: hlist_for_each_entry_from
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hlist_for_each_entry_from(pos, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - pos
    - ','
    - n
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 963
      start: 959
    functionDepth: 0
    functionLinenumber: 959
    functionLinenumberEnd: 963
    functionName: hlist_for_each_entry_safe
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: hlist_for_each_entry_safe(pos, n, head, member)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - pos
    - ','
    - head
    - ','
    - member
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 974
      start: 964
    functionDepth: 0
    functionLinenumber: 964
    functionLinenumberEnd: 974
    functionName: list_len
    functionSourceFile: /src/lxc/src/lxc/hlist.h
    functionUses: 4
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: list_len(pos, head, member)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: get_rundir
      Src: /src/lxc/src/lxc/monitor.c:46,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/monitor.c:51,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/monitor.c:53,1
    - Dst: free
      Src: /src/lxc/src/lxc/monitor.c:54,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/monitor.c:57,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/monitor.c:59,1
    - Dst: free
      Src: /src/lxc/src/lxc/monitor.c:60,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/monitor.c:64,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/monitor.c:66,1
    - Dst: free
      Src: /src/lxc/src/lxc/monitor.c:67,1
    - Dst: free
      Src: /src/lxc/src/lxc/monitor.c:70,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 4
    argNames:
    - lxcpath
    - fifo_path
    - fifo_path_sz
    - do_mkdirp
    argTypes:
    - char*
    - char*
    - size_t
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 72
      start: 40
    functionDepth: 2
    functionLinenumber: 40
    functionLinenumberEnd: 72
    functionName: lxc_monitor_fifo_name
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - ERROR
    - get_rundir
    - strnprintf
    - free
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int lxc_monitor_fifo_name(const char *lxcpath, char *fifo_path, size_t
      fifo_path_sz,\n\t\t\t  int do_mkdirp)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: BUILD_BUG_ON
      Src: /src/lxc/src/lxc/monitor.c:79,1
    - Dst: lxc_monitor_fifo_name
      Src: /src/lxc/src/lxc/monitor.c:81,1
    - Dst: open
      Src: /src/lxc/src/lxc/monitor.c:88,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/monitor.c:96,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/monitor.c:100,1
    - Dst: close
      Src: /src/lxc/src/lxc/monitor.c:101,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/monitor.c:105,1
    - Dst: close
      Src: /src/lxc/src/lxc/monitor.c:107,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:108,1
    - Dst: close
      Src: /src/lxc/src/lxc/monitor.c:112,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 2
    argNames:
    - msg
    - lxcpath
    argTypes:
    - struct lxc_msg*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 113
      start: 74
    functionDepth: 3
    functionLinenumber: 74
    functionLinenumberEnd: 113
    functionName: lxc_monitor_fifo_send
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - open
    - SYSERROR
    - SYSWARN
    - lxc_monitor_fifo_name
    - BUILD_BUG_ON
    - fcntl
    - lxc_write_nointr
    - close
    linkageType: ''
    returnType: void
    signature: void lxc_monitor_fifo_send(struct lxc_msg *msg, const char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/monitor.c:120,1
    - Dst: lxc_monitor_fifo_send
      Src: /src/lxc/src/lxc/monitor.c:121,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - name
    - state
    - lxcpath
    argTypes:
    - char*
    - lxc_state_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 122
      start: 115
    functionDepth: 4
    functionLinenumber: 115
    functionLinenumberEnd: 122
    functionName: lxc_monitor_send_state
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 1
    functionsReached:
    - lxc_monitor_fifo_send
    - strlcpy
    linkageType: ''
    returnType: void
    signature: "void lxc_monitor_send_state(const char *name, lxc_state_t state,\n\t\t\t
      \   const char *lxcpath)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/monitor.c:129,1
    - Dst: lxc_monitor_fifo_send
      Src: /src/lxc/src/lxc/monitor.c:130,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - name
    - exit_code
    - lxcpath
    argTypes:
    - char*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 131
      start: 124
    functionDepth: 4
    functionLinenumber: 124
    functionLinenumberEnd: 131
    functionName: lxc_monitor_send_exit_code
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - lxc_monitor_fifo_send
    - strlcpy
    linkageType: ''
    returnType: void
    signature: "void lxc_monitor_send_exit_code(const char *name, int exit_code,\n\t\t\t\tconst
      char *lxcpath)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/lxc/src/lxc/monitor.c:136,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 137
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 137
    functionName: lxc_monitor_close
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_monitor_close(int fd)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/monitor.c:158,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/monitor.c:162,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/monitor.c:163,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/monitor.c:164,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/monitor.c:166,1
    - Dst: fnv_64a_buf
      Src: /src/lxc/src/lxc/monitor.c:176,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/monitor.c:177,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/monitor.c:179,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/monitor.c:185,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/monitor.c:185,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 2
    argNames:
    - lxcpath
    - addr
    argTypes:
    - char*
    - struct sockaddr_un*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 191
      start: 148
    functionDepth: 1
    functionLinenumber: 148
    functionLinenumberEnd: 191
    functionName: lxc_monitor_sock_name
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - ERROR
    - fnv_64a_buf
    - must_realloc
    - INFO
    - strlen
    - memset
    - strnprintf
    linkageType: ''
    returnType: int
    signature: int lxc_monitor_sock_name(const char *lxcpath, struct sockaddr_un *addr)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_monitor_sock_name
      Src: /src/lxc/src/lxc/monitor.c:200,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/monitor.c:203,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/monitor.c:203,1
    - Dst: lxc_abstract_unix_connect
      Src: /src/lxc/src/lxc/monitor.c:206,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:210,1
    - Dst: usleep
      Src: /src/lxc/src/lxc/monitor.c:211,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:215,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - lxcpath
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 220
      start: 193
    functionDepth: 2
    functionLinenumber: 193
    functionLinenumberEnd: 220
    functionName: lxc_monitor_open
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_connect
    - usleep
    - lxc_monitor_sock_name
    - strlen
    - DEBUG
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int lxc_monitor_open(const char *lxcpath)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: poll
      Src: /src/lxc/src/lxc/monitor.c:227,1
    - Dst: recv
      Src: /src/lxc/src/lxc/monitor.c:239,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:241,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:248,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 4
    argNames:
    - fds
    - nfds
    - msg
    - timeout
    argTypes:
    - struct pollfd*
    - nfds_t
    - struct lxc_msg*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 251
      start: 222
    functionDepth: 1
    functionLinenumber: 222
    functionLinenumberEnd: 251
    functionName: lxc_monitor_read_fdset
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - poll
    - SYSERROR
    - recv
    linkageType: ''
    returnType: int
    signature: "int lxc_monitor_read_fdset(struct pollfd *fds, nfds_t nfds, struct
      lxc_msg *msg,\n\t\t\t   int timeout)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_monitor_read_fdset
      Src: /src/lxc/src/lxc/monitor.c:261,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 3
    argNames:
    - fd
    - msg
    - timeout
    argTypes:
    - int
    - struct lxc_msg*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 262
      start: 253
    functionDepth: 2
    functionLinenumber: 253
    functionLinenumberEnd: 262
    functionName: lxc_monitor_read_timeout
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - lxc_monitor_read_fdset
    linkageType: ''
    returnType: int
    signature: int lxc_monitor_read_timeout(int fd, struct lxc_msg *msg, int timeout)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_monitor_read_timeout
      Src: /src/lxc/src/lxc/monitor.c:266,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - fd
    - msg
    argTypes:
    - int
    - struct lxc_msg*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 267
      start: 264
    functionDepth: 3
    functionLinenumber: 264
    functionLinenumberEnd: 267
    functionName: lxc_monitor_read
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - lxc_monitor_read_timeout
    linkageType: ''
    returnType: int
    signature: int lxc_monitor_read(int fd, struct lxc_msg *msg)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/monitor.c:278,1
    - Dst: fork
      Src: /src/lxc/src/lxc/monitor.c:289,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:291,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/monitor.c:296,1
    - Dst: waitpid
      Src: /src/lxc/src/lxc/monitor.c:298,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/monitor.c:301,1
    - Dst: pipe
      Src: /src/lxc/src/lxc/monitor.c:305,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:306,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/monitor.c:307,1
    - Dst: fork
      Src: /src/lxc/src/lxc/monitor.c:310,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:312,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/monitor.c:313,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/monitor.c:317,1
    - Dst: close
      Src: /src/lxc/src/lxc/monitor.c:320,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/monitor.c:327,1
    - Dst: close
      Src: /src/lxc/src/lxc/monitor.c:331,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/monitor.c:333,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/monitor.c:334,1
    - Dst: setsid
      Src: /src/lxc/src/lxc/monitor.c:337,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:338,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/monitor.c:339,1
    - Dst: lxc_check_inherited
      Src: /src/lxc/src/lxc/monitor.c:342,1
    - Dst: null_stdfds
      Src: /src/lxc/src/lxc/monitor.c:343,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:344,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/monitor.c:345,1
    - Dst: close
      Src: /src/lxc/src/lxc/monitor.c:348,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/monitor.c:350,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/monitor.c:352,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/monitor.c:353,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/monitor.c:356,1
    - Dst: execvp
      Src: /src/lxc/src/lxc/monitor.c:358,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/monitor.c:359,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/monitor.c:361,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 51
    argCount: 1
    argNames:
    - lxcpath
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 362
      start: 274
    functionDepth: 3
    functionLinenumber: 274
    functionLinenumberEnd: 362
    functionName: lxc_monitord_spawn
    functionSourceFile: /src/lxc/src/lxc/monitor.c
    functionUses: 0
    functionsReached:
    - waitpid
    - ERROR
    - setsid
    - execvp
    - INTTYPE_TO_STRLEN
    - lxc_read_nointr
    - null_stdfds
    - lxc_check_inherited
    - _exit
    - fork
    - strnprintf
    - DEBUG
    - SYSERROR
    - pipe
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_monitord_spawn(const char *lxcpath)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:82,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/criu.c:84,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/criu.c:86,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:96,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 3
    argNames:
    - directory
    - output
    - len
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 100
      start: 77
    functionDepth: 2
    functionLinenumber: 77
    functionLinenumberEnd: 100
    functionName: load_tty_major_minor
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - strnprintf
    - log_error_errno
    - ret_errno
    - lxc_read_from_file
    linkageType: ''
    returnType: int
    signature: int load_tty_major_minor(char *directory, char *output, int len)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/criu.c:107,1
    - Dst: memset
      Src: /src/lxc/src/lxc/criu.c:108,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/criu.c:110,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/criu.c:114,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 2
    argNames:
    - v1
    - v2
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 141
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 141
    functionName: cmp_version
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - memset
    - sscanf
    linkageType: ''
    returnType: int
    signature: int cmp_version(const char *v1, const char *v2)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/criu.c:152,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/criu.c:153,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - args
    argTypes:
    - struct criu_exec_args*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 155
      start: 148
    functionDepth: 1
    functionLinenumber: 148
    functionLinenumberEnd: 155
    functionName: put_criu_exec_args
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: void
    signature: void put_criu_exec_args(struct criu_exec_args *args)
  - BBCount: 82
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/criu.c:162,1
    - Dst: struct cgroup_ops*::criu_escape
      Src: /src/lxc/src/lxc/criu.c:180,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:181,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:191,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:191,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:204,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:218,1
    - Dst: load_tty_major_minor
      Src: /src/lxc/src/lxc/criu.c:226,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:227,1
    - Dst: list_len
      Src: /src/lxc/src/lxc/criu.c:233,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:235,1
    - Dst: struct cgroup_ops*::criu_num_hierarchies
      Src: /src/lxc/src/lxc/criu.c:238,1
    - Dst: struct cgroup_ops*::criu_num_hierarchies
      Src: /src/lxc/src/lxc/criu.c:239,1
    - Dst: list_len
      Src: /src/lxc/src/lxc/criu.c:247,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:249,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/criu.c:251,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/criu.c:253,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:255,1
    - Dst: on_path
      Src: /src/lxc/src/lxc/criu.c:268,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:270,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:272,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:273,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:274,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:275,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:276,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:277,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:278,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:279,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:280,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:281,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:282,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:283,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:284,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:285,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:286,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:287,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:288,1
    - Dst: struct cgroup_ops*::criu_num_hierarchies
      Src: /src/lxc/src/lxc/criu.c:290,1
    - Dst: struct cgroup_ops*::criu_get_hierarchies
      Src: /src/lxc/src/lxc/criu.c:295,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:296,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:303,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:303,1
    - Dst: lxc_cmd_get_limit_cgroup_path
      Src: /src/lxc/src/lxc/criu.c:304,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:306,1
    - Dst: struct cgroup_ops*::get_limit_cgroup
      Src: /src/lxc/src/lxc/criu.c:310,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:312,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/criu.c:314,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:316,1
    - Dst: lxc_path_simplify
      Src: /src/lxc/src/lxc/criu.c:319,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:321,1
    - Dst: free_move_ptr
      Src: /src/lxc/src/lxc/criu.c:322,1
    - Dst: lxc_string_join
      Src: /src/lxc/src/lxc/criu.c:325,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:327,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/criu.c:329,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/criu.c:331,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/criu.c:332,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:335,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:337,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:338,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:342,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:345,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:346,1
    - Dst: make_anonymous_mount_file
      Src: /src/lxc/src/lxc/criu.c:349,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:352,1
    - Dst: getmntent_r
      Src: /src/lxc/src/lxc/criu.c:354,1
    - Dst: parse_mntopts_legacy
      Src: /src/lxc/src/lxc/criu.c:359,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:360,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:366,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:367,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:369,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:371,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:373,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:374,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:377,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:377,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/criu.c:379,1
    - Dst: struct criu_opts*::c::init_pid
      Src: /src/lxc/src/lxc/criu.c:382,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:384,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:386,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:388,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:390,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:391,1
    - Dst: lxc_cmd_get_limit_cgroup_path
      Src: /src/lxc/src/lxc/criu.c:393,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:397,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/criu.c:399,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:400,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:402,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:404,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/criu.c:407,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:408,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:410,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:411,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:414,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:415,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:417,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:418,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:422,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:423,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:424,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:428,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:429,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:430,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:431,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:432,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:436,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/criu.c:441,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:443,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:445,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:446,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:450,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:451,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:452,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:455,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:456,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:457,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:458,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:462,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:464,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:466,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:468,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:469,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:472,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:473,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:475,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:476,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:482,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:484,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:486,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:488,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:489,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/criu.c:492,1
    - Dst: cmp_version
      Src: /src/lxc/src/lxc/criu.c:497,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/criu.c:508,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:510,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:512,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:514,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:525,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:527,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:530,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:532,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:535,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/criu.c:537,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:541,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:543,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:545,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/criu.c:547,1
    - Dst: cmp_version
      Src: /src/lxc/src/lxc/criu.c:551,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/criu.c:552,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/criu.c:554,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/criu.c:555,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:557,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/criu.c:559,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/criu.c:561,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:569,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:573,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:575,1
    - Dst: DECLARE_ARG
      Src: /src/lxc/src/lxc/criu.c:576,1
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/criu.c:584,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:587,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:589,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/criu.c:594,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/criu.c:600,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:601,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/criu.c:603,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/criu.c:604,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:606,1
    - Dst: execv
      Src: /src/lxc/src/lxc/criu.c:609,1
    CyclomaticComplexity: 96
    EdgeCount: 96
    ICount: 281
    argCount: 3
    argNames:
    - cgroup_ops
    - conf
    - opts
    argTypes:
    - struct cgroup_ops*
    - struct lxc_conf*
    - struct criu_opts*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 611
      start: 159
    functionDepth: 3
    functionLinenumber: 159
    functionLinenumberEnd: 611
    functionName: exec_criu
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - is_empty_string
    - free_move_ptr
    - TRACE
    - zalloc
    - execv
    - lxc_path_simplify
    - DECLARE_ARG
    - struct cgroup_ops*::criu_get_hierarchies
    - struct cgroup_ops*::criu_num_hierarchies
    - struct cgroup_ops*::get_limit_cgroup
    - dup2
    - make_anonymous_mount_file
    - lxc_cmd_get_limit_cgroup_path
    - cmp_version
    - strequal
    - WARN
    - getmntent_r
    - strlcpy
    - parse_mntopts_legacy
    - strdup
    - load_tty_major_minor
    - list_for_each_entry
    - sprintf
    - call_cleaner
    - lxc_log_trace
    - log_error_errno
    - ret_errno
    - syserror_set
    - strnprintf
    - struct criu_opts*::c::init_pid
    - struct cgroup_ops*::criu_escape
    - strcmp
    - on_path
    - pure_unified_layout
    - list_len
    - lxc_string_join
    - INTTYPE_TO_STRLEN
    - close
    linkageType: ''
    returnType: int
    signature: "int exec_criu(struct cgroup_ops *cgroup_ops, struct lxc_conf *conf,\n\t\t
      \    struct criu_opts *opts)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - arg
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 267
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 267
    functionName: DECLARE_ARG
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: DECLARE_ARG(arg)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/lxc/criu.c:654,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:656,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:678,1
    - Dst: null_stdfds
      Src: /src/lxc/src/lxc/criu.c:680,1
    - Dst: execvp
      Src: /src/lxc/src/lxc/criu.c:682,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:683,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:684,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/criu.c:687,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/criu.c:694,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 41
    argCount: 1
    argNames:
    - features_to_check
    argTypes:
    - uint64_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 709
      start: 628
    functionDepth: 3
    functionLinenumber: 628
    functionLinenumberEnd: 709
    functionName: __criu_check_feature
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 1
    functionsReached:
    - wait_for_pid
    - execvp
    - INFO
    - _exit
    - fork
    - SYSERROR
    - null_stdfds
    linkageType: ''
    returnType: bool
    signature: bool __criu_check_feature(uint64_t *features_to_check)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: pipe
      Src: /src/lxc/src/lxc/criu.c:728,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:729,1
    - Dst: fork
      Src: /src/lxc/src/lxc/criu.c:733,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:735,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:742,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:744,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/criu.c:745,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:746,1
    - Dst: on_path
      Src: /src/lxc/src/lxc/criu.c:748,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:750,1
    - Dst: execv
      Src: /src/lxc/src/lxc/criu.c:752,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:753,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:759,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/criu.c:760,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:761,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:762,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/criu.c:766,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:768,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/criu.c:772,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/criu.c:774,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/criu.c:778,1
    - Dst: fgetc
      Src: /src/lxc/src/lxc/criu.c:781,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/criu.c:784,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/criu.c:787,1
    - Dst: fgetc
      Src: /src/lxc/src/lxc/criu.c:790,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/criu.c:793,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/criu.c:796,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/criu.c:803,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:805,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/criu.c:811,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:812,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:813,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 75
    argCount: 1
    argNames:
    - version
    argTypes:
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 816
      start: 723
    functionDepth: 2
    functionLinenumber: 723
    functionLinenumberEnd: 816
    functionName: criu_version_ok
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - malloc
    - fgetc
    - fdopen
    - ERROR
    - fscanf
    - free
    - execv
    - strcmp
    - _exit
    - fork
    - fclose
    - SYSERROR
    - dup2
    - pipe
    - on_path
    - close
    linkageType: ''
    returnType: bool
    signature: bool criu_version_ok(char **version)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: geteuid
      Src: /src/lxc/src/lxc/criu.c:824,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:825,1
    - Dst: criu_version_ok
      Src: /src/lxc/src/lxc/criu.c:829,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/criu.c:833,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:842,1
    - Dst: lxc_net_type_to_str
      Src: /src/lxc/src/lxc/criu.c:842,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:844,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 2
    argNames:
    - c
    - criu_version
    argTypes:
    - struct lxc_container*
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 852
      start: 820
    functionDepth: 3
    functionLinenumber: 820
    functionLinenumberEnd: 852
    functionName: criu_ok
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - ERROR
    - list_for_each_entry
    - lxc_net_type_to_str
    - criu_version_ok
    - geteuid
    - free
    linkageType: ''
    returnType: bool
    signature: bool criu_ok(struct lxc_container *c, char **criu_version)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: container_mem_lock
      Src: /src/lxc/src/lxc/criu.c:860,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/criu.c:863,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:869,1
    - Dst: lxc_ifname_alnum_case_sensitive
      Src: /src/lxc/src/lxc/criu.c:875,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/criu.c:878,1
    - Dst: container_mem_unlock
      Src: /src/lxc/src/lxc/criu.c:885,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 22
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 887
      start: 854
    functionDepth: 3
    functionLinenumber: 854
    functionLinenumberEnd: 887
    functionName: restore_net_info
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - lxc_ifname_alnum_case_sensitive
    - container_mem_unlock
    - strlcpy
    - strnprintf
    - container_mem_lock
    linkageType: ''
    returnType: bool
    signature: bool restore_net_info(struct lxc_container *c)
  - BBCount: 43
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/criu.c:907,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/criu.c:909,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:910,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:911,1
    - Dst: lxc_init_handler
      Src: /src/lxc/src/lxc/criu.c:914,1
    - Dst: lxc_init
      Src: /src/lxc/src/lxc/criu.c:918,1
    - Dst: struct cgroup_ops*::monitor_create
      Src: /src/lxc/src/lxc/criu.c:922,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:923,1
    - Dst: struct cgroup_ops*::monitor_enter
      Src: /src/lxc/src/lxc/criu.c:927,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:928,1
    - Dst: struct cgroup_ops*::monitor_delegate_controllers
      Src: /src/lxc/src/lxc/criu.c:932,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:933,1
    - Dst: struct cgroup_ops*::payload_create
      Src: /src/lxc/src/lxc/criu.c:937,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:938,1
    - Dst: restore_net_info
      Src: /src/lxc/src/lxc/criu.c:942,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:943,1
    - Dst: resolve_clone_flags
      Src: /src/lxc/src/lxc/criu.c:947,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:949,1
    - Dst: pipe2
      Src: /src/lxc/src/lxc/criu.c:953,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:954,1
    - Dst: fork
      Src: /src/lxc/src/lxc/criu.c:958,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:967,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:970,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/criu.c:973,1
    - Dst: lxc_storage_prepare
      Src: /src/lxc/src/lxc/criu.c:976,1
    - Dst: rootfs_is_blockdev
      Src: /src/lxc/src/lxc/criu.c:984,1
    - Dst: lxc_setup_rootfs_prepare_root
      Src: /src/lxc/src/lxc/criu.c:985,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/criu.c:989,1
    - Dst: mount
      Src: /src/lxc/src/lxc/criu.c:992,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:993,1
    - Dst: mount
      Src: /src/lxc/src/lxc/criu.c:997,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/criu.c:998,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/criu.c:1015,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1017,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/criu.c:1023,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1024,1
    - Dst: exec_criu
      Src: /src/lxc/src/lxc/criu.c:1031,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1033,1
    - Dst: umount
      Src: /src/lxc/src/lxc/criu.c:1034,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/criu.c:1035,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1040,1
    - Dst: waitpid
      Src: /src/lxc/src/lxc/criu.c:1043,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1045,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/criu.c:1049,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/criu.c:1052,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/criu.c:1055,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1057,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1065,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/criu.c:1065,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:1068,1
    - Dst: syscall
      Src: /src/lxc/src/lxc/criu.c:1068,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1070,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/criu.c:1074,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1076,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/criu.c:1080,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/criu.c:1081,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1083,1
    - Dst: lxc_set_state
      Src: /src/lxc/src/lxc/criu.c:1087,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1088,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1093,1
    - Dst: WTERMSIG
      Src: /src/lxc/src/lxc/criu.c:1093,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1097,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/criu.c:1099,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1100,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1104,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:1113,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/criu.c:1115,1
    - Dst: setproctitle
      Src: /src/lxc/src/lxc/criu.c:1117,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/criu.c:1119,1
    - Dst: lxc_poll
      Src: /src/lxc/src/lxc/criu.c:1121,1
    - Dst: lxc_abort
      Src: /src/lxc/src/lxc/criu.c:1123,1
    - Dst: lxc_end
      Src: /src/lxc/src/lxc/criu.c:1124,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:1125,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1130,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1132,1
    - Dst: lxc_end
      Src: /src/lxc/src/lxc/criu.c:1134,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/criu.c:1145,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1146,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1147,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:1150,1
    CyclomaticComplexity: 71
    EdgeCount: 71
    ICount: 206
    argCount: 4
    argNames:
    - c
    - status_pipe
    - opts
    - criu_version
    argTypes:
    - struct lxc_container*
    - int
    - struct migrate_opts*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1151
      start: 892
    functionDepth: 4
    functionLinenumber: 892
    functionLinenumberEnd: 1151
    functionName: do_restore
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - struct cgroup_ops*::monitor_create
    - waitpid
    - syscall
    - resolve_clone_flags
    - _exit
    - lxc_read_nointr
    - restore_net_info
    - open
    - WTERMSIG
    - mount
    - lxc_init_handler
    - exec_criu
    - lxc_storage_prepare
    - WEXITSTATUS
    - fopen
    - pipe2
    - ioctl
    - lxc_set_state
    - fcntl
    - lxc_write_nointr
    - ERROR
    - setproctitle
    - fscanf
    - umount
    - struct cgroup_ops*::payload_create
    - mkdir
    - lxc_abort
    - rmdir
    - rootfs_is_blockdev
    - unshare
    - INFO
    - struct cgroup_ops*::monitor_enter
    - strnprintf
    - lxc_init
    - SYSERROR
    - fclose
    - lxc_end
    - lxc_setup_rootfs_prepare_root
    - WIFEXITED
    - struct cgroup_ops*::monitor_delegate_controllers
    - lxc_poll
    - fork
    - close
    linkageType: ''
    returnType: void
    signature: void do_restore(struct lxc_container *c, int status_pipe, struct migrate_opts
      *opts, char *criu_version)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/criu.c:1160,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:1165,1
    - Dst: struct lxc_container*::init_pid
      Src: /src/lxc/src/lxc/criu.c:1165,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1167,1
    - Dst: stat
      Src: /src/lxc/src/lxc/criu.c:1171,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1173,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:1177,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1179,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:1183,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1187,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/criu.c:1191,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1193,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/criu.c:1197,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/criu.c:1198,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1200,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 35
    argCount: 4
    argNames:
    - directory
    - c
    - tty_id
    - len
    argTypes:
    - char*
    - struct lxc_container*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1202
      start: 1153
    functionDepth: 1
    functionLinenumber: 1153
    functionLinenumberEnd: 1202
    functionName: save_tty_major_minor
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - ERROR
    - fprintf
    - fclose
    - stat
    - strequal
    - fopen
    - strnprintf
    - struct lxc_container*::init_pid
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int save_tty_major_minor(char *directory, struct lxc_container *c,
      char *tty_id, int len)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: criu_ok
      Src: /src/lxc/src/lxc/criu.c:1212,1
    - Dst: pipe
      Src: /src/lxc/src/lxc/criu.c:1215,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1217,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:1218,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/criu.c:1222,1
    - Dst: fork
      Src: /src/lxc/src/lxc/criu.c:1225,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1227,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1235,1
    - Dst: cgroup_init
      Src: /src/lxc/src/lxc/criu.c:1237,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1239,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:1240,1
    - Dst: save_tty_major_minor
      Src: /src/lxc/src/lxc/criu.c:1251,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:1253,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:1254,1
    - Dst: exec_criu
      Src: /src/lxc/src/lxc/criu.c:1258,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1260,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:1261,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/criu.c:1262,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1268,1
    - Dst: waitpid
      Src: /src/lxc/src/lxc/criu.c:1270,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1272,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1273,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:1274,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/criu.c:1278,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1279,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/criu.c:1281,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/criu.c:1290,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/criu.c:1291,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1292,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/criu.c:1292,1
    - Dst: WIFSIGNALED
      Src: /src/lxc/src/lxc/criu.c:1297,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1298,1
    - Dst: WTERMSIG
      Src: /src/lxc/src/lxc/criu.c:1298,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1301,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1306,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:1308,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1312,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1313,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/criu.c:1314,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:1315,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 86
    argCount: 3
    argNames:
    - c
    - mode
    - opts
    argTypes:
    - struct lxc_container*
    - char*
    - struct migrate_opts*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1317
      start: 1205
    functionDepth: 4
    functionLinenumber: 1205
    functionLinenumberEnd: 1317
    functionName: do_dump
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 0
    functionsReached:
    - waitpid
    - save_tty_major_minor
    - _exit
    - lxc_read_nointr
    - cgroup_init
    - WTERMSIG
    - free
    - criu_ok
    - exec_criu
    - WEXITSTATUS
    - WIFSIGNALED
    - lxc_mkdir_p
    - ERROR
    - rmdir
    - SYSERROR
    - WIFEXITED
    - fork
    - close
    - pipe
    linkageType: ''
    returnType: bool
    signature: bool do_dump(struct lxc_container *c, char *mode, struct migrate_opts
      *opts)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: do_dump
      Src: /src/lxc/src/lxc/criu.c:1321,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - c
    - opts
    argTypes:
    - struct lxc_container*
    - struct migrate_opts*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1322
      start: 1319
    functionDepth: 5
    functionLinenumber: 1319
    functionLinenumberEnd: 1322
    functionName: __criu_pre_dump
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 1
    functionsReached:
    - do_dump
    linkageType: ''
    returnType: bool
    signature: bool __criu_pre_dump(struct lxc_container *c, struct migrate_opts *opts)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/criu.c:1329,1
    - Dst: access
      Src: /src/lxc/src/lxc/criu.c:1333,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1334,1
    - Dst: do_dump
      Src: /src/lxc/src/lxc/criu.c:1338,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - c
    - opts
    argTypes:
    - struct lxc_container*
    - struct migrate_opts*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1339
      start: 1324
    functionDepth: 5
    functionLinenumber: 1324
    functionLinenumberEnd: 1339
    functionName: __criu_dump
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 1
    functionsReached:
    - do_dump
    - strnprintf
    - ERROR
    - access
    linkageType: ''
    returnType: bool
    signature: bool __criu_dump(struct lxc_container *c, struct migrate_opts *opts)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: geteuid
      Src: /src/lxc/src/lxc/criu.c:1348,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1349,1
    - Dst: pipe
      Src: /src/lxc/src/lxc/criu.c:1353,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1354,1
    - Dst: criu_ok
      Src: /src/lxc/src/lxc/criu.c:1358,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1359,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1360,1
    - Dst: fork
      Src: /src/lxc/src/lxc/criu.c:1364,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1366,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1367,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:1368,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1373,1
    - Dst: do_restore
      Src: /src/lxc/src/lxc/criu.c:1375,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1378,1
    - Dst: free
      Src: /src/lxc/src/lxc/criu.c:1379,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/criu.c:1381,1
    - Dst: close
      Src: /src/lxc/src/lxc/criu.c:1382,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1384,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/criu.c:1392,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/criu.c:1392,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/criu.c:1397,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/criu.c:1398,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 43
    argCount: 2
    argNames:
    - c
    - opts
    argTypes:
    - struct lxc_container*
    - struct migrate_opts*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1400
      start: 1341
    functionDepth: 5
    functionLinenumber: 1341
    functionLinenumberEnd: 1400
    functionName: __criu_restore
    functionSourceFile: /src/lxc/src/lxc/criu.c
    functionUses: 1
    functionsReached:
    - wait_for_pid
    - ERROR
    - WIFEXITED
    - criu_ok
    - geteuid
    - do_restore
    - lxc_read_nointr
    - WEXITSTATUS
    - fork
    - close
    - pipe
    - free
    linkageType: ''
    returnType: bool
    signature: bool __criu_restore(struct lxc_container *c, struct migrate_opts *opts)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: isatty
      Src: /src/lxc/src/lxc/terminal.c:42,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/terminal.c:45,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:47,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/terminal.c:51,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:53,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/terminal.c:55,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 2
    argNames:
    - srcfd
    - dstfd
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 59
      start: 37
    functionDepth: 1
    functionLinenumber: 37
    functionLinenumberEnd: 59
    functionName: lxc_terminal_winsz
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - isatty
    - DEBUG
    - WARN
    - ioctl
    linkageType: ''
    returnType: void
    signature: void lxc_terminal_winsz(int srcfd, int dstfd)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_winsz
      Src: /src/lxc/src/lxc/terminal.c:63,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ts
    argTypes:
    - struct lxc_terminal_state*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 64
      start: 61
    functionDepth: 2
    functionLinenumber: 61
    functionLinenumberEnd: 64
    functionName: lxc_terminal_winch
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_winsz
    linkageType: ''
    returnType: void
    signature: void lxc_terminal_winch(struct lxc_terminal_state *ts)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/terminal.c:73,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:75,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/terminal.c:80,1
    - Dst: lxc_terminal_winch
      Src: /src/lxc/src/lxc/terminal.c:85,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 4
    argNames:
    - fd
    - events
    - cbdata
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 88
      start: 66
    functionDepth: 3
    functionLinenumber: 66
    functionLinenumberEnd: 88
    functionName: lxc_terminal_signalfd_cb
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - DEBUG
    - ERROR
    - lxc_read_nointr
    - lxc_terminal_winch
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_signalfd_cb(int fd, uint32_t events, void *cbdata,\n\t\t\t
      \    struct lxc_async_descr *descr)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/terminal.c:97,1
    - Dst: memset
      Src: /src/lxc/src/lxc/terminal.c:101,1
    - Dst: sigemptyset
      Src: /src/lxc/src/lxc/terminal.c:106,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:108,1
    - Dst: isatty
      Src: /src/lxc/src/lxc/terminal.c:112,1
    - Dst: sigaddset
      Src: /src/lxc/src/lxc/terminal.c:113,1
    - Dst: SYSNOTICE
      Src: /src/lxc/src/lxc/terminal.c:115,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/terminal.c:117,1
    - Dst: sigaddset
      Src: /src/lxc/src/lxc/terminal.c:121,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:123,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/terminal.c:127,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:129,1
    - Dst: signalfd
      Src: /src/lxc/src/lxc/terminal.c:133,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:135,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/terminal.c:136,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/terminal.c:139,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/terminal.c:140,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/terminal.c:142,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 39
    argCount: 2
    argNames:
    - srcfd
    - dstfd
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 143
      start: 90
    functionDepth: 1
    functionLinenumber: 90
    functionLinenumberEnd: 143
    functionName: lxc_terminal_signal_init
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - malloc
    - pthread_sigmask
    - sigemptyset
    - sigaddset
    - WARN
    - TRACE
    - isatty
    - SYSNOTICE
    - move_ptr
    - INFO
    - memset
    - SYSERROR
    - move_fd
    - signalfd
    linkageType: ''
    returnType: struct lxc_terminal_state
    signature: struct lxc_terminal_state *lxc_terminal_signal_init(int srcfd, int
      dstfd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/terminal.c:152,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 153
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 153
    functionName: lxc_terminal_signal_sigmask_safe_blocked
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 1
    functionsReached:
    - pthread_sigmask
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_signal_sigmask_safe_blocked(struct lxc_terminal *terminal)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:172,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/terminal.c:174,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/terminal.c:175,1
    - Dst: free
      Src: /src/lxc/src/lxc/terminal.c:178,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 180
      start: 163
    functionDepth: 1
    functionLinenumber: 163
    functionLinenumberEnd: 180
    functionName: lxc_terminal_signal_fini
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - pthread_sigmask
    - close
    - SYSWARN
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_terminal_signal_fini(struct lxc_terminal *terminal)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_unpriv
      Src: /src/lxc/src/lxc/terminal.c:188,1
    - Dst: ftruncate
      Src: /src/lxc/src/lxc/terminal.c:188,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 189
      start: 182
    functionDepth: 1
    functionLinenumber: 182
    functionLinenumberEnd: 189
    functionName: lxc_terminal_truncate_log_file
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - ftruncate
    - lxc_unpriv
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_truncate_log_file(struct lxc_terminal *terminal)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/terminal.c:204,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/terminal.c:205,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/terminal.c:207,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:211,1
    - Dst: lxc_unpriv
      Src: /src/lxc/src/lxc/terminal.c:213,1
    - Dst: rename
      Src: /src/lxc/src/lxc/terminal.c:213,1
    - Dst: lxc_terminal_create_log_file
      Src: /src/lxc/src/lxc/terminal.c:217,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 218
      start: 191
    functionDepth: 1
    functionLinenumber: 191
    functionLinenumberEnd: 218
    functionName: lxc_terminal_rotate_log_file
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - rename
    - must_realloc
    - lxc_terminal_create_log_file
    - lxc_unpriv
    - strlen
    - strnprintf
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_rotate_log_file(struct lxc_terminal *terminal)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:235,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/terminal.c:238,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:240,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:255,1
    - Dst: lxc_terminal_truncate_log_file
      Src: /src/lxc/src/lxc/terminal.c:264,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:269,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:272,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:277,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:282,1
    - Dst: lxc_terminal_rotate_log_file
      Src: /src/lxc/src/lxc/terminal.c:293,1
    - Dst: lxc_terminal_truncate_log_file
      Src: /src/lxc/src/lxc/terminal.c:295,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:310,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:311,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:319,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 48
    argCount: 3
    argNames:
    - terminal
    - buf
    - bytes_read
    argTypes:
    - struct lxc_terminal*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 324
      start: 220
    functionDepth: 2
    functionLinenumber: 220
    functionLinenumberEnd: 324
    functionName: lxc_terminal_write_log_file
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_rotate_log_file
    - lxc_terminal_truncate_log_file
    - fstat
    - WARN
    - SYSERROR
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_write_log_file(struct lxc_terminal *terminal, char
      *buf,\n\t\t\t\t       int bytes_read)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/terminal.c:331,1
    - Dst: lxc_write_all
      Src: /src/lxc/src/lxc/terminal.c:341,1
    - Dst: lxc_ringbuf_write
      Src: /src/lxc/src/lxc/terminal.c:345,1
    - Dst: lxc_terminal_write_log_file
      Src: /src/lxc/src/lxc/terminal.c:349,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:352,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/terminal.c:356,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/terminal.c:360,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 363
      start: 326
    functionDepth: 3
    functionLinenumber: 326
    functionLinenumberEnd: 363
    functionName: lxc_terminal_ptx_io
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_write_log_file
    - lxc_ringbuf_write
    - SYSTRACE
    - WARN
    - lxc_write_all
    - TRACE
    - lxc_read_nointr
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_ptx_io(struct lxc_terminal *terminal)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/terminal.c:370,1
    - Dst: lxc_write_all
      Src: /src/lxc/src/lxc/terminal.c:378,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:380,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 383
      start: 365
    functionDepth: 2
    functionLinenumber: 365
    functionLinenumberEnd: 383
    functionName: lxc_terminal_peer_io
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_read_nointr
    - WARN
    - lxc_write_all
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_peer_io(struct lxc_terminal *terminal)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_ptx_io
      Src: /src/lxc/src/lxc/terminal.c:391,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/terminal.c:393,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 398
      start: 385
    functionDepth: 4
    functionLinenumber: 385
    functionLinenumberEnd: 398
    functionName: lxc_terminal_ptx_io_handler
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_ptx_io
    - log_info
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_ptx_io_handler(int fd, uint32_t events, void *data,\n\t\t\t\t
      \      struct lxc_async_descr *descr)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_peer_io
      Src: /src/lxc/src/lxc/terminal.c:406,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/terminal.c:408,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 413
      start: 400
    functionDepth: 3
    functionLinenumber: 400
    functionLinenumberEnd: 413
    functionName: lxc_terminal_peer_io_handler
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - log_info
    - lxc_terminal_peer_io
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_peer_io_handler(int fd, uint32_t events, void *data,\n\t\t\t\t\tstruct
      lxc_async_descr *descr)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fd_make_nonblocking
      Src: /src/lxc/src/lxc/terminal.c:420,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/terminal.c:421,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/terminal.c:423,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:428,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/terminal.c:436,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:443,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 448
      start: 415
    functionDepth: 4
    functionLinenumber: 415
    functionLinenumberEnd: 448
    functionName: lxc_terminal_mainloop_add_peer
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - fd_make_nonblocking
    - lxc_mainloop_add_handler
    - log_error_errno
    - WARN
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_mainloop_add_peer(struct lxc_terminal *terminal)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: INFO
      Src: /src/lxc/src/lxc/terminal.c:456,1
    - Dst: fd_make_nonblocking
      Src: /src/lxc/src/lxc/terminal.c:460,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/terminal.c:461,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/terminal.c:463,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:468,1
    - Dst: lxc_terminal_mainloop_add_peer
      Src: /src/lxc/src/lxc/terminal.c:477,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 2
    argNames:
    - descr
    - terminal
    argTypes:
    - struct lxc_async_descr*
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 478
      start: 450
    functionDepth: 5
    functionLinenumber: 450
    functionLinenumberEnd: 478
    functionName: lxc_terminal_mainloop_add
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 1
    functionsReached:
    - fd_make_nonblocking
    - lxc_mainloop_add_handler
    - ERROR
    - log_error_errno
    - INFO
    - lxc_terminal_mainloop_add_peer
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_mainloop_add(struct lxc_async_descr *descr,\n\t\t\t
      \     struct lxc_terminal *terminal)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: isatty
      Src: /src/lxc/src/lxc/terminal.c:485,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:486,1
    - Dst: tcgetattr
      Src: /src/lxc/src/lxc/terminal.c:491,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:493,1
    - Dst: signal
      Src: /src/lxc/src/lxc/terminal.c:502,1
    - Dst: signal
      Src: /src/lxc/src/lxc/terminal.c:503,1
    - Dst: tcsetattr
      Src: /src/lxc/src/lxc/terminal.c:523,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:525,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 28
    argCount: 2
    argNames:
    - fd
    - oldtios
    argTypes:
    - int
    - struct termios*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 530
      start: 480
    functionDepth: 1
    functionLinenumber: 480
    functionLinenumberEnd: 530
    functionName: lxc_setup_tios
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - ERROR
    - isatty
    - tcgetattr
    - tcsetattr
    - SYSERROR
    - signal
    linkageType: ''
    returnType: int
    signature: int lxc_setup_tios(int fd, struct termios *oldtios)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_signal_fini
      Src: /src/lxc/src/lxc/terminal.c:534,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:536,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:539,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 9
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 547
      start: 532
    functionDepth: 2
    functionLinenumber: 532
    functionLinenumberEnd: 547
    functionName: lxc_terminal_peer_proxy_free
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_signal_fini
    - close
    linkageType: ''
    returnType: void
    signature: void lxc_terminal_peer_proxy_free(struct lxc_terminal *terminal)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:557,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/terminal.c:562,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:567,1
    - Dst: openpty
      Src: /src/lxc/src/lxc/terminal.c:574,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:577,1
    - Dst: ttyname_r
      Src: /src/lxc/src/lxc/terminal.c:581,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:584,1
    - Dst: lxc_fd_cloexec
      Src: /src/lxc/src/lxc/terminal.c:588,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:590,1
    - Dst: lxc_fd_cloexec
      Src: /src/lxc/src/lxc/terminal.c:594,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:596,1
    - Dst: lxc_setup_tios
      Src: /src/lxc/src/lxc/terminal.c:600,1
    - Dst: lxc_terminal_signal_init
      Src: /src/lxc/src/lxc/terminal.c:604,1
    - Dst: lxc_terminal_mainloop_add_peer
      Src: /src/lxc/src/lxc/terminal.c:611,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/terminal.c:615,1
    - Dst: lxc_terminal_peer_proxy_free
      Src: /src/lxc/src/lxc/terminal.c:620,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 57
    argCount: 2
    argNames:
    - terminal
    - sockfd
    argTypes:
    - struct lxc_terminal*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 622
      start: 549
    functionDepth: 5
    functionLinenumber: 549
    functionLinenumberEnd: 622
    functionName: lxc_terminal_peer_proxy_alloc
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_terminal_signal_init
    - NOTICE
    - openpty
    - lxc_setup_tios
    - lxc_terminal_peer_proxy_free
    - lxc_fd_cloexec
    - ttyname_r
    - SYSERROR
    - lxc_terminal_mainloop_add_peer
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_peer_proxy_alloc(struct lxc_terminal *terminal,\n\t\t\t\t\t
      int sockfd)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_peer_proxy_alloc
      Src: /src/lxc/src/lxc/terminal.c:634,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 35
    argCount: 3
    argNames:
    - conf
    - sockfd
    - ttyreq
    argTypes:
    - struct lxc_conf*
    - int
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 671
      start: 624
    functionDepth: 6
    functionLinenumber: 624
    functionLinenumberEnd: 671
    functionName: lxc_terminal_allocate
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_peer_proxy_alloc
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_allocate(struct lxc_conf *conf, int sockfd, int *ttyreq)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_mainloop_del_handler
      Src: /src/lxc/src/lxc/terminal.c:685,1
    - Dst: lxc_terminal_peer_proxy_free
      Src: /src/lxc/src/lxc/terminal.c:686,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - conf
    - fd
    argTypes:
    - struct lxc_conf*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 687
      start: 673
    functionDepth: 3
    functionLinenumber: 673
    functionLinenumberEnd: 687
    functionName: lxc_terminal_free
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_mainloop_del_handler
    - lxc_terminal_peer_proxy_free
    linkageType: ''
    returnType: void
    signature: void lxc_terminal_free(struct lxc_conf *conf, int fd)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_unpriv
      Src: /src/lxc/src/lxc/terminal.c:700,1
    - Dst: open
      Src: /src/lxc/src/lxc/terminal.c:700,1
    - Dst: SYSDEBUG
      Src: /src/lxc/src/lxc/terminal.c:704,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:708,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/terminal.c:711,1
    - Dst: isatty
      Src: /src/lxc/src/lxc/terminal.c:713,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:714,1
    - Dst: lxc_terminal_signal_init
      Src: /src/lxc/src/lxc/terminal.c:718,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:721,1
    - Dst: lxc_terminal_winsz
      Src: /src/lxc/src/lxc/terminal.c:725,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/terminal.c:727,1
    - Dst: lxc_setup_tios
      Src: /src/lxc/src/lxc/terminal.c:731,1
    - Dst: free
      Src: /src/lxc/src/lxc/terminal.c:738,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:742,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 51
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 748
      start: 689
    functionDepth: 2
    functionLinenumber: 689
    functionLinenumberEnd: 748
    functionName: lxc_terminal_peer_default
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - open
    - malloc
    - SYSDEBUG
    - ERROR
    - lxc_terminal_signal_init
    - WARN
    - isatty
    - lxc_setup_tios
    - lxc_unpriv
    - DEBUG
    - SYSERROR
    - lxc_terminal_winsz
    - free
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_peer_default(struct lxc_terminal *terminal)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ringbuf_used
      Src: /src/lxc/src/lxc/terminal.c:761,1
    - Dst: lxc_terminal_truncate_log_file
      Src: /src/lxc/src/lxc/terminal.c:765,1
    - Dst: lxc_ringbuf_get_read_addr
      Src: /src/lxc/src/lxc/terminal.c:773,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:774,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 779
      start: 750
    functionDepth: 2
    functionLinenumber: 750
    functionLinenumberEnd: 779
    functionName: lxc_terminal_write_ringbuffer
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_ringbuf_get_read_addr
    - lxc_terminal_truncate_log_file
    - lxc_ringbuf_used
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_write_ringbuffer(struct lxc_terminal *terminal)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_write_ringbuffer
      Src: /src/lxc/src/lxc/terminal.c:785,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/terminal.c:787,1
    - Dst: tcsetattr
      Src: /src/lxc/src/lxc/terminal.c:790,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/terminal.c:792,1
    - Dst: free
      Src: /src/lxc/src/lxc/terminal.c:794,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:798,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:802,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:806,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:812,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 814
      start: 781
    functionDepth: 3
    functionLinenumber: 781
    functionLinenumberEnd: 814
    functionName: lxc_terminal_delete
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 2
    functionsReached:
    - SYSWARN
    - lxc_terminal_write_ringbuffer
    - WARN
    - free
    - close
    - tcsetattr
    linkageType: ''
    returnType: void
    signature: void lxc_terminal_delete(struct lxc_terminal *terminal)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ringbuf_release
      Src: /src/lxc/src/lxc/terminal.c:833,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/terminal.c:838,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/terminal.c:847,1
    - Dst: lxc_ringbuf_release
      Src: /src/lxc/src/lxc/terminal.c:850,1
    - Dst: lxc_ringbuf_create
      Src: /src/lxc/src/lxc/terminal.c:853,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:855,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/terminal.c:859,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 861
      start: 821
    functionDepth: 2
    functionLinenumber: 821
    functionLinenumberEnd: 861
    functionName: lxc_terminal_create_ringbuf
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_ringbuf_release
    - ERROR
    - lxc_ringbuf_create
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_create_ringbuf(struct lxc_terminal *terminal)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_unpriv
      Src: /src/lxc/src/lxc/terminal.c:872,1
    - Dst: open
      Src: /src/lxc/src/lxc/terminal.c:872,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:874,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/terminal.c:878,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 880
      start: 867
    functionDepth: 1
    functionLinenumber: 867
    functionLinenumberEnd: 880
    functionName: lxc_terminal_create_log_file
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 1
    functionsReached:
    - open
    - DEBUG
    - lxc_unpriv
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_create_log_file(struct lxc_terminal *terminal)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/terminal.c:886,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/terminal.c:889,1
    - Dst: userns_exec_mapped_root
      Src: /src/lxc/src/lxc/terminal.c:893,1
    - Dst: userns_exec_mapped_root
      Src: /src/lxc/src/lxc/terminal.c:895,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/terminal.c:897,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/terminal.c:898,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/terminal.c:900,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/terminal.c:901,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 2
    argNames:
    - c
    - terminal
    argTypes:
    - struct lxc_conf*
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 904
      start: 882
    functionDepth: 5
    functionLinenumber: 882
    functionLinenumberEnd: 904
    functionName: lxc_terminal_map_ids
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - userns_exec_mapped_root
    - is_empty_string
    - list_empty
    - log_error
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_map_ids(struct lxc_conf *c, struct lxc_terminal *terminal)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: openpty
      Src: /src/lxc/src/lxc/terminal.c:910,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:912,1
    - Dst: lxc_terminal_map_ids
      Src: /src/lxc/src/lxc/terminal.c:916,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:918,1
    - Dst: ttyname_r
      Src: /src/lxc/src/lxc/terminal.c:922,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:924,1
    - Dst: lxc_fd_cloexec
      Src: /src/lxc/src/lxc/terminal.c:928,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:930,1
    - Dst: lxc_fd_cloexec
      Src: /src/lxc/src/lxc/terminal.c:934,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:936,1
    - Dst: lxc_terminal_peer_default
      Src: /src/lxc/src/lxc/terminal.c:940,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:942,1
    - Dst: lxc_terminal_delete
      Src: /src/lxc/src/lxc/terminal.c:949,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 41
    argCount: 2
    argNames:
    - conf
    - terminal
    argTypes:
    - struct lxc_conf*
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 951
      start: 906
    functionDepth: 6
    functionLinenumber: 906
    functionLinenumberEnd: 951
    functionName: lxc_terminal_create_foreign
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_terminal_delete
    - lxc_terminal_map_ids
    - openpty
    - lxc_fd_cloexec
    - ttyname_r
    - lxc_terminal_peer_default
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_create_foreign(struct lxc_conf *conf, struct lxc_terminal
      *terminal)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/terminal.c:971,1
    - Dst: open_beneath
      Src: /src/lxc/src/lxc/terminal.c:974,1
    - Dst: systrace
      Src: /src/lxc/src/lxc/terminal.c:977,1
    - Dst: syswarn
      Src: /src/lxc/src/lxc/terminal.c:979,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/terminal.c:983,1
    - Dst: syswarn
      Src: /src/lxc/src/lxc/terminal.c:986,1
    - Dst: same_device
      Src: /src/lxc/src/lxc/terminal.c:988,1
    - Dst: syswarn
      Src: /src/lxc/src/lxc/terminal.c:989,1
    - Dst: unlockpt
      Src: /src/lxc/src/lxc/terminal.c:993,1
    - Dst: syswarn_set
      Src: /src/lxc/src/lxc/terminal.c:995,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/terminal.c:997,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/terminal.c:1001,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/terminal.c:1004,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/terminal.c:1007,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/terminal.c:1013,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/terminal.c:1016,1
    - Dst: syswarn_set
      Src: /src/lxc/src/lxc/terminal.c:1018,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/terminal.c:1026,1
    - Dst: fdstr
      Src: /src/lxc/src/lxc/terminal.c:1026,1
    - Dst: syswarn_set
      Src: /src/lxc/src/lxc/terminal.c:1029,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/terminal.c:1032,1
    - Dst: fdstr
      Src: /src/lxc/src/lxc/terminal.c:1032,1
    - Dst: syswarn_set
      Src: /src/lxc/src/lxc/terminal.c:1035,1
    - Dst: same_file_lax
      Src: /src/lxc/src/lxc/terminal.c:1038,1
    - Dst: syswarn_set
      Src: /src/lxc/src/lxc/terminal.c:1039,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/terminal.c:1042,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/terminal.c:1043,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 54
    argCount: 5
    argNames:
    - devpts_fd
    - ret_ptx
    - ret_pty
    - ret_pty_nr
    - require_tiocgptpeer
    argTypes:
    - int
    - int*
    - int*
    - int*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1046
      start: 953
    functionDepth: 3
    functionLinenumber: 953
    functionLinenumberEnd: 1046
    functionName: lxc_devpts_terminal
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 2
    functionsReached:
    - fdstr
    - same_file_lax
    - open_beneath
    - same_device
    - open_at
    - SYSTRACE
    - SYSWARN
    - move_fd
    - syswarn
    - unlockpt
    - ret_errno
    - ioctl
    - systrace
    - syswarn_set
    linkageType: ''
    returnType: int
    signature: "int lxc_devpts_terminal(int devpts_fd, int *ret_ptx, int *ret_pty,\n\t\t\tint
      *ret_pty_nr, bool require_tiocgptpeer)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wants_console
      Src: /src/lxc/src/lxc/terminal.c:1053,1
    - Dst: lxc_devpts_terminal
      Src: /src/lxc/src/lxc/terminal.c:1061,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/terminal.c:1064,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/terminal.c:1066,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/terminal.c:1069,1
    - Dst: lxc_terminal_map_ids
      Src: /src/lxc/src/lxc/terminal.c:1071,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1072
      start: 1048
    functionDepth: 6
    functionLinenumber: 1048
    functionLinenumberEnd: 1072
    functionName: lxc_terminal_parent
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_devpts_terminal
    - wants_console
    - lxc_terminal_map_ids
    - syserror
    - strnprintf
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_parent(struct lxc_conf *conf)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_get_devpts_fd
      Src: /src/lxc/src/lxc/terminal.c:1080,1
    - Dst: sysinfo
      Src: /src/lxc/src/lxc/terminal.c:1082,1
    - Dst: lxc_devpts_terminal
      Src: /src/lxc/src/lxc/terminal.c:1084,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/terminal.c:1089,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/terminal.c:1092,1
    - Dst: lxc_terminal_peer_default
      Src: /src/lxc/src/lxc/terminal.c:1094,1
    - Dst: lxc_terminal_delete
      Src: /src/lxc/src/lxc/terminal.c:1096,1
    - Dst: syswarn_set
      Src: /src/lxc/src/lxc/terminal.c:1097,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 3
    argNames:
    - name
    - lxcpath
    - terminal
    argTypes:
    - char*
    - char*
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1101
      start: 1074
    functionDepth: 4
    functionLinenumber: 1074
    functionLinenumberEnd: 1101
    functionName: lxc_terminal_create_native
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_delete
    - lxc_devpts_terminal
    - lxc_cmd_get_devpts_fd
    - sysinfo
    - syserror
    - lxc_terminal_peer_default
    - strnprintf
    - syswarn_set
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_create_native(const char *name, const char *lxcpath,\n\t\t\t\t
      \     struct lxc_terminal *terminal)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_create_native
      Src: /src/lxc/src/lxc/terminal.c:1106,1
    - Dst: lxc_terminal_create_foreign
      Src: /src/lxc/src/lxc/terminal.c:1109,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 4
    argNames:
    - name
    - lxcpath
    - conf
    - terminal
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1110
      start: 1103
    functionDepth: 7
    functionLinenumber: 1103
    functionLinenumberEnd: 1110
    functionName: lxc_terminal_create
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 1
    functionsReached:
    - lxc_terminal_create_foreign
    - lxc_terminal_create_native
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_create(const char *name, const char *lxcpath,\n\t\t\tstruct
      lxc_conf *conf, struct lxc_terminal *terminal)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/terminal.c:1117,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/terminal.c:1118,1
    - Dst: lxc_terminal_peer_default
      Src: /src/lxc/src/lxc/terminal.c:1120,1
    - Dst: lxc_terminal_create_log_file
      Src: /src/lxc/src/lxc/terminal.c:1124,1
    - Dst: lxc_terminal_create_ringbuf
      Src: /src/lxc/src/lxc/terminal.c:1128,1
    - Dst: lxc_terminal_delete
      Src: /src/lxc/src/lxc/terminal.c:1135,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1137
      start: 1112
    functionDepth: 4
    functionLinenumber: 1112
    functionLinenumberEnd: 1137
    functionName: lxc_terminal_setup
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_terminal_create_ringbuf
    - log_info
    - lxc_terminal_delete
    - strequal
    - lxc_terminal_create_log_file
    - lxc_terminal_peer_default
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_setup(struct lxc_conf *conf)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: isatty
      Src: /src/lxc/src/lxc/terminal.c:1143,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/terminal.c:1146,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/terminal.c:1148,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - duplicate
    - original
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1153
      start: 1139
    functionDepth: 1
    functionLinenumber: 1139
    functionLinenumberEnd: 1153
    functionName: __terminal_dup2
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - isatty
    - SYSERROR
    - dup2
    linkageType: ''
    returnType: bool
    signature: bool __terminal_dup2(int duplicate, int original)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: __terminal_dup2
      Src: /src/lxc/src/lxc/terminal.c:1163,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1168
      start: 1155
    functionDepth: 2
    functionLinenumber: 1155
    functionLinenumberEnd: 1168
    functionName: lxc_terminal_set_stdfds
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 1
    functionsReached:
    - __terminal_dup2
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_set_stdfds(int fd)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/terminal.c:1180,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:1197,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 4
    argNames:
    - fd
    - events
    - cbdata
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1202
      start: 1170
    functionDepth: 1
    functionLinenumber: 1170
    functionLinenumberEnd: 1202
    functionName: lxc_terminal_stdin_cb
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_read_nointr
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_stdin_cb(int fd, uint32_t events, void *cbdata,\n\t\t\t
      \ struct lxc_async_descr *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/terminal.c:1214,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/terminal.c:1218,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 4
    argNames:
    - fd
    - events
    - cbdata
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1223
      start: 1204
    functionDepth: 1
    functionLinenumber: 1204
    functionLinenumberEnd: 1223
    functionName: lxc_terminal_ptx_cb
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached:
    - lxc_read_nointr
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: "int lxc_terminal_ptx_cb(int fd, uint32_t events, void *cbdata,\n\t\t\t
      \  struct lxc_async_descr *descr)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_get_tty_fd
      Src: /src/lxc/src/lxc/terminal.c:1227,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - c
    - ttynum
    - ptxfd
    argTypes:
    - struct lxc_container*
    - int*
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1228
      start: 1225
    functionDepth: 1
    functionLinenumber: 1225
    functionLinenumberEnd: 1228
    functionName: lxc_terminal_getfd
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_get_tty_fd
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_getfd(struct lxc_container *c, int *ttynum, int *ptxfd)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_get_tty_fd
      Src: /src/lxc/src/lxc/terminal.c:1243,1
    - Dst: setsid
      Src: /src/lxc/src/lxc/terminal.c:1247,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/terminal.c:1249,1
    - Dst: lxc_terminal_signal_init
      Src: /src/lxc/src/lxc/terminal.c:1251,1
    - Dst: isatty
      Src: /src/lxc/src/lxc/terminal.c:1260,1
    - Dst: lxc_terminal_winsz
      Src: /src/lxc/src/lxc/terminal.c:1262,1
    - Dst: lxc_terminal_winsz
      Src: /src/lxc/src/lxc/terminal.c:1263,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/terminal.c:1265,1
    - Dst: lxc_mainloop_open
      Src: /src/lxc/src/lxc/terminal.c:1268,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:1270,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/terminal.c:1275,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:1280,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/terminal.c:1285,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:1290,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/terminal.c:1294,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:1299,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/terminal.c:1304,1
    - Dst: lxc_setup_tios
      Src: /src/lxc/src/lxc/terminal.c:1313,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/terminal.c:1318,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/terminal.c:1320,1
    - Dst: tcsetattr
      Src: /src/lxc/src/lxc/terminal.c:1328,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/terminal.c:1330,1
    - Dst: lxc_mainloop_close
      Src: /src/lxc/src/lxc/terminal.c:1334,1
    - Dst: lxc_terminal_signal_fini
      Src: /src/lxc/src/lxc/terminal.c:1337,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:1340,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:1341,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 83
    argCount: 6
    argNames:
    - c
    - ttynum
    - stdinfd
    - stdoutfd
    - stderrfd
    - escape
    argTypes:
    - struct lxc_container*
    - int
    - int
    - int
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1344
      start: 1230
    functionDepth: 5
    functionLinenumber: 1230
    functionLinenumberEnd: 1344
    functionName: lxc_console
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 1
    functionsReached:
    - lxc_mainloop_add_handler
    - ERROR
    - lxc_terminal_signal_init
    - lxc_cmd_get_tty_fd
    - SYSWARN
    - fprintf
    - lxc_mainloop
    - setsid
    - lxc_mainloop_close
    - TRACE
    - isatty
    - lxc_setup_tios
    - lxc_terminal_signal_fini
    - INFO
    - close
    - lxc_terminal_winsz
    - lxc_mainloop_open
    - tcsetattr
    linkageType: ''
    returnType: int
    signature: "int lxc_console(struct lxc_container *c, int ttynum,\n\t\tint stdinfd,
      int stdoutfd, int stderrfd,\n\t\tint escape)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setsid
      Src: /src/lxc/src/lxc/terminal.c:1350,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/terminal.c:1352,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1357
      start: 1346
    functionDepth: 0
    functionLinenumber: 1346
    functionLinenumberEnd: 1357
    functionName: lxc_make_controlling_terminal
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 1
    functionsReached:
    - setsid
    - ioctl
    linkageType: ''
    returnType: int
    signature: int lxc_make_controlling_terminal(int fd)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_make_controlling_terminal
      Src: /src/lxc/src/lxc/terminal.c:1363,1
    - Dst: lxc_terminal_set_stdfds
      Src: /src/lxc/src/lxc/terminal.c:1367,1
    - Dst: close
      Src: /src/lxc/src/lxc/terminal.c:1372,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1375
      start: 1359
    functionDepth: 3
    functionLinenumber: 1359
    functionLinenumberEnd: 1375
    functionName: lxc_terminal_prepare_login
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 1
    functionsReached:
    - lxc_make_controlling_terminal
    - close
    - lxc_terminal_set_stdfds
    linkageType: ''
    returnType: int
    signature: int lxc_terminal_prepare_login(int fd)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal_info*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1384
      start: 1377
    functionDepth: 0
    functionLinenumber: 1377
    functionLinenumberEnd: 1384
    functionName: lxc_terminal_info_init
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void lxc_terminal_info_init(struct lxc_terminal_info *terminal)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/terminal.c:1388,1
    - Dst: lxc_terminal_info_init
      Src: /src/lxc/src/lxc/terminal.c:1394,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1395
      start: 1386
    functionDepth: 1
    functionLinenumber: 1386
    functionLinenumberEnd: 1395
    functionName: lxc_terminal_init
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 2
    functionsReached:
    - memset
    - lxc_terminal_info_init
    linkageType: ''
    returnType: void
    signature: void lxc_terminal_init(struct lxc_terminal *terminal)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/terminal.c:1399,1
    - Dst: free
      Src: /src/lxc/src/lxc/terminal.c:1400,1
    - Dst: lxc_ringbuf_release
      Src: /src/lxc/src/lxc/terminal.c:1402,1
    - Dst: lxc_terminal_signal_fini
      Src: /src/lxc/src/lxc/terminal.c:1403,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1404
      start: 1397
    functionDepth: 2
    functionLinenumber: 1397
    functionLinenumberEnd: 1404
    functionName: lxc_terminal_conf_free
    functionSourceFile: /src/lxc/src/lxc/terminal.c
    functionUses: 2
    functionsReached:
    - lxc_ringbuf_release
    - lxc_terminal_signal_fini
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_terminal_conf_free(struct lxc_terminal *terminal)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/terminal.h:265,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - terminal
    argTypes:
    - struct lxc_terminal*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 266
      start: 263
    functionDepth: 1
    functionLinenumber: 263
    functionLinenumberEnd: 266
    functionName: wants_console
    functionSourceFile: /src/lxc/src/lxc/terminal.h
    functionUses: 4
    functionsReached:
    - strequal
    linkageType: ''
    returnType: bool
    signature: bool wants_console(const struct lxc_terminal *terminal)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - str
    - ','
    - inlen
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 31
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 31
    functionName: strprint
    functionSourceFile: /src/lxc/src/lxc/confile_utils.h
    functionUses: 4
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: strprint(str, inlen, ...)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/conf.h:95,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.h:96,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.h:97,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - struct lxc_cgroup*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 99
      start: 92
    functionDepth: 1
    functionLinenumber: 92
    functionLinenumberEnd: 99
    functionName: free_lxc_cgroup
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 0
    functionsReached:
    - free_disarm
    - free
    linkageType: ''
    returnType: void
    signature: void free_lxc_cgroup(struct lxc_cgroup *ptr)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.h:125,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.h:126,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - struct lxc_limit*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 128
      start: 122
    functionDepth: 1
    functionLinenumber: 122
    functionLinenumberEnd: 128
    functionName: free_lxc_limit
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: void
    signature: void free_lxc_limit(struct lxc_limit *ptr)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/conf.h:150,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.h:151,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.h:152,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - struct lxc_sysctl*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 154
      start: 147
    functionDepth: 1
    functionLinenumber: 147
    functionLinenumberEnd: 154
    functionName: free_lxc_sysctl
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 0
    functionsReached:
    - free_disarm
    - free
    linkageType: ''
    returnType: void
    signature: void free_lxc_sysctl(struct lxc_sysctl *ptr)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/conf.h:171,1
    - Dst: free
      Src: /src/lxc/src/lxc/conf.h:172,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.h:173,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - struct lxc_proc*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 175
      start: 168
    functionDepth: 1
    functionLinenumber: 168
    functionLinenumberEnd: 175
    functionName: free_lxc_proc
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 0
    functionsReached:
    - free_disarm
    - free
    linkageType: ''
    returnType: void
    signature: void free_lxc_proc(struct lxc_proc *ptr)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_caps_last_cap
      Src: /src/lxc/src/lxc/conf.h:636,1
    - Dst: has_cap
      Src: /src/lxc/src/lxc/conf.h:643,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - cap
    - conf
    argTypes:
    - __u32
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 644
      start: 631
    functionDepth: 1
    functionLinenumber: 631
    functionLinenumberEnd: 644
    functionName: lxc_wants_cap
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 1
    functionsReached:
    - has_cap
    - lxc_caps_last_cap
    linkageType: ''
    returnType: bool
    signature: bool lxc_wants_cap(__u32 cap, struct lxc_conf *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: userns_exec_mapped_root
      Src: /src/lxc/src/lxc/conf.h:659,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - path
    - conf
    argTypes:
    - char*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 660
      start: 657
    functionDepth: 5
    functionLinenumber: 657
    functionLinenumberEnd: 660
    functionName: chown_mapped_root
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 2
    functionsReached:
    - userns_exec_mapped_root
    linkageType: ''
    returnType: int
    signature: int chown_mapped_root(const char *path, const struct lxc_conf *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/conf.h:669,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - rootfs
    argTypes:
    - struct lxc_rootfs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 670
      start: 665
    functionDepth: 1
    functionLinenumber: 665
    functionLinenumberEnd: 670
    functionName: get_rootfs_mnt
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 0
    functionsReached:
    - is_empty_string
    linkageType: ''
    returnType: char
    signature: char *get_rootfs_mnt(const struct lxc_rootfs *rootfs)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.h:682,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/conf.h:683,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 10
    argCount: 1
    argNames:
    - mnt_opts
    argTypes:
    - struct lxc_mount_options*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 684
      start: 672
    functionDepth: 1
    functionLinenumber: 672
    functionLinenumberEnd: 684
    functionName: put_lxc_mount_options
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: void
    signature: void put_lxc_mount_options(struct lxc_mount_options *mnt_opts)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.h:689,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.h:690,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.h:691,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.h:693,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/conf.h:694,1
    - Dst: put_lxc_mount_options
      Src: /src/lxc/src/lxc/conf.h:695,1
    - Dst: storage_put
      Src: /src/lxc/src/lxc/conf.h:696,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 2
    argNames:
    - rootfs
    - unpin
    argTypes:
    - struct lxc_rootfs*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 699
      start: 686
    functionDepth: 2
    functionLinenumber: 686
    functionLinenumberEnd: 699
    functionName: put_lxc_rootfs
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 2
    functionsReached:
    - storage_put
    - close_prot_errno_disarm
    - put_lxc_mount_options
    linkageType: ''
    returnType: void
    signature: void put_lxc_rootfs(struct lxc_rootfs *rootfs, bool unpin)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/conf.h:705,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/conf.h:706,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/conf.h:708,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - bpf_devices
    argTypes:
    - struct bpf_devices*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 709
      start: 701
    functionDepth: 3
    functionLinenumber: 701
    functionLinenumberEnd: 709
    functionName: lxc_clear_cgroup2_devices
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 1
    functionsReached:
    - INIT_LIST_HEAD
    - list_del
    - list_for_each_entry_safe
    linkageType: ''
    returnType: void
    signature: void lxc_clear_cgroup2_devices(struct bpf_devices *bpf_devices)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/conf.h:714,1
    - Dst: personality
      Src: /src/lxc/src/lxc/conf.h:716,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - persona
    argTypes:
    - personality_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 717
      start: 711
    functionDepth: 1
    functionLinenumber: 711
    functionLinenumberEnd: 717
    functionName: lxc_personality
    functionSourceFile: /src/lxc/src/lxc/conf.h
    functionUses: 2
    functionsReached:
    - personality
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int lxc_personality(personality_t persona)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - __first__
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 95
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 95
    functionName: must_make_path_relative
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: must_make_path_relative(__first__, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/string_utils.h:113,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - s
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 114
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 114
    functionName: is_empty_string
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 41
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool is_empty_string(const char *s)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - s
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 117
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 117
    functionName: maybe_empty
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 5
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: maybe_empty(s)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlcat
      Src: /src/lxc/src/lxc/string_utils.h:122,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/string_utils.h:124,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - src
    - append
    - len
    argTypes:
    - char*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 127
      start: 118
    functionDepth: 1
    functionLinenumber: 118
    functionLinenumberEnd: 127
    functionName: safe_strlcat
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 0
    functionsReached:
    - ret_errno
    - strlcat
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t safe_strlcat(char *src, const char *append, size_t len)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/string_utils.h:131,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - str
    - eq
    - len
    argTypes:
    - char*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 132
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 132
    functionName: strnequal
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 28
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool strnequal(const char *str, const char *eq, size_t len)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/string_utils.h:136,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - str
    - eq
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 137
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 137
    functionName: strequal
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 63
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool strequal(const char *str, const char *eq)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/lxc/src/lxc/string_utils.h:141,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 142
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 142
    functionName: dotdot
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 0
    functionsReached:
    - strstr
    linkageType: ''
    returnType: bool
    signature: bool dotdot(const char *str)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 147
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 147
    functionName: abspath
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool abspath(const char *str)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strspn
      Src: /src/lxc/src/lxc/string_utils.h:151,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 152
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 152
    functionName: deabs
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 1
    functionsReached:
    - strspn
    linkageType: ''
    returnType: char
    signature: char *deabs(char *str)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - buf
    - ','
    - buf_size
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 162
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 162
    functionName: strnprintf
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 103
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: strnprintf(buf, buf_size, ...)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/string_utils.h:168,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/string_utils.h:168,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/string_utils.h:169,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 173
      start: 163
    functionDepth: 1
    functionLinenumber: 163
    functionLinenumberEnd: 173
    functionName: proc_self_fd
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 0
    functionsReached:
    - INTTYPE_TO_STRLEN
    - strnprintf
    - STRLITERALLEN
    linkageType: ''
    returnType: char
    signature: char *proc_self_fd(int fd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/string_utils.h:178,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/string_utils.h:180,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - fd
    argTypes:
    - __s64
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 184
      start: 175
    functionDepth: 1
    functionLinenumber: 175
    functionLinenumberEnd: 184
    functionName: fdstr
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 3
    functionsReached:
    - INTTYPE_TO_STRLEN
    - strnprintf
    linkageType: ''
    returnType: char
    signature: char *fdstr(__s64 fd)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __iterator
    - ','
    - __splitme
    - ','
    - __separators
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 190
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 190
    functionName: lxc_iterate_parts
    functionSourceFile: /src/lxc/src/lxc/string_utils.h
    functionUses: 7
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_iterate_parts(__iterator, __splitme, __separators)
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - attr
    argTypes:
    - struct mount_attr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 45
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 45
    functionName: set_atime
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void set_atime(struct mount_attr *attr)
  - BBCount: 9
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 35
    argCount: 2
    argNames:
    - old_flags
    - new_flags
    argTypes:
    - unsigned int
    - unsigned int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 93
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 93
    functionName: mnt_attributes_new
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int mnt_attributes_new(unsigned int old_flags, unsigned int *new_flags)
  - BBCount: 9
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 35
    argCount: 2
    argNames:
    - new_flags
    - old_flags
    argTypes:
    - unsigned int
    - unsigned int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 141
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 141
    functionName: mnt_attributes_old
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int mnt_attributes_old(unsigned int new_flags, unsigned int *old_flags)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/mount_utils.c:150,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mount_utils.c:151,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/mount_utils.c:160,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:162,1
    - Dst: fsopen
      Src: /src/lxc/src/lxc/mount_utils.c:165,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:167,1
    - Dst: fsconfig
      Src: /src/lxc/src/lxc/mount_utils.c:170,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:172,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:174,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:177,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/mount_utils.c:178,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 2
    argNames:
    - fs_name
    - fd_from
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 179
      start: 143
    functionDepth: 1
    functionLinenumber: 143
    functionLinenumberEnd: 179
    functionName: __fs_prepare
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 0
    functionsReached:
    - is_empty_string
    - TRACE
    - fsopen
    - log_error_errno
    - ret_errno
    - strnprintf
    - fsconfig
    - move_fd
    linkageType: ''
    returnType: int
    signature: int __fs_prepare(const char *fs_name, int fd_from)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/mount_utils.c:188,1
    - Dst: openat2
      Src: /src/lxc/src/lxc/mount_utils.c:194,1
    - Dst: __fs_prepare
      Src: /src/lxc/src/lxc/mount_utils.c:202,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 5
    argNames:
    - fs_name
    - dfd_from
    - path_from
    - o_flags_from
    - resolve_flags_from
    argTypes:
    - char*
    - int
    - char*
    - __u64
    - __u64
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 203
      start: 181
    functionDepth: 2
    functionLinenumber: 181
    functionLinenumberEnd: 203
    functionName: fs_prepare
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 4
    functionsReached:
    - __fs_prepare
    - is_empty_string
    - openat2
    linkageType: ''
    returnType: int
    signature: "int fs_prepare(const char *fs_name,\n\t       int dfd_from, const
      char *path_from,\n\t       __u64 o_flags_from, __u64 resolve_flags_from)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fsconfig
      Src: /src/lxc/src/lxc/mount_utils.c:209,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:211,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:215,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 3
    argNames:
    - fd_fs
    - key
    - val
    argTypes:
    - int
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 217
      start: 205
    functionDepth: 1
    functionLinenumber: 205
    functionLinenumberEnd: 217
    functionName: fs_set_property
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 2
    functionsReached:
    - log_error_errno
    - fsconfig
    - TRACE
    linkageType: ''
    returnType: int
    signature: int fs_set_property(int fd_fs, const char *key, const char *val)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fsconfig
      Src: /src/lxc/src/lxc/mount_utils.c:223,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mount_utils.c:225,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:227,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - fd_fs
    - key
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 229
      start: 219
    functionDepth: 1
    functionLinenumber: 219
    functionLinenumberEnd: 229
    functionName: fs_set_flag
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 1
    functionsReached:
    - TRACE
    - fsconfig
    - syserror
    linkageType: ''
    returnType: int
    signature: int fs_set_flag(int fd_fs, const char *key)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/mount_utils.c:239,1
    - Dst: openat2
      Src: /src/lxc/src/lxc/mount_utils.c:245,1
    - Dst: fsconfig
      Src: /src/lxc/src/lxc/mount_utils.c:253,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:255,1
    - Dst: fsmount
      Src: /src/lxc/src/lxc/mount_utils.c:257,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:259,1
    - Dst: move_mount
      Src: /src/lxc/src/lxc/mount_utils.c:262,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:264,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:266,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 6
    argNames:
    - fd_fs
    - dfd_to
    - path_to
    - o_flags_to
    - resolve_flags_to
    - attr_flags
    argTypes:
    - int
    - int
    - char*
    - __u64
    - __u64
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 268
      start: 231
    functionDepth: 1
    functionLinenumber: 231
    functionLinenumberEnd: 268
    functionName: fs_attach
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 2
    functionsReached:
    - is_empty_string
    - openat2
    - TRACE
    - move_mount
    - log_error_errno
    - fsconfig
    - fsmount
    linkageType: ''
    returnType: int
    signature: "int fs_attach(int fd_fs,\n\t      int dfd_to, const char *path_to,\n\t
      \     __u64 o_flags_to, __u64 resolve_flags_to,\n\t      unsigned int attr_flags)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: set_atime
      Src: /src/lxc/src/lxc/mount_utils.c:284,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:286,1
    - Dst: open_tree
      Src: /src/lxc/src/lxc/mount_utils.c:291,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mount_utils.c:293,1
    - Dst: mount_setattr
      Src: /src/lxc/src/lxc/mount_utils.c:295,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mount_utils.c:299,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/mount_utils.c:301,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 5
    argNames:
    - path
    - userns_fd
    - recursive
    - attr_set
    - attr_clr
    argTypes:
    - char*
    - int
    - bool
    - __u64
    - __u64
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 302
      start: 270
    functionDepth: 1
    functionLinenumber: 270
    functionLinenumberEnd: 302
    functionName: create_detached_idmapped_mount
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 1
    functionsReached:
    - open_tree
    - set_atime
    - TRACE
    - syserror
    - mount_setattr
    - move_fd
    linkageType: ''
    returnType: int
    signature: "int create_detached_idmapped_mount(const char *path, int userns_fd,\n\t\t\t\t
      \  bool recursive, __u64 attr_set, __u64 attr_clr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/mount_utils.c:310,1
    - Dst: openat2
      Src: /src/lxc/src/lxc/mount_utils.c:316,1
    - Dst: move_mount
      Src: /src/lxc/src/lxc/mount_utils.c:324,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mount_utils.c:326,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:328,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 5
    argNames:
    - dfd_from
    - dfd_to
    - path_to
    - o_flags_to
    - resolve_flags_to
    argTypes:
    - int
    - int
    - char*
    - __u64
    - __u64
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 330
      start: 304
    functionDepth: 1
    functionLinenumber: 304
    functionLinenumberEnd: 330
    functionName: move_detached_mount
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 1
    functionsReached:
    - is_empty_string
    - TRACE
    - openat2
    - move_mount
    - syserror
    linkageType: ''
    returnType: int
    signature: "int move_detached_mount(int dfd_from, int dfd_to, const char *path_to,\n\t\t\t__u64
      o_flags_to, __u64 resolve_flags_to)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: set_atime
      Src: /src/lxc/src/lxc/mount_utils.c:348,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/mount_utils.c:350,1
    - Dst: openat2
      Src: /src/lxc/src/lxc/mount_utils.c:356,1
    - Dst: open_tree
      Src: /src/lxc/src/lxc/mount_utils.c:367,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mount_utils.c:369,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:374,1
    - Dst: mount_setattr
      Src: /src/lxc/src/lxc/mount_utils.c:378,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mount_utils.c:382,1
    - Dst: move_detached_mount
      Src: /src/lxc/src/lxc/mount_utils.c:385,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 13
    argNames:
    - dfd_from
    - path_from
    - o_flags_from
    - resolve_flags_from
    - dfd_to
    - path_to
    - o_flags_to
    - resolve_flags_to
    - attr_set
    - attr_clr
    - propagation
    - userns_fd
    - recursive
    argTypes:
    - int
    - char*
    - __u64
    - __u64
    - int
    - char*
    - __u64
    - __u64
    - __u64
    - __u64
    - __u64
    - int
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 387
      start: 332
    functionDepth: 2
    functionLinenumber: 332
    functionLinenumberEnd: 387
    functionName: __fd_bind_mount
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 2
    functionsReached:
    - open_tree
    - is_empty_string
    - move_detached_mount
    - mount_setattr
    - set_atime
    - openat2
    - TRACE
    - syserror
    linkageType: ''
    returnType: int
    signature: "int __fd_bind_mount(int dfd_from, const char *path_from, __u64 o_flags_from,\n\t\t
      \   __u64 resolve_flags_from, int dfd_to, const char *path_to,\n\t\t    __u64
      o_flags_to, __u64 resolve_flags_to, __u64 attr_set,\n\t\t    __u64 attr_clr,
      __u64 propagation, int userns_fd,\n\t\t    bool recursive)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/mount_utils.c:400,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:402,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/mount_utils.c:402,1
    - Dst: fstatvfs
      Src: /src/lxc/src/lxc/mount_utils.c:404,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:406,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/mount_utils.c:406,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 27
    argCount: 7
    argNames:
    - dfd_from
    - path_from
    - o_flags_from
    - resolve_flags_from
    - remount
    - cur_flags
    - new_flags
    argTypes:
    - int
    - char*
    - __u64
    - __u64
    - bool
    - unsigned long
    - unsigned int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 437
      start: 389
    functionDepth: 2
    functionLinenumber: 389
    functionLinenumberEnd: 437
    functionName: calc_remount_flags_new
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 0
    functionsReached:
    - maybe_empty
    - log_error_errno
    - open_at
    - fstatvfs
    linkageType: ''
    returnType: int
    signature: "int calc_remount_flags_new(int dfd_from, const char *path_from,\n\t\t\t
      \  __u64 o_flags_from, __u64 resolve_flags_from,\n\t\t\t   bool remount, unsigned
      long cur_flags,\n\t\t\t   unsigned int *new_flags)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/mount_utils.c:450,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:452,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/mount_utils.c:452,1
    - Dst: fstatvfs
      Src: /src/lxc/src/lxc/mount_utils.c:454,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/mount_utils.c:456,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/mount_utils.c:456,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 27
    argCount: 7
    argNames:
    - dfd_from
    - path_from
    - o_flags_from
    - resolve_flags_from
    - remount
    - cur_flags
    - old_flags
    argTypes:
    - int
    - char*
    - __u64
    - __u64
    - bool
    - unsigned long
    - unsigned int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 487
      start: 439
    functionDepth: 2
    functionLinenumber: 439
    functionLinenumberEnd: 487
    functionName: calc_remount_flags_old
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 0
    functionsReached:
    - maybe_empty
    - log_error_errno
    - open_at
    - fstatvfs
    linkageType: ''
    returnType: int
    signature: "int calc_remount_flags_old(int dfd_from, const char *path_from,\n\t\t\t
      \  __u64 o_flags_from, __u64 resolve_flags_from,\n\t\t\t   bool remount, unsigned
      long cur_flags,\n\t\t\t   unsigned int *old_flags)"
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: statvfs
      Src: /src/lxc/src/lxc/mount_utils.c:506,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 30
    argCount: 3
    argNames:
    - s
    - d
    - flags
    argTypes:
    - char*
    - char*
    - unsigned long
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 536
      start: 492
    functionDepth: 0
    functionLinenumber: 492
    functionLinenumberEnd: 536
    functionName: add_required_remount_flags
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 0
    functionsReached:
    - statvfs
    linkageType: ''
    returnType: unsigned long
    signature: "unsigned long add_required_remount_flags(const char *s, const char
      *d,\n                                        unsigned long flags)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: openat2
      Src: /src/lxc/src/lxc/mount_utils.c:545,1
    - Dst: fsmount
      Src: /src/lxc/src/lxc/mount_utils.c:551,1
    - Dst: fsconfig
      Src: /src/lxc/src/lxc/mount_utils.c:557,1
    - Dst: fsopen
      Src: /src/lxc/src/lxc/mount_utils.c:563,1
    - Dst: move_mount
      Src: /src/lxc/src/lxc/mount_utils.c:569,1
    - Dst: open_tree
      Src: /src/lxc/src/lxc/mount_utils.c:575,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:582,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 36
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 586
      start: 538
    functionDepth: 1
    functionLinenumber: 538
    functionLinenumberEnd: 586
    functionName: can_use_mount_api
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 0
    functionsReached:
    - open_tree
    - openat2
    - TRACE
    - fsopen
    - move_mount
    - fsconfig
    - fsmount
    linkageType: ''
    returnType: bool
    signature: bool can_use_mount_api(void)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: can_use_mount_api
      Src: /src/lxc/src/lxc/mount_utils.c:595,1
    - Dst: mount_setattr
      Src: /src/lxc/src/lxc/mount_utils.c:600,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:607,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 611
      start: 588
    functionDepth: 2
    functionLinenumber: 588
    functionLinenumberEnd: 611
    functionName: can_use_bind_mounts
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 2
    functionsReached:
    - TRACE
    - can_use_mount_api
    - mount_setattr
    linkageType: ''
    returnType: bool
    signature: bool can_use_bind_mounts(void)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: abspath
      Src: /src/lxc/src/lxc/mount_utils.c:622,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mount_utils.c:623,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/mount_utils.c:625,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/mount_utils.c:626,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/mount_utils.c:628,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/mount_utils.c:629,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/mount_utils.c:637,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mount_utils.c:639,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/mount_utils.c:643,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/mount_utils.c:644,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/mount_utils.c:652,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mount_utils.c:654,1
    - Dst: mount
      Src: /src/lxc/src/lxc/mount_utils.c:658,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/mount_utils.c:660,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/mount_utils.c:661,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/mount_utils.c:661,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/mount_utils.c:663,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/mount_utils.c:663,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/mount_utils.c:663,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 38
    argCount: 9
    argNames:
    - dfd_from
    - path_from
    - resolve_flags_from
    - dfd_to
    - path_to
    - resolve_flags_to
    - fs_name
    - flags
    - data
    argTypes:
    - int
    - char*
    - __u64
    - int
    - char*
    - __u64
    - char*
    - unsigned int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 665
      start: 613
    functionDepth: 2
    functionLinenumber: 613
    functionLinenumberEnd: 665
    functionName: mount_at
    functionSourceFile: /src/lxc/src/lxc/mount_utils.c
    functionUses: 2
    functionsReached:
    - mount
    - open_at
    - is_empty_string
    - abspath
    - maybe_empty
    - TRACE
    - ret_errno
    - syserror
    - strnprintf
    linkageType: ''
    returnType: int
    signature: "int mount_at(int dfd_from, const char *path_from, __u64 resolve_flags_from,\n\t
      \    int dfd_to, const char *path_to, __u64 resolve_flags_to,\n\t     const
      char *fs_name, unsigned int flags, const void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/start.c:78,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - attr
    - size
    - flags
    argTypes:
    - struct landlock_ruleset_attr*
    - size_t
    - __u32
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 79
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 79
    functionName: landlock_create_ruleset
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: "int landlock_create_ruleset(const struct landlock_ruleset_attr *const
      attr,\n\t\t\tconst size_t size, const __u32 flags)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/start.c:86,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ruleset_fd
    - flags
    argTypes:
    - int
    - __u32
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 87
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 87
    functionName: landlock_restrict_self
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: "int landlock_restrict_self(const int ruleset_fd,\n\t\t\t\t\t const
      __u32 flags)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/start.c:96,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - ruleset_fd
    - rule_type
    - rule_attr
    - flags
    argTypes:
    - int
    - enum landlock_rule_type
    - void*
    - __u32
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 98
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 98
    functionName: landlock_add_rule
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: "int landlock_add_rule(const int ruleset_fd,\n\t\t\t\t    const enum
      landlock_rule_type rule_type,\n\t\t\t\t    const void *const rule_attr,\n\t\t\t\t
      \   const __u32 flags)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/start.c:116,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/start.c:118,1
    - Dst: access
      Src: /src/lxc/src/lxc/start.c:130,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:132,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 137
      start: 110
    functionDepth: 1
    functionLinenumber: 110
    functionLinenumberEnd: 137
    functionName: print_top_failing_dir
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - strlen
    - SYSERROR
    - must_copy_string
    - access
    linkageType: ''
    returnType: void
    signature: void print_top_failing_dir(const char *path)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:145,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 147
      start: 139
    functionDepth: 1
    functionLinenumber: 139
    functionLinenumberEnd: 147
    functionName: lxc_put_nsfds
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_put_nsfds(struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_preserve_ns
      Src: /src/lxc/src/lxc/start.c:155,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/start.c:159,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/start.c:163,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/start.c:172,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/start.c:175,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 3
    argNames:
    - handler
    - idx
    - ns
    argTypes:
    - struct lxc_handler*
    - lxc_namespace_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 177
      start: 149
    functionDepth: 2
    functionLinenumber: 149
    functionLinenumberEnd: 177
    functionName: lxc_try_preserve_namespace
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_preserve_ns
    - strnprintf
    - DEBUG
    - move_fd
    linkageType: ''
    returnType: int
    signature: "int lxc_try_preserve_namespace(struct lxc_handler *handler,\n\t\t\t\t
      \     lxc_namespace_t idx, const char *ns)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_try_preserve_namespace
      Src: /src/lxc/src/lxc/start.c:193,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:197,1
    - Dst: lxc_put_nsfds
      Src: /src/lxc/src/lxc/start.c:205,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/start.c:206,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 2
    argNames:
    - handler
    - ns_clone_flags
    argTypes:
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 211
      start: 183
    functionDepth: 3
    functionLinenumber: 183
    functionLinenumberEnd: 211
    functionName: lxc_try_preserve_namespaces
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - lxc_try_preserve_namespace
    - log_error_errno
    - SYSERROR
    - lxc_put_nsfds
    linkageType: ''
    returnType: bool
    signature: "bool lxc_try_preserve_namespaces(struct lxc_handler *handler,\n\t\t\t\t\tint
      ns_clone_flags)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 216
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 216
    functionName: match_stdfds
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool match_stdfds(int fd)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/start.c:226,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:228,1
    - Dst: readlink
      Src: /src/lxc/src/lxc/start.c:230,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:232,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:234,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/start.c:236,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/start.c:237,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/start.c:238,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - direntp
    argTypes:
    - struct dirent*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 242
      start: 219
    functionDepth: 1
    functionLinenumber: 219
    functionLinenumberEnd: 242
    functionName: match_dlog_fds
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - strnprintf
    - log_error
    - strequal
    - readlink
    linkageType: ''
    returnType: bool
    signature: bool match_dlog_fds(struct dirent *direntp)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: getenv
      Src: /src/lxc/src/lxc/start.c:259,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/start.c:263,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/start.c:265,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/start.c:267,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 268
      start: 253
    functionDepth: 1
    functionLinenumber: 253
    functionLinenumberEnd: 268
    functionName: get_listen_fds_max
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - getenv
    - log_trace
    - syserror_ret
    linkageType: ''
    returnType: unsigned int
    signature: unsigned int get_listen_fds_max(void)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: get_listen_fds_max
      Src: /src/lxc/src/lxc/start.c:283,1
    - Dst: lxc_log_syslog_disable
      Src: /src/lxc/src/lxc/start.c:290,1
    - Dst: opendir
      Src: /src/lxc/src/lxc/start.c:293,1
    - Dst: log_warn
      Src: /src/lxc/src/lxc/start.c:295,1
    - Dst: dirfd
      Src: /src/lxc/src/lxc/start.c:297,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/start.c:299,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/start.c:303,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/start.c:306,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/start.c:309,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:311,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/start.c:325,1
    - Dst: match_stdfds
      Src: /src/lxc/src/lxc/start.c:340,1
    - Dst: match_dlog_fds
      Src: /src/lxc/src/lxc/start.c:344,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:350,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:355,1
    - Dst: SYSINFO
      Src: /src/lxc/src/lxc/start.c:356,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:358,1
    - Dst: closedir
      Src: /src/lxc/src/lxc/start.c:359,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/start.c:362,1
    - Dst: closedir
      Src: /src/lxc/src/lxc/start.c:364,1
    - Dst: lxc_log_syslog_enable
      Src: /src/lxc/src/lxc/start.c:371,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 59
    argCount: 4
    argNames:
    - conf
    - closeall
    - fds_to_ignore
    - len_fds
    argTypes:
    - struct lxc_conf*
    - bool
    - int*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 374
      start: 270
    functionDepth: 2
    functionLinenumber: 270
    functionLinenumberEnd: 374
    functionName: lxc_check_inherited
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 2
    functionsReached:
    - readdir
    - closedir
    - get_listen_fds_max
    - match_dlog_fds
    - SYSINFO
    - match_stdfds
    - strequal
    - WARN
    - log_warn
    - dirfd
    - lxc_log_syslog_enable
    - INFO
    - opendir
    - lxc_safe_int
    - lxc_log_syslog_disable
    - list_for_each_entry_safe
    - close
    linkageType: ''
    returnType: int
    signature: "int lxc_check_inherited(struct lxc_conf *conf, bool closeall,\n\t\t\tint
      *fds_to_ignore, size_t len_fds)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sigfillset
      Src: /src/lxc/src/lxc/start.c:383,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/start.c:388,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/start.c:393,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/start.c:395,1
    - Dst: signalfd
      Src: /src/lxc/src/lxc/start.c:398,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/start.c:400,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:403,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - oldmask
    argTypes:
    - sigset_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 406
      start: 376
    functionDepth: 1
    functionLinenumber: 376
    functionLinenumberEnd: 406
    functionName: setup_signal_fd
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - pthread_sigmask
    - sigfillset
    - sigdelset
    - TRACE
    - log_error_errno
    - signalfd
    linkageType: ''
    returnType: int
    signature: int setup_signal_fd(sigset_t *oldmask)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/start.c:416,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:418,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:421,1
    - Dst: waitid
      Src: /src/lxc/src/lxc/start.c:425,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:429,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/start.c:445,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:449,1
    - Dst: lxc_raw_pidfd_send_signal
      Src: /src/lxc/src/lxc/start.c:456,1
    - Dst: kill
      Src: /src/lxc/src/lxc/start.c:458,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:459,1
    - Dst: lxc_raw_pidfd_send_signal
      Src: /src/lxc/src/lxc/start.c:466,1
    - Dst: kill
      Src: /src/lxc/src/lxc/start.c:469,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:470,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/start.c:479,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:486,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:492,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/start.c:497,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 57
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 498
      start: 408
    functionDepth: 1
    functionLinenumber: 408
    functionLinenumberEnd: 498
    functionName: signal_handler
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - ERROR
    - kill
    - log_error
    - WARN
    - NOTICE
    - TRACE
    - lxc_raw_pidfd_send_signal
    - waitid
    - INFO
    - lxc_read_nointr
    - log_debug
    linkageType: ''
    returnType: int
    signature: "int signal_handler(int fd, uint32_t events, void *data,\n\t\t\t  struct
      lxc_async_descr *descr)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:516,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/start.c:516,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/start.c:518,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/start.c:519,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/start.c:521,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/start.c:525,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:527,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/start.c:528,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:532,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/start.c:533,1
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/start.c:535,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:537,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/start.c:540,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:541,1
    - Dst: free
      Src: /src/lxc/src/lxc/start.c:542,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 3
    argNames:
    - name
    - handler
    - state
    argTypes:
    - char*
    - struct lxc_handler*
    - lxc_state_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 546
      start: 500
    functionDepth: 3
    functionLinenumber: 500
    functionLinenumberEnd: 546
    functionName: lxc_serve_state_clients
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - list_empty
    - list_del
    - lxc_state2str
    - log_trace
    - TRACE
    - lxc_send_nointr
    - strlcpy
    - SYSERROR
    - list_for_each_entry_safe
    - free
    - close
    linkageType: ''
    returnType: int
    signature: "int lxc_serve_state_clients(const char *name, struct lxc_handler *handler,\n\t\t\t
      \   lxc_state_t state)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:560,1
    - Dst: lxc_abstract_unix_send_credential
      Src: /src/lxc/src/lxc/start.c:563,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:566,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:575,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:577,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/start.c:577,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:581,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 3
    argNames:
    - name
    - handler
    - state
    argTypes:
    - char*
    - struct lxc_handler*
    - lxc_state_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 584
      start: 548
    functionDepth: 1
    functionLinenumber: 548
    functionLinenumberEnd: 584
    functionName: lxc_serve_state_socket_pair
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - log_error
    - lxc_state2str
    - TRACE
    - lxc_abstract_unix_send_credential
    - close_prot_errno_disarm
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: "int lxc_serve_state_socket_pair(const char *name,\n\t\t\t\t       struct
      lxc_handler *handler,\n\t\t\t\t       lxc_state_t state)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_serve_state_socket_pair
      Src: /src/lxc/src/lxc/start.c:591,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:593,1
    - Dst: lxc_serve_state_clients
      Src: /src/lxc/src/lxc/start.c:595,1
    - Dst: lxc_monitor_send_state
      Src: /src/lxc/src/lxc/start.c:602,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 3
    argNames:
    - name
    - handler
    - state
    argTypes:
    - char*
    - struct lxc_handler*
    - lxc_state_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 605
      start: 586
    functionDepth: 5
    functionLinenumber: 586
    functionLinenumberEnd: 605
    functionName: lxc_set_state
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - lxc_serve_state_clients
    - log_error
    - lxc_monitor_send_state
    - lxc_serve_state_socket_pair
    linkageType: ''
    returnType: int
    signature: "int lxc_set_state(const char *name, struct lxc_handler *handler,\n\t\t
      \ lxc_state_t state)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: landlock_create_ruleset
      Src: /src/lxc/src/lxc/start.c:615,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:618,1
    - Dst: landlock_create_ruleset
      Src: /src/lxc/src/lxc/start.c:629,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:632,1
    - Dst: open
      Src: /src/lxc/src/lxc/start.c:643,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:645,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:646,1
    - Dst: landlock_add_rule
      Src: /src/lxc/src/lxc/start.c:650,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:651,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:653,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:654,1
    - Dst: open
      Src: /src/lxc/src/lxc/start.c:659,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:661,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:662,1
    - Dst: landlock_add_rule
      Src: /src/lxc/src/lxc/start.c:666,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:667,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:669,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:670,1
    - Dst: open
      Src: /src/lxc/src/lxc/start.c:675,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:677,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:678,1
    - Dst: landlock_add_rule
      Src: /src/lxc/src/lxc/start.c:682,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:683,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:685,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:686,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/start.c:691,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:692,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:693,1
    - Dst: landlock_restrict_self
      Src: /src/lxc/src/lxc/start.c:698,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:699,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:700,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:704,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 62
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 707
      start: 608
    functionDepth: 1
    functionLinenumber: 608
    functionLinenumberEnd: 707
    functionName: lxc_mainloop_protect
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - open
    - landlock_restrict_self
    - prctl
    - landlock_add_rule
    - landlock_create_ruleset
    - SYSERROR
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_mainloop_protect(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_mainloop_protect
      Src: /src/lxc/src/lxc/start.c:714,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:716,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/start.c:720,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/start.c:723,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 724
      start: 709
    functionDepth: 5
    functionLinenumber: 709
    functionLinenumberEnd: 724
    functionName: lxc_handler_mainloop_thread_fn
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_mainloop_protect
    - INT_TO_PTR
    - lxc_mainloop
    linkageType: ''
    returnType: void
    signature: void *lxc_handler_mainloop_thread_fn(void *arg)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:735,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/start.c:738,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:741,1
    - Dst: pthread_create
      Src: /src/lxc/src/lxc/start.c:743,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/start.c:745,1
    - Dst: pthread_join
      Src: /src/lxc/src/lxc/start.c:749,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/start.c:751,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:756,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/start.c:759,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 2
    argNames:
    - descr
    - handler
    argTypes:
    - struct lxc_async_descr*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 760
      start: 726
    functionDepth: 5
    functionLinenumber: 726
    functionLinenumberEnd: 760
    functionName: lxc_handler_mainloop
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - PTR_TO_INT
    - lxc_mainloop
    - log_error
    - log_error_errno
    - INFO
    - pthread_join
    - SYSERROR
    - pthread_create
    linkageType: ''
    returnType: int
    signature: int lxc_handler_mainloop(struct lxc_async_descr *descr, struct lxc_handler
      *handler)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: wants_console
      Src: /src/lxc/src/lxc/start.c:769,1
    - Dst: lxc_mainloop_open
      Src: /src/lxc/src/lxc/start.c:772,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:774,1
    - Dst: lxc_mainloop_open
      Src: /src/lxc/src/lxc/start.c:779,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:781,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/start.c:786,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:791,1
    - Dst: lxc_seccomp_setup_proxy
      Src: /src/lxc/src/lxc/start.c:795,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:797,1
    - Dst: lxc_terminal_mainloop_add
      Src: /src/lxc/src/lxc/start.c:802,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:804,1
    - Dst: lxc_cmd_mainloop_add
      Src: /src/lxc/src/lxc/start.c:809,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:811,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:815,1
    - Dst: lxc_handler_mainloop
      Src: /src/lxc/src/lxc/start.c:818,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/start.c:820,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:823,1
    - Dst: lxc_terminal_mainloop_add
      Src: /src/lxc/src/lxc/start.c:828,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/start.c:830,1
    - Dst: lxc_mainloop_close
      Src: /src/lxc/src/lxc/start.c:835,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:836,1
    - Dst: lxc_mainloop_close
      Src: /src/lxc/src/lxc/start.c:840,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:841,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:844,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:845,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 71
    argCount: 2
    argNames:
    - name
    - handler
    argTypes:
    - char*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 848
      start: 763
    functionDepth: 6
    functionLinenumber: 763
    functionLinenumberEnd: 848
    functionName: lxc_poll
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - lxc_seccomp_setup_proxy
    - lxc_mainloop_add_handler
    - ERROR
    - lxc_mainloop
    - lxc_mainloop_close
    - lxc_handler_mainloop
    - wants_console
    - TRACE
    - lxc_terminal_mainloop_add
    - close_prot_errno_disarm
    - lxc_cmd_mainloop_add
    - lxc_mainloop_open
    linkageType: ''
    returnType: int
    signature: int lxc_poll(const char *name, struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:852,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:853,1
    - Dst: lxc_put_nsfds
      Src: /src/lxc/src/lxc/start.c:854,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:856,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:857,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:858,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:859,1
    - Dst: cgroup_exit
      Src: /src/lxc/src/lxc/start.c:860,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/start.c:862,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 865
      start: 850
    functionDepth: 2
    functionLinenumber: 850
    functionLinenumberEnd: 865
    functionName: lxc_put_handler
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - free_disarm
    - cgroup_exit
    - lxc_put_nsfds
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void lxc_put_handler(struct lxc_handler *handler)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/start.c:876,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/start.c:886,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/start.c:898,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/start.c:915,1
    - Dst: socketpair
      Src: /src/lxc/src/lxc/start.c:924,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:927,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:931,1
    - Dst: lxc_server_init
      Src: /src/lxc/src/lxc/start.c:939,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:941,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:947,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/start.c:953,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 58
    argCount: 5
    argNames:
    - old
    - name
    - conf
    - lxcpath
    - daemonize
    argTypes:
    - struct lxc_handler*
    - char*
    - struct lxc_conf*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 956
      start: 867
    functionDepth: 3
    functionLinenumber: 867
    functionLinenumberEnd: 956
    functionName: lxc_init_handler
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 2
    functionsReached:
    - ERROR
    - lxc_server_init
    - am_guest_unpriv
    - TRACE
    - lxc_raw_getpid
    - zalloc
    - INIT_LIST_HEAD
    - socketpair
    - lxc_put_handler
    linkageType: ''
    returnType: struct lxc_handler
    signature: "struct lxc_handler *lxc_init_handler(struct lxc_handler *old,\n\t\t\t\t
      \    const char *name, struct lxc_conf *conf,\n\t\t\t\t     const char *lxcpath,
      bool daemonize)"
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/start.c:965,1
    - Dst: open
      Src: /src/lxc/src/lxc/start.c:966,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/start.c:968,1
    - Dst: lsm_init_static
      Src: /src/lxc/src/lxc/start.c:970,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:971,1
    - Dst: lxc_set_state
      Src: /src/lxc/src/lxc/start.c:974,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:976,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/start.c:976,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:977,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:980,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:982,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:985,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:987,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:991,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:993,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:997,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:999,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1003,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1005,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1009,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1011,1
    - Dst: cgns_supported
      Src: /src/lxc/src/lxc/start.c:1014,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1015,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1017,1
    - Dst: lxc_log_priority_to_string
      Src: /src/lxc/src/lxc/start.c:1020,1
    - Dst: lxc_log_get_level
      Src: /src/lxc/src/lxc/start.c:1020,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1021,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1023,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1026,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1028,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1030,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1033,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/start.c:1035,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:1037,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1038,1
    - Dst: lxc_terminal_parent
      Src: /src/lxc/src/lxc/start.c:1040,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:1042,1
    - Dst: setup_signal_fd
      Src: /src/lxc/src/lxc/start.c:1048,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/start.c:1050,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1051,1
    - Dst: cgroup_init
      Src: /src/lxc/src/lxc/start.c:1053,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1055,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1058,1
    - Dst: lxc_read_seccomp_config
      Src: /src/lxc/src/lxc/start.c:1060,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1062,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1065,1
    - Dst: struct lxc_handler*::lsm_ops::prepare
      Src: /src/lxc/src/lxc/start.c:1067,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1069,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1072,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:1074,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/start.c:1075,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/start.c:1079,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 93
    argCount: 2
    argNames:
    - name
    - handler
    argTypes:
    - char*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1082
      start: 958
    functionDepth: 7
    functionLinenumber: 958
    functionLinenumberEnd: 1082
    functionName: lxc_init
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - pthread_sigmask
    - log_error
    - lxc_state2str
    - TRACE
    - lxc_terminal_parent
    - lxc_log_priority_to_string
    - move_fd
    - cgroup_init
    - open
    - lxc_log_get_level
    - setup_signal_fd
    - struct lxc_handler*::lsm_ops::prepare
    - lxc_set_state
    - ERROR
    - lsm_init_static
    - log_error_errno
    - lxc_read_seccomp_config
    - run_lxc_hooks
    - SYSERROR
    - cgns_supported
    - lxc_raw_getpid
    - setenv
    - INFO
    linkageType: ''
    returnType: int
    signature: int lxc_init(const char *name, struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcspn
      Src: /src/lxc/src/lxc/start.c:1093,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1094,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1096,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1099,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1102
      start: 1084
    functionDepth: 1
    functionLinenumber: 1084
    functionLinenumberEnd: 1102
    functionName: lxc_expose_namespace_environment
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - strcspn
    - setenv
    - SYSERROR
    - TRACE
    linkageType: ''
    returnType: void
    signature: void lxc_expose_namespace_environment(const struct lxc_handler *handler)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: lxc_set_state
      Src: /src/lxc/src/lxc/start.c:1114,1
    - Dst: lxc_expose_namespace_environment
      Src: /src/lxc/src/lxc/start.c:1118,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1121,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1123,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1127,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1129,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/start.c:1133,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/start.c:1135,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1137,1
    - Dst: struct lxc_handler*::lsm_ops::cleanup
      Src: /src/lxc/src/lxc/start.c:1139,1
    - Dst: struct cgroup_ops*::payload_destroy
      Src: /src/lxc/src/lxc/start.c:1142,1
    - Dst: struct cgroup_ops*::monitor_destroy
      Src: /src/lxc/src/lxc/start.c:1143,1
    - Dst: put_lxc_rootfs
      Src: /src/lxc/src/lxc/start.c:1146,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:1155,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1156,1
    - Dst: lxc_monitor_send_state
      Src: /src/lxc/src/lxc/start.c:1161,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1167,1
    - Dst: lxc_set_state
      Src: /src/lxc/src/lxc/start.c:1169,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1170,1
    - Dst: lxc_put_nsfds
      Src: /src/lxc/src/lxc/start.c:1174,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/start.c:1176,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1178,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/start.c:1180,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1183,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/start.c:1185,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/start.c:1190,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/start.c:1192,1
    - Dst: lxc_terminal_delete
      Src: /src/lxc/src/lxc/start.c:1194,1
    - Dst: lxc_delete_tty
      Src: /src/lxc/src/lxc/start.c:1195,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:1196,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/start.c:1201,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/start.c:1208,1
    - Dst: close
      Src: /src/lxc/src/lxc/start.c:1209,1
    - Dst: free
      Src: /src/lxc/src/lxc/start.c:1210,1
    - Dst: lxc_destroy_container_on_signal
      Src: /src/lxc/src/lxc/start.c:1214,1
    - Dst: lxc_put_handler
      Src: /src/lxc/src/lxc/start.c:1216,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 63
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1217
      start: 1104
    functionDepth: 6
    functionLinenumber: 1104
    functionLinenumberEnd: 1217
    functionName: lxc_end
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - pthread_sigmask
    - TRACE
    - close_prot_errno_disarm
    - free
    - SYSWARN
    - struct lxc_handler*::lsm_ops::cleanup
    - lxc_monitor_send_state
    - lxc_put_nsfds
    - WARN
    - lxc_set_state
    - list_for_each_entry_safe
    - ERROR
    - lxc_terminal_delete
    - lxc_expose_namespace_environment
    - lxc_delete_tty
    - list_del
    - run_lxc_hooks
    - lxc_destroy_container_on_signal
    - SYSERROR
    - lxc_put_handler
    - put_lxc_rootfs
    - struct cgroup_ops*::monitor_destroy
    - setenv
    - struct cgroup_ops*::payload_destroy
    - close
    linkageType: ''
    returnType: void
    signature: void lxc_end(struct lxc_handler *handler)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_set_state
      Src: /src/lxc/src/lxc/start.c:1224,1
    - Dst: lxc_raw_pidfd_send_signal
      Src: /src/lxc/src/lxc/start.c:1227,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/start.c:1229,1
    - Dst: kill
      Src: /src/lxc/src/lxc/start.c:1234,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/start.c:1235,1
    - Dst: waitpid
      Src: /src/lxc/src/lxc/start.c:1238,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1240
      start: 1219
    functionDepth: 6
    functionLinenumber: 1219
    functionLinenumberEnd: 1240
    functionName: lxc_abort
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - kill
    - waitpid
    - SYSWARN
    - lxc_raw_pidfd_send_signal
    - lxc_set_state
    linkageType: ''
    returnType: void
    signature: void lxc_abort(struct lxc_handler *handler)
  - BBCount: 74
    BranchProfiles: []
    Callsites:
    - Dst: lxc_sync_fini_parent
      Src: /src/lxc/src/lxc/start.c:1254,1
    - Dst: lxc_abstract_unix_recv_one_fd
      Src: /src/lxc/src/lxc/start.c:1256,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1257,1
    - Dst: lxc_set_death_signal
      Src: /src/lxc/src/lxc/start.c:1267,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1269,1
    - Dst: lxc_ambient_caps_up
      Src: /src/lxc/src/lxc/start.c:1273,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1275,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/start.c:1279,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1281,1
    - Dst: lxc_sync_wait_parent
      Src: /src/lxc/src/lxc/start.c:1285,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/start.c:1292,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1294,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:1297,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/start.c:1303,1
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/start.c:1310,1
    - Dst: lxc_switch_uid_gid
      Src: /src/lxc/src/lxc/start.c:1314,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/start.c:1317,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1317,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1317,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1318,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1318,1
    - Dst: lxc_set_death_signal
      Src: /src/lxc/src/lxc/start.c:1323,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1325,1
    - Dst: access
      Src: /src/lxc/src/lxc/start.c:1330,1
    - Dst: print_top_failing_dir
      Src: /src/lxc/src/lxc/start.c:1332,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/start.c:1349,1
    - Dst: access
      Src: /src/lxc/src/lxc/start.c:1354,1
    - Dst: open_devnull
      Src: /src/lxc/src/lxc/start.c:1356,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/start.c:1360,1
    - Dst: lxc_sync_wake_parent
      Src: /src/lxc/src/lxc/start.c:1368,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/start.c:1384,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1387,1
    - Dst: SYSINFO
      Src: /src/lxc/src/lxc/start.c:1392,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:1394,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/start.c:1399,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1402,1
    - Dst: SYSINFO
      Src: /src/lxc/src/lxc/start.c:1407,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:1411,1
    - Dst: timens_offset_write
      Src: /src/lxc/src/lxc/start.c:1414,1
    - Dst: timens_offset_write
      Src: /src/lxc/src/lxc/start.c:1416,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1418,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1421,1
    - Dst: timens_offset_write
      Src: /src/lxc/src/lxc/start.c:1424,1
    - Dst: timens_offset_write
      Src: /src/lxc/src/lxc/start.c:1426,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1428,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1431,1
    - Dst: open
      Src: /src/lxc/src/lxc/start.c:1433,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1435,1
    - Dst: setns
      Src: /src/lxc/src/lxc/start.c:1439,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1441,1
    - Dst: lxc_set_environment
      Src: /src/lxc/src/lxc/start.c:1452,1
    - Dst: lxc_set_environment
      Src: /src/lxc/src/lxc/start.c:1456,1
    - Dst: lxc_sync_wait_parent
      Src: /src/lxc/src/lxc/start.c:1460,1
    - Dst: lxc_setup
      Src: /src/lxc/src/lxc/start.c:1464,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1466,1
    - Dst: struct lxc_handler*::lsm_ops::process_label_set
      Src: /src/lxc/src/lxc/start.c:1471,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/start.c:1479,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1479,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1479,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1480,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1480,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1482,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/start.c:1485,1
    - Dst: tmp_proc_unmount
      Src: /src/lxc/src/lxc/start.c:1489,1
    - Dst: lxc_seccomp_load
      Src: /src/lxc/src/lxc/start.c:1491,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/start.c:1495,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1497,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:1502,1
    - Dst: open_devnull
      Src: /src/lxc/src/lxc/start.c:1506,1
    - Dst: set_stdfds
      Src: /src/lxc/src/lxc/start.c:1511,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1513,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:1518,1
    - Dst: setsid
      Src: /src/lxc/src/lxc/start.c:1520,1
    - Dst: stat
      Src: /src/lxc/src/lxc/start.c:1524,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/start.c:1524,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1525,1
    - Dst: chdir
      Src: /src/lxc/src/lxc/start.c:1529,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1531,1
    - Dst: lxc_sync_barrier_parent
      Src: /src/lxc/src/lxc/start.c:1537,1
    - Dst: lxc_sync_fds_child
      Src: /src/lxc/src/lxc/start.c:1540,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1542,1
    - Dst: lxc_sync_wait_parent
      Src: /src/lxc/src/lxc/start.c:1546,1
    - Dst: clearenv
      Src: /src/lxc/src/lxc/start.c:1552,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1555,1
    - Dst: lxc_set_environment
      Src: /src/lxc/src/lxc/start.c:1557,1
    - Dst: lxc_set_environment
      Src: /src/lxc/src/lxc/start.c:1561,1
    - Dst: putenv
      Src: /src/lxc/src/lxc/start.c:1565,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1567,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1572,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1574,1
    - Dst: fix_stdio_permissions
      Src: /src/lxc/src/lxc/start.c:1593,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/start.c:1595,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/start.c:1601,1
    - Dst: lxc_proc_cap_is_set
      Src: /src/lxc/src/lxc/start.c:1603,1
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/start.c:1607,1
    - Dst: lxc_setgroups
      Src: /src/lxc/src/lxc/start.c:1614,1
    - Dst: lxc_switch_uid_gid
      Src: /src/lxc/src/lxc/start.c:1619,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/start.c:1622,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1622,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1622,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1623,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/start.c:1623,1
    - Dst: lxc_ambient_caps_down
      Src: /src/lxc/src/lxc/start.c:1627,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1629,1
    - Dst: lxc_set_death_signal
      Src: /src/lxc/src/lxc/start.c:1634,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1637,1
    - Dst: struct lxc_handler*::ops::start
      Src: /src/lxc/src/lxc/start.c:1647,1
    - Dst: lxc_sync_wake_parent
      Src: /src/lxc/src/lxc/start.c:1654,1
    CyclomaticComplexity: 123
    EdgeCount: 123
    ICount: 302
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1658
      start: 1242
    functionDepth: 10
    functionLinenumber: 1242
    functionLinenumberEnd: 1658
    functionName: do_start
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - pthread_sigmask
    - set_stdfds
    - setsid
    - lxc_setgroups
    - lxc_proc_cap_is_set
    - lxc_set_environment
    - TRACE
    - lxc_abstract_unix_recv_one_fd
    - struct lxc_handler*::lsm_ops::process_label_set
    - putenv
    - close_prot_errno_disarm
    - lxc_seccomp_load
    - chdir
    - fix_stdio_permissions
    - open
    - lxc_sync_fds_child
    - list_empty
    - lxc_sync_fini_parent
    - lxc_set_death_signal
    - WARN
    - struct lxc_handler*::ops::start
    - lxc_ambient_caps_down
    - timens_offset_write
    - prctl_arg
    - lxc_ambient_caps_up
    - lxc_switch_uid_gid
    - lxc_mkdir_p
    - ERROR
    - lxc_sync_barrier_parent
    - clearenv
    - prctl
    - container_uses_namespace
    - stat
    - lxc_setup
    - unshare
    - run_lxc_hooks
    - strnprintf
    - DEBUG
    - SYSERROR
    - lxc_sync_wake_parent
    - lxc_sync_wait_parent
    - print_top_failing_dir
    - tmp_proc_unmount
    - access
    - lxc_drop_groups
    - SYSINFO
    - setns
    - open_devnull
    - setenv
    - INFO
    linkageType: ''
    returnType: int
    signature: int do_start(void *data)
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/start.c:1675,1
    - Dst: lxc_requests_empty_network
      Src: /src/lxc/src/lxc/start.c:1678,1
    - Dst: cgns_supported
      Src: /src/lxc/src/lxc/start.c:1681,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1694,1
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/start.c:1698,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/start.c:1704,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 36
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1717
      start: 1660
    functionDepth: 2
    functionLinenumber: 1660
    functionLinenumberEnd: 1717
    functionName: resolve_clone_flags
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - list_empty
    - pure_unified_layout
    - cgns_supported
    - TRACE
    - lxc_requests_empty_network
    - log_trace_errno
    linkageType: ''
    returnType: int
    signature: int resolve_clone_flags(struct lxc_handler *handler)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: setns
      Src: /src/lxc/src/lxc/start.c:1740,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1747,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/start.c:1752,1
    - Dst: lxc_raw_clone_cb
      Src: /src/lxc/src/lxc/start.c:1757,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1760,1
    - Dst: kill
      Src: /src/lxc/src/lxc/start.c:1765,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1767,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1772
      start: 1731
    functionDepth: 1
    functionLinenumber: 1731
    functionLinenumberEnd: 1772
    functionName: do_share_ns
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - ERROR
    - kill
    - setns
    - lxc_raw_clone_cb
    - DEBUG
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int do_share_ns(void *arg)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: log_trace
      Src: /src/lxc/src/lxc/start.c:1780,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/start.c:1782,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/start.c:1783,1
    - Dst: core_scheduling_cookie_create_threadgroup
      Src: /src/lxc/src/lxc/start.c:1785,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:1788,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/start.c:1793,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/start.c:1795,1
    - Dst: core_scheduling_cookie_get
      Src: /src/lxc/src/lxc/start.c:1798,1
    - Dst: core_scheduling_cookie_valid
      Src: /src/lxc/src/lxc/start.c:1799,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/start.c:1800,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1802,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1806
      start: 1774
    functionDepth: 2
    functionLinenumber: 1774
    functionLinenumberEnd: 1806
    functionName: core_scheduling
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - core_scheduling_cookie_create_threadgroup
    - core_scheduling_cookie_valid
    - container_uses_namespace
    - log_trace
    - TRACE
    - syserror_set
    - core_scheduling_cookie_get
    - syserror
    - INFO
    linkageType: ''
    returnType: int
    signature: int core_scheduling(struct lxc_handler *handler)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1818
      start: 1808
    functionDepth: 0
    functionLinenumber: 1808
    functionLinenumberEnd: 1818
    functionName: inherits_namespaces
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool inherits_namespaces(const struct lxc_handler *handler)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1825
      start: 1820
    functionDepth: 0
    functionLinenumber: 1820
    functionLinenumberEnd: 1825
    functionName: resolve_cgroup_clone_flags
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void resolve_cgroup_clone_flags(struct lxc_handler *handler)
  - BBCount: 62
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/start.c:1846,1
    - Dst: lxc_sync_init
      Src: /src/lxc/src/lxc/start.c:1848,1
    - Dst: socketpair
      Src: /src/lxc/src/lxc/start.c:1851,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/start.c:1858,1
    - Dst: lxc_find_gateway_addresses
      Src: /src/lxc/src/lxc/start.c:1859,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1861,1
    - Dst: struct cgroup_ops*::payload_create
      Src: /src/lxc/src/lxc/start.c:1866,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1867,1
    - Dst: inherits_namespaces
      Src: /src/lxc/src/lxc/start.c:1872,1
    - Dst: resolve_cgroup_clone_flags
      Src: /src/lxc/src/lxc/start.c:1875,1
    - Dst: lxc_clone
      Src: /src/lxc/src/lxc/start.c:1876,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1879,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/start.c:1883,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1885,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1890,1
    - Dst: ptr_to_u64
      Src: /src/lxc/src/lxc/start.c:1898,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/start.c:1902,1
    - Dst: cgroup_unified_fd
      Src: /src/lxc/src/lxc/start.c:1903,1
    - Dst: lxc_clone3
      Src: /src/lxc/src/lxc/start.c:1912,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/start.c:1914,1
    - Dst: resolve_cgroup_clone_flags
      Src: /src/lxc/src/lxc/start.c:1917,1
    - Dst: lxc_clone3
      Src: /src/lxc/src/lxc/start.c:1920,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1922,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1926,1
    - Dst: do_start
      Src: /src/lxc/src/lxc/start.c:1931,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/start.c:1932,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:1937,1
    - Dst: core_scheduling
      Src: /src/lxc/src/lxc/start.c:1939,1
    - Dst: lxc_can_use_pidfd
      Src: /src/lxc/src/lxc/start.c:1944,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:1945,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/start.c:1949,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/start.c:1953,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:1955,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:1959,1
    - Dst: lxc_try_preserve_namespaces
      Src: /src/lxc/src/lxc/start.c:1961,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1962,1
    - Dst: lxc_sync_fini_child
      Src: /src/lxc/src/lxc/start.c:1966,1
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/start.c:1968,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1969,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/start.c:1972,1
    - Dst: lxc_map_ids
      Src: /src/lxc/src/lxc/start.c:1983,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1985,1
    - Dst: struct cgroup_ops*::payload_delegate_controllers
      Src: /src/lxc/src/lxc/start.c:1991,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1992,1
    - Dst: struct cgroup_ops*::payload_enter
      Src: /src/lxc/src/lxc/start.c:1996,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:1997,1
    - Dst: struct cgroup_ops*::setup_limits
      Src: /src/lxc/src/lxc/start.c:2001,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2002,1
    - Dst: struct cgroup_ops*::chown
      Src: /src/lxc/src/lxc/start.c:2006,1
    - Dst: lxc_sync_barrier_child
      Src: /src/lxc/src/lxc/start.c:2009,1
    - Dst: lxc_try_preserve_namespace
      Src: /src/lxc/src/lxc/start.c:2014,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:2017,1
    - Dst: lxc_netns_set_nsid
      Src: /src/lxc/src/lxc/start.c:2022,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/start.c:2024,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:2026,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/start.c:2029,1
    - Dst: lxc_create_network
      Src: /src/lxc/src/lxc/start.c:2030,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2032,1
    - Dst: setup_proc_filesystem
      Src: /src/lxc/src/lxc/start.c:2037,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2039,1
    - Dst: setup_resource_limits
      Src: /src/lxc/src/lxc/start.c:2043,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2045,1
    - Dst: lxc_sync_wake_child
      Src: /src/lxc/src/lxc/start.c:2050,1
    - Dst: lxc_rootfs_prepare_parent
      Src: /src/lxc/src/lxc/start.c:2053,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2055,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/start.c:2059,1
    - Dst: lxc_network_send_to_child
      Src: /src/lxc/src/lxc/start.c:2060,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:2062,1
    - Dst: lxc_sync_wait_child
      Src: /src/lxc/src/lxc/start.c:2067,1
    - Dst: lxc_idmapped_mounts_parent
      Src: /src/lxc/src/lxc/start.c:2070,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2072,1
    - Dst: lxc_sync_wait_child
      Src: /src/lxc/src/lxc/start.c:2076,1
    - Dst: struct cgroup_ops*::devices_activate
      Src: /src/lxc/src/lxc/start.c:2079,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2080,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:2083,1
    - Dst: struct cgroup_ops*::finalize
      Src: /src/lxc/src/lxc/start.c:2085,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:2086,1
    - Dst: run_lxc_hooks
      Src: /src/lxc/src/lxc/start.c:2089,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2091,1
    - Dst: lxc_sync_wake_child
      Src: /src/lxc/src/lxc/start.c:2095,1
    - Dst: lxc_try_preserve_namespace
      Src: /src/lxc/src/lxc/start.c:2100,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:2103,1
    - Dst: lxc_try_preserve_namespace
      Src: /src/lxc/src/lxc/start.c:2111,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:2114,1
    - Dst: lxc_sync_fds_parent
      Src: /src/lxc/src/lxc/start.c:2120,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:2122,1
    - Dst: lxc_terminal_setup
      Src: /src/lxc/src/lxc/start.c:2126,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:2128,1
    - Dst: lxc_sync_barrier_child
      Src: /src/lxc/src/lxc/start.c:2139,1
    - Dst: lxc_log_configured_netdevs
      Src: /src/lxc/src/lxc/start.c:2147,1
    - Dst: struct lxc_handler*::ops::post_start
      Src: /src/lxc/src/lxc/start.c:2149,1
    - Dst: lxc_set_state
      Src: /src/lxc/src/lxc/start.c:2153,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2155,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/start.c:2155,1
    - Dst: lxc_sync_fini
      Src: /src/lxc/src/lxc/start.c:2159,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/start.c:2164,1
    - Dst: lxc_delete_network
      Src: /src/lxc/src/lxc/start.c:2165,1
    - Dst: lxc_abort
      Src: /src/lxc/src/lxc/start.c:2168,1
    - Dst: lxc_sync_fini
      Src: /src/lxc/src/lxc/start.c:2171,1
    CyclomaticComplexity: 101
    EdgeCount: 101
    ICount: 276
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2174
      start: 1834
    functionDepth: 10
    functionLinenumber: 1834
    functionLinenumberEnd: 2174
    functionName: lxc_spawn
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - lxc_find_gateway_addresses
    - lxc_sync_init
    - lxc_abstract_unix_send_fds
    - lxc_try_preserve_namespaces
    - lxc_state2str
    - TRACE
    - lxc_try_preserve_namespace
    - lxc_netns_set_nsid
    - lxc_delete_network
    - close_prot_errno_disarm
    - _exit
    - lxc_network_send_to_child
    - struct cgroup_ops*::devices_activate
    - lxc_clone3
    - struct cgroup_ops*::payload_delegate_controllers
    - lxc_sync_fini
    - lxc_terminal_setup
    - lxc_create_network
    - SYSWARN
    - inherits_namespaces
    - list_empty
    - core_scheduling
    - ptr_to_u64
    - resolve_cgroup_clone_flags
    - lxc_set_state
    - ERROR
    - setup_proc_filesystem
    - struct cgroup_ops*::finalize
    - container_uses_namespace
    - struct cgroup_ops*::payload_enter
    - struct cgroup_ops*::chown
    - struct cgroup_ops*::payload_create
    - lxc_sync_wait_child
    - lxc_map_ids
    - lxc_sync_wake_child
    - run_lxc_hooks
    - strnprintf
    - lxc_idmapped_mounts_parent
    - do_start
    - lxc_clone
    - SYSERROR
    - socketpair
    - lxc_sync_barrier_child
    - wait_for_pid
    - lxc_rootfs_prepare_parent
    - cgroup_unified_fd
    - struct cgroup_ops*::setup_limits
    - lxc_sync_fds_parent
    - setup_resource_limits
    - setenv
    - lxc_sync_fini_child
    - struct lxc_handler*::ops::post_start
    - lxc_abort
    - INFO
    - lxc_can_use_pidfd
    - lxc_log_configured_netdevs
    linkageType: ''
    returnType: int
    signature: int lxc_spawn(struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_inherit_namespace
      Src: /src/lxc/src/lxc/start.c:2185,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:2191,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2196
      start: 2176
    functionDepth: 3
    functionLinenumber: 2176
    functionLinenumberEnd: 2196
    functionName: lxc_inherit_namespaces
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - lxc_inherit_namespace
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_inherit_namespaces(struct lxc_handler *handler)
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: lxc_init
      Src: /src/lxc/src/lxc/start.c:2206,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2208,1
    - Dst: attach_block_device
      Src: /src/lxc/src/lxc/start.c:2216,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2217,1
    - Dst: struct cgroup_ops*::monitor_create
      Src: /src/lxc/src/lxc/start.c:2222,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2223,1
    - Dst: struct cgroup_ops*::monitor_delegate_controllers
      Src: /src/lxc/src/lxc/start.c:2228,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2229,1
    - Dst: struct cgroup_ops*::monitor_enter
      Src: /src/lxc/src/lxc/start.c:2234,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2235,1
    - Dst: resolve_clone_flags
      Src: /src/lxc/src/lxc/start.c:2240,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2242,1
    - Dst: lxc_inherit_namespaces
      Src: /src/lxc/src/lxc/start.c:2247,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:2249,1
    - Dst: lxc_rootfs_init
      Src: /src/lxc/src/lxc/start.c:2258,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/start.c:2258,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2260,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/start.c:2265,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/start.c:2265,1
    - Dst: rootfs_is_blockdev
      Src: /src/lxc/src/lxc/start.c:2269,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/start.c:2270,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2272,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:2275,1
    - Dst: lxc_setup_rootfs_prepare_root
      Src: /src/lxc/src/lxc/start.c:2277,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2279,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:2282,1
    - Dst: lxc_spawn
      Src: /src/lxc/src/lxc/start.c:2286,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2288,1
    - Dst: lxc_poll
      Src: /src/lxc/src/lxc/start.c:2294,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2296,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2301,1
    - Dst: lxc_wait_for_pid_status
      Src: /src/lxc/src/lxc/start.c:2306,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:2308,1
    - Dst: WIFSIGNALED
      Src: /src/lxc/src/lxc/start.c:2314,1
    - Dst: WTERMSIG
      Src: /src/lxc/src/lxc/start.c:2315,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/start.c:2318,1
    - Dst: signal_name
      Src: /src/lxc/src/lxc/start.c:2318,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/start.c:2321,1
    - Dst: signal_name
      Src: /src/lxc/src/lxc/start.c:2321,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/start.c:2325,1
    - Dst: signal_name
      Src: /src/lxc/src/lxc/start.c:2325,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/start.c:2328,1
    - Dst: signal_name
      Src: /src/lxc/src/lxc/start.c:2328,1
    - Dst: lxc_restore_phys_nics_to_netns
      Src: /src/lxc/src/lxc/start.c:2333,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2335,1
    - Dst: lxc_monitor_send_exit_code
      Src: /src/lxc/src/lxc/start.c:2337,1
    - Dst: lxc_error_set_and_log
      Src: /src/lxc/src/lxc/start.c:2338,1
    - Dst: lxc_delete_network
      Src: /src/lxc/src/lxc/start.c:2342,1
    - Dst: detach_block_device
      Src: /src/lxc/src/lxc/start.c:2343,1
    - Dst: lxc_end
      Src: /src/lxc/src/lxc/start.c:2344,1
    - Dst: lxc_abort
      Src: /src/lxc/src/lxc/start.c:2348,1
    - Dst: lxc_end
      Src: /src/lxc/src/lxc/start.c:2349,1
    - Dst: lxc_abort
      Src: /src/lxc/src/lxc/start.c:2353,1
    - Dst: detach_block_device
      Src: /src/lxc/src/lxc/start.c:2354,1
    - Dst: lxc_end
      Src: /src/lxc/src/lxc/start.c:2355,1
    - Dst: lxc_abort
      Src: /src/lxc/src/lxc/start.c:2359,1
    - Dst: lxc_restore_phys_nics_to_netns
      Src: /src/lxc/src/lxc/start.c:2360,1
    - Dst: lxc_delete_network
      Src: /src/lxc/src/lxc/start.c:2361,1
    - Dst: detach_block_device
      Src: /src/lxc/src/lxc/start.c:2362,1
    - Dst: lxc_end
      Src: /src/lxc/src/lxc/start.c:2363,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 143
    argCount: 6
    argNames:
    - handler
    - ops
    - data
    - lxcpath
    - daemonize
    - error_num
    argTypes:
    - struct lxc_handler*
    - struct lxc_operations*
    - void*
    - char*
    - bool
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2365
      start: 2198
    functionDepth: 11
    functionLinenumber: 2198
    functionLinenumberEnd: 2365
    functionName: __lxc_start
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - struct cgroup_ops*::monitor_create
    - resolve_clone_flags
    - lxc_spawn
    - lxc_delete_network
    - WTERMSIG
    - list_empty
    - lxc_restore_phys_nics_to_netns
    - detach_block_device
    - WIFSIGNALED
    - lxc_inherit_namespaces
    - ERROR
    - lxc_abort
    - geteuid
    - attach_block_device
    - lxc_monitor_send_exit_code
    - rootfs_is_blockdev
    - unshare
    - lxc_error_set_and_log
    - struct cgroup_ops*::monitor_enter
    - signal_name
    - lxc_init
    - SYSERROR
    - DEBUG
    - lxc_end
    - lxc_setup_rootfs_prepare_root
    - struct cgroup_ops*::monitor_delegate_controllers
    - lxc_wait_for_pid_status
    - lxc_rootfs_init
    - lxc_poll
    - INFO
    linkageType: ''
    returnType: int
    signature: "int __lxc_start(struct lxc_handler *handler, struct lxc_operations
      *ops,\n\t\tvoid *data, const char *lxcpath, bool daemonize, int *error_num)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/start.c:2375,1
    - Dst: execvp
      Src: /src/lxc/src/lxc/start.c:2377,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/start.c:2378,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 2
    argNames:
    - handler
    - data
    argTypes:
    - struct lxc_handler*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2380
      start: 2371
    functionDepth: 1
    functionLinenumber: 2371
    functionLinenumberEnd: 2380
    functionName: start
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 15
    functionsReached:
    - SYSERROR
    - execvp
    - NOTICE
    linkageType: ''
    returnType: int
    signature: int start(struct lxc_handler *handler, void* data)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/start.c:2386,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - handler
    - data
    argTypes:
    - struct lxc_handler*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2388
      start: 2382
    functionDepth: 1
    functionLinenumber: 2382
    functionLinenumberEnd: 2388
    functionName: post_start
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - NOTICE
    linkageType: ''
    returnType: int
    signature: int post_start(struct lxc_handler *handler, void* data)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/start.c:2402,1
    - Dst: __lxc_start
      Src: /src/lxc/src/lxc/start.c:2403,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - argv
    - handler
    - lxcpath
    - daemonize
    - error_num
    argTypes:
    - char*[]
    - struct lxc_handler*
    - char*
    - bool
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2404
      start: 2395
    functionDepth: 12
    functionLinenumber: 2395
    functionLinenumberEnd: 2404
    functionName: lxc_start
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 3
    functionsReached:
    - __lxc_start
    - TRACE
    linkageType: ''
    returnType: int
    signature: "int lxc_start(char *const argv[], struct lxc_handler *handler,\n\t
      \     const char *lxcpath, bool daemonize, int *error_num)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: do_destroy_container
      Src: /src/lxc/src/lxc/start.c:2415,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2417,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:2421,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/start.c:2423,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2425,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/start.c:2429,1
    - Dst: container_disk_lock
      Src: /src/lxc/src/lxc/start.c:2431,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:2432,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/start.c:2433,1
    - Dst: mod_all_rdeps
      Src: /src/lxc/src/lxc/start.c:2435,1
    - Dst: container_disk_unlock
      Src: /src/lxc/src/lxc/start.c:2436,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/start.c:2437,1
    - Dst: userns_exec_full
      Src: /src/lxc/src/lxc/start.c:2442,1
    - Dst: lxc_rmdir_onedev
      Src: /src/lxc/src/lxc/start.c:2445,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/start.c:2448,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/start.c:2451,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 33
    argCount: 2
    argNames:
    - handler
    - name
    argTypes:
    - struct lxc_handler*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2452
      start: 2406
    functionDepth: 6
    functionLinenumber: 2406
    functionLinenumberEnd: 2452
    functionName: lxc_destroy_container_on_signal
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 1
    functionsReached:
    - container_disk_lock
    - ERROR
    - container_disk_unlock
    - mod_all_rdeps
    - lxc_rmdir_onedev
    - userns_exec_full
    - lxc_container_put
    - lxc_container_new
    - INFO
    - strnprintf
    - do_destroy_container
    linkageType: ''
    returnType: void
    signature: "void lxc_destroy_container_on_signal(struct lxc_handler *handler,\n\t\t\t\t\t
      \   const char *name)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_rmdir_onedev
      Src: /src/lxc/src/lxc/start.c:2457,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2458
      start: 2454
    functionDepth: 3
    functionLinenumber: 2454
    functionLinenumberEnd: 2458
    functionName: lxc_rmdir_onedev_wrapper
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 0
    functionsReached:
    - lxc_rmdir_onedev
    linkageType: ''
    returnType: int
    signature: int lxc_rmdir_onedev_wrapper(void *data)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: userns_exec_full
      Src: /src/lxc/src/lxc/start.c:2465,1
    - Dst: storage_destroy
      Src: /src/lxc/src/lxc/start.c:2473,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - handler
    argTypes:
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2474
      start: 2460
    functionDepth: 5
    functionLinenumber: 2460
    functionLinenumberEnd: 2474
    functionName: do_destroy_container
    functionSourceFile: /src/lxc/src/lxc/start.c
    functionUses: 2
    functionsReached:
    - storage_destroy
    - userns_exec_full
    linkageType: ''
    returnType: bool
    signature: bool do_destroy_container(struct lxc_handler *handler)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/process_utils.c:36,1
    - Dst: syscall
      Src: /src/lxc/src/lxc/process_utils.c:84,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/process_utils.c:84,1
    - Dst: syscall
      Src: /src/lxc/src/lxc/process_utils.c:86,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 2
    argNames:
    - flags
    - pidfd
    argTypes:
    - unsigned long
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 88
      start: 29
    functionDepth: 1
    functionLinenumber: 29
    functionLinenumberEnd: 88
    functionName: lxc_raw_legacy_clone
    functionSourceFile: /src/lxc/src/lxc/process_utils.c
    functionUses: 0
    functionsReached:
    - syscall
    - prctl_arg
    linkageType: ''
    returnType: __returns_twice
    signature: __returns_twice lxc_raw_legacy_clone(unsigned long flags, int *pidfd)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ptr_to_u64
      Src: /src/lxc/src/lxc/process_utils.c:95,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/process_utils.c:100,1
    - Dst: lxc_clone3
      Src: /src/lxc/src/lxc/process_utils.c:106,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/process_utils.c:108,1
    - Dst: lxc_raw_legacy_clone
      Src: /src/lxc/src/lxc/process_utils.c:109,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 2
    argNames:
    - flags
    - pidfd
    argTypes:
    - unsigned long
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 113
      start: 90
    functionDepth: 2
    functionLinenumber: 90
    functionLinenumberEnd: 113
    functionName: lxc_raw_clone
    functionSourceFile: /src/lxc/src/lxc/process_utils.c
    functionUses: 3
    functionsReached:
    - SYSTRACE
    - lxc_raw_legacy_clone
    - ptr_to_u64
    - ret_errno
    - lxc_clone3
    linkageType: ''
    returnType: __returns_twice
    signature: __returns_twice lxc_raw_clone(unsigned long flags, int *pidfd)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_raw_clone
      Src: /src/lxc/src/lxc/process_utils.c:120,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/process_utils.c:129,1
    - Dst: fn
      Src: /src/lxc/src/lxc/process_utils.c:129,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - args
    - flags
    - pidfd
    argTypes:
    - void*
    - unsigned long
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 132
      start: 115
    functionDepth: 3
    functionLinenumber: 115
    functionLinenumberEnd: 132
    functionName: lxc_raw_clone_cb
    functionSourceFile: /src/lxc/src/lxc/process_utils.c
    functionUses: 2
    functionsReached:
    - lxc_raw_clone
    - _exit
    - fn
    linkageType: ''
    returnType: pid_t
    signature: "pid_t lxc_raw_clone_cb(int (*fn)(void *), void *args, unsigned long
      flags,\n\t\t       int *pidfd)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/process_utils.c:137,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - pidfd
    - sig
    - info
    - flags
    argTypes:
    - int
    - int
    - siginfo_t*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 138
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 138
    functionName: lxc_raw_pidfd_send_signal
    functionSourceFile: /src/lxc/src/lxc/process_utils.c
    functionUses: 7
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: "int lxc_raw_pidfd_send_signal(int pidfd, int sig, siginfo_t *info,\n\t\t\t
      \     unsigned int flags)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/process_utils.c:150,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/process_utils.c:152,1
    - Dst: __clone2
      Src: /src/lxc/src/lxc/process_utils.c:155,1
    - Dst: clone
      Src: /src/lxc/src/lxc/process_utils.c:157,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/process_utils.c:160,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 3
    argNames:
    - arg
    - flags
    - pidfd
    argTypes:
    - void*
    - int
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 163
      start: 145
    functionDepth: 1
    functionLinenumber: 145
    functionLinenumberEnd: 163
    functionName: lxc_clone
    functionSourceFile: /src/lxc/src/lxc/process_utils.c
    functionUses: 2
    functionsReached:
    - malloc
    - __clone2
    - clone
    - syserror_set
    - SYSERROR
    linkageType: ''
    returnType: pid_t
    signature: pid_t lxc_clone(int (*fn)(void *), void *arg, int flags, int *pidfd)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - name
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 59
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 59
    functionName: lxc_config_define
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_config_define(name)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:165,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 166
      start: 162
    functionDepth: 1
    functionLinenumber: 162
    functionLinenumberEnd: 166
    functionName: set_config_unsupported_key
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int set_config_unsupported_key(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:171,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 172
      start: 168
    functionDepth: 1
    functionLinenumber: 168
    functionLinenumberEnd: 172
    functionName: get_config_unsupported_key
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int get_config_unsupported_key(const char *key, char *retv, int inlen,\n\t\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:177,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 178
      start: 174
    functionDepth: 1
    functionLinenumber: 174
    functionLinenumberEnd: 178
    functionName: clr_config_unsupported_key
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int clr_config_unsupported_key(const char *key,\n\t\t\t\t      struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/confile.c:335,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:336,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - key
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 340
      start: 331
    functionDepth: 1
    functionLinenumber: 331
    functionLinenumberEnd: 340
    functionName: lxc_get_config_exact
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ARRAY_SIZE
    - strequal
    linkageType: ''
    returnType: struct lxc_config_t
    signature: struct lxc_config_t *lxc_get_config_exact(const char *key)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:350,1
    - Dst: strnlen
      Src: /src/lxc/src/lxc/confile.c:353,1
    - Dst: error_ret
      Src: /src/lxc/src/lxc/confile.c:355,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:357,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - entry
    - key
    argTypes:
    - struct lxc_config_t*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 358
      start: 345
    functionDepth: 1
    functionLinenumber: 345
    functionLinenumberEnd: 358
    functionName: match_config_item
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - strnlen
    - strnequal
    - strequal
    - error_ret
    linkageType: ''
    returnType: int
    signature: int match_config_item(const struct lxc_config_t *entry, const char
      *key)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/confile.c:362,1
    - Dst: match_config_item
      Src: /src/lxc/src/lxc/confile.c:365,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - key
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 376
      start: 360
    functionDepth: 2
    functionLinenumber: 360
    functionLinenumberEnd: 376
    functionName: lxc_get_config
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 4
    functionsReached:
    - ARRAY_SIZE
    - match_config_item
    linkageType: ''
    returnType: struct lxc_config_t
    signature: struct lxc_config_t *lxc_get_config(const char *key)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:382,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:383,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:383,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - entry
    - key
    argTypes:
    - struct lxc_config_net_t*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 384
      start: 378
    functionDepth: 1
    functionLinenumber: 378
    functionLinenumberEnd: 384
    functionName: match_config_net_item
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - strlen
    - strnequal
    - strequal
    linkageType: ''
    returnType: bool
    signature: "bool match_config_net_item(const struct lxc_config_net_t *entry,\n\t\t\t\t\t
      const char *key)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/confile.c:388,1
    - Dst: match_config_net_item
      Src: /src/lxc/src/lxc/confile.c:391,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - key
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 398
      start: 386
    functionDepth: 2
    functionLinenumber: 386
    functionLinenumberEnd: 398
    functionName: lxc_get_config_net
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ARRAY_SIZE
    - match_config_net_item
    linkageType: ''
    returnType: struct lxc_config_net_t
    signature: struct lxc_config_net_t *lxc_get_config_net(const char *key)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:403,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:404,1
    - Dst: clr_config_net
      Src: /src/lxc/src/lxc/confile.c:406,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 407
      start: 400
    functionDepth: 1
    functionLinenumber: 400
    functionLinenumberEnd: 407
    functionName: set_config_net
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - clr_config_net
    - lxc_config_value_empty
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int set_config_net(const char *key, const char *value,\n\t\t\t  struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:415,1
    - Dst: clr_config_net_type
      Src: /src/lxc/src/lxc/confile.c:417,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:418,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:421,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/confile.c:423,1
    - Dst: INIT_LIST_HEAD
      Src: /src/lxc/src/lxc/confile.c:424,1
    - Dst: lxc_list_init
      Src: /src/lxc/src/lxc/confile.c:425,1
    - Dst: lxc_veth_flag_to_mode
      Src: /src/lxc/src/lxc/confile.c:426,1
    - Dst: lxc_veth_mode_to_flag
      Src: /src/lxc/src/lxc/confile.c:427,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:428,1
    - Dst: lxc_macvlan_flag_to_mode
      Src: /src/lxc/src/lxc/confile.c:430,1
    - Dst: lxc_macvlan_mode_to_flag
      Src: /src/lxc/src/lxc/confile.c:431,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:432,1
    - Dst: lxc_ipvlan_flag_to_mode
      Src: /src/lxc/src/lxc/confile.c:434,1
    - Dst: lxc_ipvlan_mode_to_flag
      Src: /src/lxc/src/lxc/confile.c:435,1
    - Dst: lxc_ipvlan_flag_to_isolation
      Src: /src/lxc/src/lxc/confile.c:436,1
    - Dst: lxc_ipvlan_isolation_to_flag
      Src: /src/lxc/src/lxc/confile.c:437,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:438,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:440,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:442,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/confile.c:445,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:446,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/confile.c:449,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 42
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 453
      start: 409
    functionDepth: 2
    functionLinenumber: 409
    functionLinenumberEnd: 453
    functionName: set_config_net_type
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_veth_mode_to_flag
    - lxc_ipvlan_isolation_to_flag
    - log_error
    - lxc_ipvlan_mode_to_flag
    - strequal
    - lxc_veth_flag_to_mode
    - lxc_macvlan_flag_to_mode
    - lxc_macvlan_mode_to_flag
    - lxc_ipvlan_flag_to_mode
    - lxc_ipvlan_flag_to_isolation
    - ret_errno
    - strlcpy
    - clr_config_net_type
    - lxc_list_init
    - INIT_LIST_HEAD
    linkageType: ''
    returnType: int
    signature: "int set_config_net_type(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:461,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:463,1
    - Dst: clr_config_net_flags
      Src: /src/lxc/src/lxc/confile.c:464,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 469
      start: 455
    functionDepth: 1
    functionLinenumber: 455
    functionLinenumberEnd: 469
    functionName: set_config_net_flags
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - clr_config_net_flags
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_net_flags(const char *key, const char *value,\n\t\t\t\tstruct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/confile.c:474,1
    - Dst: netns_getifaddrs
      Src: /src/lxc/src/lxc/confile.c:482,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:483,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:492,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:492,1
    - Dst: set_config_net_type
      Src: /src/lxc/src/lxc/confile.c:493,1
    - Dst: set_config_net_link
      Src: /src/lxc/src/lxc/confile.c:496,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/confile.c:499,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/confile.c:503,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 3
    argNames:
    - value
    - lxc_conf
    - netdev
    argTypes:
    - char*
    - struct lxc_conf*
    - struct lxc_netdev*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 510
      start: 471
    functionDepth: 3
    functionLinenumber: 471
    functionLinenumberEnd: 510
    functionName: create_matched_ifnames
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ERROR
    - call_cleaner
    - strnequal
    - netns_getifaddrs
    - set_config_net_type
    - log_error_errno
    - set_config_net_link
    - strlen
    linkageType: ''
    returnType: int
    signature: "int create_matched_ifnames(const char *value, struct lxc_conf *lxc_conf,\n\t\t\t\t
      \ struct lxc_netdev *netdev)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:519,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:521,1
    - Dst: clr_config_net_link
      Src: /src/lxc/src/lxc/confile.c:522,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:524,1
    - Dst: create_matched_ifnames
      Src: /src/lxc/src/lxc/confile.c:525,1
    - Dst: network_ifname
      Src: /src/lxc/src/lxc/confile.c:527,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 530
      start: 512
    functionDepth: 4
    functionLinenumber: 512
    functionLinenumberEnd: 530
    functionName: set_config_net_link
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - network_ifname
    - clr_config_net_link
    - lxc_config_value_empty
    - create_matched_ifnames
    - ret_errno
    - strlen
    linkageType: ''
    returnType: int
    signature: "int set_config_net_link(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:540,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:542,1
    - Dst: clr_config_net_l2proxy
      Src: /src/lxc/src/lxc/confile.c:543,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:545,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:547,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:558,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 559
      start: 532
    functionDepth: 1
    functionLinenumber: 532
    functionLinenumberEnd: 559
    functionName: set_config_net_l2proxy
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - clr_config_net_l2proxy
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_net_l2proxy(const char *key, const char *value,\n\t\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:567,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:569,1
    - Dst: clr_config_net_name
      Src: /src/lxc/src/lxc/confile.c:570,1
    - Dst: network_ifname
      Src: /src/lxc/src/lxc/confile.c:572,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 573
      start: 561
    functionDepth: 2
    functionLinenumber: 561
    functionLinenumberEnd: 573
    functionName: set_config_net_name
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - network_ifname
    - ret_errno
    - lxc_config_value_empty
    - clr_config_net_name
    linkageType: ''
    returnType: int
    signature: "int set_config_net_name(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:582,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:585,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:587,1
    - Dst: clr_config_net_veth_mode
      Src: /src/lxc/src/lxc/confile.c:588,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:591,1
    - Dst: lxc_veth_mode_to_flag
      Src: /src/lxc/src/lxc/confile.c:593,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 594
      start: 576
    functionDepth: 2
    functionLinenumber: 576
    functionLinenumberEnd: 594
    functionName: set_config_net_veth_mode
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_veth_mode_to_flag
    - clr_config_net_veth_mode
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_net_veth_mode(const char *key, const char *value,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:603,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:606,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:608,1
    - Dst: clr_config_net_veth_n_rxqueues
      Src: /src/lxc/src/lxc/confile.c:609,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/confile.c:611,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:612,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:615,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 619
      start: 596
    functionDepth: 1
    functionLinenumber: 596
    functionLinenumberEnd: 619
    functionName: set_config_net_veth_n_rxqueues
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_int
    - ret_errno
    - lxc_config_value_empty
    - clr_config_net_veth_n_rxqueues
    linkageType: ''
    returnType: int
    signature: "int set_config_net_veth_n_rxqueues(const char *key, const char *value,\n\t\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:628,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:631,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:633,1
    - Dst: clr_config_net_veth_n_txqueues
      Src: /src/lxc/src/lxc/confile.c:634,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/confile.c:636,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:637,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:640,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 644
      start: 621
    functionDepth: 1
    functionLinenumber: 621
    functionLinenumberEnd: 644
    functionName: set_config_net_veth_n_txqueues
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_int
    - ret_errno
    - lxc_config_value_empty
    - clr_config_net_veth_n_txqueues
    linkageType: ''
    returnType: int
    signature: "int set_config_net_veth_n_txqueues(const char *key, const char *value,\n\t\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:652,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:655,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:657,1
    - Dst: clr_config_net_veth_pair
      Src: /src/lxc/src/lxc/confile.c:658,1
    - Dst: network_ifname
      Src: /src/lxc/src/lxc/confile.c:660,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 662
      start: 646
    functionDepth: 2
    functionLinenumber: 646
    functionLinenumberEnd: 662
    functionName: set_config_net_veth_pair
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - network_ifname
    - clr_config_net_veth_pair
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_net_veth_pair(const char *key, const char *value,\n\t\t\t\t
      \   struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:671,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:674,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:676,1
    - Dst: clr_config_net_veth_vlan_id
      Src: /src/lxc/src/lxc/confile.c:677,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:679,1
    - Dst: get_u16
      Src: /src/lxc/src/lxc/confile.c:684,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:686,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:689,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 696
      start: 664
    functionDepth: 2
    functionLinenumber: 664
    functionLinenumberEnd: 696
    functionName: set_config_net_veth_vlan_id
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - strequal
    - ret_errno
    - clr_config_net_veth_vlan_id
    - get_u16
    linkageType: ''
    returnType: int
    signature: "int set_config_net_veth_vlan_id(const char *key, const char *value,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:708,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:711,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:713,1
    - Dst: clr_config_net_veth_vlan_tagged_id
      Src: /src/lxc/src/lxc/confile.c:714,1
    - Dst: get_u16
      Src: /src/lxc/src/lxc/confile.c:716,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:718,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:721,1
    - Dst: lxc_list_new
      Src: /src/lxc/src/lxc/confile.c:723,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:725,1
    - Dst: UINT_TO_PTR
      Src: /src/lxc/src/lxc/confile.c:727,1
    - Dst: lxc_list_add_tail
      Src: /src/lxc/src/lxc/confile.c:729,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:729,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 732
      start: 698
    functionDepth: 2
    functionLinenumber: 698
    functionLinenumberEnd: 732
    functionName: set_config_net_veth_vlan_tagged_id
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - clr_config_net_veth_vlan_tagged_id
    - lxc_list_new
    - lxc_config_value_empty
    - UINT_TO_PTR
    - move_ptr
    - ret_errno
    - get_u16
    - lxc_list_add_tail
    linkageType: ''
    returnType: int
    signature: "int set_config_net_veth_vlan_tagged_id(const char *key, const char
      *value,\n\t\t\t\t\t      struct lxc_conf *lxc_conf,\n\t\t\t\t\t      void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:740,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:743,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:745,1
    - Dst: clr_config_net_macvlan_mode
      Src: /src/lxc/src/lxc/confile.c:746,1
    - Dst: lxc_macvlan_mode_to_flag
      Src: /src/lxc/src/lxc/confile.c:748,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 749
      start: 734
    functionDepth: 2
    functionLinenumber: 734
    functionLinenumberEnd: 749
    functionName: set_config_net_macvlan_mode
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_config_value_empty
    - clr_config_net_macvlan_mode
    - lxc_macvlan_mode_to_flag
    linkageType: ''
    returnType: int
    signature: "int set_config_net_macvlan_mode(const char *key, const char *value,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:757,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:760,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:762,1
    - Dst: clr_config_net_ipvlan_mode
      Src: /src/lxc/src/lxc/confile.c:763,1
    - Dst: lxc_ipvlan_mode_to_flag
      Src: /src/lxc/src/lxc/confile.c:765,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 766
      start: 751
    functionDepth: 2
    functionLinenumber: 751
    functionLinenumberEnd: 766
    functionName: set_config_net_ipvlan_mode
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - clr_config_net_ipvlan_mode
    - lxc_config_value_empty
    - lxc_ipvlan_mode_to_flag
    - ret_errno
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int set_config_net_ipvlan_mode(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:774,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:777,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:779,1
    - Dst: clr_config_net_ipvlan_isolation
      Src: /src/lxc/src/lxc/confile.c:780,1
    - Dst: lxc_ipvlan_isolation_to_flag
      Src: /src/lxc/src/lxc/confile.c:782,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 783
      start: 768
    functionDepth: 2
    functionLinenumber: 768
    functionLinenumberEnd: 783
    functionName: set_config_net_ipvlan_isolation
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_ipvlan_isolation_to_flag
    - clr_config_net_ipvlan_isolation
    - ret_errno
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int set_config_net_ipvlan_isolation(const char *key, const char *value,\n\t\t\t\t\t
      \  struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:792,1
    - Dst: clr_config_net_hwaddr
      Src: /src/lxc/src/lxc/confile.c:794,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:795,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:798,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:800,1
    - Dst: rand_complete_hwaddr
      Src: /src/lxc/src/lxc/confile.c:802,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:803,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:804,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 807
      start: 785
    functionDepth: 2
    functionLinenumber: 785
    functionLinenumberEnd: 807
    functionName: set_config_net_hwaddr
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - clr_config_net_hwaddr
    - lxc_config_value_empty
    - move_ptr
    - ret_errno
    - rand_complete_hwaddr
    - strdup
    linkageType: ''
    returnType: int
    signature: "int set_config_net_hwaddr(const char *key, const char *value,\n\t\t\t\t
      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:816,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:819,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:821,1
    - Dst: clr_config_net_vlan_id
      Src: /src/lxc/src/lxc/confile.c:822,1
    - Dst: get_u16
      Src: /src/lxc/src/lxc/confile.c:824,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 829
      start: 809
    functionDepth: 2
    functionLinenumber: 809
    functionLinenumberEnd: 829
    functionName: set_config_net_vlan_id
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - get_u16
    - ret_errno
    - lxc_config_value_empty
    - clr_config_net_vlan_id
    linkageType: ''
    returnType: int
    signature: "int set_config_net_vlan_id(const char *key, const char *value,\n\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:837,1
    - Dst: clr_config_net_mtu
      Src: /src/lxc/src/lxc/confile.c:839,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:840,1
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:843,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 844
      start: 831
    functionDepth: 2
    functionLinenumber: 831
    functionLinenumberEnd: 844
    functionName: set_config_net_mtu
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - clr_config_net_mtu
    - ret_errno
    - lxc_config_value_empty
    - set_config_string_item
    linkageType: ''
    returnType: int
    signature: "int set_config_net_mtu(const char *key, const char *value,\n\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:857,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:859,1
    - Dst: clr_config_net_ipv4_address
      Src: /src/lxc/src/lxc/confile.c:860,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:862,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:864,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:866,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:868,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/confile.c:870,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/confile.c:876,1
    - Dst: inet_pton
      Src: /src/lxc/src/lxc/confile.c:882,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:884,1
    - Dst: inet_pton
      Src: /src/lxc/src/lxc/confile.c:887,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:889,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:896,1
    - Dst: config_ip_prefix
      Src: /src/lxc/src/lxc/confile.c:898,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:900,1
    - Dst: htonl
      Src: /src/lxc/src/lxc/confile.c:913,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:918,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:919,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 50
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 922
      start: 846
    functionDepth: 1
    functionLinenumber: 846
    functionLinenumberEnd: 922
    functionName: set_config_net_ipv4_address
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - inet_pton
    - config_ip_prefix
    - lxc_config_value_empty
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_errno
    - log_error_errno
    - strstr
    - strdup
    - clr_config_net_ipv4_address
    - htonl
    linkageType: ''
    returnType: int
    signature: "int set_config_net_ipv4_address(const char *key, const char *value,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:930,1
    - Dst: clr_config_net_ipv4_gateway
      Src: /src/lxc/src/lxc/confile.c:932,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:933,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:936,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:939,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:947,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:949,1
    - Dst: inet_pton
      Src: /src/lxc/src/lxc/confile.c:951,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:953,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:955,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 960
      start: 924
    functionDepth: 1
    functionLinenumber: 924
    functionLinenumberEnd: 960
    functionName: set_config_net_ipv4_gateway
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - inet_pton
    - lxc_config_value_empty
    - strequal
    - zalloc
    - clr_config_net_ipv4_gateway
    - ret_errno
    - log_error_errno
    - move_ptr
    linkageType: ''
    returnType: int
    signature: "int set_config_net_ipv4_gateway(const char *key, const char *value,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:972,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:975,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:977,1
    - Dst: clr_config_net_veth_ipv4_route
      Src: /src/lxc/src/lxc/confile.c:978,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:980,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:982,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:984,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:986,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:988,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:990,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:995,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:999,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1001,1
    - Dst: inet_pton
      Src: /src/lxc/src/lxc/confile.c:1003,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1005,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:1007,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1008,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 30
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1011
      start: 962
    functionDepth: 1
    functionLinenumber: 962
    functionLinenumberEnd: 1011
    functionName: set_config_net_veth_ipv4_route
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - inet_pton
    - lxc_config_value_empty
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_errno
    - syserror_set
    - strdup
    - strchr
    - clr_config_net_veth_ipv4_route
    linkageType: ''
    returnType: int
    signature: "int set_config_net_veth_ipv4_route(const char *key, const char *value,\n\t\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1023,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1025,1
    - Dst: clr_config_net_ipv6_address
      Src: /src/lxc/src/lxc/confile.c:1026,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:1028,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1030,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1032,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1034,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/confile.c:1037,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1042,1
    - Dst: inet_pton
      Src: /src/lxc/src/lxc/confile.c:1047,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:1049,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:1051,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1052,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1055
      start: 1013
    functionDepth: 1
    functionLinenumber: 1013
    functionLinenumberEnd: 1055
    functionName: set_config_net_ipv6_address
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - inet_pton
    - lxc_config_value_empty
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_errno
    - log_error_errno
    - strstr
    - strdup
    - clr_config_net_ipv6_address
    linkageType: ''
    returnType: int
    signature: "int set_config_net_ipv6_address(const char *key, const char *value,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1063,1
    - Dst: clr_config_net_ipv6_gateway
      Src: /src/lxc/src/lxc/confile.c:1065,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1066,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1069,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1072,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:1080,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1082,1
    - Dst: inet_pton
      Src: /src/lxc/src/lxc/confile.c:1084,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:1086,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1089,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1094
      start: 1057
    functionDepth: 1
    functionLinenumber: 1057
    functionLinenumberEnd: 1094
    functionName: set_config_net_ipv6_gateway
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - inet_pton
    - lxc_config_value_empty
    - strequal
    - zalloc
    - move_ptr
    - ret_errno
    - clr_config_net_ipv6_gateway
    - log_error_errno
    linkageType: ''
    returnType: int
    signature: "int set_config_net_ipv6_gateway(const char *key, const char *value,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1106,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1109,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1111,1
    - Dst: clr_config_net_veth_ipv6_route
      Src: /src/lxc/src/lxc/confile.c:1112,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:1114,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1116,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1118,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1120,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:1122,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1124,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1129,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1133,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1135,1
    - Dst: inet_pton
      Src: /src/lxc/src/lxc/confile.c:1137,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1139,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:1141,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1142,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 30
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1145
      start: 1096
    functionDepth: 1
    functionLinenumber: 1096
    functionLinenumberEnd: 1145
    functionName: set_config_net_veth_ipv6_route
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - inet_pton
    - lxc_config_value_empty
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_errno
    - syserror_set
    - clr_config_net_veth_ipv6_route
    - strdup
    - strchr
    linkageType: ''
    returnType: int
    signature: "int set_config_net_veth_ipv6_route(const char *key, const char *value,\n\t\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1153,1
    - Dst: clr_config_net_script_up
      Src: /src/lxc/src/lxc/confile.c:1155,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1156,1
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:1159,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1160
      start: 1147
    functionDepth: 2
    functionLinenumber: 1147
    functionLinenumberEnd: 1160
    functionName: set_config_net_script_up
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_config_value_empty
    - set_config_string_item
    - clr_config_net_script_up
    linkageType: ''
    returnType: int
    signature: "int set_config_net_script_up(const char *key, const char *value,\n\t\t\t\t
      \   struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1168,1
    - Dst: clr_config_net_script_down
      Src: /src/lxc/src/lxc/confile.c:1170,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1171,1
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:1174,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1175
      start: 1162
    functionDepth: 2
    functionLinenumber: 1162
    functionLinenumberEnd: 1175
    functionName: set_config_net_script_down
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_config_value_empty
    - set_config_string_item
    - clr_config_net_script_down
    linkageType: ''
    returnType: int
    signature: "int set_config_net_script_down(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:1182,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1184,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1186,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:1187,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1188,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 3
    argNames:
    - lxc_conf
    - which
    - hook
    argTypes:
    - struct lxc_conf*
    - int
    - __owns*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1191
      start: 1177
    functionDepth: 1
    functionLinenumber: 1177
    functionLinenumberEnd: 1191
    functionName: add_hook
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int add_hook(struct lxc_conf *lxc_conf, int which, __owns char *hook)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1197,1
    - Dst: clr_config_seccomp_allow_nesting
      Src: /src/lxc/src/lxc/confile.c:1198,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1200,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1204,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1208,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1210
      start: 1193
    functionDepth: 1
    functionLinenumber: 1193
    functionLinenumberEnd: 1210
    functionName: set_config_seccomp_allow_nesting
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    - clr_config_seccomp_allow_nesting
    linkageType: ''
    returnType: int
    signature: "int set_config_seccomp_allow_nesting(const char *key, const char *value,\n\t\t\t\t\t
      \   struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:1216,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1218,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1220
      start: 1212
    functionDepth: 2
    functionLinenumber: 1212
    functionLinenumberEnd: 1220
    functionName: set_config_seccomp_notify_cookie
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - set_config_string_item
    linkageType: ''
    returnType: int
    signature: "int set_config_seccomp_notify_cookie(const char *key, const char *value,\n\t\t\t\t\t
      \   struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1228,1
    - Dst: clr_config_seccomp_notify_proxy
      Src: /src/lxc/src/lxc/confile.c:1229,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:1231,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1232,1
    - Dst: lxc_unix_sockaddr
      Src: /src/lxc/src/lxc/confile.c:1235,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1240,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1242
      start: 1222
    functionDepth: 1
    functionLinenumber: 1222
    functionLinenumberEnd: 1242
    functionName: set_config_seccomp_notify_proxy
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_unix_sockaddr
    - strnequal
    - clr_config_seccomp_notify_proxy
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int set_config_seccomp_notify_proxy(const char *key, const char *value,\n\t\t\t\t\t
      \  struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:1248,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1250,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1252
      start: 1244
    functionDepth: 4
    functionLinenumber: 1244
    functionLinenumberEnd: 1252
    functionName: set_config_seccomp_profile
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - set_config_path_item
    linkageType: ''
    returnType: int
    signature: "int set_config_seccomp_profile(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:1257,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1258
      start: 1254
    functionDepth: 2
    functionLinenumber: 1254
    functionLinenumberEnd: 1258
    functionName: set_config_execute_cmd
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_string_item
    linkageType: ''
    returnType: int
    signature: "int set_config_execute_cmd(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:1263,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1264
      start: 1260
    functionDepth: 2
    functionLinenumber: 1260
    functionLinenumberEnd: 1264
    functionName: set_config_init_cmd
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_string_item
    linkageType: ''
    returnType: int
    signature: "int set_config_init_cmd(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:1269,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1270
      start: 1266
    functionDepth: 4
    functionLinenumber: 1266
    functionLinenumberEnd: 1270
    functionName: set_config_init_cwd
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_path_item
    linkageType: ''
    returnType: int
    signature: "int set_config_init_cwd(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1277,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1282,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1288
      start: 1272
    functionDepth: 1
    functionLinenumber: 1272
    functionLinenumberEnd: 1288
    functionName: set_config_init_uid
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_init_uid(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1295,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1300,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1306
      start: 1290
    functionDepth: 1
    functionLinenumber: 1290
    functionLinenumberEnd: 1306
    functionName: set_config_init_gid
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_init_gid(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1317,1
    - Dst: clr_config_init_groups
      Src: /src/lxc/src/lxc/confile.c:1318,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1320,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/confile.c:1324,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:1328,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:1332,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/confile.c:1335,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1337,1
    - Dst: strcpy
      Src: /src/lxc/src/lxc/confile.c:1347,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/confile.c:1349,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1354,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:1356,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1364
      start: 1308
    functionDepth: 1
    functionLinenumber: 1308
    functionLinenumberEnd: 1364
    functionName: set_config_init_groups
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - realloc
    - lxc_safe_uint
    - strcpy
    - lxc_config_value_empty
    - lxc_iterate_parts
    - clr_config_init_groups
    - log_error_errno
    - ret_errno
    - strdup
    linkageType: ''
    returnType: int
    signature: "int set_config_init_groups(const char *key, const char *value,\n\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1371,1
    - Dst: lxc_clear_hooks
      Src: /src/lxc/src/lxc/confile.c:1372,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1374,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:1375,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1377,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1379,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1381,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1382,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1382,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1383,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1384,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1384,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1385,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1386,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1386,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1387,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1388,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1388,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1389,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1390,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1390,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1391,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1392,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1392,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1393,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1394,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1394,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1395,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1396,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1396,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1397,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1398,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1398,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1399,1
    - Dst: add_hook
      Src: /src/lxc/src/lxc/confile.c:1400,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1400,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1402,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 29
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1403
      start: 1366
    functionDepth: 2
    functionLinenumber: 1366
    functionLinenumberEnd: 1403
    functionName: set_config_hooks
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_clear_hooks
    - strequal
    - move_ptr
    - log_error_errno
    - ret_errno
    - strdup
    - add_hook
    linkageType: ''
    returnType: int
    signature: "int set_config_hooks(const char *key, const char *value,\n\t\t\t    struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1411,1
    - Dst: clr_config_hooks_version
      Src: /src/lxc/src/lxc/confile.c:1412,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1414,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1419,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1424
      start: 1405
    functionDepth: 1
    functionLinenumber: 1405
    functionLinenumberEnd: 1424
    functionName: set_config_hooks_version
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - clr_config_hooks_version
    - lxc_config_value_empty
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int set_config_hooks_version(const char *key, const char *value,\n\t\t\t\t
      \   struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_parse_arch
      Src: /src/lxc/src/lxc/confile.c:1432,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/confile.c:1434,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1438
      start: 1426
    functionDepth: 1
    functionLinenumber: 1426
    functionLinenumberEnd: 1438
    functionName: set_config_personality
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_parse_arch
    - syserror
    linkageType: ''
    returnType: int
    signature: "int set_config_personality(const char *key, const char *value,\n\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1446,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1451,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1453,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1458
      start: 1440
    functionDepth: 1
    functionLinenumber: 1440
    functionLinenumberEnd: 1458
    functionName: set_config_pty_max
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_pty_max(const char *key, const char *value,\n\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1471,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1479,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1484,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1493,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/confile.c:1500,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1503,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1504
      start: 1465
    functionDepth: 1
    functionLinenumber: 1465
    functionLinenumberEnd: 1504
    functionName: set_config_start
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - lxc_safe_int
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_start(const char *key, const char *value,\n\t\t\t    struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1509,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1514,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1515,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1517,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1518
      start: 1506
    functionDepth: 1
    functionLinenumber: 1506
    functionLinenumberEnd: 1518
    functionName: set_config_monitor
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    - strequal
    linkageType: ''
    returnType: int
    signature: "int set_config_monitor(const char *key, const char *value,\n\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1523,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1528,1
    - Dst: sig_parse
      Src: /src/lxc/src/lxc/confile.c:1531,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1533,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1539,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1540
      start: 1520
    functionDepth: 4
    functionLinenumber: 1520
    functionLinenumberEnd: 1540
    functionName: set_config_monitor_signal_pdeath
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_config_value_empty
    - strequal
    - sig_parse
    linkageType: ''
    returnType: int
    signature: "int set_config_monitor_signal_pdeath(const char *key, const char *value,\n\t\t\t\t\t
      \   struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1548,1
    - Dst: lxc_clear_groups
      Src: /src/lxc/src/lxc/confile.c:1549,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1551,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1553,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/confile.c:1559,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:1563,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1565,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1567,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1569,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1571,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:1572,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1573,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1577
      start: 1542
    functionDepth: 2
    functionLinenumber: 1542
    functionLinenumberEnd: 1577
    functionName: set_config_group
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_iterate_parts
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_errno
    - lxc_clear_groups
    - strdup
    linkageType: ''
    returnType: int
    signature: "int set_config_group(const char *key, const char *value,\n\t\t\t    struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1586,1
    - Dst: lxc_clear_environment
      Src: /src/lxc/src/lxc/confile.c:1587,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:1589,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1591,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1593,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1595,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:1597,1
    - Dst: getenv
      Src: /src/lxc/src/lxc/confile.c:1599,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1605,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1607,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1609,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1611,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1612,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:1614,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1615,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 2
    argNames:
    - value
    - environment
    argTypes:
    - char*
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1618
      start: 1579
    functionDepth: 2
    functionLinenumber: 1579
    functionLinenumberEnd: 1618
    functionName: set_config_environment_impl
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - list_add_tail
    - getenv
    - zalloc
    - move_ptr
    - ret_errno
    - strdup
    - lxc_clear_environment
    - strchr
    linkageType: ''
    returnType: int
    signature: "int set_config_environment_impl(const char *value,\n\t\t\t\t       struct
      list_head *environment)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_environment_impl
      Src: /src/lxc/src/lxc/confile.c:1623,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1624
      start: 1620
    functionDepth: 3
    functionLinenumber: 1620
    functionLinenumberEnd: 1624
    functionName: set_config_environment
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_environment_impl
    linkageType: ''
    returnType: int
    signature: "int set_config_environment(const char *key, const char *value,\n\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_environment_impl
      Src: /src/lxc/src/lxc/confile.c:1629,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1630
      start: 1626
    functionDepth: 3
    functionLinenumber: 1626
    functionLinenumberEnd: 1630
    functionName: set_config_environment_runtime
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_environment_impl
    linkageType: ''
    returnType: int
    signature: "int set_config_environment_runtime(const char *key, const char* value,\n\t\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_environment_impl
      Src: /src/lxc/src/lxc/confile.c:1635,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1636
      start: 1632
    functionDepth: 3
    functionLinenumber: 1632
    functionLinenumberEnd: 1636
    functionName: set_config_environment_hooks
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_environment_impl
    linkageType: ''
    returnType: int
    signature: "int set_config_environment_hooks(const char *key, const char* value,\n\t\t\t\t\tstruct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1644,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1649,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1656
      start: 1638
    functionDepth: 1
    functionLinenumber: 1638
    functionLinenumberEnd: 1656
    functionName: set_config_tty_max
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_tty_max(const char *key, const char *value,\n\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_string_item_max
      Src: /src/lxc/src/lxc/confile.c:1661,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1663
      start: 1658
    functionDepth: 3
    functionLinenumber: 1658
    functionLinenumberEnd: 1663
    functionName: set_config_tty_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_string_item_max
    linkageType: ''
    returnType: int
    signature: "int set_config_tty_dir(const char *key, const char *value,\n\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:1669,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1671,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1673
      start: 1665
    functionDepth: 2
    functionLinenumber: 1665
    functionLinenumberEnd: 1673
    functionName: set_config_apparmor_profile
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - syserror_set
    - set_config_string_item
    linkageType: ''
    returnType: int
    signature: "int set_config_apparmor_profile(const char *key, const char *value,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1683,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1688,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1693,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1697,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1699
      start: 1675
    functionDepth: 1
    functionLinenumber: 1675
    functionLinenumberEnd: 1699
    functionName: set_config_apparmor_allow_incomplete
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int set_config_apparmor_allow_incomplete(const char *key,\n\t\t\t\t\t\tconst
      char *value,\n\t\t\t\t\t\tstruct lxc_conf *lxc_conf,\n\t\t\t\t\t\tvoid *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1709,1
    - Dst: clr_config_apparmor_allow_nesting
      Src: /src/lxc/src/lxc/confile.c:1710,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1712,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1717,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1721,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1723
      start: 1701
    functionDepth: 1
    functionLinenumber: 1701
    functionLinenumberEnd: 1723
    functionName: set_config_apparmor_allow_nesting
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - lxc_config_value_empty
    - clr_config_apparmor_allow_nesting
    - ret_errno
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int set_config_apparmor_allow_nesting(const char *key,\n\t\t\t\t\t
      \    const char *value,\n\t\t\t\t\t     struct lxc_conf *lxc_conf,\n\t\t\t\t\t
      \    void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1734,1
    - Dst: lxc_clear_apparmor_raw
      Src: /src/lxc/src/lxc/confile.c:1735,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:1737,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1739,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1741,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1743,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1745,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:1746,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1747,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1751,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1753
      start: 1725
    functionDepth: 2
    functionLinenumber: 1725
    functionLinenumberEnd: 1753
    functionName: set_config_apparmor_raw
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_apparmor_raw
    - lxc_config_value_empty
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_errno
    - syserror_set
    - strdup
    linkageType: ''
    returnType: int
    signature: "int set_config_apparmor_raw(const char *key,\n\t\t\t\t   const char
      *value,\n\t\t\t\t   struct lxc_conf *lxc_conf,\n\t\t\t\t   void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:1759,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1761,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1763
      start: 1755
    functionDepth: 2
    functionLinenumber: 1755
    functionLinenumberEnd: 1763
    functionName: set_config_selinux_context
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - syserror_set
    - set_config_string_item
    linkageType: ''
    returnType: int
    signature: "int set_config_selinux_context(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:1769,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1771,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1773
      start: 1765
    functionDepth: 2
    functionLinenumber: 1765
    functionLinenumberEnd: 1773
    functionName: set_config_selinux_context_keyring
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - syserror_set
    - set_config_string_item
    linkageType: ''
    returnType: int
    signature: "int set_config_selinux_context_keyring(const char *key, const char
      *value,\n\t\t\t\t\t      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_bool_item
      Src: /src/lxc/src/lxc/confile.c:1778,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1779
      start: 1775
    functionDepth: 2
    functionLinenumber: 1775
    functionLinenumberEnd: 1779
    functionName: set_config_keyring_session
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_bool_item
    linkageType: ''
    returnType: int
    signature: "int set_config_keyring_session(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1786,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:1787,1
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:1795,1
    - Dst: lxc_log_set_file
      Src: /src/lxc/src/lxc/confile.c:1797,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 4
    argNames:
    - key
    - value
    - c
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1800
      start: 1781
    functionDepth: 4
    functionLinenumber: 1781
    functionLinenumberEnd: 1800
    functionName: set_config_log_file
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    - lxc_log_set_file
    - lxc_config_value_empty
    - set_config_path_item
    linkageType: ''
    returnType: int
    signature: "int set_config_log_file(const char *key, const char *value,\n\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1807,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/confile.c:1815,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1817,1
    - Dst: lxc_log_priority_to_int
      Src: /src/lxc/src/lxc/confile.c:1819,1
    - Dst: lxc_log_set_level
      Src: /src/lxc/src/lxc/confile.c:1828,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1829
      start: 1802
    functionDepth: 2
    functionLinenumber: 1802
    functionLinenumberEnd: 1829
    functionName: set_config_log_level
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_log_priority_to_int
    - ret_errno
    - lxc_log_set_level
    - lxc_safe_int
    linkageType: ''
    returnType: int
    signature: "int set_config_log_level(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1836,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:1841,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1843,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1846,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1849
      start: 1831
    functionDepth: 1
    functionLinenumber: 1831
    functionLinenumberEnd: 1849
    functionName: set_config_autodev
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_autodev(const char *key, const char *value,\n\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1854,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/confile.c:1859,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1863
      start: 1851
    functionDepth: 1
    functionLinenumber: 1851
    functionLinenumberEnd: 1863
    functionName: set_config_autodev_tmpfs_size
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_int
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_autodev_tmpfs_size(const char *key, const char *value,\n\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1870,1
    - Dst: sig_parse
      Src: /src/lxc/src/lxc/confile.c:1875,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1877,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1882
      start: 1865
    functionDepth: 4
    functionLinenumber: 1865
    functionLinenumberEnd: 1882
    functionName: set_config_signal_halt
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_config_value_empty
    - sig_parse
    linkageType: ''
    returnType: int
    signature: "int set_config_signal_halt(const char *key, const char *value,\n\t\t\t\t
      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1889,1
    - Dst: sig_parse
      Src: /src/lxc/src/lxc/confile.c:1894,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1896,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1901
      start: 1884
    functionDepth: 4
    functionLinenumber: 1884
    functionLinenumberEnd: 1901
    functionName: set_config_signal_reboot
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_config_value_empty
    - sig_parse
    linkageType: ''
    returnType: int
    signature: "int set_config_signal_reboot(const char *key, const char *value,\n\t\t\t\t
      \  struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1908,1
    - Dst: sig_parse
      Src: /src/lxc/src/lxc/confile.c:1913,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1915,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1920
      start: 1903
    functionDepth: 4
    functionLinenumber: 1903
    functionLinenumberEnd: 1920
    functionName: set_config_signal_stop
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_config_value_empty
    - sig_parse
    linkageType: ''
    returnType: int
    signature: "int set_config_signal_stop(const char *key, const char *value,\n\t\t\t\t
      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/confile.c:1925,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1929,1
    - Dst: lxc_clear_cgroups
      Src: /src/lxc/src/lxc/confile.c:1930,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1936,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:1939,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1940,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1944,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:1946,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1948,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1950,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1952,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:1954,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1956,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:1960,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:1961,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - version
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1964
      start: 1922
    functionDepth: 2
    functionLinenumber: 1922
    functionLinenumberEnd: 1964
    functionName: __set_config_cgroup_controller
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - call_cleaner
    - list_add_tail
    - strnequal
    - lxc_clear_cgroups
    - zalloc
    - move_ptr
    - ret_errno
    - strdup
    linkageType: ''
    returnType: int
    signature: "int __set_config_cgroup_controller(const char *key, const char *value,\n\t\t\t\t\t
      \ struct lxc_conf *lxc_conf, int version)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __set_config_cgroup_controller
      Src: /src/lxc/src/lxc/confile.c:1969,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1971
      start: 1966
    functionDepth: 3
    functionLinenumber: 1966
    functionLinenumberEnd: 1971
    functionName: set_config_cgroup2_controller
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - __set_config_cgroup_controller
    linkageType: ''
    returnType: int
    signature: "int set_config_cgroup2_controller(const char *key, const char *value,\n\t\t\t\t\t
      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:1976,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:1977,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1979,1
    - Dst: clr_config_cgroup_dir
      Src: /src/lxc/src/lxc/confile.c:1980,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/confile.c:1982,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1983,1
    - Dst: dotdot
      Src: /src/lxc/src/lxc/confile.c:1985,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1986,1
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:1988,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1989
      start: 1973
    functionDepth: 4
    functionLinenumber: 1973
    functionLinenumberEnd: 1989
    functionName: set_config_cgroup_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - set_config_path_item
    - strequal
    - dotdot
    - ret_errno
    - syserror_set
    - abspath
    - clr_config_cgroup_dir
    linkageType: ''
    returnType: int
    signature: "int set_config_cgroup_dir(const char *key, const char *value,\n\t\t\t\t
      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:1994,1
    - Dst: clr_config_cgroup_monitor_dir
      Src: /src/lxc/src/lxc/confile.c:1995,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/confile.c:1997,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:1998,1
    - Dst: dotdot
      Src: /src/lxc/src/lxc/confile.c:2000,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2001,1
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:2003,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2004
      start: 1991
    functionDepth: 4
    functionLinenumber: 1991
    functionLinenumberEnd: 2004
    functionName: set_config_cgroup_monitor_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - clr_config_cgroup_monitor_dir
    - set_config_path_item
    - dotdot
    - syserror_set
    - abspath
    linkageType: ''
    returnType: int
    signature: "int set_config_cgroup_monitor_dir(const char *key, const char *value,\n\t\t\t\t\t
      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2009,1
    - Dst: clr_config_cgroup_monitor_pivot_dir
      Src: /src/lxc/src/lxc/confile.c:2010,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/confile.c:2012,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2013,1
    - Dst: dotdot
      Src: /src/lxc/src/lxc/confile.c:2015,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2016,1
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:2018,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2019
      start: 2006
    functionDepth: 4
    functionLinenumber: 2006
    functionLinenumberEnd: 2019
    functionName: set_config_cgroup_monitor_pivot_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - clr_config_cgroup_monitor_pivot_dir
    - set_config_path_item
    - dotdot
    - syserror_set
    - abspath
    linkageType: ''
    returnType: int
    signature: "int set_config_cgroup_monitor_pivot_dir(const char *key, const char
      *value,\n\t\t\t\t\t struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2025,1
    - Dst: clr_config_cgroup_container_dir
      Src: /src/lxc/src/lxc/confile.c:2026,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/confile.c:2028,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2029,1
    - Dst: dotdot
      Src: /src/lxc/src/lxc/confile.c:2031,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2032,1
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:2034,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2035
      start: 2021
    functionDepth: 4
    functionLinenumber: 2021
    functionLinenumberEnd: 2035
    functionName: set_config_cgroup_container_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - clr_config_cgroup_container_dir
    - set_config_path_item
    - dotdot
    - syserror_set
    - abspath
    linkageType: ''
    returnType: int
    signature: "int set_config_cgroup_container_dir(const char *key, const char *value,\n\t\t\t\t\t
      \  struct lxc_conf *lxc_conf,\n\t\t\t\t\t   void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2042,1
    - Dst: clr_config_cgroup_container_inner_dir
      Src: /src/lxc/src/lxc/confile.c:2043,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/confile.c:2045,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2046,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:2048,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2048,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2048,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:2049,1
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:2051,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2052
      start: 2037
    functionDepth: 2
    functionLinenumber: 2037
    functionLinenumberEnd: 2052
    functionName: set_config_cgroup_container_inner_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - clr_config_cgroup_container_inner_dir
    - strequal
    - log_error_errno
    - syserror_set
    - set_config_string_item
    - abspath
    - strchr
    linkageType: ''
    returnType: int
    signature: "int set_config_cgroup_container_inner_dir(const char *key,\n\t\t\t\t\t\t
      const char *value,\n\t\t\t\t\t\t struct lxc_conf *lxc_conf,\n\t\t\t\t\t\t void
      *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2060,1
    - Dst: clr_config_cgroup_relative
      Src: /src/lxc/src/lxc/confile.c:2061,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:2063,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2077,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2078
      start: 2054
    functionDepth: 1
    functionLinenumber: 2054
    functionLinenumberEnd: 2078
    functionName: set_config_cgroup_relative
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    - clr_config_cgroup_relative
    linkageType: ''
    returnType: int
    signature: "int set_config_cgroup_relative(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:2084,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2084,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2086,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/confile.c:2091,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 2
    argNames:
    - value
    - res
    argTypes:
    - char**
    - rlim_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2098
      start: 2080
    functionDepth: 1
    functionLinenumber: 2080
    functionLinenumberEnd: 2098
    functionName: parse_limit_value
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - strtoull
    - STRLITERALLEN
    - strnequal
    linkageType: ''
    returnType: bool
    signature: bool parse_limit_value(const char **value, rlim_t *res)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/confile.c:2103,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2108,1
    - Dst: lxc_clear_limits
      Src: /src/lxc/src/lxc/confile.c:2109,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:2111,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2111,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2112,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2114,1
    - Dst: parse_limit_value
      Src: /src/lxc/src/lxc/confile.c:2117,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2118,1
    - Dst: isspace
      Src: /src/lxc/src/lxc/confile.c:2123,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2129,1
    - Dst: isspace
      Src: /src/lxc/src/lxc/confile.c:2131,1
    - Dst: parse_limit_value
      Src: /src/lxc/src/lxc/confile.c:2136,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2137,1
    - Dst: isspace
      Src: /src/lxc/src/lxc/confile.c:2142,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2146,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:2153,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2154,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:2161,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2163,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2165,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2167,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:2170,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2171,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 45
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2174
      start: 2100
    functionDepth: 2
    functionLinenumber: 2100
    functionLinenumberEnd: 2174
    functionName: set_config_prlimit
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - lxc_config_value_empty
    - list_for_each_entry
    - parse_limit_value
    - call_cleaner
    - isspace
    - list_add_tail
    - strnequal
    - strequal
    - zalloc
    - move_ptr
    - ret_errno
    - strdup
    - lxc_clear_limits
    linkageType: ''
    returnType: int
    signature: "int set_config_prlimit(const char *key, const char *value,\n\t\t\t
      \   struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/confile.c:2179,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2182,1
    - Dst: clr_config_sysctl
      Src: /src/lxc/src/lxc/confile.c:2183,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:2185,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2185,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2186,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2188,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/confile.c:2189,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2190,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile.c:2193,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2196,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2199,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2201,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:2203,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2204,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:2209,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2211,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2213,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2215,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2217,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2219,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:2221,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2222,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 31
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2225
      start: 2176
    functionDepth: 1
    functionLinenumber: 2176
    functionLinenumberEnd: 2225
    functionName: set_config_sysctl
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - lxc_config_value_empty
    - is_empty_string
    - call_cleaner
    - clr_config_sysctl
    - list_add_tail
    - strnequal
    - strequal
    - zalloc
    - move_ptr
    - ret_errno
    - strdup
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: "int set_config_sysctl(const char *key, const char *value,\n\t\t\t
      \   struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/confile.c:2230,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2233,1
    - Dst: clr_config_proc
      Src: /src/lxc/src/lxc/confile.c:2234,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:2236,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2236,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2237,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2239,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2241,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:2243,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2245,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2247,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2249,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2251,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2253,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:2255,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2256,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2259
      start: 2227
    functionDepth: 1
    functionLinenumber: 2227
    functionLinenumberEnd: 2259
    functionName: set_config_proc
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - lxc_config_value_empty
    - clr_config_proc
    - call_cleaner
    - list_add_tail
    - strnequal
    - zalloc
    - move_ptr
    - ret_errno
    - strdup
    linkageType: ''
    returnType: int
    signature: "int set_config_proc(const char *key, const char *value,\n\t\t\t    struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2269,1
    - Dst: lxc_clear_idmaps
      Src: /src/lxc/src/lxc/confile.c:2270,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:2272,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2274,1
    - Dst: parse_idmaps
      Src: /src/lxc/src/lxc/confile.c:2276,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:2278,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/confile.c:2280,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2286,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:2291,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2301,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 27
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2304
      start: 2261
    functionDepth: 3
    functionLinenumber: 2261
    functionLinenumberEnd: 2304
    functionName: set_config_idmaps
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - parse_idmaps
    - list_add_tail
    - lxc_clear_idmaps
    - zalloc
    - ret_errno
    - log_error_errno
    - move_ptr
    - INFO
    linkageType: ''
    returnType: int
    signature: "int set_config_idmaps(const char *key, const char *value,\n\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2309,1
    - Dst: clr_config_mount_fstab
      Src: /src/lxc/src/lxc/confile.c:2310,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2311,1
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:2314,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2315
      start: 2306
    functionDepth: 4
    functionLinenumber: 2306
    functionLinenumberEnd: 2315
    functionName: set_config_mount_fstab
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_config_value_empty
    - set_config_path_item
    - clr_config_mount_fstab
    linkageType: ''
    returnType: int
    signature: "int set_config_mount_fstab(const char *key, const char *value,\n\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2364,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2369,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2371,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/confile.c:2373,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2377,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2380,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:2381,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2381,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:2388,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2397,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:2399,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2401,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:2403,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:2405,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2411,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:2413,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:2415,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2416,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:2418,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2419,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 42
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2424
      start: 2317
    functionDepth: 1
    functionLinenumber: 2317
    functionLinenumberEnd: 2424
    functionName: set_config_mount_auto
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - lxc_config_value_empty
    - lxc_iterate_parts
    - free_disarm
    - strnequal
    - strequal
    - move_ptr
    - ret_errno
    - log_error_errno
    - strdup
    - strchr
    linkageType: ''
    returnType: int
    signature: "int set_config_mount_auto(const char *key, const char *value,\n\t\t\t\t
      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2432,1
    - Dst: lxc_clear_mount_entries
      Src: /src/lxc/src/lxc/confile.c:2433,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:2435,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2437,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2439,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2441,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2443,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:2444,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2445,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2448
      start: 2426
    functionDepth: 2
    functionLinenumber: 2426
    functionLinenumberEnd: 2448
    functionName: set_config_mount
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_clear_mount_entries
    - list_add_tail
    - zalloc
    - move_ptr
    - ret_errno
    - strdup
    linkageType: ''
    returnType: int
    signature: "int set_config_mount(const char *key, const char *value,\n\t\t\t    struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_mount
      Src: /src/lxc/src/lxc/confile.c:2451,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - value
    - lxc_conf
    argTypes:
    - char*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2452
      start: 2450
    functionDepth: 3
    functionLinenumber: 2450
    functionLinenumberEnd: 2452
    functionName: add_elem_to_mount_list
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - set_config_mount
    linkageType: ''
    returnType: int
    signature: int add_elem_to_mount_list(const char *value, struct lxc_conf *lxc_conf)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/confile.c:2462,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2467,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2469,1
    - Dst: lxc_clear_config_caps
      Src: /src/lxc/src/lxc/confile.c:2471,1
    - Dst: parse_cap
      Src: /src/lxc/src/lxc/confile.c:2475,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2478,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/confile.c:2480,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:2484,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2486,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2488,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2490,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/confile.c:2493,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2494,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 3
    argNames:
    - conf
    - caps
    - keep
    argTypes:
    - struct lxc_conf*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2498
      start: 2454
    functionDepth: 2
    functionLinenumber: 2454
    functionLinenumberEnd: 2498
    functionName: add_cap_entry
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - parse_cap
    - lxc_iterate_parts
    - list_add_tail
    - strequal
    - zalloc
    - move_ptr
    - ret_errno
    - syserror_set
    - INFO
    - strdup
    - lxc_clear_config_caps
    linkageType: ''
    returnType: int
    signature: int add_cap_entry(struct lxc_conf *conf, char *caps, bool keep)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2506,1
    - Dst: lxc_clear_config_caps
      Src: /src/lxc/src/lxc/confile.c:2507,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2509,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2511,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/confile.c:2513,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2514,1
    - Dst: add_cap_entry
      Src: /src/lxc/src/lxc/confile.c:2516,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2522
      start: 2500
    functionDepth: 3
    functionLinenumber: 2500
    functionLinenumberEnd: 2522
    functionName: set_config_cap_keep
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - list_empty
    - ret_errno
    - syserror_set
    - strdup
    - lxc_clear_config_caps
    - add_cap_entry
    linkageType: ''
    returnType: int
    signature: "int set_config_cap_keep(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2530,1
    - Dst: lxc_clear_config_caps
      Src: /src/lxc/src/lxc/confile.c:2531,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2534,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2536,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2538,1
    - Dst: add_cap_entry
      Src: /src/lxc/src/lxc/confile.c:2540,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2546
      start: 2524
    functionDepth: 3
    functionLinenumber: 2524
    functionLinenumberEnd: 2546
    functionName: set_config_cap_drop
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - ret_errno
    - syserror_set
    - strdup
    - lxc_clear_config_caps
    - add_cap_entry
    linkageType: ''
    returnType: int
    signature: "int set_config_cap_drop(const char *key, const char *value,\n\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:2551,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2552
      start: 2548
    functionDepth: 4
    functionLinenumber: 2548
    functionLinenumberEnd: 2552
    functionName: set_config_console_path
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_path_item
    linkageType: ''
    returnType: int
    signature: "int set_config_console_path(const char *key, const char *value,\n\t\t\t\t
      \  struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2559,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:2564,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2566,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:2569,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2572
      start: 2554
    functionDepth: 1
    functionLinenumber: 2554
    functionLinenumberEnd: 2572
    functionName: set_config_console_rotate
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - log_error_errno
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_console_rotate(const char *key, const char *value,\n\t\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:2577,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2578
      start: 2574
    functionDepth: 4
    functionLinenumber: 2574
    functionLinenumberEnd: 2578
    functionName: set_config_console_logfile
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_path_item
    linkageType: ''
    returnType: int
    signature: "int set_config_console_logfile(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2587,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2593,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/lxc/confile.c:2598,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2603,1
    - Dst: lxc_getpagesize
      Src: /src/lxc/src/lxc/confile.c:2606,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/confile.c:2608,1
    - Dst: lxc_find_next_power2
      Src: /src/lxc/src/lxc/confile.c:2613,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2615,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/confile.c:2618,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2623
      start: 2580
    functionDepth: 2
    functionLinenumber: 2580
    functionLinenumberEnd: 2623
    functionName: set_config_console_buffer_size
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_getpagesize
    - strequal
    - NOTICE
    - ret_errno
    - parse_byte_size_string
    - lxc_find_next_power2
    linkageType: ''
    returnType: int
    signature: "int set_config_console_buffer_size(const char *key, const char *value,\n\t\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2632,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2638,1
    - Dst: parse_byte_size_string
      Src: /src/lxc/src/lxc/confile.c:2643,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2645,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2648,1
    - Dst: lxc_getpagesize
      Src: /src/lxc/src/lxc/confile.c:2651,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/confile.c:2653,1
    - Dst: lxc_find_next_power2
      Src: /src/lxc/src/lxc/confile.c:2658,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2660,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/confile.c:2663,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2668
      start: 2625
    functionDepth: 2
    functionLinenumber: 2625
    functionLinenumberEnd: 2668
    functionName: set_config_console_size
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_getpagesize
    - strequal
    - NOTICE
    - ret_errno
    - parse_byte_size_string
    - lxc_find_next_power2
    linkageType: ''
    returnType: int
    signature: "int set_config_console_size(const char *key, const char *value,\n\t\t\t\t
      \  struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/confile.c:2682,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:2682,1
    - Dst: lxc_config_net_is_hwaddr
      Src: /src/lxc/src/lxc/confile.c:2686,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:2690,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/confile.c:2695,1
    - Dst: rand_complete_hwaddr
      Src: /src/lxc/src/lxc/confile.c:2701,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - line
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2702
      start: 2678
    functionDepth: 2
    functionLinenumber: 2678
    functionLinenumberEnd: 2702
    functionName: update_hwaddr
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_net_is_hwaddr
    - lxc_char_left_gc
    - rand_complete_hwaddr
    - strlen
    - isblank
    - strchr
    linkageType: ''
    returnType: void
    signature: void update_hwaddr(const char *line)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: update_hwaddr
      Src: /src/lxc/src/lxc/confile.c:2709,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:2711,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/confile.c:2715,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2717,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/confile.c:2726,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 2
    argNames:
    - line
    - conf
    argTypes:
    - char*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2733
      start: 2704
    functionDepth: 3
    functionLinenumber: 2704
    functionLinenumberEnd: 2733
    functionName: append_unexp_config_line
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 3
    functionsReached:
    - realloc
    - memcpy
    - update_hwaddr
    - ret_errno
    - strlen
    linkageType: ''
    returnType: int
    signature: int append_unexp_config_line(const char *line, struct lxc_conf *conf)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/lxc/src/lxc/confile.c:2741,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/confile.c:2745,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2750,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2753,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:2756,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:2757,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile.c:2760,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2762,1
    - Dst: lxc_config_read
      Src: /src/lxc/src/lxc/confile.c:2764,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 21
    argCount: 2
    argNames:
    - dirp
    - lxc_conf
    argTypes:
    - char*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2770
      start: 2735
    functionDepth: 1
    functionLinenumber: 2735
    functionLinenumberEnd: 2770
    functionName: do_includedir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - readdir
    - lxc_config_read
    - strnequal
    - strequal
    - strnprintf
    - ret_errno
    - strlen
    - opendir
    linkageType: ''
    returnType: int
    signature: int do_includedir(const char *dirp, struct lxc_conf *lxc_conf)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2775,1
    - Dst: clr_config_includefiles
      Src: /src/lxc/src/lxc/confile.c:2776,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:2780,1
    - Dst: lxc_is_dir
      Src: /src/lxc/src/lxc/confile.c:2780,1
    - Dst: do_includedir
      Src: /src/lxc/src/lxc/confile.c:2781,1
    - Dst: lxc_config_read
      Src: /src/lxc/src/lxc/confile.c:2783,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2784
      start: 2772
    functionDepth: 2
    functionLinenumber: 2772
    functionLinenumberEnd: 2784
    functionName: set_config_includefiles
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - do_includedir
    - lxc_is_dir
    - lxc_config_value_empty
    - lxc_config_read
    - clr_config_includefiles
    - strlen
    linkageType: ''
    returnType: int
    signature: "int set_config_includefiles(const char *key, const char *value,\n\t\t\t\t
      \  struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2794,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:2795,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2800,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2802,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:2808,1
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:2812,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2814,1
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:2822,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2823
      start: 2786
    functionDepth: 4
    functionLinenumber: 2786
    functionLinenumberEnd: 2823
    functionName: set_config_rootfs_path
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - set_config_path_item
    - ret_errno
    - strdup
    - strchr
    - free
    linkageType: ''
    returnType: int
    signature: "int set_config_rootfs_path(const char *key, const char *value,\n\t\t\t\t
      \ struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_bool_item
      Src: /src/lxc/src/lxc/confile.c:2828,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2829
      start: 2825
    functionDepth: 2
    functionLinenumber: 2825
    functionLinenumberEnd: 2829
    functionName: set_config_rootfs_managed
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_bool_item
    linkageType: ''
    returnType: int
    signature: "int set_config_rootfs_managed(const char *key, const char *value,\n\t\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_config_path_item
      Src: /src/lxc/src/lxc/confile.c:2834,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2835
      start: 2831
    functionDepth: 4
    functionLinenumber: 2831
    functionLinenumberEnd: 2835
    functionName: set_config_rootfs_mount
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - set_config_path_item
    linkageType: ''
    returnType: int
    signature: "int set_config_rootfs_mount(const char *key, const char *value,\n\t\t\t\t
      \  struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: clr_config_rootfs_options
      Src: /src/lxc/src/lxc/confile.c:2845,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2846,1
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:2849,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2851,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2853,1
    - Dst: parse_lxc_mount_attrs
      Src: /src/lxc/src/lxc/confile.c:2857,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:2864,1
    - Dst: parse_mount_attrs
      Src: /src/lxc/src/lxc/confile.c:2866,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2868,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2870,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2872
      start: 2837
    functionDepth: 3
    functionLinenumber: 2837
    functionLinenumberEnd: 2872
    functionName: set_config_rootfs_options
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - clr_config_rootfs_options
    - parse_lxc_mount_attrs
    - ret_errno
    - syserror_set
    - set_config_string_item
    - parse_mount_attrs
    - strdup
    - move_ptr
    linkageType: ''
    returnType: int
    signature: "int set_config_rootfs_options(const char *key, const char *value,\n\t\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2879,1
    - Dst: clr_config_uts_name
      Src: /src/lxc/src/lxc/confile.c:2880,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/confile.c:2884,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2886,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:2888,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2889,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/confile.c:2891,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:2892,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:2893,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2896
      start: 2874
    functionDepth: 1
    functionLinenumber: 2874
    functionLinenumberEnd: 2896
    functionName: set_config_uts_name
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - clr_config_uts_name
    - zalloc
    - move_ptr
    - ret_errno
    - strlcpy
    - strlen
    - free
    linkageType: ''
    returnType: int
    signature: "int set_config_uts_name(const char *key, const char *value,\n\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2905,1
    - Dst: clr_config_namespace_clone
      Src: /src/lxc/src/lxc/confile.c:2906,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:2909,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2911,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2913,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/confile.c:2915,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/confile.c:2916,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:2916,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/confile.c:2917,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:2917,1
    - Dst: lxc_namespace_2_cloneflag
      Src: /src/lxc/src/lxc/confile.c:2918,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2920,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2925
      start: 2898
    functionDepth: 2
    functionLinenumber: 2898
    functionLinenumberEnd: 2925
    functionName: set_config_namespace_clone
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - lxc_iterate_parts
    - lxc_char_left_gc
    - log_error_errno
    - ret_errno
    - lxc_namespace_2_cloneflag
    - strdup
    - strlen
    - lxc_char_right_gc
    - clr_config_namespace_clone
    linkageType: ''
    returnType: int
    signature: "int set_config_namespace_clone(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2934,1
    - Dst: clr_config_namespace_keep
      Src: /src/lxc/src/lxc/confile.c:2935,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:2938,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:2940,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2942,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/confile.c:2944,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/confile.c:2945,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:2945,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/confile.c:2946,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:2946,1
    - Dst: lxc_namespace_2_cloneflag
      Src: /src/lxc/src/lxc/confile.c:2947,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2949,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2954
      start: 2927
    functionDepth: 2
    functionLinenumber: 2927
    functionLinenumberEnd: 2954
    functionName: set_config_namespace_keep
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - clr_config_namespace_keep
    - lxc_iterate_parts
    - lxc_char_left_gc
    - log_error_errno
    - ret_errno
    - lxc_namespace_2_cloneflag
    - strdup
    - strlen
    - lxc_char_right_gc
    linkageType: ''
    returnType: int
    signature: "int set_config_namespace_keep(const char *key, const char *value,\n\t\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:2962,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:2964,1
    - Dst: clr_config_time_offset_boot
      Src: /src/lxc/src/lxc/confile.c:2965,1
    - Dst: lxc_safe_int64_residual
      Src: /src/lxc/src/lxc/confile.c:2967,1
    - Dst: lxc_trim_whitespace_in_place
      Src: /src/lxc/src/lxc/confile.c:2971,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2972,1
    - Dst: check_mul_overflow
      Src: /src/lxc/src/lxc/confile.c:2973,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2974,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2975,1
    - Dst: check_mul_overflow
      Src: /src/lxc/src/lxc/confile.c:2976,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2977,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2978,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2980,1
    - Dst: check_mul_overflow
      Src: /src/lxc/src/lxc/confile.c:2981,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2982,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2983,1
    - Dst: check_mul_overflow
      Src: /src/lxc/src/lxc/confile.c:2984,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2985,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:2986,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:2989,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 32
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2993
      start: 2956
    functionDepth: 2
    functionLinenumber: 2956
    functionLinenumberEnd: 2993
    functionName: set_config_time_offset_boot
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - lxc_config_value_empty
    - check_mul_overflow
    - strequal
    - lxc_safe_int64_residual
    - ret_errno
    - clr_config_time_offset_boot
    - lxc_trim_whitespace_in_place
    linkageType: ''
    returnType: int
    signature: "int set_config_time_offset_boot(const char *key, const char *value,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:3001,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:3003,1
    - Dst: clr_config_time_offset_monotonic
      Src: /src/lxc/src/lxc/confile.c:3004,1
    - Dst: lxc_safe_int64_residual
      Src: /src/lxc/src/lxc/confile.c:3006,1
    - Dst: lxc_trim_whitespace_in_place
      Src: /src/lxc/src/lxc/confile.c:3010,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3011,1
    - Dst: check_mul_overflow
      Src: /src/lxc/src/lxc/confile.c:3012,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3013,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3014,1
    - Dst: check_mul_overflow
      Src: /src/lxc/src/lxc/confile.c:3015,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3016,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3017,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3019,1
    - Dst: check_mul_overflow
      Src: /src/lxc/src/lxc/confile.c:3020,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3021,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3022,1
    - Dst: check_mul_overflow
      Src: /src/lxc/src/lxc/confile.c:3023,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3024,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3025,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3028,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 32
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3032
      start: 2995
    functionDepth: 2
    functionLinenumber: 2995
    functionLinenumberEnd: 3032
    functionName: set_config_time_offset_monotonic
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - lxc_config_value_empty
    - check_mul_overflow
    - lxc_trim_whitespace_in_place
    - strequal
    - lxc_safe_int64_residual
    - ret_errno
    - clr_config_time_offset_monotonic
    linkageType: ''
    returnType: int
    signature: "int set_config_time_offset_monotonic(const char *key, const char *value,\n\t\t\t\t\t
      \   struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:3040,1
    - Dst: clr_config_namespace_share
      Src: /src/lxc/src/lxc/confile.c:3041,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:3043,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/confile.c:3044,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3045,1
    - Dst: lxc_namespace_2_ns_idx
      Src: /src/lxc/src/lxc/confile.c:3047,1
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:3051,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3052
      start: 3034
    functionDepth: 2
    functionLinenumber: 3034
    functionLinenumberEnd: 3052
    functionName: set_config_namespace_share
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - lxc_config_value_empty
    - is_empty_string
    - ret_errno
    - set_config_string_item
    - clr_config_namespace_share
    - lxc_namespace_2_ns_idx
    linkageType: ''
    returnType: int
    signature: "int set_config_namespace_share(const char *key, const char *value,\n\t\t\t\t
      \     struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:3070,1
    - Dst: lxc_is_line_empty
      Src: /src/lxc/src/lxc/confile.c:3073,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:3081,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3083,1
    - Dst: append_unexp_config_line
      Src: /src/lxc/src/lxc/confile.c:3086,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/confile.c:3094,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3094,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:3101,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:3104,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:3106,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/confile.c:3112,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3112,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/confile.c:3114,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3114,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/confile.c:3115,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3115,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3120,1
    - Dst: lxc_get_config
      Src: /src/lxc/src/lxc/confile.c:3127,1
    - Dst: struct lxc_config_t*::set
      Src: /src/lxc/src/lxc/confile.c:3128,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 39
    argCount: 2
    argNames:
    - buffer
    - data
    argTypes:
    - char*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3129
      start: 3059
    functionDepth: 4
    functionLinenumber: 3059
    functionLinenumberEnd: 3129
    functionName: parse_line
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - append_unexp_config_line
    - lxc_get_config
    - struct lxc_config_t*::set
    - strnequal
    - lxc_char_left_gc
    - ret_errno
    - syserror_set
    - lxc_is_line_empty
    - log_error_errno
    - strdup
    - strlen
    - lxc_char_right_gc
    - strchr
    linkageType: ''
    returnType: int
    signature: int parse_line(char *buffer, void *data)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/confile.c:3138,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:3139,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:3141,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/confile.c:3145,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3145,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:3148,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:3151,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:3153,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/confile.c:3159,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3159,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/confile.c:3161,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3161,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/confile.c:3162,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3162,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3167,1
    - Dst: zalloc::zalloc
      Src: /src/lxc/src/lxc/confile.c:3174,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:3178,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:3182,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:3186,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:3187,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:3188,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 37
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3189
      start: 3131
    functionDepth: 1
    functionLinenumber: 3131
    functionLinenumberEnd: 3189
    functionName: parse_new_conf_line
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - zalloc::zalloc
    - is_empty_string
    - strnequal
    - lxc_char_left_gc
    - move_ptr
    - log_error_errno
    - strdup
    - strlen
    - lxc_char_right_gc
    - strchr
    linkageType: ''
    returnType: struct new_config_item
    signature: struct new_config_item *parse_new_conf_line(char *buffer)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:3196,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/confile.c:3203,1
    - Dst: lxc_file_for_each_line_mmap
      Src: /src/lxc/src/lxc/confile.c:3205,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 3
    argNames:
    - file
    - conf
    - from_include
    argTypes:
    - char*
    - struct lxc_conf*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3206
      start: 3191
    functionDepth: 2
    functionLinenumber: 3191
    functionLinenumberEnd: 3206
    functionName: lxc_config_read
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 5
    functionsReached:
    - lxc_file_for_each_line_mmap
    - syserror_set
    - strdup
    linkageType: ''
    returnType: int
    signature: int lxc_config_read(const char *file, struct lxc_conf *conf, bool from_include)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_new
      Src: /src/lxc/src/lxc/confile.c:3212,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3214,1
    - Dst: parse_new_conf_line
      Src: /src/lxc/src/lxc/confile.c:3216,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3218,1
    - Dst: lxc_list_add_tail
      Src: /src/lxc/src/lxc/confile.c:3220,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/confile.c:3220,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - defines
    - arg
    argTypes:
    - struct lxc_list*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3223
      start: 3208
    functionDepth: 2
    functionLinenumber: 3208
    functionLinenumberEnd: 3223
    functionName: lxc_config_define_add
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - lxc_list_new
    - parse_new_conf_line
    - move_ptr
    - ret_errno
    - lxc_list_add_tail
    linkageType: ''
    returnType: int
    signature: int lxc_config_define_add(struct lxc_list *defines, char *arg)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/confile.c:3232,1
    - Dst: lxc_config_define_free
      Src: /src/lxc/src/lxc/confile.c:3238,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - defines
    - c
    argTypes:
    - struct lxc_list*
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3242
      start: 3225
    functionDepth: 1
    functionLinenumber: 3225
    functionLinenumberEnd: 3242
    functionName: lxc_config_define_load
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - lxc_config_define_free
    - struct lxc_container*::set_config_item
    linkageType: ''
    returnType: bool
    signature: bool lxc_config_define_load(struct lxc_list *defines, struct lxc_container
      *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: set_config_item
      Src: /src/lxc/src/lxc/confile.c:3232,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3235
      start: 3230
    functionDepth: 0
    functionLinenumber: 3230
    functionLinenumberEnd: 3235
    functionName: lxc_list_for_each
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 3
    functionsReached:
    - set_config_item
    linkageType: ''
    returnType: void
    signature: void lxc_list_for_each(it, defines)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:3250,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:3251,1
    - Dst: lxc_list_del
      Src: /src/lxc/src/lxc/confile.c:3252,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:3253,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:3254,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 1
    argNames:
    - defines
    argTypes:
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3256
      start: 3244
    functionDepth: 1
    functionLinenumber: 3244
    functionLinenumberEnd: 3256
    functionName: lxc_config_define_free
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 2
    functionsReached:
    - lxc_list_del
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_config_define_free(struct lxc_list *defines)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:3250,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:3251,1
    - Dst: lxc_list_del
      Src: /src/lxc/src/lxc/confile.c:3252,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:3253,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:3254,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3255
      start: 3248
    functionDepth: 1
    functionLinenumber: 3248
    functionLinenumberEnd: 3255
    functionName: lxc_list_for_each_safe
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 3
    functionsReached:
    - lxc_list_del
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_list_for_each_safe(it, defines, next)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/confile.c:3297,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3298,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3305,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - arch
    - persona
    argTypes:
    - char*
    - signed long*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3306
      start: 3258
    functionDepth: 1
    functionLinenumber: 3258
    functionLinenumberEnd: 3306
    functionName: lxc_config_parse_arch
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 2
    functionsReached:
    - ARRAY_SIZE
    - ret_errno
    - strequal
    linkageType: ''
    returnType: int
    signature: int lxc_config_parse_arch(const char *arch, signed long *persona)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/confile.c:3317,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/confile.c:3319,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - fd
    - conf
    argTypes:
    - int
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3322
      start: 3309
    functionDepth: 1
    functionLinenumber: 3309
    functionLinenumberEnd: 3322
    functionName: write_config
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 2
    functionsReached:
    - log_error_errno
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int write_config(int fd, const struct lxc_conf *conf)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3331,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3331,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/confile.c:3332,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:3334,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile.c:3335,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile.c:3337,1
    - Dst: append_unexp_config_line
      Src: /src/lxc/src/lxc/confile.c:3342,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 3
    argNames:
    - conf
    - key
    - v
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3346
      start: 3324
    functionDepth: 4
    functionLinenumber: 3324
    functionLinenumberEnd: 3346
    functionName: do_append_unexp_config_line
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 3
    functionsReached:
    - append_unexp_config_line
    - lxc_config_value_empty
    - must_realloc
    - strlen
    - strnprintf
    linkageType: ''
    returnType: bool
    signature: "bool do_append_unexp_config_line(struct lxc_conf *conf, const char
      *key,\n\t\t\t\t const char *v)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:3358,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3362,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:3366,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3366,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3372,1
    - Dst: isspace
      Src: /src/lxc/src/lxc/confile.c:3373,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/confile.c:3386,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3386,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 26
    argCount: 3
    argNames:
    - conf
    - key
    - rm_subkeys
    argTypes:
    - struct lxc_conf*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3388
      start: 3348
    functionDepth: 1
    functionLinenumber: 3348
    functionLinenumberEnd: 3388
    functionName: clear_unexp_config_line
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 6
    functionsReached:
    - isspace
    - strnequal
    - strlen
    - memmove
    - strchr
    linkageType: ''
    returnType: void
    signature: "void clear_unexp_config_line(struct lxc_conf *conf, const char *key,\n\t\t\t
      \    bool rm_subkeys)"
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3401,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3401,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3401,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/confile.c:3402,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile.c:3403,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3407,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3407,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3407,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/confile.c:3408,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile.c:3409,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:3417,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3419,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:3423,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3423,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:3426,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3426,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/confile.c:3431,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/confile.c:3445,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/confile.c:3449,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/confile.c:3455,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/confile.c:3458,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3459,1
    - Dst: realloc::realloc
      Src: /src/lxc/src/lxc/confile.c:3470,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/confile.c:3481,1
    - Dst: poffset::poffset
      Src: /src/lxc/src/lxc/confile.c:3482,1
    - Dst: memcpy::memcpy
      Src: /src/lxc/src/lxc/confile.c:3484,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 62
    argCount: 6
    argNames:
    - conf
    - oldpath
    - newpath
    - oldname
    - newname
    - ovldir
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3495
      start: 3390
    functionDepth: 1
    functionLinenumber: 3390
    functionLinenumberEnd: 3495
    functionName: clone_update_unexp_ovl_paths
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memcpy
    - realloc::realloc
    - strnequal
    - must_realloc
    - memcpy::memcpy
    - strstr
    - strlen
    - strnprintf
    - isblank
    - memmove
    - strchr
    - poffset::poffset
    linkageType: ''
    returnType: bool
    signature: "bool clone_update_unexp_ovl_paths(struct lxc_conf *conf, const char
      *oldpath,\n\t\t\t\t  const char *newpath, const char *oldname,\n\t\t\t\t  const
      char *newname, const char *ovldir)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3508,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3508,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/confile.c:3509,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile.c:3510,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3514,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3514,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/confile.c:3515,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile.c:3516,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:3524,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3526,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:3530,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3530,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:3533,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3533,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/confile.c:3538,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:3544,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3544,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/confile.c:3550,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/confile.c:3553,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3554,1
    - Dst: realloc::realloc
      Src: /src/lxc/src/lxc/confile.c:3565,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/confile.c:3576,1
    - Dst: poffset::poffset
      Src: /src/lxc/src/lxc/confile.c:3577,1
    - Dst: memcpy::memcpy
      Src: /src/lxc/src/lxc/confile.c:3579,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 58
    argCount: 5
    argNames:
    - conf
    - oldpath
    - newpath
    - oldname
    - newname
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3590
      start: 3497
    functionDepth: 1
    functionLinenumber: 3497
    functionLinenumberEnd: 3590
    functionName: clone_update_unexp_hooks
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - memcpy
    - realloc::realloc
    - strnequal
    - must_realloc
    - memcpy::memcpy
    - strlen
    - strnprintf
    - isblank
    - memmove
    - strchr
    - poffset::poffset
    linkageType: ''
    returnType: bool
    signature: "bool clone_update_unexp_hooks(struct lxc_conf *conf, const char *oldpath,\n\t\t\t
      \     const char *newpath, const char *oldname,\n\t\t\t      const char *newname)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - cmd
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3599
      start: 3592
    functionDepth: 0
    functionLinenumber: 3592
    functionLinenumberEnd: 3599
    functionName: DO
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: DO(cmd)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:3620,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:3622,1
    - Dst: lxc_config_net_is_hwaddr
      Src: /src/lxc/src/lxc/confile.c:3626,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:3631,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/confile.c:3638,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/confile.c:3644,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/confile.c:3648,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/confile.c:3653,1
    - Dst: new_hwaddr
      Src: /src/lxc/src/lxc/confile.c:3655,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/confile.c:3658,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:3659,1
    - Dst: memcmp
      Src: /src/lxc/src/lxc/confile.c:3660,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/confile.c:3661,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 41
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3668
      start: 3608
    functionDepth: 2
    functionLinenumber: 3608
    functionLinenumberEnd: 3668
    functionName: network_new_hwaddrs
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - memcpy
    - list_for_each_entry
    - WARN
    - lxc_config_net_is_hwaddr
    - new_hwaddr
    - memcmp
    - strlen
    - isblank
    - strchr
    linkageType: ''
    returnType: bool
    signature: bool network_new_hwaddrs(struct lxc_conf *conf)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:3675,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:3680,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3685,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3688
      start: 3670
    functionDepth: 1
    functionLinenumber: 3670
    functionLinenumberEnd: 3688
    functionName: set_config_ephemeral
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_ephemeral(const char *key, const char *value,\n\t\t\t\tstruct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:3696,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:3698,1
    - Dst: lxc_syslog_priority_to_int
      Src: /src/lxc/src/lxc/confile.c:3701,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3703,1
    - Dst: lxc_log_syslog
      Src: /src/lxc/src/lxc/confile.c:3705,1
    - Dst: set_config_string_item
      Src: /src/lxc/src/lxc/confile.c:3707,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3708
      start: 3690
    functionDepth: 2
    functionLinenumber: 3690
    functionLinenumberEnd: 3708
    functionName: set_config_log_syslog
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_config_value_empty
    - free_disarm
    - lxc_log_syslog
    - ret_errno
    - set_config_string_item
    - lxc_syslog_priority_to_int
    linkageType: ''
    returnType: int
    signature: "int set_config_log_syslog(const char *key, const char *value,\n\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:3716,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:3721,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3726,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3731
      start: 3710
    functionDepth: 1
    functionLinenumber: 3710
    functionLinenumberEnd: 3731
    functionName: set_config_no_new_privs
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    linkageType: ''
    returnType: int
    signature: "int set_config_no_new_privs(const char *key, const char *value,\n\t\t\t\t
      \  struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:3742,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3748,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3751,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3758
      start: 3734
    functionDepth: 1
    functionLinenumber: 3734
    functionLinenumberEnd: 3758
    functionName: get_config_personality
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_personality(const char *key, char *retv, int inlen,\n\t\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_size_t
      Src: /src/lxc/src/lxc/confile.c:3763,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3764
      start: 3760
    functionDepth: 2
    functionLinenumber: 3760
    functionLinenumberEnd: 3764
    functionName: get_config_pty_max
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_size_t
    linkageType: ''
    returnType: int
    signature: "int get_config_pty_max(const char *key, char *retv, int inlen,\n\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_size_t
      Src: /src/lxc/src/lxc/confile.c:3769,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3770
      start: 3766
    functionDepth: 2
    functionLinenumber: 3766
    functionLinenumberEnd: 3770
    functionName: get_config_tty_max
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_size_t
    linkageType: ''
    returnType: int
    signature: "int get_config_tty_max(const char *key, char *retv, int inlen,\n\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:3775,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3776
      start: 3772
    functionDepth: 1
    functionLinenumber: 3772
    functionLinenumberEnd: 3776
    functionName: get_config_tty_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_tty_dir(const char *key, char *retv, int inlen,\n\t\t\t
      \    struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:3782,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:3784,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3786
      start: 3778
    functionDepth: 1
    functionLinenumber: 3778
    functionLinenumberEnd: 3786
    functionName: get_config_apparmor_profile
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int get_config_apparmor_profile(const char *key, char *retv, int inlen,\n\t\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:3793,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:3795,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3797
      start: 3788
    functionDepth: 2
    functionLinenumber: 3788
    functionLinenumberEnd: 3797
    functionName: get_config_apparmor_allow_incomplete
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - syserror_set
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_apparmor_allow_incomplete(const char *key, char *retv,\n\t\t\t\t\t\tint
      inlen, struct lxc_conf *c,\n\t\t\t\t\t\tvoid *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:3804,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:3806,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3808
      start: 3799
    functionDepth: 2
    functionLinenumber: 3799
    functionLinenumberEnd: 3808
    functionName: get_config_apparmor_allow_nesting
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - syserror_set
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_apparmor_allow_nesting(const char *key, char *retv,\n\t\t\t\t\t
      \    int inlen, struct lxc_conf *c,\n\t\t\t\t\t     void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:3822,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:3824,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3825,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:3830,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3832
      start: 3810
    functionDepth: 1
    functionLinenumber: 3810
    functionLinenumberEnd: 3832
    functionName: get_config_apparmor_raw
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - list_for_each_entry
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int get_config_apparmor_raw(const char *key, char *retv,\n\t\t\t\t
      \  int inlen, struct lxc_conf *c,\n\t\t\t\t   void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:3838,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:3840,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3842
      start: 3834
    functionDepth: 1
    functionLinenumber: 3834
    functionLinenumberEnd: 3842
    functionName: get_config_selinux_context
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int get_config_selinux_context(const char *key, char *retv, int inlen,\n\t\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:3848,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:3850,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3852
      start: 3844
    functionDepth: 1
    functionLinenumber: 3844
    functionLinenumberEnd: 3852
    functionName: get_config_selinux_context_keyring
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int get_config_selinux_context_keyring(const char *key, char *retv,
      int inlen,\n\t\t\t\t\t      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_bool
      Src: /src/lxc/src/lxc/confile.c:3857,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3858
      start: 3854
    functionDepth: 2
    functionLinenumber: 3854
    functionLinenumberEnd: 3858
    functionName: get_config_keyring_session
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_bool
    linkageType: ''
    returnType: int
    signature: "int get_config_keyring_session(const char *key, char *retv, int inlen,\n\t\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:3884,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:3889,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3892,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3895,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:3897,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3900,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3907,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3909,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3910,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - version
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3915
      start: 3869
    functionDepth: 1
    functionLinenumber: 3869
    functionLinenumberEnd: 3915
    functionName: __get_config_cgroup_controller
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - strnequal
    - strequal
    - strprint
    - ret_errno
    - memset
    linkageType: ''
    returnType: int
    signature: "int __get_config_cgroup_controller(const char *key, char *retv,\n\t\t\t\t\t
      \ int inlen, struct lxc_conf *c,\n\t\t\t\t\t  int version)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3907,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3909,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3910,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3912
      start: 3902
    functionDepth: 1
    functionLinenumber: 3902
    functionLinenumberEnd: 3912
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 45
    functionsReached:
    - strprint
    - strequal
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(cgroup, list, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __get_config_cgroup_controller
      Src: /src/lxc/src/lxc/confile.c:3920,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3922
      start: 3917
    functionDepth: 2
    functionLinenumber: 3917
    functionLinenumberEnd: 3922
    functionName: get_config_cgroup2_controller
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - __get_config_cgroup_controller
    linkageType: ''
    returnType: int
    signature: "int get_config_cgroup2_controller(const char *key, char *retv, int
      inlen,\n\t\t\t\t\t struct lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:3930,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:3931,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:3936,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3938,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3941
      start: 3924
    functionDepth: 1
    functionLinenumber: 3924
    functionLinenumberEnd: 3941
    functionName: get_config_cgroup_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    - strequal
    linkageType: ''
    returnType: int
    signature: "int get_config_cgroup_dir(const char *key, char *retv, int inlen,\n\t\t\t\t
      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:3952,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3954,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3957
      start: 3943
    functionDepth: 1
    functionLinenumber: 3943
    functionLinenumberEnd: 3957
    functionName: get_config_cgroup_monitor_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_cgroup_monitor_dir(const char *key, char *retv, int
      inlen,\n\t\t\t\t\t struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:3968,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3970,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3973
      start: 3959
    functionDepth: 1
    functionLinenumber: 3959
    functionLinenumberEnd: 3973
    functionName: get_config_cgroup_monitor_pivot_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_cgroup_monitor_pivot_dir(const char *key, char *retv,
      int inlen,\n\t\t\t\t\t struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:3986,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:3988,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3991
      start: 3975
    functionDepth: 1
    functionLinenumber: 3975
    functionLinenumberEnd: 3991
    functionName: get_config_cgroup_container_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_cgroup_container_dir(const char *key, char *retv,\n\t\t\t\t\t
      \  int inlen,\n\t\t\t\t\t   struct lxc_conf *lxc_conf,\n\t\t\t\t\t   void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4004,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4006,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4009
      start: 3993
    functionDepth: 1
    functionLinenumber: 3993
    functionLinenumberEnd: 4009
    functionName: get_config_cgroup_container_inner_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_cgroup_container_inner_dir(const char *key, char *retv,\n\t\t\t\t\t\t
      int inlen,\n\t\t\t\t\t\t struct lxc_conf *lxc_conf,\n\t\t\t\t\t\t void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4015,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4017
      start: 4011
    functionDepth: 2
    functionLinenumber: 4011
    functionLinenumberEnd: 4017
    functionName: get_config_cgroup_relative
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_cgroup_relative(const char *key, char *retv,\n\t\t\t\t\t
      \    int inlen, struct lxc_conf *lxc_conf,\n\t\t\t\t\t     void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4051,1
    - Dst: list_len
      Src: /src/lxc/src/lxc/confile.c:4053,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4054,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/confile.c:4055,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4059,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4061,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4065
      start: 4019
    functionDepth: 1
    functionLinenumber: 4019
    functionLinenumberEnd: 4065
    functionName: get_config_idmaps
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - list_len
    - strprint
    - ret_errno
    - memset
    - strnprintf
    linkageType: ''
    returnType: int
    signature: "int get_config_idmaps(const char *key, char *retv, int inlen,\n\t\t\t
      \    struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_priority_to_string
      Src: /src/lxc/src/lxc/confile.c:4071,1
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4072,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4073
      start: 4067
    functionDepth: 1
    functionLinenumber: 4067
    functionLinenumberEnd: 4073
    functionName: get_config_log_level
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    - lxc_log_priority_to_string
    linkageType: ''
    returnType: int
    signature: "int get_config_log_level(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4078,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4079
      start: 4075
    functionDepth: 1
    functionLinenumber: 4075
    functionLinenumberEnd: 4079
    functionName: get_config_log_file
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_log_file(const char *key, char *retv, int inlen,\n\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4084,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4085
      start: 4081
    functionDepth: 1
    functionLinenumber: 4081
    functionLinenumberEnd: 4085
    functionName: get_config_mount_fstab
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_mount_fstab(const char *key, char *retv, int inlen,\n\t\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4096,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4103,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4107,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4116,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4120,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4124,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4133,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4136,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4139,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4142,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4145,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4148,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4151,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4154,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 63
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4161
      start: 4087
    functionDepth: 1
    functionLinenumber: 4087
    functionLinenumberEnd: 4161
    functionName: get_config_mount_auto
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_mount_auto(const char *key, char *retv, int inlen,\n\t\t\t\t
      struct lxc_conf *c, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4172,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4174,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4175,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4179
      start: 4163
    functionDepth: 1
    functionLinenumber: 4163
    functionLinenumberEnd: 4179
    functionName: get_config_mount
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - list_for_each_entry
    linkageType: ''
    returnType: int
    signature: "int get_config_mount(const char *key, char *retv, int inlen,\n\t\t\t
      \   struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4184,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4185
      start: 4181
    functionDepth: 1
    functionLinenumber: 4181
    functionLinenumberEnd: 4185
    functionName: get_config_rootfs_path
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_rootfs_path(const char *key, char *retv, int inlen,\n\t\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_bool
      Src: /src/lxc/src/lxc/confile.c:4190,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4191
      start: 4187
    functionDepth: 2
    functionLinenumber: 4187
    functionLinenumberEnd: 4191
    functionName: get_config_rootfs_managed
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_bool
    linkageType: ''
    returnType: int
    signature: "int get_config_rootfs_managed(const char *key, char *retv, int inlen,\n\t\t\t\t
      \    struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4196,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4197
      start: 4193
    functionDepth: 1
    functionLinenumber: 4193
    functionLinenumberEnd: 4197
    functionName: get_config_rootfs_mount
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_rootfs_mount(const char *key, char *retv, int inlen,\n\t\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4202,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4203
      start: 4199
    functionDepth: 1
    functionLinenumber: 4199
    functionLinenumberEnd: 4203
    functionName: get_config_rootfs_options
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_rootfs_options(const char *key, char *retv, int inlen,\n\t\t\t\t
      \    struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4208,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4211
      start: 4205
    functionDepth: 1
    functionLinenumber: 4205
    functionLinenumberEnd: 4211
    functionName: get_config_uts_name
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_uts_name(const char *key, char *retv, int inlen,\n\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:4221,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4223,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/confile.c:4225,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4227,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4230,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4233,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4240,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4245,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4247,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4248,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4252
      start: 4213
    functionDepth: 1
    functionLinenumber: 4213
    functionLinenumberEnd: 4252
    functionName: get_config_hooks
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - strequal
    - strprint
    - ret_errno
    - memset
    - strchr
    linkageType: ''
    returnType: int
    signature: "int get_config_hooks(const char *key, char *retv, int inlen,\n\t\t\t
      \   struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4257,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4258
      start: 4254
    functionDepth: 2
    functionLinenumber: 4254
    functionLinenumberEnd: 4258
    functionName: get_config_hooks_version
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_hooks_version(const char *key, char *retv, int inlen,\n\t\t\t\t
      \   struct lxc_conf *c, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4269,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4271,1
    - Dst: lxc_net_type_to_str
      Src: /src/lxc/src/lxc/confile.c:4272,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4273,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4277
      start: 4260
    functionDepth: 1
    functionLinenumber: 4260
    functionLinenumberEnd: 4277
    functionName: get_config_net
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - list_for_each_entry
    - lxc_net_type_to_str
    linkageType: ''
    returnType: int
    signature: "int get_config_net(const char *key, char *retv, int inlen,\n\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4291,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4293,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4294,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4298
      start: 4279
    functionDepth: 1
    functionLinenumber: 4279
    functionLinenumberEnd: 4298
    functionName: get_config_cap_drop
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - list_for_each_entry
    linkageType: ''
    returnType: int
    signature: "int get_config_cap_drop(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4312,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4314,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4315,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4319
      start: 4300
    functionDepth: 1
    functionLinenumber: 4300
    functionLinenumberEnd: 4319
    functionName: get_config_cap_keep
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - list_for_each_entry
    linkageType: ''
    returnType: int
    signature: "int get_config_cap_keep(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4324,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4325
      start: 4321
    functionDepth: 1
    functionLinenumber: 4321
    functionLinenumberEnd: 4325
    functionName: get_config_console_path
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_console_path(const char *key, char *retv, int inlen,\n\t\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4330,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4331
      start: 4327
    functionDepth: 1
    functionLinenumber: 4327
    functionLinenumberEnd: 4331
    functionName: get_config_console_logfile
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_console_logfile(const char *key, char *retv, int inlen,\n\t\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4336,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4337
      start: 4333
    functionDepth: 2
    functionLinenumber: 4333
    functionLinenumberEnd: 4337
    functionName: get_config_console_rotate
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_console_rotate(const char *key, char *retv, int inlen,\n\t\t\t\t
      \    struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_uint64
      Src: /src/lxc/src/lxc/confile.c:4344,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4345
      start: 4340
    functionDepth: 2
    functionLinenumber: 4340
    functionLinenumberEnd: 4345
    functionName: get_config_console_buffer_size
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_uint64
    linkageType: ''
    returnType: int
    signature: "int get_config_console_buffer_size(const char *key, char *retv,\n\t\t\t\t\t
      \ int inlen, struct lxc_conf *c,\n\t\t\t\t\t  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_uint64
      Src: /src/lxc/src/lxc/confile.c:4350,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4351
      start: 4347
    functionDepth: 2
    functionLinenumber: 4347
    functionLinenumberEnd: 4351
    functionName: get_config_console_size
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_uint64
    linkageType: ''
    returnType: int
    signature: "int get_config_console_size(const char *key, char *retv, int inlen,\n\t\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4358,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4360,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4362
      start: 4353
    functionDepth: 2
    functionLinenumber: 4353
    functionLinenumberEnd: 4362
    functionName: get_config_seccomp_allow_nesting
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_seccomp_allow_nesting(const char *key, char *retv,\n\t\t\t\t\t
      \   int inlen, struct lxc_conf *c,\n\t\t\t\t\t    void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4368,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4370,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4372
      start: 4364
    functionDepth: 1
    functionLinenumber: 4364
    functionLinenumberEnd: 4372
    functionName: get_config_seccomp_notify_cookie
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_seccomp_notify_cookie(const char *key, char *retv,
      int inlen,\n\t\t\t\t\t    struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4378,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4383,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4385
      start: 4374
    functionDepth: 1
    functionLinenumber: 4374
    functionLinenumberEnd: 4385
    functionName: get_config_seccomp_notify_proxy
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_seccomp_notify_proxy(const char *key, char *retv, int
      inlen,\n\t\t\t\t\t   struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4391,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4393,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4395
      start: 4387
    functionDepth: 1
    functionLinenumber: 4387
    functionLinenumberEnd: 4395
    functionName: get_config_seccomp_profile
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_seccomp_profile(const char *key, char *retv, int inlen,\n\t\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4400,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4401
      start: 4397
    functionDepth: 2
    functionLinenumber: 4397
    functionLinenumberEnd: 4401
    functionName: get_config_autodev
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_autodev(const char *key, char *retv, int inlen,\n\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4406,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4407
      start: 4403
    functionDepth: 2
    functionLinenumber: 4403
    functionLinenumberEnd: 4407
    functionName: get_config_autodev_tmpfs_size
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_autodev_tmpfs_size(const char *key, char *retv, int
      inlen,\n\t\t\t      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4412,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4413
      start: 4409
    functionDepth: 2
    functionLinenumber: 4409
    functionLinenumberEnd: 4413
    functionName: get_config_signal_halt
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_signal_halt(const char *key, char *retv, int inlen,\n\t\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4418,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4419
      start: 4415
    functionDepth: 2
    functionLinenumber: 4415
    functionLinenumberEnd: 4419
    functionName: get_config_signal_reboot
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_signal_reboot(const char *key, char *retv, int inlen,\n\t\t\t\t
      \   struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4424,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4425
      start: 4421
    functionDepth: 2
    functionLinenumber: 4421
    functionLinenumberEnd: 4425
    functionName: get_config_signal_stop
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_signal_stop(const char *key, char *retv, int inlen,\n\t\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4430,1
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4431,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4432,1
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4433,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4434,1
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4435,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4437,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4438
      start: 4427
    functionDepth: 2
    functionLinenumber: 4427
    functionLinenumberEnd: 4438
    functionName: get_config_start
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - strequal
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_start(const char *key, char *retv, int inlen,\n\t\t\t
      \   struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4443,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4444
      start: 4440
    functionDepth: 1
    functionLinenumber: 4440
    functionLinenumberEnd: 4444
    functionName: get_config_log_syslog
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_log_syslog(const char *key, char *retv, int inlen,\n\t\t\t\t
      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4449,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4450
      start: 4446
    functionDepth: 2
    functionLinenumber: 4446
    functionLinenumberEnd: 4450
    functionName: get_config_monitor
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_monitor(const char *key, char *retv, int inlen,\n\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4456,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4457
      start: 4452
    functionDepth: 2
    functionLinenumber: 4452
    functionLinenumberEnd: 4457
    functionName: get_config_monitor_signal_pdeath
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_monitor_signal_pdeath(const char *key, char *retv,\n\t\t\t\t\t
      \   int inlen, struct lxc_conf *c,\n\t\t\t\t\t    void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4468,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4470,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4471,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4475
      start: 4459
    functionDepth: 1
    functionLinenumber: 4459
    functionLinenumberEnd: 4475
    functionName: get_config_group
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - list_for_each_entry
    linkageType: ''
    returnType: int
    signature: "int get_config_group(const char *key, char *retv, int inlen,\n\t\t\t
      \   struct lxc_conf *c, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4486,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4489,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 3
    argNames:
    - retv
    - inlen
    - environment
    argTypes:
    - char*
    - int
    - struct list_head*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4493
      start: 4477
    functionDepth: 1
    functionLinenumber: 4477
    functionLinenumberEnd: 4493
    functionName: get_config_environment_impl
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_environment_impl(char *retv, int inlen,\n\t\t\t\t       struct
      list_head *environment)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4489,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4490
      start: 4488
    functionDepth: 1
    functionLinenumber: 4488
    functionLinenumberEnd: 4490
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 52
    functionsReached:
    - strprint
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(env, environment, head)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_config_environment_impl
      Src: /src/lxc/src/lxc/confile.c:4498,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4499
      start: 4495
    functionDepth: 2
    functionLinenumber: 4495
    functionLinenumberEnd: 4499
    functionName: get_config_environment
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - get_config_environment_impl
    linkageType: ''
    returnType: int
    signature: "int get_config_environment(const char *key, char *retv, int inlen,\n\t\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_config_environment_impl
      Src: /src/lxc/src/lxc/confile.c:4505,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4506
      start: 4501
    functionDepth: 2
    functionLinenumber: 4501
    functionLinenumberEnd: 4506
    functionName: get_config_environment_runtime
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - get_config_environment_impl
    linkageType: ''
    returnType: int
    signature: "int get_config_environment_runtime(const char *key, char *retv,\n\t\t\t\t\t
      \ int inlen, struct lxc_conf *c,\n\t\t\t\t\t  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_config_environment_impl
      Src: /src/lxc/src/lxc/confile.c:4511,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4512
      start: 4508
    functionDepth: 2
    functionLinenumber: 4508
    functionLinenumberEnd: 4512
    functionName: get_config_environment_hooks
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - get_config_environment_impl
    linkageType: ''
    returnType: int
    signature: "int get_config_environment_hooks(const char *key, char *retv, int
      inlen,\n\t\t\t\t\tstruct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4517,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4518
      start: 4514
    functionDepth: 1
    functionLinenumber: 4514
    functionLinenumberEnd: 4518
    functionName: get_config_execute_cmd
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_execute_cmd(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4523,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4524
      start: 4520
    functionDepth: 1
    functionLinenumber: 4520
    functionLinenumberEnd: 4524
    functionName: get_config_init_cmd
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_init_cmd(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_str
      Src: /src/lxc/src/lxc/confile.c:4529,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4530
      start: 4526
    functionDepth: 1
    functionLinenumber: 4526
    functionLinenumberEnd: 4530
    functionName: get_config_init_cwd
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_str
    linkageType: ''
    returnType: int
    signature: "int get_config_init_cwd(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4535,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4536
      start: 4532
    functionDepth: 2
    functionLinenumber: 4532
    functionLinenumberEnd: 4536
    functionName: get_config_init_uid
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_init_uid(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4541,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4542
      start: 4538
    functionDepth: 2
    functionLinenumber: 4538
    functionLinenumberEnd: 4542
    functionName: get_config_init_gid
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_init_gid(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4552,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4558,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4562
      start: 4544
    functionDepth: 1
    functionLinenumber: 4544
    functionLinenumberEnd: 4562
    functionName: get_config_init_groups
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_init_groups(const char *key, char *retv, int inlen,\n\t\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4567,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4568
      start: 4564
    functionDepth: 2
    functionLinenumber: 4564
    functionLinenumberEnd: 4568
    functionName: get_config_ephemeral
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_ephemeral(const char *key, char *retv, int inlen,\n\t\t\t\tstruct
      lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_int
      Src: /src/lxc/src/lxc/confile.c:4573,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4574
      start: 4570
    functionDepth: 2
    functionLinenumber: 4570
    functionLinenumberEnd: 4574
    functionName: get_config_no_new_privs
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_int
    linkageType: ''
    returnType: int
    signature: "int get_config_no_new_privs(const char *key, char *retv, int inlen,\n\t\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4590,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4592,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:4594,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4597,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4599,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/confile.c:4601,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/confile.c:4605,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:4605,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:4606,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/confile.c:4608,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/confile.c:4614,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:4615,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/confile.c:4617,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4622,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4624,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4625,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4630
      start: 4580
    functionDepth: 1
    functionLinenumber: 4580
    functionLinenumberEnd: 4630
    functionName: get_config_prlimit
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memcpy
    - list_for_each_entry
    - STRLITERALLEN
    - sprintf
    - strnequal
    - strequal
    - INTTYPE_TO_STRLEN
    - strprint
    - ret_errno
    - memset
    linkageType: ''
    returnType: int
    signature: "int get_config_prlimit(const char *key, char *retv, int inlen,\n\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4647,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4649,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:4651,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:4651,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:4652,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4654,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4656,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4658,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4660,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4661,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4666
      start: 4636
    functionDepth: 1
    functionLinenumber: 4636
    functionLinenumberEnd: 4666
    functionName: get_config_sysctl
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - list_for_each_entry
    - strnequal
    - strequal
    - strprint
    - ret_errno
    - memset
    linkageType: ''
    returnType: int
    signature: "int get_config_sysctl(const char *key, char *retv, int inlen,\n\t\t\t
      \    struct lxc_conf *c, void *data)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4679,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4681,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:4683,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:4683,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:4684,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4686,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:4688,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4690,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4692,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4693,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4698
      start: 4668
    functionDepth: 1
    functionLinenumber: 4668
    functionLinenumberEnd: 4698
    functionName: get_config_proc
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - list_for_each_entry
    - strnequal
    - strequal
    - strprint
    - ret_errno
    - memset
    linkageType: ''
    returnType: int
    signature: "int get_config_proc(const char *key, char *retv, int inlen,\n\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4709,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4713,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4717
      start: 4700
    functionDepth: 1
    functionLinenumber: 4700
    functionLinenumberEnd: 4717
    functionName: get_config_namespace_clone
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_namespace_clone(const char *key, char *retv, int inlen,\n\t\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4728,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4732,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4736
      start: 4719
    functionDepth: 1
    functionLinenumber: 4719
    functionLinenumberEnd: 4736
    functionName: get_config_namespace_keep
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_namespace_keep(const char *key, char *retv, int inlen,\n\t\t\t\t
      \    struct lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4747,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4750,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4752,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4756
      start: 4738
    functionDepth: 1
    functionLinenumber: 4738
    functionLinenumberEnd: 4756
    functionName: get_config_time_offset_boot
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_time_offset_boot(const char *key, char *retv, int inlen,
      struct lxc_conf *c,\n\t\t\t\t       void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4767,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4770,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4772,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4776
      start: 4758
    functionDepth: 1
    functionLinenumber: 4758
    functionLinenumberEnd: 4776
    functionName: get_config_time_offset_monotonic
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    linkageType: ''
    returnType: int
    signature: "int get_config_time_offset_monotonic(const char *key, char *retv,
      int inlen,\n\t\t\t\t\t    struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:4788,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:4790,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/confile.c:4791,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4792,1
    - Dst: lxc_namespace_2_ns_idx
      Src: /src/lxc/src/lxc/confile.c:4794,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:4798,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4801
      start: 4778
    functionDepth: 2
    functionLinenumber: 4778
    functionLinenumberEnd: 4801
    functionName: get_config_namespace_share
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - is_empty_string
    - strprint
    - ret_errno
    - lxc_namespace_2_ns_idx
    - memset
    linkageType: ''
    returnType: int
    signature: "int get_config_namespace_share(const char *key, char *retv, int inlen,\n\t\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4809
      start: 4804
    functionDepth: 0
    functionLinenumber: 4804
    functionLinenumberEnd: 4809
    functionName: clr_config_personality
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_personality(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4816
      start: 4811
    functionDepth: 0
    functionLinenumber: 4811
    functionLinenumberEnd: 4816
    functionName: clr_config_pty_max
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_pty_max(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \    void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4823
      start: 4818
    functionDepth: 0
    functionLinenumber: 4818
    functionLinenumberEnd: 4823
    functionName: clr_config_tty_max
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_tty_max(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \    void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4828,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4830
      start: 4825
    functionDepth: 1
    functionLinenumber: 4825
    functionLinenumberEnd: 4830
    functionName: clr_config_tty_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_tty_dir(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \   void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4836,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:4839,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4841
      start: 4832
    functionDepth: 1
    functionLinenumber: 4832
    functionLinenumberEnd: 4841
    functionName: clr_config_apparmor_profile
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int clr_config_apparmor_profile(const char *key,\n\t\t\t\t\t      struct
      lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:4851,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4853
      start: 4843
    functionDepth: 1
    functionLinenumber: 4843
    functionLinenumberEnd: 4853
    functionName: clr_config_apparmor_allow_incomplete
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int clr_config_apparmor_allow_incomplete(const char *key,\n\t\t\t\t\t\t
      \      struct lxc_conf *c,\n\t\t\t\t\t\t       void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:4863,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4865
      start: 4855
    functionDepth: 1
    functionLinenumber: 4855
    functionLinenumberEnd: 4865
    functionName: clr_config_apparmor_allow_nesting
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int clr_config_apparmor_allow_nesting(const char *key,\n\t\t\t\t\t\t
      \   struct lxc_conf *c,\n\t\t\t\t\t\t    void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_apparmor_raw
      Src: /src/lxc/src/lxc/confile.c:4872,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:4874,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4876
      start: 4867
    functionDepth: 2
    functionLinenumber: 4867
    functionLinenumberEnd: 4876
    functionName: clr_config_apparmor_raw
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_apparmor_raw
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int clr_config_apparmor_raw(const char *key,\n\t\t\t\t\t  struct lxc_conf
      *c,\n\t\t\t\t\t  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4882,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:4885,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4887
      start: 4878
    functionDepth: 1
    functionLinenumber: 4878
    functionLinenumberEnd: 4887
    functionName: clr_config_selinux_context
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int clr_config_selinux_context(const char *key,\n\t\t\t\t\t     struct
      lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4893,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:4896,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4898
      start: 4889
    functionDepth: 1
    functionLinenumber: 4889
    functionLinenumberEnd: 4898
    functionName: clr_config_selinux_context_keyring
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int clr_config_selinux_context_keyring(const char *key,\n\t\t\t\t\t\t
      \    struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4905
      start: 4900
    functionDepth: 0
    functionLinenumber: 4900
    functionLinenumberEnd: 4905
    functionName: clr_config_keyring_session
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_keyring_session(const char *key,\n\t\t\t\t\t     struct
      lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_cgroups
      Src: /src/lxc/src/lxc/confile.c:4910,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4911
      start: 4907
    functionDepth: 2
    functionLinenumber: 4907
    functionLinenumberEnd: 4911
    functionName: clr_config_cgroup2_controller
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_cgroups
    linkageType: ''
    returnType: int
    signature: "int clr_config_cgroup2_controller(const char *key,\n\t\t\t\t\t\tstruct
      lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:4916,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:4917,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4920,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4923
      start: 4913
    functionDepth: 1
    functionLinenumber: 4913
    functionLinenumberEnd: 4923
    functionName: clr_config_cgroup_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    - ret_errno
    - strequal
    linkageType: ''
    returnType: int
    signature: "int clr_config_cgroup_dir(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\t
      void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4929,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4931
      start: 4925
    functionDepth: 1
    functionLinenumber: 4925
    functionLinenumberEnd: 4931
    functionName: clr_config_cgroup_monitor_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_cgroup_monitor_dir(const char *key,\n\t\t\t\t\t struct
      lxc_conf *lxc_conf,\n\t\t\t\t\t void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4937,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4939
      start: 4933
    functionDepth: 1
    functionLinenumber: 4933
    functionLinenumberEnd: 4939
    functionName: clr_config_cgroup_monitor_pivot_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_cgroup_monitor_pivot_dir(const char *key,\n\t\t\t\t\t
      struct lxc_conf *lxc_conf,\n\t\t\t\t\t void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4945,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4947
      start: 4941
    functionDepth: 1
    functionLinenumber: 4941
    functionLinenumberEnd: 4947
    functionName: clr_config_cgroup_container_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_cgroup_container_dir(const char *key,\n\t\t\t\t\t   struct
      lxc_conf *lxc_conf,\n\t\t\t\t\t   void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4953,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4955
      start: 4949
    functionDepth: 1
    functionLinenumber: 4949
    functionLinenumberEnd: 4955
    functionName: clr_config_cgroup_container_inner_dir
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_cgroup_container_inner_dir(const char *key,\n\t\t\t\t\t\t
      struct lxc_conf *lxc_conf,\n\t\t\t\t\t\t void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4963
      start: 4957
    functionDepth: 0
    functionLinenumber: 4957
    functionLinenumberEnd: 4963
    functionName: clr_config_cgroup_relative
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_cgroup_relative(const char *key,\n\t\t\t\t\t     struct
      lxc_conf *lxc_conf,\n\t\t\t\t\t     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_idmaps
      Src: /src/lxc/src/lxc/confile.c:4968,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4969
      start: 4965
    functionDepth: 3
    functionLinenumber: 4965
    functionLinenumberEnd: 4969
    functionName: clr_config_idmaps
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_idmaps
    linkageType: ''
    returnType: int
    signature: "int clr_config_idmaps(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \   void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4976
      start: 4971
    functionDepth: 0
    functionLinenumber: 4971
    functionLinenumberEnd: 4976
    functionName: clr_config_log_level
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_log_level(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:4981,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4983
      start: 4978
    functionDepth: 1
    functionLinenumber: 4978
    functionLinenumberEnd: 4983
    functionName: clr_config_log_file
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_log_file(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \    void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_mount_entries
      Src: /src/lxc/src/lxc/confile.c:4988,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4989
      start: 4985
    functionDepth: 2
    functionLinenumber: 4985
    functionLinenumberEnd: 4989
    functionName: clr_config_mount
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_mount_entries
    linkageType: ''
    returnType: int
    signature: "int clr_config_mount(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_automounts
      Src: /src/lxc/src/lxc/confile.c:4994,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4995
      start: 4991
    functionDepth: 1
    functionLinenumber: 4991
    functionLinenumberEnd: 4995
    functionName: clr_config_mount_auto
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_automounts
    linkageType: ''
    returnType: int
    signature: "int clr_config_mount_auto(const char *key, struct lxc_conf *c,\n\t\t\t\t\tvoid
      *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5000,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5002
      start: 4997
    functionDepth: 1
    functionLinenumber: 4997
    functionLinenumberEnd: 5002
    functionName: clr_config_mount_fstab
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_mount_fstab(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5007,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5009
      start: 5004
    functionDepth: 1
    functionLinenumber: 5004
    functionLinenumberEnd: 5009
    functionName: clr_config_rootfs_path
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_rootfs_path(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5016
      start: 5011
    functionDepth: 0
    functionLinenumber: 5011
    functionLinenumberEnd: 5016
    functionName: clr_config_rootfs_managed
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_rootfs_managed(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \   void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5021,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5023
      start: 5018
    functionDepth: 1
    functionLinenumber: 5018
    functionLinenumberEnd: 5023
    functionName: clr_config_rootfs_mount
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_rootfs_mount(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \ void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: put_lxc_mount_options
      Src: /src/lxc/src/lxc/confile.c:5028,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5031
      start: 5025
    functionDepth: 2
    functionLinenumber: 5025
    functionLinenumberEnd: 5031
    functionName: clr_config_rootfs_options
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - put_lxc_mount_options
    linkageType: ''
    returnType: int
    signature: "int clr_config_rootfs_options(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \   void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5036,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5038
      start: 5033
    functionDepth: 1
    functionLinenumber: 5033
    functionLinenumberEnd: 5038
    functionName: clr_config_uts_name
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_uts_name(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \    void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_hooks
      Src: /src/lxc/src/lxc/confile.c:5043,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5044
      start: 5040
    functionDepth: 2
    functionLinenumber: 5040
    functionLinenumberEnd: 5044
    functionName: clr_config_hooks
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_hooks
    linkageType: ''
    returnType: int
    signature: "int clr_config_hooks(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5052
      start: 5046
    functionDepth: 0
    functionLinenumber: 5046
    functionLinenumberEnd: 5052
    functionName: clr_config_hooks_version
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_hooks_version(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_free_networks
      Src: /src/lxc/src/lxc/confile.c:5057,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5060
      start: 5054
    functionDepth: 4
    functionLinenumber: 5054
    functionLinenumberEnd: 5060
    functionName: clr_config_net
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - lxc_free_networks
    linkageType: ''
    returnType: int
    signature: "int clr_config_net(const char *key, struct lxc_conf *c,\n\t\t\t\t
      void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_config_caps
      Src: /src/lxc/src/lxc/confile.c:5065,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5066
      start: 5062
    functionDepth: 2
    functionLinenumber: 5062
    functionLinenumberEnd: 5066
    functionName: clr_config_cap_drop
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_config_caps
    linkageType: ''
    returnType: int
    signature: "int clr_config_cap_drop(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_config_caps
      Src: /src/lxc/src/lxc/confile.c:5071,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5072
      start: 5068
    functionDepth: 2
    functionLinenumber: 5068
    functionLinenumberEnd: 5072
    functionName: clr_config_cap_keep
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_config_caps
    linkageType: ''
    returnType: int
    signature: "int clr_config_cap_keep(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5077,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5079
      start: 5074
    functionDepth: 1
    functionLinenumber: 5074
    functionLinenumberEnd: 5079
    functionName: clr_config_console_path
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_console_path(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \ void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5084,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5086
      start: 5081
    functionDepth: 1
    functionLinenumber: 5081
    functionLinenumberEnd: 5086
    functionName: clr_config_console_logfile
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_console_logfile(const char *key,\n\t\t\t\t\t     struct
      lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5093
      start: 5088
    functionDepth: 0
    functionLinenumber: 5088
    functionLinenumberEnd: 5093
    functionName: clr_config_console_rotate
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_console_rotate(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \   void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5100
      start: 5095
    functionDepth: 0
    functionLinenumber: 5095
    functionLinenumberEnd: 5100
    functionName: clr_config_console_buffer_size
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_console_buffer_size(const char *key,\n\t\t\t\t\t\t
      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5107
      start: 5102
    functionDepth: 0
    functionLinenumber: 5102
    functionLinenumberEnd: 5107
    functionName: clr_config_console_size
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_console_size(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \ void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5116,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5118
      start: 5109
    functionDepth: 1
    functionLinenumber: 5109
    functionLinenumberEnd: 5118
    functionName: clr_config_seccomp_allow_nesting
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_seccomp_allow_nesting(const char *key,\n\t\t\t\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5124,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5127,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5129
      start: 5120
    functionDepth: 1
    functionLinenumber: 5120
    functionLinenumberEnd: 5129
    functionName: clr_config_seccomp_notify_cookie
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_seccomp_notify_cookie(const char *key,\n\t\t\t\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:5135,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5139,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5141
      start: 5131
    functionDepth: 1
    functionLinenumber: 5131
    functionLinenumberEnd: 5141
    functionName: clr_config_seccomp_notify_proxy
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - memset
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_seccomp_notify_proxy(const char *key,\n\t\t\t\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5146,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5148
      start: 5143
    functionDepth: 1
    functionLinenumber: 5143
    functionLinenumberEnd: 5148
    functionName: clr_config_seccomp_profile
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_seccomp_profile(const char *key,\n\t\t\t\t\t     struct
      lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5155
      start: 5150
    functionDepth: 0
    functionLinenumber: 5150
    functionLinenumberEnd: 5155
    functionName: clr_config_autodev
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_autodev(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \    void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5162
      start: 5157
    functionDepth: 0
    functionLinenumber: 5157
    functionLinenumberEnd: 5162
    functionName: clr_config_autodev_tmpfs_size
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_autodev_tmpfs_size(const char *key, struct lxc_conf
      *c,\n\t\t\t\t     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5169
      start: 5164
    functionDepth: 0
    functionLinenumber: 5164
    functionLinenumberEnd: 5169
    functionName: clr_config_signal_halt
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_signal_halt(const char *key, struct lxc_conf *c,\n\t\t\t\t\tvoid
      *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5176
      start: 5171
    functionDepth: 0
    functionLinenumber: 5171
    functionLinenumberEnd: 5176
    functionName: clr_config_signal_reboot
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_signal_reboot(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \ void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5183
      start: 5178
    functionDepth: 0
    functionLinenumber: 5178
    functionLinenumberEnd: 5183
    functionName: clr_config_signal_stop
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_signal_stop(const char *key, struct lxc_conf *c,\n\t\t\t\t\tvoid
      *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:5188,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:5190,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:5192,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5196
      start: 5185
    functionDepth: 1
    functionLinenumber: 5185
    functionLinenumberEnd: 5196
    functionName: clr_config_start
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - strequal
    linkageType: ''
    returnType: int
    signature: "int clr_config_start(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5201,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5203
      start: 5198
    functionDepth: 1
    functionLinenumber: 5198
    functionLinenumberEnd: 5203
    functionName: clr_config_log_syslog
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_log_syslog(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \   void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5210
      start: 5205
    functionDepth: 0
    functionLinenumber: 5205
    functionLinenumberEnd: 5210
    functionName: clr_config_monitor
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_monitor(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \    void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5217
      start: 5212
    functionDepth: 0
    functionLinenumber: 5212
    functionLinenumberEnd: 5217
    functionName: clr_config_monitor_signal_pdeath
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_monitor_signal_pdeath(const char *key,\n\t\t\t\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_groups
      Src: /src/lxc/src/lxc/confile.c:5222,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5223
      start: 5219
    functionDepth: 2
    functionLinenumber: 5219
    functionLinenumberEnd: 5223
    functionName: clr_config_group
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_groups
    linkageType: ''
    returnType: int
    signature: "int clr_config_group(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_environment
      Src: /src/lxc/src/lxc/confile.c:5228,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5229
      start: 5225
    functionDepth: 2
    functionLinenumber: 5225
    functionLinenumberEnd: 5229
    functionName: clr_config_environment
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_environment
    linkageType: ''
    returnType: int
    signature: "int clr_config_environment(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_environment
      Src: /src/lxc/src/lxc/confile.c:5234,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5235
      start: 5231
    functionDepth: 2
    functionLinenumber: 5231
    functionLinenumberEnd: 5235
    functionName: clr_config_environment_runtime
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_environment
    linkageType: ''
    returnType: int
    signature: "int clr_config_environment_runtime(const char *key,\n\t\t\t\t\t\t
      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_environment
      Src: /src/lxc/src/lxc/confile.c:5240,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5241
      start: 5237
    functionDepth: 2
    functionLinenumber: 5237
    functionLinenumberEnd: 5241
    functionName: clr_config_environment_hooks
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_environment
    linkageType: ''
    returnType: int
    signature: "int clr_config_environment_hooks(const char *key,\n\t\t\t\t\t       struct
      lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5246,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5248
      start: 5243
    functionDepth: 1
    functionLinenumber: 5243
    functionLinenumberEnd: 5248
    functionName: clr_config_execute_cmd
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_execute_cmd(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5253,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5255
      start: 5250
    functionDepth: 1
    functionLinenumber: 5250
    functionLinenumberEnd: 5255
    functionName: clr_config_init_cmd
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_init_cmd(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5260,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5262
      start: 5257
    functionDepth: 1
    functionLinenumber: 5257
    functionLinenumberEnd: 5262
    functionName: clr_config_init_cwd
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_init_cwd(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5269
      start: 5264
    functionDepth: 0
    functionLinenumber: 5264
    functionLinenumberEnd: 5269
    functionName: clr_config_init_uid
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_init_uid(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5276
      start: 5271
    functionDepth: 0
    functionLinenumber: 5271
    functionLinenumberEnd: 5276
    functionName: clr_config_init_gid
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_init_gid(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \     void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5282,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5284
      start: 5278
    functionDepth: 1
    functionLinenumber: 5278
    functionLinenumberEnd: 5284
    functionName: clr_config_init_groups
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: int
    signature: "int clr_config_init_groups(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5291
      start: 5286
    functionDepth: 0
    functionLinenumber: 5286
    functionLinenumberEnd: 5291
    functionName: clr_config_ephemeral
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_ephemeral(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \      void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5298
      start: 5293
    functionDepth: 0
    functionLinenumber: 5293
    functionLinenumberEnd: 5298
    functionName: clr_config_no_new_privs
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_no_new_privs(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \ void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_limits
      Src: /src/lxc/src/lxc/confile.c:5303,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5304
      start: 5300
    functionDepth: 2
    functionLinenumber: 5300
    functionLinenumberEnd: 5304
    functionName: clr_config_prlimit
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_clear_limits
    linkageType: ''
    returnType: int
    signature: "int clr_config_prlimit(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_sysctls
      Src: /src/lxc/src/lxc/confile.c:5309,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5310
      start: 5306
    functionDepth: 2
    functionLinenumber: 5306
    functionLinenumberEnd: 5310
    functionName: clr_config_sysctl
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - lxc_clear_sysctls
    linkageType: ''
    returnType: int
    signature: "int clr_config_sysctl(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clear_procs
      Src: /src/lxc/src/lxc/confile.c:5315,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5316
      start: 5312
    functionDepth: 2
    functionLinenumber: 5312
    functionLinenumberEnd: 5316
    functionName: clr_config_proc
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - lxc_clear_procs
    linkageType: ''
    returnType: int
    signature: "int clr_config_proc(const char *key, struct lxc_conf *c,\n\t\t\t\t
      \  void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5322
      start: 5318
    functionDepth: 0
    functionLinenumber: 5318
    functionLinenumberEnd: 5322
    functionName: clr_config_includefiles
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_includefiles(const char *key, struct lxc_conf *c,\n\t\t\t\t\t
      \ void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5329
      start: 5324
    functionDepth: 0
    functionLinenumber: 5324
    functionLinenumberEnd: 5329
    functionName: clr_config_namespace_clone
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_namespace_clone(const char *key,\n\t\t\t\t      struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5336
      start: 5331
    functionDepth: 0
    functionLinenumber: 5331
    functionLinenumberEnd: 5336
    functionName: clr_config_namespace_keep
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int clr_config_namespace_keep(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\t
      \    void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5343
      start: 5338
    functionDepth: 0
    functionLinenumber: 5338
    functionLinenumberEnd: 5343
    functionName: clr_config_time_offset_boot
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int clr_config_time_offset_boot(const char *key, struct lxc_conf *lxc_conf,
      void *data)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5350
      start: 5345
    functionDepth: 0
    functionLinenumber: 5345
    functionLinenumberEnd: 5350
    functionName: clr_config_time_offset_monotonic
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int clr_config_time_offset_monotonic(const char *key, struct lxc_conf
      *lxc_conf, void *data)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:5358,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/confile.c:5359,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5360,1
    - Dst: lxc_namespace_2_ns_idx
      Src: /src/lxc/src/lxc/confile.c:5362,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:5366,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5370
      start: 5352
    functionDepth: 2
    functionLinenumber: 5352
    functionLinenumberEnd: 5370
    functionName: clr_config_namespace_share
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - STRLITERALLEN
    - is_empty_string
    - ret_errno
    - lxc_namespace_2_ns_idx
    - free
    linkageType: ''
    returnType: int
    signature: "int clr_config_namespace_share(const char *key,\n\t\t\t\t      struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5375,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5376
      start: 5372
    functionDepth: 1
    functionLinenumber: 5372
    functionLinenumberEnd: 5376
    functionName: get_config_includefiles
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_includefiles(const char *key, char *retv, int inlen,\n\t\t\t\t
      \  struct lxc_conf *c, void *data)"
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/confile.c:5393,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5394,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/confile.c:5397,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:5397,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:5398,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:5402,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/confile.c:5403,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:5404,1
    - Dst: lxc_safe_int64_residual
      Src: /src/lxc/src/lxc/confile.c:5406,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/confile.c:5408,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:5411,1
    - Dst: lxc_get_netdev_by_idx
      Src: /src/lxc/src/lxc/confile.c:5414,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5416,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/confile.c:5420,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5421,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:5424,1
    - Dst: lxc_get_config_net
      Src: /src/lxc/src/lxc/confile.c:5428,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/confile.c:5430,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 4
    argNames:
    - key
    - lxc_conf
    - info
    - allocate
    argTypes:
    - char*
    - struct lxc_conf*
    - struct config_net_info*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5433
      start: 5385
    functionDepth: 3
    functionLinenumber: 5385
    functionLinenumberEnd: 5433
    functionName: get_network_config_ops
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - is_empty_string
    - lxc_get_netdev_by_idx
    - strnequal
    - lxc_safe_int64_residual
    - ret_errno
    - syserror_set
    - isdigit
    - syserror
    - lxc_get_config_net
    linkageType: ''
    returnType: int
    signature: "int get_network_config_ops(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\t
      \ struct config_net_info *info, bool allocate)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:5446,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/confile.c:5447,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5448,1
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:5450,1
    - Dst: clr_config_jump_table_net
      Src: /src/lxc/src/lxc/confile.c:5451,1
    - Dst: get_network_config_ops
      Src: /src/lxc/src/lxc/confile.c:5453,1
    - Dst: struct config_net_info::ops::set
      Src: /src/lxc/src/lxc/confile.c:5457,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5458
      start: 5439
    functionDepth: 4
    functionLinenumber: 5439
    functionLinenumberEnd: 5458
    functionName: set_config_jump_table_net
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - lxc_config_value_empty
    - clr_config_jump_table_net
    - struct config_net_info::ops::set
    - ret_errno
    - isdigit
    - get_network_config_ops
    linkageType: ''
    returnType: int
    signature: "int set_config_jump_table_net(const char *key, const char *value,\n\t\t\t\t
      \    struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: isdigit
      Src: /src/lxc/src/lxc/confile.c:5468,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5469,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/confile.c:5476,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/confile.c:5476,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:5479,1
    - Dst: lxc_remove_nic_by_idx
      Src: /src/lxc/src/lxc/confile.c:5484,1
    - Dst: get_network_config_ops
      Src: /src/lxc/src/lxc/confile.c:5488,1
    - Dst: struct config_net_info::ops::clr
      Src: /src/lxc/src/lxc/confile.c:5492,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5493
      start: 5460
    functionDepth: 4
    functionLinenumber: 5460
    functionLinenumberEnd: 5493
    functionName: clr_config_jump_table_net
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - lxc_safe_uint
    - strrchr
    - struct config_net_info::ops::clr
    - lxc_remove_nic_by_idx
    - ret_errno
    - isdigit
    - get_network_config_ops
    linkageType: ''
    returnType: int
    signature: "int clr_config_jump_table_net(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\t
      \    void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5501,1
    - Dst: lxc_clear_netdev
      Src: /src/lxc/src/lxc/confile.c:5503,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5506
      start: 5495
    functionDepth: 2
    functionLinenumber: 5495
    functionLinenumberEnd: 5506
    functionName: clr_config_net_type
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    - lxc_clear_netdev
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_type(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t
      \      void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5514,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5519
      start: 5508
    functionDepth: 1
    functionLinenumber: 5508
    functionLinenumberEnd: 5519
    functionName: clr_config_net_name
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_name(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t
      \      void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5527,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5532
      start: 5521
    functionDepth: 1
    functionLinenumber: 5521
    functionLinenumberEnd: 5532
    functionName: clr_config_net_flags
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_flags(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\tvoid
      *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5540,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5545
      start: 5534
    functionDepth: 1
    functionLinenumber: 5534
    functionLinenumberEnd: 5545
    functionName: clr_config_net_link
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_link(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t
      \      void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5553,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5558
      start: 5547
    functionDepth: 1
    functionLinenumber: 5547
    functionLinenumberEnd: 5558
    functionName: clr_config_net_l2proxy
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_l2proxy(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t
      \      void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5566,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5574
      start: 5560
    functionDepth: 1
    functionLinenumber: 5560
    functionLinenumberEnd: 5574
    functionName: clr_config_net_macvlan_mode
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_macvlan_mode(const char *key,\n\t\t\t\t       struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5582,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5590
      start: 5576
    functionDepth: 1
    functionLinenumber: 5576
    functionLinenumberEnd: 5590
    functionName: clr_config_net_ipvlan_mode
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_ipvlan_mode(const char *key,\n\t\t\t\t       struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5598,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5606
      start: 5592
    functionDepth: 1
    functionLinenumber: 5592
    functionLinenumberEnd: 5606
    functionName: clr_config_net_ipvlan_isolation
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_ipvlan_isolation(const char *key,\n\t\t\t\t\t   struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5614,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5622
      start: 5608
    functionDepth: 1
    functionLinenumber: 5608
    functionLinenumberEnd: 5622
    functionName: clr_config_net_veth_mode
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_veth_mode(const char *key,\n\t\t\t\t       struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5630,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5638
      start: 5624
    functionDepth: 1
    functionLinenumber: 5624
    functionLinenumberEnd: 5638
    functionName: clr_config_net_veth_n_rxqueues
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_veth_n_rxqueues(const char *key, struct lxc_conf
      *lxc_conf,\n\t\t\t\t\t  void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5646,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5654
      start: 5640
    functionDepth: 1
    functionLinenumber: 5640
    functionLinenumberEnd: 5654
    functionName: clr_config_net_veth_n_txqueues
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_veth_n_txqueues(const char *key, struct lxc_conf
      *lxc_conf,\n\t\t\t\t\t  void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5663,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5671
      start: 5657
    functionDepth: 1
    functionLinenumber: 5657
    functionLinenumberEnd: 5671
    functionName: clr_config_net_veth_pair
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_veth_pair(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\t
      \   void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5679,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5688
      start: 5673
    functionDepth: 1
    functionLinenumber: 5673
    functionLinenumberEnd: 5688
    functionName: clr_config_net_veth_vlan_id
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_veth_vlan_id(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\t
      \ void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5697,1
    - Dst: lxc_list_for_each_safe
      Src: /src/lxc/src/lxc/confile.c:5702,1
    - Dst: lxc_list_del
      Src: /src/lxc/src/lxc/confile.c:5703,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:5704,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5708
      start: 5690
    functionDepth: 1
    functionLinenumber: 5690
    functionLinenumberEnd: 5708
    functionName: clr_config_net_veth_vlan_tagged_id
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    - lxc_list_for_each_safe
    - free
    - lxc_list_del
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_veth_vlan_tagged_id(const char *key,\n\t\t\t\t
      \      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5717,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5719,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5722
      start: 5711
    functionDepth: 1
    functionLinenumber: 5711
    functionLinenumberEnd: 5722
    functionName: clr_config_net_script_up
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_script_up(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\t
      \   void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5730,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5732,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5735
      start: 5724
    functionDepth: 1
    functionLinenumber: 5724
    functionLinenumberEnd: 5735
    functionName: clr_config_net_script_down
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_script_down(const char *key,\n\t\t\t\t      struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5743,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5745,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5748
      start: 5737
    functionDepth: 1
    functionLinenumber: 5737
    functionLinenumberEnd: 5748
    functionName: clr_config_net_hwaddr
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_hwaddr(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\t
      void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5756,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5758,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5761
      start: 5750
    functionDepth: 1
    functionLinenumber: 5750
    functionLinenumberEnd: 5761
    functionName: clr_config_net_mtu
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_mtu(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t
      \     void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5769,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5777
      start: 5763
    functionDepth: 1
    functionLinenumber: 5763
    functionLinenumberEnd: 5777
    functionName: clr_config_net_vlan_id
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_vlan_id(const char *key, struct lxc_conf *lxc_conf,\n\t\t\t\t
      \ void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5785,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5787,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5790
      start: 5779
    functionDepth: 1
    functionLinenumber: 5779
    functionLinenumberEnd: 5790
    functionName: clr_config_net_ipv4_gateway
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_ipv4_gateway(const char *key,\n\t\t\t\t       struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5799,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile.c:5801,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile.c:5802,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:5803,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5807
      start: 5792
    functionDepth: 3
    functionLinenumber: 5792
    functionLinenumberEnd: 5807
    functionName: clr_config_net_ipv4_address
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - list_del
    - ret_errno
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_ipv4_address(const char *key,\n\t\t\t\t       struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5816,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile.c:5821,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile.c:5822,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:5823,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5827
      start: 5809
    functionDepth: 3
    functionLinenumber: 5809
    functionLinenumberEnd: 5827
    functionName: clr_config_net_veth_ipv4_route
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - list_del
    - ret_errno
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_veth_ipv4_route(const char *key,\n\t\t\t\t\t  struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5835,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/confile.c:5837,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5840
      start: 5829
    functionDepth: 1
    functionLinenumber: 5829
    functionLinenumberEnd: 5840
    functionName: clr_config_net_ipv6_gateway
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - free_disarm
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_ipv6_gateway(const char *key,\n\t\t\t\t       struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5849,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile.c:5851,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile.c:5852,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:5853,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5857
      start: 5842
    functionDepth: 3
    functionLinenumber: 5842
    functionLinenumberEnd: 5857
    functionName: clr_config_net_ipv6_address
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - list_del
    - ret_errno
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_ipv6_address(const char *key,\n\t\t\t\t       struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5866,1
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/confile.c:5871,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/confile.c:5872,1
    - Dst: free
      Src: /src/lxc/src/lxc/confile.c:5873,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 3
    argNames:
    - key
    - lxc_conf
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5877
      start: 5859
    functionDepth: 3
    functionLinenumber: 5859
    functionLinenumberEnd: 5877
    functionName: clr_config_net_veth_ipv6_route
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - list_del
    - ret_errno
    - list_for_each_entry_safe
    - free
    linkageType: ''
    returnType: int
    signature: "int clr_config_net_veth_ipv6_route(const char *key,\n\t\t\t\t\t  struct
      lxc_conf *lxc_conf, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:5886,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/confile.c:5887,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5888,1
    - Dst: get_network_config_ops
      Src: /src/lxc/src/lxc/confile.c:5890,1
    - Dst: struct config_net_info::ops::get
      Src: /src/lxc/src/lxc/confile.c:5894,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5895
      start: 5879
    functionDepth: 4
    functionLinenumber: 5879
    functionLinenumberEnd: 5895
    functionName: get_config_jump_table_net
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - struct config_net_info::ops::get
    - ret_errno
    - get_network_config_ops
    - isdigit
    linkageType: ''
    returnType: int
    signature: "int get_config_jump_table_net(const char *key, char *retv, int inlen,\n\t\t\t\t
      \    struct lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5905,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:5910,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:5912,1
    - Dst: lxc_net_type_to_str
      Src: /src/lxc/src/lxc/confile.c:5912,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5915
      start: 5897
    functionDepth: 1
    functionLinenumber: 5897
    functionLinenumberEnd: 5915
    functionName: get_config_net_type
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    - lxc_net_type_to_str
    linkageType: ''
    returnType: int
    signature: "int get_config_net_type(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5925,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:5930,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:5933,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5936
      start: 5917
    functionDepth: 1
    functionLinenumber: 5917
    functionLinenumberEnd: 5936
    functionName: get_config_net_flags
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_flags(const char *key, char *retv, int inlen,\n\t\t\t\tstruct
      lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5946,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:5951,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:5954,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5957
      start: 5938
    functionDepth: 1
    functionLinenumber: 5938
    functionLinenumberEnd: 5957
    functionName: get_config_net_link
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_link(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5965,1
    - Dst: lxc_get_conf_bool
      Src: /src/lxc/src/lxc/confile.c:5967,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5968
      start: 5959
    functionDepth: 2
    functionLinenumber: 5959
    functionLinenumberEnd: 5968
    functionName: get_config_net_l2proxy
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - lxc_get_conf_bool
    linkageType: ''
    returnType: int
    signature: "int get_config_net_l2proxy(const char *key, char *retv, int inlen,\n\t\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:5978,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:5983,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:5986,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5989
      start: 5970
    functionDepth: 1
    functionLinenumber: 5970
    functionLinenumberEnd: 5989
    functionName: get_config_net_name
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_name(const char *key, char *retv, int inlen,\n\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6000,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6003,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6008,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6028,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 27
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6031
      start: 5991
    functionDepth: 1
    functionLinenumber: 5991
    functionLinenumberEnd: 6031
    functionName: get_config_net_macvlan_mode
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_macvlan_mode(const char *key, char *retv, int inlen,\n\t\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6042,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6045,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6050,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6067,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6070
      start: 6033
    functionDepth: 1
    functionLinenumber: 6033
    functionLinenumberEnd: 6070
    functionName: get_config_net_ipvlan_mode
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_ipvlan_mode(const char *key, char *retv, int inlen,\n\t\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6081,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6084,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6089,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6106,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6109
      start: 6072
    functionDepth: 1
    functionLinenumber: 6072
    functionLinenumberEnd: 6109
    functionName: get_config_net_ipvlan_isolation
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_ipvlan_isolation(const char *key, char *retv, int
      inlen,\n\t\t\t\t       struct lxc_conf *c, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6120,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6123,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6128,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6142,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6145
      start: 6111
    functionDepth: 1
    functionLinenumber: 6111
    functionLinenumberEnd: 6145
    functionName: get_config_net_veth_mode
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_veth_mode(const char *key, char *retv, int inlen,\n\t\t\t\t
      \   struct lxc_conf *c, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6155,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6158,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6163,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6166,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6169
      start: 6147
    functionDepth: 1
    functionLinenumber: 6147
    functionLinenumberEnd: 6169
    functionName: get_config_net_veth_n_rxqueues
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_veth_n_rxqueues(const char *key, char *retv, int
      inlen,\n\t\t\t\t     struct lxc_conf *c, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6179,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6182,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6187,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6190,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6193
      start: 6171
    functionDepth: 1
    functionLinenumber: 6171
    functionLinenumberEnd: 6193
    functionName: get_config_net_veth_n_txqueues
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_veth_n_txqueues(const char *key, char *retv, int
      inlen,\n\t\t\t\t     struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6203,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6206,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6211,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6213,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6219
      start: 6195
    functionDepth: 1
    functionLinenumber: 6195
    functionLinenumberEnd: 6219
    functionName: get_config_net_veth_pair
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_veth_pair(const char *key, char *retv, int inlen,\n\t\t\t\t
      \   struct lxc_conf *c, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6229,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6232,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6237,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6240,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6243
      start: 6221
    functionDepth: 1
    functionLinenumber: 6221
    functionLinenumberEnd: 6243
    functionName: get_config_net_veth_vlan_id
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_veth_vlan_id(const char *key, char *retv, int inlen,\n\t\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6256,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6259,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6264,1
    - Dst: lxc_list_len
      Src: /src/lxc/src/lxc/confile.c:6266,1
    - Dst: lxc_list_for_each
      Src: /src/lxc/src/lxc/confile.c:6268,1
    - Dst: PTR_TO_USHORT
      Src: /src/lxc/src/lxc/confile.c:6269,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6270,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6274
      start: 6245
    functionDepth: 1
    functionLinenumber: 6245
    functionLinenumberEnd: 6274
    functionName: get_config_net_veth_vlan_tagged_id
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - PTR_TO_USHORT
    - lxc_list_len
    - strprint
    - ret_errno
    - lxc_list_for_each
    - memset
    linkageType: ''
    returnType: int
    signature: "int get_config_net_veth_vlan_tagged_id(const char *key, char *retv,\n\t\t\t\t\t
      \     int inlen, struct lxc_conf *c,\n\t\t\t\t\t      void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6284,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6289,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6292,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6295
      start: 6276
    functionDepth: 1
    functionLinenumber: 6276
    functionLinenumberEnd: 6295
    functionName: get_config_net_script_up
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_script_up(const char *key, char *retv, int inlen,\n\t\t\t\t
      \   struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6305,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6310,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6313,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6316
      start: 6297
    functionDepth: 1
    functionLinenumber: 6297
    functionLinenumberEnd: 6316
    functionName: get_config_net_script_down
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_script_down(const char *key, char *retv, int inlen,\n\t\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6326,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6331,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6334,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6337
      start: 6318
    functionDepth: 1
    functionLinenumber: 6318
    functionLinenumberEnd: 6337
    functionName: get_config_net_hwaddr
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_hwaddr(const char *key, char *retv, int inlen,\n\t\t\t\t
      struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6347,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6352,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6355,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6358
      start: 6339
    functionDepth: 1
    functionLinenumber: 6339
    functionLinenumberEnd: 6358
    functionName: get_config_net_mtu
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_mtu(const char *key, char *retv, int inlen,\n\t\t\t
      \     struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6368,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6371,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6376,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6378,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6381
      start: 6360
    functionDepth: 1
    functionLinenumber: 6360
    functionLinenumberEnd: 6381
    functionName: get_config_net_vlan_id
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int get_config_net_vlan_id(const char *key, char *retv, int inlen,\n\t\t\t\t
      \ struct lxc_conf *c, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6392,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6397,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6400,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6402,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile.c:6404,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6406,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6410
      start: 6383
    functionDepth: 1
    functionLinenumber: 6383
    functionLinenumberEnd: 6410
    functionName: get_config_net_ipv4_gateway
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    - inet_ntop
    linkageType: ''
    returnType: int
    signature: "int get_config_net_ipv4_gateway(const char *key, char *retv, int inlen,\n\t\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6423,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6428,1
    - Dst: list_len
      Src: /src/lxc/src/lxc/confile.c:6430,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:6432,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile.c:6433,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6435,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6440
      start: 6412
    functionDepth: 1
    functionLinenumber: 6412
    functionLinenumberEnd: 6440
    functionName: get_config_net_ipv4_address
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - list_len
    - strprint
    - ret_errno
    - inet_ntop
    - memset
    linkageType: ''
    returnType: int
    signature: "int get_config_net_ipv4_address(const char *key, char *retv, int inlen,\n\t\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6453,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6456,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6461,1
    - Dst: list_len
      Src: /src/lxc/src/lxc/confile.c:6463,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:6464,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile.c:6465,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6467,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6472
      start: 6442
    functionDepth: 1
    functionLinenumber: 6442
    functionLinenumberEnd: 6472
    functionName: get_config_net_veth_ipv4_route
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - list_len
    - strprint
    - ret_errno
    - inet_ntop
    - memset
    linkageType: ''
    returnType: int
    signature: "int get_config_net_veth_ipv4_route(const char *key, char *retv, int
      inlen,\n\t\t\t\t\t  struct lxc_conf *c, void *data)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6483,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6488,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6491,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6493,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile.c:6495,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6497,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6501
      start: 6474
    functionDepth: 1
    functionLinenumber: 6474
    functionLinenumberEnd: 6501
    functionName: get_config_net_ipv6_gateway
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - memset
    - strprint
    - ret_errno
    - inet_ntop
    linkageType: ''
    returnType: int
    signature: "int get_config_net_ipv6_gateway(const char *key, char *retv, int inlen,\n\t\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6514,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6519,1
    - Dst: list_len
      Src: /src/lxc/src/lxc/confile.c:6521,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:6522,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile.c:6523,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6525,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6530
      start: 6503
    functionDepth: 1
    functionLinenumber: 6503
    functionLinenumberEnd: 6530
    functionName: get_config_net_ipv6_address
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - list_len
    - strprint
    - ret_errno
    - inet_ntop
    - memset
    linkageType: ''
    returnType: int
    signature: "int get_config_net_ipv6_address(const char *key, char *retv, int inlen,\n\t\t\t\t
      \      struct lxc_conf *c, void *data)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6543,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6546,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6551,1
    - Dst: list_len
      Src: /src/lxc/src/lxc/confile.c:6553,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/confile.c:6554,1
    - Dst: inet_ntop
      Src: /src/lxc/src/lxc/confile.c:6555,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6557,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6562
      start: 6532
    functionDepth: 1
    functionLinenumber: 6532
    functionLinenumberEnd: 6562
    functionName: get_config_net_veth_ipv6_route
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - list_for_each_entry
    - list_len
    - strprint
    - ret_errno
    - inet_ntop
    - memset
    linkageType: ''
    returnType: int
    signature: "int get_config_net_veth_ipv6_route(const char *key, char *retv, int
      inlen,\n\t\t\t\t\t  struct lxc_conf *c, void *data)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6573,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/confile.c:6575,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/confile.c:6578,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6581,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 2
    argNames:
    - retv
    - inlen
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6585
      start: 6564
    functionDepth: 1
    functionLinenumber: 6564
    functionLinenumberEnd: 6585
    functionName: lxc_list_config_items
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 2
    functionsReached:
    - memset
    - ARRAY_SIZE
    - strprint
    - strlen
    linkageType: ''
    returnType: int
    signature: int lxc_list_config_items(char *retv, int inlen)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6596,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6598,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6599,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6600,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6601,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6602,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6603,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6604,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6605,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6606,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6607,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6608,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6609,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6610,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6611,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6612,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6613,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6614,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6615,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6616,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6617,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6618,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6619,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6620,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6621,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6622,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6623,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6624,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6625,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6626,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6627,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6628,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6629,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6630,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6631,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6632,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6633,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6634,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6635,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6636,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6637,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6638,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6639,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6640,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6641,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6642,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6643,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6644,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6645,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6646,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6647,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6648,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6649,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6650,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/confile.c:6651,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6652,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6654,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 77
    argCount: 4
    argNames:
    - conf
    - key
    - retv
    - inlen
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6658
      start: 6587
    functionDepth: 1
    functionLinenumber: 6587
    functionLinenumberEnd: 6658
    functionName: lxc_list_subkeys
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - memset
    - strprint
    - ret_errno
    - strequal
    linkageType: ''
    returnType: int
    signature: "int lxc_list_subkeys(struct lxc_conf *conf, const char *key, char
      *retv,\n\t\t     int inlen)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/confile.c:6668,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/confile.c:6669,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6670,1
    - Dst: get_network_config_ops
      Src: /src/lxc/src/lxc/confile.c:6672,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6675,1
    - Dst: memset
      Src: /src/lxc/src/lxc/confile.c:6682,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6684,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6685,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6686,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6689,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6690,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6691,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6692,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6693,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6694,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6695,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6696,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6697,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6702,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6703,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6704,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6705,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6708,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6711,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6712,1
    - Dst: strprint
      Src: /src/lxc/src/lxc/confile.c:6715,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 48
    argCount: 4
    argNames:
    - c
    - key
    - retv
    - inlen
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6722
      start: 6660
    functionDepth: 4
    functionLinenumber: 6660
    functionLinenumberEnd: 6722
    functionName: lxc_list_net
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached:
    - STRLITERALLEN
    - strprint
    - ret_errno
    - get_network_config_ops
    - isdigit
    - memset
    linkageType: ''
    returnType: int
    signature: int lxc_list_net(struct lxc_conf *c, const char *key, char *retv, int
      inlen)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_value_empty
      Src: /src/lxc/src/lxc/confile.c:6730,1
    - Dst: clr_config_sched_core
      Src: /src/lxc/src/lxc/confile.c:6731,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/confile.c:6733,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6735,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/confile.c:6738,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 4
    argNames:
    - key
    - value
    - lxc_conf
    - data
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6742
      start: 6724
    functionDepth: 1
    functionLinenumber: 6724
    functionLinenumberEnd: 6742
    functionName: set_config_sched_core
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ret_errno
    - lxc_config_value_empty
    - clr_config_sched_core
    linkageType: ''
    returnType: int
    signature: "int set_config_sched_core(const char *key, const char *value,\n\t\t\t\t
      struct lxc_conf *lxc_conf, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_get_conf_bool
      Src: /src/lxc/src/lxc/confile.c:6747,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - key
    - retv
    - inlen
    - c
    - data
    argTypes:
    - char*
    - char*
    - int
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6748
      start: 6744
    functionDepth: 2
    functionLinenumber: 6744
    functionLinenumberEnd: 6748
    functionName: get_config_sched_core
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 0
    functionsReached:
    - lxc_get_conf_bool
    linkageType: ''
    returnType: int
    signature: "int get_config_sched_core(const char *key, char *retv, int inlen,\n\t\t\t\t
      struct lxc_conf *c, void *data)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 3
    argNames:
    - key
    - c
    - data
    argTypes:
    - char*
    - struct lxc_conf*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 6754
      start: 6750
    functionDepth: 0
    functionLinenumber: 6750
    functionLinenumberEnd: 6754
    functionName: clr_config_sched_core
    functionSourceFile: /src/lxc/src/lxc/confile.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int clr_config_sched_core(const char *key, struct lxc_conf *c, void
      *data)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:35,1
    - Dst: memset
      Src: /src/lxc/src/lxc/af_unix.c:38,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/af_unix.c:42,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:46,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/af_unix.c:49,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 2
    argNames:
    - addr
    - path
    argTypes:
    - struct sockaddr_un*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 51
      start: 29
    functionDepth: 1
    functionLinenumber: 29
    functionLinenumberEnd: 51
    functionName: lxc_abstract_unix_set_sockaddr
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 0
    functionsReached:
    - memset
    - memcpy
    - ret_errno
    - strlen
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_abstract_unix_set_sockaddr(struct sockaddr_un *addr,\n\t\t\t\t\t
      \     const char *path)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/lxc/src/lxc/af_unix.c:60,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/af_unix.c:65,1
    - Dst: lxc_abstract_unix_set_sockaddr
      Src: /src/lxc/src/lxc/af_unix.c:67,1
    - Dst: bind
      Src: /src/lxc/src/lxc/af_unix.c:71,1
    - Dst: listen
      Src: /src/lxc/src/lxc/af_unix.c:77,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/af_unix.c:82,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 3
    argNames:
    - path
    - type
    - flags
    argTypes:
    - char*
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 83
      start: 53
    functionDepth: 2
    functionLinenumber: 53
    functionLinenumberEnd: 83
    functionName: lxc_abstract_unix_open
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 0
    functionsReached:
    - socket
    - lxc_abstract_unix_set_sockaddr
    - listen
    - bind
    - move_fd
    linkageType: ''
    returnType: int
    signature: int lxc_abstract_unix_open(const char *path, int type, int flags)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/lxc/src/lxc/af_unix.c:87,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 88
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 88
    functionName: lxc_abstract_unix_close
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 0
    functionsReached:
    - close
    linkageType: ''
    returnType: void
    signature: void lxc_abstract_unix_close(int fd)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/lxc/src/lxc/af_unix.c:97,1
    - Dst: lxc_abstract_unix_set_sockaddr
      Src: /src/lxc/src/lxc/af_unix.c:101,1
    - Dst: connect
      Src: /src/lxc/src/lxc/af_unix.c:105,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/af_unix.c:110,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 111
      start: 90
    functionDepth: 2
    functionLinenumber: 90
    functionLinenumberEnd: 111
    functionName: lxc_abstract_unix_connect
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 2
    functionsReached:
    - lxc_abstract_unix_set_sockaddr
    - move_fd
    - connect
    - socket
    linkageType: ''
    returnType: int
    signature: int lxc_abstract_unix_connect(const char *path)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: CMSG_SPACE
      Src: /src/lxc/src/lxc/af_unix.c:120,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:123,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/af_unix.c:125,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:127,1
    - Dst: CMSG_FIRSTHDR
      Src: /src/lxc/src/lxc/af_unix.c:132,1
    - Dst: CMSG_LEN
      Src: /src/lxc/src/lxc/af_unix.c:135,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/af_unix.c:139,1
    - Dst: CMSG_DATA
      Src: /src/lxc/src/lxc/af_unix.c:139,1
    - Dst: sendmsg
      Src: /src/lxc/src/lxc/af_unix.c:145,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 5
    argNames:
    - fd
    - sendfds
    - num_sendfds
    - iov
    - iovlen
    argTypes:
    - int
    - int*
    - int
    - struct iovec*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 149
      start: 113
    functionDepth: 1
    functionLinenumber: 113
    functionLinenumberEnd: 149
    functionName: lxc_abstract_unix_send_fds_iov
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 1
    functionsReached:
    - malloc
    - memcpy
    - CMSG_LEN
    - sendmsg
    - CMSG_FIRSTHDR
    - CMSG_DATA
    - CMSG_SPACE
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int lxc_abstract_unix_send_fds_iov(int fd, const int *sendfds, int
      num_sendfds,\n\t\t\t\t   struct iovec *const iov, size_t iovlen)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_send_fds_iov
      Src: /src/lxc/src/lxc/af_unix.c:159,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - fd
    - sendfds
    - num_sendfds
    - data
    - size
    argTypes:
    - int
    - int*
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 160
      start: 151
    functionDepth: 2
    functionLinenumber: 151
    functionLinenumberEnd: 160
    functionName: lxc_abstract_unix_send_fds
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 6
    functionsReached:
    - lxc_abstract_unix_send_fds_iov
    linkageType: ''
    returnType: int
    signature: "int lxc_abstract_unix_send_fds(int fd, const int *sendfds, int num_sendfds,\n\t\t\t
      \      void *data, size_t size)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/af_unix.c:165,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - fd
    - sendfds
    - num_sendfds
    - data
    - size
    argTypes:
    - int
    - int*
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 166
      start: 162
    functionDepth: 3
    functionLinenumber: 162
    functionLinenumberEnd: 166
    functionName: lxc_unix_send_fds
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_send_fds
    linkageType: ''
    returnType: int
    signature: "int lxc_unix_send_fds(int fd, int *sendfds, int num_sendfds, void
      *data,\n\t\t      size_t size)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/af_unix.c:175,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - fd
    - fd_first
    - fd_second
    - data
    - size
    argTypes:
    - int
    - int
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 176
      start: 168
    functionDepth: 3
    functionLinenumber: 168
    functionLinenumberEnd: 176
    functionName: __lxc_abstract_unix_send_two_fds
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 3
    functionsReached:
    - lxc_abstract_unix_send_fds
    linkageType: ''
    returnType: int
    signature: "int __lxc_abstract_unix_send_two_fds(int fd, int fd_first, int fd_second,\n\t\t\t\t
      \    void *data, size_t size)"
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: CMSG_SPACE
      Src: /src/lxc/src/lxc/af_unix.c:187,1
    - Dst: CMSG_SPACE
      Src: /src/lxc/src/lxc/af_unix.c:188,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:191,1
    - Dst: hweight32
      Src: /src/lxc/src/lxc/af_unix.c:193,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:194,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:197,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:200,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/af_unix.c:202,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:204,1
    - Dst: recvmsg
      Src: /src/lxc/src/lxc/af_unix.c:213,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/af_unix.c:218,1
    - Dst: CMSG_FIRSTHDR
      Src: /src/lxc/src/lxc/af_unix.c:224,1
    - Dst: CMSG_NXTHDR
      Src: /src/lxc/src/lxc/af_unix.c:224,1
    - Dst: CMSG_DATA
      Src: /src/lxc/src/lxc/af_unix.c:235,1
    - Dst: CMSG_LEN
      Src: /src/lxc/src/lxc/af_unix.c:237,1
    - Dst: close
      Src: /src/lxc/src/lxc/af_unix.c:246,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/af_unix.c:248,1
    - Dst: close
      Src: /src/lxc/src/lxc/af_unix.c:253,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/af_unix.c:255,1
    - Dst: close
      Src: /src/lxc/src/lxc/af_unix.c:261,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/af_unix.c:263,1
    - Dst: close
      Src: /src/lxc/src/lxc/af_unix.c:279,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/af_unix.c:281,1
    - Dst: close
      Src: /src/lxc/src/lxc/af_unix.c:287,1
    - Dst: hweight32
      Src: /src/lxc/src/lxc/af_unix.c:296,1
    - Dst: close
      Src: /src/lxc/src/lxc/af_unix.c:298,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/af_unix.c:300,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/af_unix.c:304,1
    - Dst: CMSG_DATA
      Src: /src/lxc/src/lxc/af_unix.c:304,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/af_unix.c:316,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 78
    argCount: 4
    argNames:
    - fd
    - ret_fds
    - ret_iov
    - size_ret_iov
    argTypes:
    - int
    - struct unix_fds*
    - struct iovec*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 320
      start: 178
    functionDepth: 1
    functionLinenumber: 178
    functionLinenumberEnd: 320
    functionName: lxc_abstract_unix_recv_fds_iov
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 0
    functionsReached:
    - recvmsg
    - memcpy
    - CMSG_NXTHDR
    - CMSG_LEN
    - CMSG_FIRSTHDR
    - hweight32
    - zalloc
    - CMSG_DATA
    - CMSG_SPACE
    - ret_errno
    - syserror_set
    - syserror
    - close
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_abstract_unix_recv_fds_iov(int fd,\n\t\t\t\t\t      struct
      unix_fds *ret_fds,\n\t\t\t\t\t      struct iovec *ret_iov,\n\t\t\t\t\t      size_t
      size_ret_iov)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_recv_fds_iov
      Src: /src/lxc/src/lxc/af_unix.c:332,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - fd
    - ret_fds
    - ret_data
    - size_ret_data
    argTypes:
    - int
    - struct unix_fds*
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 337
      start: 322
    functionDepth: 2
    functionLinenumber: 322
    functionLinenumberEnd: 337
    functionName: lxc_abstract_unix_recv_fds
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_recv_fds_iov
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_abstract_unix_recv_fds(int fd, struct unix_fds *ret_fds,\n\t\t\t\t
      \  void *ret_data, size_t size_ret_data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/af_unix.c:342,1
    - Dst: lxc_abstract_unix_recv_fds_iov
      Src: /src/lxc/src/lxc/af_unix.c:354,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:359,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/af_unix.c:364,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 4
    argNames:
    - fd
    - ret_fd
    - ret_data
    - size_ret_data
    argTypes:
    - int
    - int*
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 367
      start: 339
    functionDepth: 2
    functionLinenumber: 339
    functionLinenumberEnd: 367
    functionName: lxc_abstract_unix_recv_one_fd
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 5
    functionsReached:
    - call_cleaner
    - ret_errno
    - move_fd
    - lxc_abstract_unix_recv_fds_iov
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_abstract_unix_recv_one_fd(int fd, int *ret_fd, void *ret_data,\n\t\t\t\t
      \     size_t size_ret_data)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/af_unix.c:372,1
    - Dst: lxc_abstract_unix_recv_fds_iov
      Src: /src/lxc/src/lxc/af_unix.c:384,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:389,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/af_unix.c:395,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/af_unix.c:396,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 5
    argNames:
    - fd
    - fd_first
    - fd_second
    - data
    - size
    argTypes:
    - int
    - int*
    - int*
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 400
      start: 369
    functionDepth: 2
    functionLinenumber: 369
    functionLinenumberEnd: 400
    functionName: __lxc_abstract_unix_recv_two_fds
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 3
    functionsReached:
    - call_cleaner
    - ret_errno
    - move_fd
    - lxc_abstract_unix_recv_fds_iov
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t __lxc_abstract_unix_recv_two_fds(int fd, int *fd_first, int
      *fd_second,\n\t\t\t\t\t void *data, size_t size)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/af_unix.c:408,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/af_unix.c:409,1
    - Dst: getgid
      Src: /src/lxc/src/lxc/af_unix.c:410,1
    - Dst: CMSG_SPACE
      Src: /src/lxc/src/lxc/af_unix.c:412,1
    - Dst: CMSG_FIRSTHDR
      Src: /src/lxc/src/lxc/af_unix.c:418,1
    - Dst: CMSG_LEN
      Src: /src/lxc/src/lxc/af_unix.c:419,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/af_unix.c:422,1
    - Dst: CMSG_DATA
      Src: /src/lxc/src/lxc/af_unix.c:422,1
    - Dst: sendmsg
      Src: /src/lxc/src/lxc/af_unix.c:432,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 15
    argCount: 3
    argNames:
    - fd
    - data
    - size
    argTypes:
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 433
      start: 402
    functionDepth: 1
    functionLinenumber: 402
    functionLinenumberEnd: 433
    functionName: lxc_abstract_unix_send_credential
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 3
    functionsReached:
    - memcpy
    - CMSG_LEN
    - getgid
    - sendmsg
    - CMSG_FIRSTHDR
    - lxc_raw_getpid
    - getuid
    - CMSG_DATA
    - CMSG_SPACE
    linkageType: ''
    returnType: int
    signature: int lxc_abstract_unix_send_credential(int fd, void *data, size_t size)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: CMSG_SPACE
      Src: /src/lxc/src/lxc/af_unix.c:442,1
    - Dst: recvmsg
      Src: /src/lxc/src/lxc/af_unix.c:455,1
    - Dst: CMSG_FIRSTHDR
      Src: /src/lxc/src/lxc/af_unix.c:459,1
    - Dst: CMSG_LEN
      Src: /src/lxc/src/lxc/af_unix.c:461,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/af_unix.c:464,1
    - Dst: CMSG_DATA
      Src: /src/lxc/src/lxc/af_unix.c:464,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/af_unix.c:466,1
    - Dst: getgid
      Src: /src/lxc/src/lxc/af_unix.c:466,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/af_unix.c:467,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 3
    argNames:
    - fd
    - data
    - size
    argTypes:
    - int
    - void*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 471
      start: 435
    functionDepth: 1
    functionLinenumber: 435
    functionLinenumberEnd: 471
    functionName: lxc_abstract_unix_rcv_credential
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 2
    functionsReached:
    - recvmsg
    - memcpy
    - CMSG_LEN
    - getgid
    - CMSG_FIRSTHDR
    - CMSG_DATA
    - getuid
    - CMSG_SPACE
    - syserror_set
    linkageType: ''
    returnType: int
    signature: int lxc_abstract_unix_rcv_credential(int fd, void *data, size_t size)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/af_unix.c:477,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:479,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:481,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:483,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/af_unix.c:486,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/af_unix.c:493,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/af_unix.c:497,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 2
    argNames:
    - ret
    - path
    argTypes:
    - struct sockaddr_un*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 499
      start: 473
    functionDepth: 1
    functionLinenumber: 473
    functionLinenumberEnd: 499
    functionName: lxc_unix_sockaddr
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 1
    functionsReached:
    - strlen
    - memcpy
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int lxc_unix_sockaddr(struct sockaddr_un *ret, const char *path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/lxc/src/lxc/af_unix.c:507,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/af_unix.c:509,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/af_unix.c:512,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/af_unix.c:514,1
    - Dst: connect
      Src: /src/lxc/src/lxc/af_unix.c:516,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/af_unix.c:519,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/af_unix.c:521,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - addr
    - type
    argTypes:
    - struct sockaddr_un*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 522
      start: 501
    functionDepth: 1
    functionLinenumber: 501
    functionLinenumberEnd: 522
    functionName: lxc_unix_connect_type
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 2
    functionsReached:
    - socket
    - connect
    - syserror
    - strlen
    - move_fd
    linkageType: ''
    returnType: int
    signature: int lxc_unix_connect_type(struct sockaddr_un *addr, int type)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_unix_connect_type
      Src: /src/lxc/src/lxc/af_unix.c:526,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - addr
    argTypes:
    - struct sockaddr_un*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 527
      start: 524
    functionDepth: 2
    functionLinenumber: 524
    functionLinenumberEnd: 527
    functionName: lxc_unix_connect
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 0
    functionsReached:
    - lxc_unix_connect_type
    linkageType: ''
    returnType: int
    signature: int lxc_unix_connect(struct sockaddr_un *addr)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: setsockopt
      Src: /src/lxc/src/lxc/af_unix.c:535,1
    - Dst: setsockopt
      Src: /src/lxc/src/lxc/af_unix.c:541,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 3
    argNames:
    - fd
    - rcv_timeout
    - snd_timeout
    argTypes:
    - int
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 547
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 547
    functionName: lxc_socket_set_timeout
    functionSourceFile: /src/lxc/src/lxc/af_unix.c
    functionUses: 3
    functionsReached:
    - setsockopt
    linkageType: ''
    returnType: int
    signature: int lxc_socket_set_timeout(int fd, int rcv_timeout, int snd_timeout)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - cmd
    argTypes:
    - lxc_cmd_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 99
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 99
    functionName: lxc_cmd_str
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *lxc_cmd_str(lxc_cmd_t cmd)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: syswarn_set
      Src: /src/lxc/src/lxc/commands.c:106,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/commands.c:109,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 2
    argNames:
    - fds
    - ctx
    argTypes:
    - struct unix_fds*
    - struct cgroup_ctx*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 112
      start: 101
    functionDepth: 1
    functionLinenumber: 101
    functionLinenumberEnd: 112
    functionName: __transfer_cgroup_ctx_fds
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - memcpy
    - syswarn_set
    linkageType: ''
    returnType: int
    signature: int __transfer_cgroup_ctx_fds(struct unix_fds *fds, struct cgroup_ctx
      *ctx)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:116,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - fds
    - fd
    argTypes:
    - struct unix_fds*
    - struct cgroup_fd*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 118
      start: 114
    functionDepth: 1
    functionLinenumber: 114
    functionLinenumberEnd: 118
    functionName: __transfer_cgroup_fd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - move_fd
    linkageType: ''
    returnType: int
    signature: int __transfer_cgroup_fd(struct unix_fds *fds, struct cgroup_fd *fd)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_recv_fds
      Src: /src/lxc/src/lxc/commands.c:126,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/commands.c:128,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/commands.c:137,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/commands.c:141,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/commands.c:145,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/commands.c:148,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 4
    argNames:
    - fd_sock
    - fds
    - rsp
    - cur_cmdstr
    argTypes:
    - int
    - struct unix_fds*
    - struct lxc_cmd_rsp*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 150
      start: 120
    functionDepth: 3
    functionLinenumber: 120
    functionLinenumberEnd: 150
    functionName: lxc_cmd_rsp_recv_fds
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_recv_fds
    - log_error
    - DEBUG
    - log_debug
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_cmd_rsp_recv_fds(int fd_sock, struct unix_fds *fds,\n\t\t\t\t
      \   struct lxc_cmd_rsp *rsp,\n\t\t\t\t    const char *cur_cmdstr)"
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/commands.c:171,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:183,1
    - Dst: lxc_cmd_rsp_recv_fds
      Src: /src/lxc/src/lxc/commands.c:227,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:237,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:254,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:254,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/commands.c:255,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:255,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:260,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:267,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/commands.c:280,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:284,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:285,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:290,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/commands.c:293,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/commands.c:298,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:312,1
    - Dst: lxc_recv_nointr
      Src: /src/lxc/src/lxc/commands.c:315,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/commands.c:317,1
    - Dst: __transfer_cgroup_ctx_fds
      Src: /src/lxc/src/lxc/commands.c:322,1
    - Dst: __transfer_cgroup_fd
      Src: /src/lxc/src/lxc/commands.c:327,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/commands.c:333,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/commands.c:336,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 108
    argCount: 2
    argNames:
    - sock
    - cmd
    argTypes:
    - int
    - struct lxc_cmd_rr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 338
      start: 168
    functionDepth: 4
    functionLinenumber: 168
    functionLinenumberEnd: 338
    functionName: lxc_cmd_rsp_recv
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - malloc
    - lxc_cmd_rsp_recv_fds
    - PTR_TO_INT
    - lxc_recv_nointr
    - call_cleaner
    - INT_TO_PTR
    - zalloc
    - __transfer_cgroup_ctx_fds
    - move_ptr
    - syserror_set
    - syserror_ret
    - syserror
    - log_debug
    - __transfer_cgroup_fd
    - move_fd
    - lxc_cmd_str
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t lxc_cmd_rsp_recv(int sock, struct lxc_cmd_rr *cmd)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/commands.c:352,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/commands.c:354,1
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/commands.c:359,1
    - Dst: syswarn
      Src: /src/lxc/src/lxc/commands.c:361,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - fd
    - rsp
    argTypes:
    - int
    - struct lxc_cmd_rsp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 364
      start: 348
    functionDepth: 1
    functionLinenumber: 348
    functionLinenumberEnd: 364
    functionName: __lxc_cmd_rsp_send
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - syswarn
    - lxc_send_nointr
    - syserror
    linkageType: ''
    returnType: int
    signature: int __lxc_cmd_rsp_send(int fd, struct lxc_cmd_rsp *rsp)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_cmd_rsp_send
      Src: /src/lxc/src/lxc/commands.c:370,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - fd
    - rsp
    argTypes:
    - int
    - struct lxc_cmd_rsp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 375
      start: 366
    functionDepth: 2
    functionLinenumber: 366
    functionLinenumberEnd: 375
    functionName: lxc_cmd_rsp_send_reap
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - __lxc_cmd_rsp_send
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_rsp_send_reap(int fd, struct lxc_cmd_rsp *rsp)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_cmd_rsp_send
      Src: /src/lxc/src/lxc/commands.c:381,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - fd
    - rsp
    argTypes:
    - int
    - struct lxc_cmd_rsp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 386
      start: 377
    functionDepth: 2
    functionLinenumber: 377
    functionLinenumberEnd: 386
    functionName: lxc_cmd_rsp_send_keep
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - __lxc_cmd_rsp_send
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_rsp_send_keep(int fd, struct lxc_cmd_rsp *rsp)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/commands.c:392,1
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/commands.c:397,1
    - Dst: syswarn
      Src: /src/lxc/src/lxc/commands.c:399,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 3
    argNames:
    - fd
    - fd_send
    - rsp
    argTypes:
    - int
    - int
    - struct lxc_cmd_rsp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 403
      start: 388
    functionDepth: 3
    functionLinenumber: 388
    functionLinenumberEnd: 403
    functionName: rsp_one_fd_reap
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_send_fds
    - syswarn
    - lxc_send_nointr
    linkageType: ''
    returnType: int
    signature: int rsp_one_fd_reap(int fd, int fd_send, struct lxc_cmd_rsp *rsp)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rsp_one_fd_reap
      Src: /src/lxc/src/lxc/commands.c:409,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - fd
    - fd_send
    - rsp
    argTypes:
    - int
    - int
    - struct lxc_cmd_rsp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 414
      start: 405
    functionDepth: 4
    functionLinenumber: 405
    functionLinenumberEnd: 414
    functionName: rsp_one_fd_keep
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - rsp_one_fd_reap
    linkageType: ''
    returnType: int
    signature: int rsp_one_fd_keep(int fd, int fd_send, struct lxc_cmd_rsp *rsp)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:424,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:427,1
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/commands.c:430,1
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/commands.c:435,1
    - Dst: syswarn
      Src: /src/lxc/src/lxc/commands.c:437,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 4
    argNames:
    - fd
    - fds_len
    - fds
    - rsp
    argTypes:
    - int
    - __u32
    - __s32[]
    - struct lxc_cmd_rsp*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 441
      start: 416
    functionDepth: 3
    functionLinenumber: 416
    functionLinenumberEnd: 441
    functionName: rsp_many_fds_reap
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - syswarn
    - lxc_abstract_unix_send_fds
    - lxc_cmd_rsp_send_reap
    - lxc_send_nointr
    linkageType: ''
    returnType: int
    signature: "int rsp_many_fds_reap(int fd, __u32 fds_len,\n\t\t\t\t\t      const
      __s32 fds[static 2],\n\t\t\t\t\t      struct lxc_cmd_rsp *rsp)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_connect
      Src: /src/lxc/src/lxc/commands.c:449,1
    - Dst: lxc_abstract_unix_send_credential
      Src: /src/lxc/src/lxc/commands.c:453,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:459,1
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/commands.c:460,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:465,1
    - Dst: lxc_send_nointr
      Src: /src/lxc/src/lxc/commands.c:468,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:474,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 5
    argNames:
    - name
    - cmd
    - lxcpath
    - hashed_sock_name
    - rcv_timeout
    argTypes:
    - char*
    - struct lxc_cmd_rr*
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 475
      start: 443
    functionDepth: 3
    functionLinenumber: 443
    functionLinenumberEnd: 475
    functionName: lxc_cmd_send
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_abstract_unix_send_fds
    - PTR_TO_INT
    - lxc_send_nointr
    - lxc_abstract_unix_send_credential
    - move_fd
    - lxc_cmd_connect
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_send(const char *name, struct lxc_cmd_rr *cmd,\n\t\t\tconst
      char *lxcpath, const char *hashed_sock_name, int rcv_timeout)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_send
      Src: /src/lxc/src/lxc/commands.c:520,1
    - Dst: systrace
      Src: /src/lxc/src/lxc/commands.c:525,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:525,1
    - Dst: lxc_cmd_rsp_recv
      Src: /src/lxc/src/lxc/commands.c:528,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:532,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:533,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:536,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 6
    argNames:
    - name
    - cmd
    - stopped
    - lxcpath
    - hashed_sock_name
    - rcv_timeout
    argTypes:
    - char*
    - struct lxc_cmd_rr*
    - bool*
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 539
      start: 498
    functionDepth: 5
    functionLinenumber: 498
    functionLinenumberEnd: 539
    functionName: lxc_cmd_timeout
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_rsp_recv
    - move_fd
    - TRACE
    - lxc_cmd_send
    - systrace
    - lxc_cmd_str
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_cmd_timeout(const char *name, struct lxc_cmd_rr *cmd,
      bool *stopped,\n\t\t       const char *lxcpath, const char *hashed_sock_name,
      int rcv_timeout)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_timeout
      Src: /src/lxc/src/lxc/commands.c:544,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - name
    - cmd
    - stopped
    - lxcpath
    - hashed_sock_name
    argTypes:
    - char*
    - struct lxc_cmd_rr*
    - bool*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 545
      start: 541
    functionDepth: 6
    functionLinenumber: 541
    functionLinenumberEnd: 545
    functionName: lxc_cmd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_timeout
    linkageType: ''
    returnType: ssize_t
    signature: "ssize_t lxc_cmd(const char *name, struct lxc_cmd_rr *cmd, bool *stopped,\n\t\t
      \      const char *lxcpath, const char *hashed_sock_name)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:553,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:555,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 573
      start: 547
    functionDepth: 7
    functionLinenumber: 547
    functionLinenumberEnd: 573
    functionName: lxc_try_cmd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_init
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_try_cmd(const char *name, const char *lxcpath)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strnlen
      Src: /src/lxc/src/lxc/commands.c:586,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:595,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - fd
    - req
    argTypes:
    - int
    - struct lxc_cmd_req*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 596
      start: 581
    functionDepth: 3
    functionLinenumber: 581
    functionLinenumberEnd: 596
    functionName: validate_string_request
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - strnlen
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: int validate_string_request(int fd, const struct lxc_cmd_req *req)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:615,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:617,1
    - Dst: PTR_TO_PID
      Src: /src/lxc/src/lxc/commands.c:621,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 630
      start: 608
    functionDepth: 7
    functionLinenumber: 608
    functionLinenumberEnd: 630
    functionName: lxc_cmd_get_init_pid
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 2
    functionsReached:
    - PTR_TO_PID
    - lxc_cmd_init
    - lxc_cmd
    linkageType: ''
    returnType: pid_t
    signature: pid_t lxc_cmd_get_init_pid(const char *name, const char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PID_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:637,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:640,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 641
      start: 632
    functionDepth: 3
    functionLinenumber: 632
    functionLinenumberEnd: 641
    functionName: lxc_cmd_get_init_pid_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_rsp_send_reap
    - PID_TO_PTR
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_init_pid_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      struct lxc_handler *handler,\n\t\t\t\t\t struct lxc_async_descr *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:650,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:652,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/commands.c:654,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:655,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:658,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:659,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:661,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:663,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:664,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 667
      start: 643
    functionDepth: 7
    functionLinenumber: 643
    functionLinenumberEnd: 667
    functionName: lxc_cmd_get_init_pidfd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 2
    functionsReached:
    - PTR_TO_INT
    - lxc_cmd_init
    - sysdebug_set
    - sysdebug
    - lxc_cmd_str
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_get_init_pidfd(const char *name, const char *lxcpath)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:678,1
    - Dst: rsp_one_fd_reap
      Src: /src/lxc/src/lxc/commands.c:681,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 682
      start: 669
    functionDepth: 4
    functionLinenumber: 669
    functionLinenumberEnd: 682
    functionName: lxc_cmd_get_init_pidfd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - rsp_one_fd_reap
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_init_pidfd_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \  struct lxc_handler *handler,\n\t\t\t\t\t   struct lxc_async_descr *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:691,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:693,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/commands.c:695,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:696,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:699,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:700,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:702,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:704,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:705,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 707
      start: 684
    functionDepth: 7
    functionLinenumber: 684
    functionLinenumberEnd: 707
    functionName: lxc_cmd_get_devpts_fd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 2
    functionsReached:
    - PTR_TO_INT
    - lxc_cmd_init
    - sysdebug_set
    - sysdebug
    - lxc_cmd_str
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_get_devpts_fd(const char *name, const char *lxcpath)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:718,1
    - Dst: rsp_one_fd_reap
      Src: /src/lxc/src/lxc/commands.c:721,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 722
      start: 709
    functionDepth: 4
    functionLinenumber: 709
    functionLinenumberEnd: 722
    functionName: lxc_cmd_get_devpts_fd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - rsp_one_fd_reap
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_devpts_fd_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \ struct lxc_handler *handler,\n\t\t\t\t\t  struct lxc_async_descr *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:732,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:734,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/commands.c:736,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:737,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:740,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:741,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:743,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:745,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:746,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/commands.c:749,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 751
      start: 724
    functionDepth: 7
    functionLinenumber: 724
    functionLinenumberEnd: 751
    functionName: lxc_cmd_get_seccomp_notify_fd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - PTR_TO_INT
    - lxc_cmd_init
    - sysdebug_set
    - sysdebug
    - ret_errno
    - lxc_cmd_str
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_get_seccomp_notify_fd(const char *name, const char *lxcpath)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:763,1
    - Dst: rsp_one_fd_reap
      Src: /src/lxc/src/lxc/commands.c:766,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:768,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 770
      start: 753
    functionDepth: 4
    functionLinenumber: 753
    functionLinenumberEnd: 770
    functionName: lxc_cmd_get_seccomp_notify_fd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - rsp_one_fd_reap
    - syserror_set
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_seccomp_notify_fd_callback(int fd, struct lxc_cmd_req
      *req,\n\t\t\t\t\t\t  struct lxc_handler *handler,\n\t\t\t\t\t\t  struct lxc_async_descr
      *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:779,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:780,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:782,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/commands.c:784,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:785,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:792,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:793,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 4
    argNames:
    - name
    - lxcpath
    - size_ret_ctx
    - ret_ctx
    argTypes:
    - char*
    - char*
    - size_t
    - struct cgroup_ctx*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 797
      start: 772
    functionDepth: 7
    functionLinenumber: 772
    functionLinenumberEnd: 797
    functionName: lxc_cmd_get_cgroup_ctx
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - sysdebug_set
    - sysdebug
    - lxc_cmd_str
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_cgroup_ctx(const char *name, const char *lxcpath,\n\t\t\t
      \  size_t size_ret_ctx, struct cgroup_ctx *ret_ctx)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: copy_struct_from_client
      Src: /src/lxc/src/lxc/commands.c:810,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:813,1
    - Dst: prepare_cgroup_ctx
      Src: /src/lxc/src/lxc/commands.c:815,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:818,1
    - Dst: min
      Src: /src/lxc/src/lxc/commands.c:823,1
    - Dst: rsp_many_fds_reap
      Src: /src/lxc/src/lxc/commands.c:824,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 825
      start: 799
    functionDepth: 4
    functionLinenumber: 799
    functionLinenumberEnd: 825
    functionName: lxc_cmd_get_cgroup_ctx_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - min
    - prepare_cgroup_ctx
    - copy_struct_from_client
    - rsp_many_fds_reap
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_cgroup_ctx_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \  struct lxc_handler *handler,\n\t\t\t\t\t   struct lxc_async_descr *descr)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:841,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:843,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:847,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 848
      start: 835
    functionDepth: 7
    functionLinenumber: 835
    functionLinenumberEnd: 848
    functionName: lxc_cmd_get_clone_flags
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - PTR_TO_INT
    - lxc_cmd_init
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_get_clone_flags(const char *name, const char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:855,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:858,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 859
      start: 850
    functionDepth: 3
    functionLinenumber: 850
    functionLinenumberEnd: 859
    functionName: lxc_cmd_get_clone_flags_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_rsp_send_reap
    - INT_TO_PTR
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_clone_flags_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \   struct lxc_handler *handler,\n\t\t\t\t\t    struct lxc_async_descr *descr)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:870,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:872,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/commands.c:872,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:874,1
    - Dst: lxc_cmd_get_cgroup_path_callback
      Src: /src/lxc/src/lxc/commands.c:887,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 4
    argNames:
    - name
    - lxcpath
    - controller
    - command
    argTypes:
    - char*
    - char*
    - char*
    - lxc_cmd_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 898
      start: 861
    functionDepth: 7
    functionLinenumber: 861
    functionLinenumberEnd: 898
    functionName: lxc_cmd_get_cgroup_path_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - lxc_cmd_get_cgroup_path_callback
    - strlen
    - lxc_cmd
    linkageType: ''
    returnType: char
    signature: "char *lxc_cmd_get_cgroup_path_callback(const char *name,\n\t\t\t\t\t
      \     const char *lxcpath,\n\t\t\t\t\t      const char *controller,\n\t\t\t\t\t
      \     lxc_cmd_t command)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_get_cgroup_path_callback
      Src: /src/lxc/src/lxc/commands.c:915,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - name
    - lxcpath
    - controller
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 917
      start: 912
    functionDepth: 8
    functionLinenumber: 912
    functionLinenumberEnd: 917
    functionName: lxc_cmd_get_cgroup_path
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_get_cgroup_path_callback
    linkageType: ''
    returnType: char
    signature: "char *lxc_cmd_get_cgroup_path(const char *name, const char *lxcpath,\n\t\t\t
      \     const char *controller)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_get_cgroup_path_callback
      Src: /src/lxc/src/lxc/commands.c:936,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - name
    - lxcpath
    - controller
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 938
      start: 933
    functionDepth: 8
    functionLinenumber: 933
    functionLinenumberEnd: 938
    functionName: lxc_cmd_get_limit_cgroup_path
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_get_cgroup_path_callback
    linkageType: ''
    returnType: char
    signature: "char *lxc_cmd_get_limit_cgroup_path(const char *name, const char *lxcpath,\n\t\t\t\t
      \   const char *controller)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: validate_string_request
      Src: /src/lxc/src/lxc/commands.c:953,1
    - Dst: get_fn
      Src: /src/lxc/src/lxc/commands.c:964,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/commands.c:970,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:973,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 5
    argNames:
    - fd
    - req
    - handler
    - descr
    - limiting_cgroup
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 974
      start: 940
    functionDepth: 4
    functionLinenumber: 940
    functionLinenumberEnd: 974
    functionName: __lxc_cmd_get_cgroup_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - strlen
    - lxc_cmd_rsp_send_reap
    - get_fn
    - validate_string_request
    linkageType: ''
    returnType: int
    signature: "int __lxc_cmd_get_cgroup_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      struct lxc_handler *handler,\n\t\t\t\t\t struct lxc_async_descr *descr,\n\t\t\t\t\t
      bool limiting_cgroup)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_cmd_get_cgroup_callback
      Src: /src/lxc/src/lxc/commands.c:980,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 981
      start: 976
    functionDepth: 5
    functionLinenumber: 976
    functionLinenumberEnd: 981
    functionName: lxc_cmd_get_cgroup_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - __lxc_cmd_get_cgroup_callback
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_cgroup_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t
      \      struct lxc_handler *handler,\n\t\t\t\t       struct lxc_async_descr *descr)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_cmd_get_cgroup_callback
      Src: /src/lxc/src/lxc/commands.c:987,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 988
      start: 983
    functionDepth: 5
    functionLinenumber: 983
    functionLinenumberEnd: 988
    functionName: lxc_cmd_get_limit_cgroup_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - __lxc_cmd_get_cgroup_callback
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_limit_cgroup_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \    struct lxc_handler *handler,\n\t\t\t\t\t     struct lxc_async_descr *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/commands.c:1007,1
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1010,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1011,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/commands.c:1011,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1013,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 3
    argNames:
    - name
    - item
    - lxcpath
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1021
      start: 1000
    functionDepth: 7
    functionLinenumber: 1000
    functionLinenumberEnd: 1021
    functionName: lxc_cmd_get_config_item
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 2
    functionsReached:
    - lxc_cmd_data
    - is_empty_string
    - lxc_cmd_init
    - strlen
    - lxc_cmd
    linkageType: ''
    returnType: char
    signature: "char *lxc_cmd_get_config_item(const char *name, const char *item,\n\t\t\t
      \     const char *lxcpath)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/commands.c:1032,1
    - Dst: lxc_get_config
      Src: /src/lxc/src/lxc/commands.c:1033,1
    - Dst: struct lxc_config_t*::get
      Src: /src/lxc/src/lxc/commands.c:1034,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/commands.c:1038,1
    - Dst: struct lxc_config_t*::get
      Src: /src/lxc/src/lxc/commands.c:1039,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1051,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1052
      start: 1023
    functionDepth: 3
    functionLinenumber: 1023
    functionLinenumberEnd: 1052
    functionName: lxc_cmd_get_config_item_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_get_config
    - struct lxc_config_t*::get
    - must_realloc
    - lxc_cmd_rsp_send_reap
    - memset
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_config_item_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \   struct lxc_handler *handler,\n\t\t\t\t\t    struct lxc_async_descr *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1068,1
    - Dst: lxc_cmd_timeout
      Src: /src/lxc/src/lxc/commands.c:1070,1
    - Dst: log_warn
      Src: /src/lxc/src/lxc/commands.c:1078,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/commands.c:1080,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:1080,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/commands.c:1082,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:1082,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - name
    - lxcpath
    - timeout
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1083
      start: 1062
    functionDepth: 6
    functionLinenumber: 1062
    functionLinenumberEnd: 1083
    functionName: lxc_cmd_get_state
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - PTR_TO_INT
    - lxc_cmd_init
    - lxc_state2str
    - log_warn
    - log_debug
    - lxc_cmd_timeout
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_get_state(const char *name, const char *lxcpath, int timeout)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:1090,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1093,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1094
      start: 1085
    functionDepth: 3
    functionLinenumber: 1085
    functionLinenumberEnd: 1094
    functionName: lxc_cmd_get_state_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_rsp_send_reap
    - INT_TO_PTR
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_state_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t
      \     struct lxc_handler *handler,\n\t\t\t\t      struct lxc_async_descr *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1111,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1113,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/commands.c:1116,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:1125,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/commands.c:1127,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1128
      start: 1105
    functionDepth: 7
    functionLinenumber: 1105
    functionLinenumberEnd: 1128
    functionName: lxc_cmd_stop
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - log_info
    - log_error_errno
    - lxc_cmd_init
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_stop(const char *name, const char *lxcpath)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/commands.c:1141,1
    - Dst: lxc_raw_pidfd_send_signal
      Src: /src/lxc/src/lxc/commands.c:1144,1
    - Dst: kill
      Src: /src/lxc/src/lxc/commands.c:1146,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:1149,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:1151,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/commands.c:1153,1
    - Dst: __cgroup_unfreeze
      Src: /src/lxc/src/lxc/commands.c:1154,1
    - Dst: struct cgroup_ops*::unfreeze
      Src: /src/lxc/src/lxc/commands.c:1156,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/commands.c:1158,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1165,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1166
      start: 1130
    functionDepth: 3
    functionLinenumber: 1130
    functionLinenumberEnd: 1166
    functionName: lxc_cmd_stop_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - kill
    - struct cgroup_ops*::unfreeze
    - pure_unified_layout
    - WARN
    - TRACE
    - lxc_raw_pidfd_send_signal
    - lxc_cmd_rsp_send_reap
    - __cgroup_unfreeze
    - memset
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_stop_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t
      struct lxc_handler *handler,\n\t\t\t\t struct lxc_async_descr *descr)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1179
      start: 1176
    functionDepth: 0
    functionLinenumber: 1176
    functionLinenumberEnd: 1179
    functionName: lxc_cmd_terminal_winch
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_terminal_winch(const char *name, const char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:1186,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1187
      start: 1181
    functionDepth: 1
    functionLinenumber: 1181
    functionLinenumberEnd: 1187
    functionName: lxc_cmd_terminal_winch_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - syserror_set
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_terminal_winch_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \  struct lxc_handler *handler,\n\t\t\t\t\t   struct lxc_async_descr *descr)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1207,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1208,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:1208,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1210,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/commands.c:1212,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1213,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:1217,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/commands.c:1220,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/commands.c:1223,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/commands.c:1229,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 4
    argNames:
    - name
    - ttynum
    - fd
    - lxcpath
    argTypes:
    - char*
    - int*
    - int*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1231
      start: 1200
    functionDepth: 7
    functionLinenumber: 1200
    functionLinenumberEnd: 1231
    functionName: lxc_cmd_get_tty_fd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 2
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - log_error
    - INT_TO_PTR
    - sysdebug
    - log_error_errno
    - INFO
    - lxc_cmd_str
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_get_tty_fd(const char *name, int *ttynum, int *fd, const
      char *lxcpath)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:1242,1
    - Dst: lxc_terminal_allocate
      Src: /src/lxc/src/lxc/commands.c:1243,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1245,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:1248,1
    - Dst: rsp_one_fd_keep
      Src: /src/lxc/src/lxc/commands.c:1249,1
    - Dst: lxc_terminal_free
      Src: /src/lxc/src/lxc/commands.c:1251,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/commands.c:1255,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1257
      start: 1233
    functionDepth: 7
    functionLinenumber: 1233
    functionLinenumberEnd: 1257
    functionName: lxc_cmd_get_tty_fd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - PTR_TO_INT
    - lxc_terminal_free
    - INT_TO_PTR
    - lxc_cmd_rsp_send_reap
    - rsp_one_fd_keep
    - DEBUG
    - lxc_terminal_allocate
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_tty_fd_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t
      \      struct lxc_handler *handler,\n\t\t\t\t       struct lxc_async_descr *descr)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1272,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1274,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - hashed_sock_name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1282
      start: 1266
    functionDepth: 7
    functionLinenumber: 1266
    functionLinenumberEnd: 1282
    functionName: lxc_cmd_get_name
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_init
    - lxc_cmd
    linkageType: ''
    returnType: char
    signature: char *lxc_cmd_get_name(const char *hashed_sock_name)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/commands.c:1290,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/commands.c:1293,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1296,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1297
      start: 1284
    functionDepth: 3
    functionLinenumber: 1284
    functionLinenumberEnd: 1297
    functionName: lxc_cmd_get_name_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - memset
    - lxc_cmd_rsp_send_reap
    - strlen
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_name_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t
      \    struct lxc_handler *handler,\n\t\t\t\t     struct lxc_async_descr *descr)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1312,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1314,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - hashed_sock_name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1322
      start: 1306
    functionDepth: 7
    functionLinenumber: 1306
    functionLinenumberEnd: 1322
    functionName: lxc_cmd_get_lxcpath
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_init
    - lxc_cmd
    linkageType: ''
    returnType: char
    signature: char *lxc_cmd_get_lxcpath(const char *hashed_sock_name)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/commands.c:1331,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1334,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1335
      start: 1324
    functionDepth: 3
    functionLinenumber: 1324
    functionLinenumberEnd: 1335
    functionName: lxc_cmd_get_lxcpath_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - strlen
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_lxcpath_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\tstruct
      lxc_handler *handler,\n\t\t\t\t\tstruct lxc_async_descr *descr)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1343,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1345,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1353
      start: 1337
    functionDepth: 7
    functionLinenumber: 1337
    functionLinenumberEnd: 1353
    functionName: lxc_cmd_get_systemd_scope
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_init
    - lxc_cmd
    linkageType: ''
    returnType: char
    signature: char *lxc_cmd_get_systemd_scope(const char *name, const char *lxcpath)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/lxc/src/lxc/commands.c:1368,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/commands.c:1372,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/commands.c:1380,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1383,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1384
      start: 1355
    functionDepth: 3
    functionLinenumber: 1355
    functionLinenumberEnd: 1384
    functionName: lxc_cmd_get_systemd_scope_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - strlen
    - strrchr
    - lxc_cmd_rsp_send_reap
    - strdup
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_systemd_scope_callback(int fd, struct lxc_cmd_req
      *req,\n\t\t\t\t\t     struct lxc_handler *handler,\n\t\t\t\t\t     struct lxc_async_descr
      *descr)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1396,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1397,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1399,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/commands.c:1405,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:1415,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:1417,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/commands.c:1419,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/commands.c:1419,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:1421,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:1422,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 4
    argNames:
    - name
    - lxcpath
    - states
    - state_client_fd
    argTypes:
    - char*
    - char*
    - lxc_state_t[]
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1424
      start: 1386
    functionDepth: 7
    functionLinenumber: 1386
    functionLinenumberEnd: 1424
    functionName: lxc_cmd_add_state_client
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 3
    functionsReached:
    - lxc_cmd_data
    - PTR_TO_INT
    - lxc_cmd_init
    - lxc_state2str
    - log_trace
    - TRACE
    - log_error_errno
    - SYSERROR
    - move_fd
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_add_state_client(const char *name, const char *lxcpath,\n\t\t\t
      \    lxc_state_t states[static MAX_STATE],\n\t\t\t     int *state_client_fd)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_add_state_client
      Src: /src/lxc/src/lxc/commands.c:1443,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:1447,1
    - Dst: lxc_cmd_rsp_send_keep
      Src: /src/lxc/src/lxc/commands.c:1449,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1452,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 4
    argNames:
    - int
    - req
    - handler
    - descr
    argTypes:
    - __owns
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1453
      start: 1426
    functionDepth: 3
    functionLinenumber: 1426
    functionLinenumberEnd: 1453
    functionName: lxc_cmd_add_state_client_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_rsp_send_keep
    - lxc_add_state_client
    - lxc_cmd_rsp_send_reap
    - INT_TO_PTR
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_add_state_client_callback(__owns int fd, struct lxc_cmd_req
      *req,\n\t\t\t\t\t     struct lxc_handler *handler,\n\t\t\t\t\t     struct lxc_async_descr
      *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/commands.c:1462,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/commands.c:1462,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:1463,1
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1465,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1466,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1468,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:1470,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:1473,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 3
    argNames:
    - name
    - lxcpath
    - device
    argTypes:
    - char*
    - char*
    - struct device_item*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1476
      start: 1455
    functionDepth: 7
    functionLinenumber: 1455
    functionLinenumberEnd: 1476
    functionName: lxc_cmd_add_bpf_device_cgroup
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_data
    - STRLITERALLEN
    - lxc_cmd_init
    - syserror_set
    - strlen
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_add_bpf_device_cgroup(const char *name, const char *lxcpath,\n\t\t\t\t
      \ struct device_item *device)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: bpf_cgroup_devices_update
      Src: /src/lxc/src/lxc/commands.c:1497,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1505,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1506
      start: 1478
    functionDepth: 3
    functionLinenumber: 1478
    functionLinenumberEnd: 1506
    functionName: lxc_cmd_add_bpf_device_cgroup_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - bpf_cgroup_devices_update
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_add_bpf_device_cgroup_callback(int fd, struct lxc_cmd_req
      *req,\n\t\t\t\t\t\t  struct lxc_handler *handler,\n\t\t\t\t\t\t  struct lxc_async_descr
      *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1520,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1521,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1523,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 3
    argNames:
    - name
    - lxcpath
    - log
    argTypes:
    - char*
    - char*
    - struct lxc_console_log*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1543
      start: 1508
    functionDepth: 7
    functionLinenumber: 1508
    functionLinenumberEnd: 1543
    functionName: lxc_cmd_console_log
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_console_log(const char *name, const char *lxcpath,\n\t\t\tstruct
      lxc_console_log *log)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_ringbuf_used
      Src: /src/lxc/src/lxc/commands.c:1561,1
    - Dst: lxc_ringbuf_get_read_addr
      Src: /src/lxc/src/lxc/commands.c:1564,1
    - Dst: lxc_ringbuf_clear
      Src: /src/lxc/src/lxc/commands.c:1576,1
    - Dst: lxc_ringbuf_move_read_addr
      Src: /src/lxc/src/lxc/commands.c:1578,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1581,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1582
      start: 1545
    functionDepth: 3
    functionLinenumber: 1545
    functionLinenumberEnd: 1582
    functionName: lxc_cmd_console_log_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_ringbuf_get_read_addr
    - lxc_cmd_rsp_send_reap
    - lxc_ringbuf_clear
    - lxc_ringbuf_used
    - lxc_ringbuf_move_read_addr
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_console_log_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\tstruct
      lxc_handler *handler,\n\t\t\t\t\tstruct lxc_async_descr *descr)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1591,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1592,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:1592,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1594,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:1596,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 3
    argNames:
    - name
    - lxcpath
    - state
    argTypes:
    - char*
    - char*
    - lxc_state_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1599
      start: 1584
    functionDepth: 7
    functionLinenumber: 1584
    functionLinenumberEnd: 1599
    functionName: lxc_cmd_serve_state_clients
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - INT_TO_PTR
    - log_error_errno
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_serve_state_clients(const char *name, const char *lxcpath,\n\t\t\t\tlxc_state_t
      state)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:1606,1
    - Dst: lxc_serve_state_clients
      Src: /src/lxc/src/lxc/commands.c:1609,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1613,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1614
      start: 1601
    functionDepth: 4
    functionLinenumber: 1601
    functionLinenumberEnd: 1614
    functionName: lxc_cmd_serve_state_clients_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_serve_state_clients
    - PTR_TO_INT
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_serve_state_clients_callback(int fd, struct lxc_cmd_req
      *req,\n\t\t\t\t\t\tstruct lxc_handler *handler,\n\t\t\t\t\t\tstruct lxc_async_descr
      *descr)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1627,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1628,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:1628,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1630,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:1632,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/commands.c:1636,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 5
    argNames:
    - name
    - lxcpath
    - fd
    - command
    - flags
    argTypes:
    - char*
    - char*
    - int
    - unsigned int
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1638
      start: 1616
    functionDepth: 7
    functionLinenumber: 1616
    functionLinenumberEnd: 1638
    functionName: lxc_cmd_seccomp_notify_add_listener
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - INT_TO_PTR
    - log_error_errno
    - ret_set_errno
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_seccomp_notify_add_listener(const char *name, const char
      *lxcpath,\n\t\t\t\t\tint fd,\n\t\t\t\t\t/* unused */ unsigned int command,\n\t\t\t\t\t/*
      unused */ unsigned int flags)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_recv_one_fd
      Src: /src/lxc/src/lxc/commands.c:1651,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/commands.c:1659,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/commands.c:1664,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:1672,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1679,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1680
      start: 1640
    functionDepth: 4
    functionLinenumber: 1640
    functionLinenumberEnd: 1680
    functionName: lxc_cmd_seccomp_notify_add_listener_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_mainloop_add_handler
    - lxc_abstract_unix_recv_one_fd
    - lxc_cmd_rsp_send_reap
    - SYSERROR
    - move_fd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_seccomp_notify_add_listener_callback(int fd,\n\t\t\t\t\t\t\tstruct
      lxc_cmd_req *req,\n\t\t\t\t\t\t\tstruct lxc_handler *handler,\n\t\t\t\t\t\t\tstruct
      lxc_async_descr *descr)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1688,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1689,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:1689,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1691,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:1693,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - name
    - lxcpath
    - timeout
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1696
      start: 1682
    functionDepth: 7
    functionLinenumber: 1682
    functionLinenumberEnd: 1696
    functionName: lxc_cmd_freeze
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - INT_TO_PTR
    - log_error_errno
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_freeze(const char *name, const char *lxcpath, int timeout)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:1702,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/commands.c:1708,1
    - Dst: struct cgroup_ops*::freeze
      Src: /src/lxc/src/lxc/commands.c:1709,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1711,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1712
      start: 1698
    functionDepth: 3
    functionLinenumber: 1698
    functionLinenumberEnd: 1712
    functionName: lxc_cmd_freeze_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - pure_unified_layout
    - struct cgroup_ops*::freeze
    - PTR_TO_INT
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_freeze_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t
      \  struct lxc_handler *handler,\n\t\t\t\t   struct lxc_async_descr *descr)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1720,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1721,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/commands.c:1721,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1723,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:1725,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - name
    - lxcpath
    - timeout
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1728
      start: 1714
    functionDepth: 7
    functionLinenumber: 1714
    functionLinenumberEnd: 1728
    functionName: lxc_cmd_unfreeze
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - INT_TO_PTR
    - log_error_errno
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_unfreeze(const char *name, const char *lxcpath, int timeout)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:1734,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/commands.c:1740,1
    - Dst: struct cgroup_ops*::unfreeze
      Src: /src/lxc/src/lxc/commands.c:1741,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1743,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1744
      start: 1730
    functionDepth: 3
    functionLinenumber: 1730
    functionLinenumberEnd: 1744
    functionName: lxc_cmd_unfreeze_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - pure_unified_layout
    - struct cgroup_ops*::unfreeze
    - PTR_TO_INT
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_unfreeze_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t
      \  struct lxc_handler *handler,\n\t\t\t\t   struct lxc_async_descr *descr)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1753,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1754,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1756,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/commands.c:1758,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1759,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:1762,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1763,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 4
    argNames:
    - name
    - lxcpath
    - size_ret_fd
    - ret_fd
    argTypes:
    - char*
    - char*
    - size_t
    - struct cgroup_fd*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1766
      start: 1746
    functionDepth: 7
    functionLinenumber: 1746
    functionLinenumberEnd: 1766
    functionName: lxc_cmd_get_cgroup_fd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - sysdebug_set
    - sysdebug
    - lxc_cmd_str
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_cgroup_fd(const char *name, const char *lxcpath,\n\t\t\t
      \ size_t size_ret_fd, struct cgroup_fd *ret_fd)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1775,1
    - Dst: lxc_cmd_data
      Src: /src/lxc/src/lxc/commands.c:1776,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1778,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/commands.c:1780,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1781,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:1784,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1785,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 4
    argNames:
    - name
    - lxcpath
    - size_ret_fd
    - ret_fd
    argTypes:
    - char*
    - char*
    - size_t
    - struct cgroup_fd*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1788
      start: 1768
    functionDepth: 7
    functionLinenumber: 1768
    functionLinenumberEnd: 1788
    functionName: lxc_cmd_get_limit_cgroup_fd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_data
    - lxc_cmd_init
    - sysdebug_set
    - sysdebug
    - lxc_cmd_str
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_limit_cgroup_fd(const char *name, const char *lxcpath,\n\t\t\t\tsize_t
      size_ret_fd, struct cgroup_fd *ret_fd)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: copy_struct_from_client
      Src: /src/lxc/src/lxc/commands.c:1802,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1805,1
    - Dst: strnlen
      Src: /src/lxc/src/lxc/commands.c:1807,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1808,1
    - Dst: prepare_cgroup_fd
      Src: /src/lxc/src/lxc/commands.c:1810,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1813,1
    - Dst: min
      Src: /src/lxc/src/lxc/commands.c:1818,1
    - Dst: rsp_one_fd_reap
      Src: /src/lxc/src/lxc/commands.c:1819,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 5
    argNames:
    - fd
    - req
    - handler
    - descr
    - limit
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1820
      start: 1790
    functionDepth: 4
    functionLinenumber: 1790
    functionLinenumberEnd: 1820
    functionName: __lxc_cmd_get_cgroup_fd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - prepare_cgroup_fd
    - min
    - copy_struct_from_client
    - rsp_one_fd_reap
    - lxc_cmd_rsp_send_reap
    - strnlen
    linkageType: ''
    returnType: int
    signature: "int __lxc_cmd_get_cgroup_fd_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \   struct lxc_handler *handler,\n\t\t\t\t\t    struct lxc_async_descr *descr,\n\t\t\t\t\t
      \   bool limit)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_cmd_get_cgroup_fd_callback
      Src: /src/lxc/src/lxc/commands.c:1826,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1827
      start: 1822
    functionDepth: 5
    functionLinenumber: 1822
    functionLinenumberEnd: 1827
    functionName: lxc_cmd_get_cgroup_fd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - __lxc_cmd_get_cgroup_fd_callback
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_cgroup_fd_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \ struct lxc_handler *handler,\n\t\t\t\t\t  struct lxc_async_descr *descr)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_cmd_get_cgroup_fd_callback
      Src: /src/lxc/src/lxc/commands.c:1833,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1834
      start: 1829
    functionDepth: 5
    functionLinenumber: 1829
    functionLinenumberEnd: 1834
    functionName: lxc_cmd_get_limit_cgroup_fd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - __lxc_cmd_get_cgroup_fd_callback
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_limit_cgroup_fd_callback(int fd, struct lxc_cmd_req
      *req,\n\t\t\t\t\t\tstruct lxc_handler *handler,\n\t\t\t\t\t\tstruct lxc_async_descr
      *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1843,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1845,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/commands.c:1847,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1848,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:1851,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1852,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:1854,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:1856,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1857,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1859
      start: 1836
    functionDepth: 7
    functionLinenumber: 1836
    functionLinenumberEnd: 1859
    functionName: lxc_cmd_get_cgroup2_fd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - PTR_TO_INT
    - lxc_cmd_init
    - sysdebug_set
    - sysdebug
    - lxc_cmd_str
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_get_cgroup2_fd(const char *name, const char *lxcpath)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_init
      Src: /src/lxc/src/lxc/commands.c:1868,1
    - Dst: lxc_cmd
      Src: /src/lxc/src/lxc/commands.c:1870,1
    - Dst: sysdebug
      Src: /src/lxc/src/lxc/commands.c:1872,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1873,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:1876,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1877,1
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/commands.c:1879,1
    - Dst: sysdebug_set
      Src: /src/lxc/src/lxc/commands.c:1881,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1882,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1884
      start: 1861
    functionDepth: 7
    functionLinenumber: 1861
    functionLinenumberEnd: 1884
    functionName: lxc_cmd_get_limit_cgroup2_fd
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - PTR_TO_INT
    - lxc_cmd_init
    - sysdebug_set
    - sysdebug
    - lxc_cmd_str
    - lxc_cmd
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_get_limit_cgroup2_fd(const char *name, const char *lxcpath)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/commands.c:1897,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1898,1
    - Dst: lxc_cmd_rsp_send_reap
      Src: /src/lxc/src/lxc/commands.c:1905,1
    - Dst: rsp_one_fd_reap
      Src: /src/lxc/src/lxc/commands.c:1909,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 5
    argNames:
    - fd
    - req
    - handler
    - descr
    - limiting_cgroup
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1910
      start: 1886
    functionDepth: 4
    functionLinenumber: 1886
    functionLinenumberEnd: 1910
    functionName: __lxc_cmd_get_cgroup2_fd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - pure_unified_layout
    - rsp_one_fd_reap
    - lxc_cmd_rsp_send_reap
    linkageType: ''
    returnType: int
    signature: "int __lxc_cmd_get_cgroup2_fd_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \    struct lxc_handler *handler,\n\t\t\t\t\t     struct lxc_async_descr *descr,\n\t\t\t\t\t
      \    bool limiting_cgroup)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_cmd_get_cgroup2_fd_callback
      Src: /src/lxc/src/lxc/commands.c:1916,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1917
      start: 1912
    functionDepth: 5
    functionLinenumber: 1912
    functionLinenumberEnd: 1917
    functionName: lxc_cmd_get_cgroup2_fd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - __lxc_cmd_get_cgroup2_fd_callback
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_cgroup2_fd_callback(int fd, struct lxc_cmd_req *req,\n\t\t\t\t\t
      \  struct lxc_handler *handler,\n\t\t\t\t\t   struct lxc_async_descr *descr)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_cmd_get_cgroup2_fd_callback
      Src: /src/lxc/src/lxc/commands.c:1923,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1924
      start: 1919
    functionDepth: 5
    functionLinenumber: 1919
    functionLinenumberEnd: 1924
    functionName: lxc_cmd_get_limit_cgroup2_fd_callback
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - __lxc_cmd_get_cgroup2_fd_callback
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_get_limit_cgroup2_fd_callback(int fd, struct lxc_cmd_req
      *req,\n\t\t\t\t\t\t struct lxc_handler *handler,\n\t\t\t\t\t\t struct lxc_async_descr
      *descr)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __lxc_cmd_rsp_send
      Src: /src/lxc/src/lxc/commands.c:1932,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/commands.c:1933,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - fd
    - id
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1934
      start: 1926
    functionDepth: 2
    functionLinenumber: 1926
    functionLinenumberEnd: 1934
    functionName: lxc_cmd_rsp_send_enosys
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - syserror_set
    - __lxc_cmd_rsp_send
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_rsp_send_enosys(int fd, int id)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_cmd_rsp_send_enosys
      Src: /src/lxc/src/lxc/commands.c:1974,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 4
    argNames:
    - fd
    - req
    - handler
    - descr
    argTypes:
    - int
    - struct lxc_cmd_req*
    - struct lxc_handler*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1977
      start: 1936
    functionDepth: 3
    functionLinenumber: 1936
    functionLinenumberEnd: 1977
    functionName: lxc_cmd_process
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_rsp_send_enosys
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_process(int fd, struct lxc_cmd_req *req,\n\t\t\t   struct
      lxc_handler *handler,\n\t\t\t   struct lxc_async_descr *descr)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry_safe
      Src: /src/lxc/src/lxc/commands.c:1985,1
    - Dst: list_del
      Src: /src/lxc/src/lxc/commands.c:1989,1
    - Dst: free
      Src: /src/lxc/src/lxc/commands.c:1990,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:1996,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:1996,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:2006,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:2006,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 3
    argNames:
    - fd
    - handler
    - cmd
    argTypes:
    - int
    - struct lxc_handler*
    - lxc_cmd_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2014
      start: 1979
    functionDepth: 3
    functionLinenumber: 1979
    functionLinenumberEnd: 2014
    functionName: lxc_cmd_fd_cleanup
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - list_del
    - free
    - TRACE
    - list_for_each_entry_safe
    - lxc_cmd_str
    linkageType: ''
    returnType: void
    signature: "void lxc_cmd_fd_cleanup(int fd, struct lxc_handler *handler,\n\t\t\t
      \      const lxc_cmd_t cmd)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_terminal_free
      Src: /src/lxc/src/lxc/commands.c:2020,1
    - Dst: close
      Src: /src/lxc/src/lxc/commands.c:2021,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:2022,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 2
    argNames:
    - fd
    - data
    argTypes:
    - int
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2025
      start: 2016
    functionDepth: 4
    functionLinenumber: 2016
    functionLinenumberEnd: 2025
    functionName: lxc_cmd_cleanup_handler
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - close
    - lxc_terminal_free
    - TRACE
    linkageType: ''
    returnType: int
    signature: int lxc_cmd_cleanup_handler(int fd, void *data)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_rcv_credential
      Src: /src/lxc/src/lxc/commands.c:2035,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/commands.c:2037,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:2037,1
    - Dst: __lxc_cmd_rsp_send
      Src: /src/lxc/src/lxc/commands.c:2045,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/commands.c:2055,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:2055,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/commands.c:2060,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:2060,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/commands.c:2065,1
    - Dst: lxc_recv_nointr
      Src: /src/lxc/src/lxc/commands.c:2066,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/commands.c:2068,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:2068,1
    - Dst: lxc_cmd_process
      Src: /src/lxc/src/lxc/commands.c:2075,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/commands.c:2077,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:2077,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:2082,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:2082,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:2086,1
    - Dst: lxc_cmd_str
      Src: /src/lxc/src/lxc/commands.c:2086,1
    - Dst: lxc_cmd_fd_cleanup
      Src: /src/lxc/src/lxc/commands.c:2090,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 50
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2092
      start: 2027
    functionDepth: 4
    functionLinenumber: 2027
    functionLinenumberEnd: 2092
    functionName: lxc_cmd_handler
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_recv_nointr
    - lxc_abstract_unix_rcv_credential
    - lxc_cmd_fd_cleanup
    - WARN
    - must_realloc
    - __lxc_cmd_rsp_send
    - TRACE
    - lxc_cmd_process
    - DEBUG
    - SYSERROR
    - lxc_cmd_str
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_handler(int fd, uint32_t events, void *data,\n\t\t\t   struct
      lxc_async_descr *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: accept4
      Src: /src/lxc/src/lxc/commands.c:2100,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:2102,1
    - Dst: setsockopt
      Src: /src/lxc/src/lxc/commands.c:2104,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:2106,1
    - Dst: lxc_mainloop_add_oneshot_handler
      Src: /src/lxc/src/lxc/commands.c:2108,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/commands.c:2113,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/commands.c:2115,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:2116,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2118
      start: 2094
    functionDepth: 4
    functionLinenumber: 2094
    functionLinenumberEnd: 2118
    functionName: lxc_cmd_accept
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 0
    functionsReached:
    - log_error
    - move_fd
    - TRACE
    - log_error_errno
    - accept4
    - lxc_mainloop_add_oneshot_handler
    - setsockopt
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_accept(int fd, uint32_t events, void *data,\n\t\t\t  struct
      lxc_async_descr *descr)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_make_abstract_socket_name
      Src: /src/lxc/src/lxc/commands.c:2126,1
    - Dst: lxc_abstract_unix_open
      Src: /src/lxc/src/lxc/commands.c:2130,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/commands.c:2133,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/commands.c:2135,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/commands.c:2138,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/commands.c:2138,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 3
    argNames:
    - name
    - lxcpath
    - suffix
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2139
      start: 2120
    functionDepth: 3
    functionLinenumber: 2120
    functionLinenumberEnd: 2139
    functionName: lxc_server_init
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - ERROR
    - lxc_make_abstract_socket_name
    - move_fd
    - log_trace
    - log_error_errno
    - lxc_abstract_unix_open
    linkageType: ''
    returnType: int
    signature: int lxc_server_init(const char *name, const char *lxcpath, const char
      *suffix)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/commands.c:2146,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/commands.c:2151,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - name
    - descr
    - handler
    argTypes:
    - char*
    - struct lxc_async_descr*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2154
      start: 2141
    functionDepth: 4
    functionLinenumber: 2141
    functionLinenumberEnd: 2154
    functionName: lxc_cmd_mainloop_add
    functionSourceFile: /src/lxc/src/lxc/commands.c
    functionUses: 1
    functionsReached:
    - lxc_mainloop_add_handler
    - log_error
    linkageType: ''
    returnType: int
    signature: "int lxc_cmd_mainloop_add(const char *name, struct lxc_async_descr
      *descr,\n\t\t\t struct lxc_handler *handler)"
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: get_fssize
      Src: /src/lxc/src/lxc/tools/lxc_create.c:120,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 43
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 139
      start: 95
    functionDepth: 2
    functionLinenumber: 95
    functionLinenumberEnd: 139
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_create.c
    functionUses: 0
    functionsReached:
    - get_fssize
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/lxc/tools/lxc_create.c:149,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/tools/lxc_create.c:151,1
    - Dst: get_template_path
      Src: /src/lxc/src/lxc/tools/lxc_create.c:155,1
    - Dst: execv
      Src: /src/lxc/src/lxc/tools/lxc_create.c:161,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:162,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:163,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 1
    argNames:
    - args
    argTypes:
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 164
      start: 141
    functionDepth: 2
    functionLinenumber: 141
    functionLinenumberEnd: 164
    functionName: create_helpfn
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_create.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - get_template_path
    - ERROR
    - execv
    - _exit
    - fork
    linkageType: ''
    returnType: void
    signature: void create_helpfn(const struct lxc_arguments *args)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:168,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:168,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:170,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:170,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:171,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:171,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:172,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:172,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:173,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:177,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:177,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:179,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:183,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:183,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:185,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:189,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:189,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:191,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 24
    argCount: 1
    argNames:
    - args
    argTypes:
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 197
      start: 166
    functionDepth: 1
    functionLinenumber: 166
    functionLinenumberEnd: 197
    functionName: validate_bdev_args
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_create.c
    functionUses: 0
    functionsReached:
    - strlen
    - ERROR
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool validate_bdev_args(struct lxc_arguments *args)
  - BBCount: 33
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_create.c:207,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:208,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_create.c:217,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:218,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:221,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:222,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:223,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:227,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:228,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:231,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:231,1
    - Dst: validate_bdev_args
      Src: /src/lxc/src/lxc/tools/lxc_create.c:237,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:238,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:240,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:240,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:244,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:244,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:245,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:245,1
    - Dst: lxc_is_valid_storage_type
      Src: /src/lxc/src/lxc/tools/lxc_create.c:246,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:247,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:248,1
    - Dst: lxc_get_global_config_item
      Src: /src/lxc/src/lxc/tools/lxc_create.c:252,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/tools/lxc_create.c:254,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:255,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/tools/lxc_create.c:257,1
    - Dst: access
      Src: /src/lxc/src/lxc/tools/lxc_create.c:258,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:259,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:260,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_create.c:263,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:265,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:266,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/lxc/tools/lxc_create.c:269,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_create.c:270,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:271,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:272,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_create.c:276,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_create.c:278,1
    - Dst: lxc_get_global_config_item
      Src: /src/lxc/src/lxc/tools/lxc_create.c:278,1
    - Dst: memset
      Src: /src/lxc/src/lxc/tools/lxc_create.c:280,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:288,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:288,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:289,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:289,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:293,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:293,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:294,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:294,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:305,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:305,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:306,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:306,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_create.c:320,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_create.c:320,1
    - Dst: struct lxc_container*::create
      Src: /src/lxc/src/lxc/tools/lxc_create.c:326,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_create.c:327,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_create.c:328,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:329,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_create.c:332,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_create.c:333,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 91
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 334
      start: 200
    functionDepth: 6
    functionLinenumber: 200
    functionLinenumberEnd: 334
    functionName: lxc_create_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_create.c
    functionUses: 0
    functionsReached:
    - lxc_get_global_config_item
    - ERROR
    - struct lxc_container*::load_config
    - access
    - struct lxc_container*::is_defined
    - geteuid
    - validate_bdev_args
    - strncmp
    - lxc_container_put
    - lxc_container_new
    - memset
    - strlen
    - lxc_is_valid_storage_type
    - lxc_arguments_parse
    - lxc_log_init
    - struct lxc_container*::create
    - exit
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: int lxc_create_main(int argc, char *argv[])
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/tools/lxc_console.c:61,1
    - Dst: etoc
      Src: /src/lxc/src/lxc/tools/lxc_console.c:65,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 70
      start: 57
    functionDepth: 1
    functionLinenumber: 57
    functionLinenumberEnd: 70
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_console.c
    functionUses: 0
    functionsReached:
    - etoc
    - lxc_safe_uint
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - expr
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 78
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 78
    functionName: etoc
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_console.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char etoc(const char *expr)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_console.c:87,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_console.c:88,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_console.c:97,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_console.c:98,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_console.c:100,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_console.c:102,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_console.c:103,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_console.c:107,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_console.c:109,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_console.c:110,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_console.c:111,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_console.c:112,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_console.c:115,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_console.c:117,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_console.c:118,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_console.c:119,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_console.c:123,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_console.c:124,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_console.c:125,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_console.c:126,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_console.c:129,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_console.c:130,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_console.c:131,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_console.c:132,1
    - Dst: struct lxc_container*::console
      Src: /src/lxc/src/lxc/tools/lxc_console.c:135,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_console.c:137,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_console.c:138,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_console.c:141,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_console.c:142,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 47
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 143
      start: 81
    functionDepth: 6
    functionLinenumber: 81
    functionLinenumberEnd: 143
    functionName: lxc_console_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_console.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::is_running
    - struct lxc_container*::console
    - strdup
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_console_main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 8
    argNames:
    - (
    - arg
    - ','
    - fmt
    - ','
    - args
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 171
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 171
    functionName: lxc_info
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_info(arg, fmt, args...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 8
    argNames:
    - (
    - arg
    - ','
    - fmt
    - ','
    - args
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 178
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 178
    functionName: lxc_error
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.h
    functionUses: 31
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_error(arg, fmt, args...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 8
    argNames:
    - (
    - arg
    - ','
    - fmt
    - ','
    - args
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 185
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 185
    functionName: lxc_sys_error
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: lxc_sys_error(arg, fmt, args...)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:69,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:73,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:79,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:79,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:81,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:81,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:82,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:88,1
    - Dst: main
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:89,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:92,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:95,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:102,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:104,1
    - Dst: putc
      Src: /src/lxc/src/lxc/tools/lxc_multicall.c:106,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 41
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 108
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 108
    functionName: main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_multicall.c
    functionUses: 1
    functionsReached:
    - main
    - strrchr
    - fprintf
    - putc
    - strlen
    - strcmp
    - strncmp
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 49
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 49
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_monitor.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:84,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - fds
    - nfds
    argTypes:
    - struct pollfd*
    - nfds_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 85
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 85
    functionName: close_fds
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_monitor.c
    functionUses: 0
    functionsReached:
    - close
    linkageType: ''
    returnType: void
    signature: void close_fds(struct pollfd *fds, nfds_t nfds)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:95,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:97,1
    - Dst: dirfd
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:101,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:103,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:104,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:107,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:110,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:124,1
    - Dst: closedir
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:125,1
    - Dst: closedir
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:130,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 32
    argCount: 3
    argNames:
    - closeall
    - fds_to_ignore
    - len_fds
    argTypes:
    - bool
    - int*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 132
      start: 87
    functionDepth: 1
    functionLinenumber: 87
    functionLinenumberEnd: 132
    functionName: lxc_tool_check_inherited
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_monitor.c
    functionUses: 0
    functionsReached:
    - readdir
    - closedir
    - lxc_safe_int
    - dirfd
    - opendir
    - SYSERROR
    - strcmp
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_tool_check_inherited(bool closeall, int *fds_to_ignore, size_t
      len_fds)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:141,1
    - Dst: fork
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:152,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:154,1
    - Dst: waitpid
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:159,1
    - Dst: pipe
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:165,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:166,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:167,1
    - Dst: fork
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:170,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:172,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:173,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:180,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:187,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:191,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:193,1
    - Dst: setsid
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:196,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:197,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:198,1
    - Dst: lxc_tool_check_inherited
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:201,1
    - Dst: null_stdfds
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:202,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:203,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:204,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:207,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:209,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:211,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:212,1
    - Dst: execvp
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:215,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:216,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:218,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 46
    argCount: 1
    argNames:
    - lxcpath
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 219
      start: 137
    functionDepth: 3
    functionLinenumber: 137
    functionLinenumberEnd: 219
    functionName: lxc_tool_monitord_spawn
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_monitor.c
    functionUses: 0
    functionsReached:
    - waitpid
    - ERROR
    - setsid
    - execvp
    - lxc_tool_check_inherited
    - snprintf
    - INTTYPE_TO_STRLEN
    - lxc_read_nointr
    - null_stdfds
    - _exit
    - fork
    - SYSERROR
    - pipe
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_tool_monitord_spawn(const char *lxcpath)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:234,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:235,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:246,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:247,1
    - Dst: lxc_monitor_open
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:256,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:258,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:263,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:264,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:266,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:270,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:273,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:276,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:277,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:279,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:280,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:283,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:285,1
    - Dst: regcomp
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:289,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:290,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:294,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:296,1
    - Dst: lxc_tool_monitord_spawn
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:305,1
    - Dst: lxc_monitor_open
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:307,1
    - Dst: close_fds
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:309,1
    - Dst: setlinebuf
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:318,1
    - Dst: lxc_monitor_read_fdset
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:321,1
    - Dst: regexec
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:325,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:330,1
    - Dst: lxc_state2str
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:331,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:334,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:335,1
    - Dst: close_fds
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:346,1
    - Dst: regfree
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:349,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:350,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:353,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_monitor.c:355,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 99
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 356
      start: 222
    functionDepth: 6
    functionLinenumber: 222
    functionLinenumberEnd: 356
    functionName: lxc_monitor_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_monitor.c
    functionUses: 0
    functionsReached:
    - lxc_state2str
    - snprintf
    - lxc_monitor_read_fdset
    - free
    - setlinebuf
    - printf
    - WEXITSTATUS
    - strlen
    - lxc_log_init
    - lxc_write_nointr
    - exit
    - malloc
    - ERROR
    - close_fds
    - regexec
    - regcomp
    - SYSERROR
    - regfree
    - lxc_monitor_open
    - lxc_tool_monitord_spawn
    - lxc_arguments_parse
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_monitor_main(int argc, char *argv[])
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 62
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 62
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_destroy.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:71,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:75,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:76,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:80,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:84,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:85,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:89,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:91,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:96,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:101,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:104,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:105,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:106,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:110,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 32
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 115
      start: 64
    functionDepth: 1
    functionLinenumber: 64
    functionLinenumberEnd: 115
    functionName: do_destroy
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_destroy.c
    functionUses: 0
    functionsReached:
    - ERROR
    - struct lxc_container*::stop
    - rmdir
    - snprintf
    - struct lxc_container*::is_running
    - struct lxc_container*::destroy
    - struct lxc_container*::is_defined
    - strcmp
    - file_exists
    - struct lxc_container*::get_config_item
    linkageType: ''
    returnType: bool
    signature: bool do_destroy(struct lxc_container *c)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:131,1
    - Dst: open
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:135,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:137,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:139,1
    - Dst: calloc
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:144,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:146,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:147,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:151,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:152,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:154,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:155,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:159,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:160,1
    - Dst: do_destroy
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:167,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:168,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:169,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:173,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:175,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:179,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:183,1
    - Dst: struct lxc_container*::destroy_with_snapshots
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:184,1
    - Dst: do_destroy
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:186,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 44
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 189
      start: 117
    functionDepth: 6
    functionLinenumber: 117
    functionLinenumberEnd: 189
    functionName: do_destroy_with_snapshots
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_destroy.c
    functionUses: 0
    functionsReached:
    - open
    - ERROR
    - lxc_iterate_parts
    - calloc
    - fstat
    - struct lxc_container*::destroy_with_snapshots
    - rmdir
    - snprintf
    - lxc_read_nointr
    - lxc_container_put
    - lxc_container_new
    - do_destroy
    - close
    - free
    linkageType: ''
    returnType: bool
    signature: bool do_destroy_with_snapshots(struct lxc_container *c)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:198,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:199,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:208,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:209,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:211,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:213,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:214,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:218,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:220,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:221,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:222,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:223,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:226,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:228,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:229,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:230,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:234,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:235,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:236,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:237,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:240,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:241,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:242,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:243,1
    - Dst: do_destroy_with_snapshots
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:247,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:249,1
    - Dst: do_destroy
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:251,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:253,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:256,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:259,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_destroy.c:261,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 53
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 262
      start: 192
    functionDepth: 7
    functionLinenumber: 192
    functionLinenumberEnd: 262
    functionName: lxc_destroy_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_destroy.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - do_destroy
    - do_destroy_with_snapshots
    - lxc_container_put
    - lxc_container_new
    - strdup
    - INFO
    - struct lxc_container*::is_defined
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_destroy_main(int argc, char *argv[])
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: get_namespace_flags
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:98,1
    - Dst: lookup_user
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:103,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:112,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:114,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:115,1
    - Dst: lxc_list_add_elem
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:119,1
    - Dst: lxc_list_add_tail
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:120,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 33
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 130
      start: 92
    functionDepth: 2
    functionLinenumber: 92
    functionLinenumberEnd: 130
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_unshare.c
    functionUses: 0
    functionsReached:
    - malloc
    - get_namespace_flags
    - lxc_list_add_tail
    - lxc_list_add_elem
    - free_ifname_list
    - SYSERROR
    - lookup_user
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_namespace_2_std_identifiers
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:136,1
    - Dst: lxc_fill_namespace_flags
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:139,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - namespaces
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 143
      start: 132
    functionDepth: 3
    functionLinenumber: 132
    functionLinenumberEnd: 143
    functionName: get_namespace_flags
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_unshare.c
    functionUses: 1
    functionsReached:
    - lxc_fill_namespace_flags
    - lxc_namespace_2_std_identifiers
    linkageType: ''
    returnType: int
    signature: int get_namespace_flags(char *namespaces)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:156,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:160,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:164,1
    - Dst: getpwnam_r
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:166,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:169,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:171,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:172,1
    - Dst: getpwuid_r
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:178,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:181,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:183,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:184,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:189,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 31
    argCount: 2
    argNames:
    - oparg
    - uid
    argTypes:
    - char*
    - uid_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 191
      start: 145
    functionDepth: 1
    functionLinenumber: 145
    functionLinenumberEnd: 191
    functionName: lookup_user
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_unshare.c
    functionUses: 1
    functionsReached:
    - malloc
    - sysconf
    - getpwuid_r
    - sscanf
    - SYSERROR
    - getpwnam_r
    - free
    linkageType: ''
    returnType: bool
    signature: bool lookup_user(const char *oparg, uid_t *uid)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: umount
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:196,1
    - Dst: mount
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:198,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - source
    - target
    - type
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 202
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 202
    functionName: mount_fs
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_unshare.c
    functionUses: 0
    functionsReached:
    - umount
    - mount
    linkageType: ''
    returnType: int
    signature: int mount_fs(const char *source, const char *target, const char *type)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mount_fs
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:206,1
    - Dst: access
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:209,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:210,1
    - Dst: mount_fs
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:213,1
    - Dst: access
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:217,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:218,1
    - Dst: mount_fs
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:221,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 222
      start: 204
    functionDepth: 1
    functionLinenumber: 204
    functionLinenumberEnd: 222
    functionName: lxc_setup_fs
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_unshare.c
    functionUses: 0
    functionsReached:
    - mount_fs
    - mkdir
    - access
    linkageType: ''
    returnType: void
    signature: void lxc_setup_fs(void)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:234,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:236,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:237,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:238,1
    - Dst: mount
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:243,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:244,1
    - Dst: lxc_setup_fs
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:247,1
    - Dst: sethostname
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:251,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:251,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:252,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:253,1
    - Dst: setuid
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:257,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:258,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:259,1
    - Dst: execvp
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:262,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:264,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 266
      start: 224
    functionDepth: 2
    functionLinenumber: 224
    functionLinenumberEnd: 266
    functionName: do_start
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_unshare.c
    functionUses: 1
    functionsReached:
    - setuid
    - mount
    - sethostname
    - execvp
    - lxc_read_nointr
    - _exit
    - strlen
    - lxc_setup_fs
    - SYSERROR
    - close
    linkageType: ''
    returnType: int
    signature: int do_start(void *arg)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_for_each_safe
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:272,1
    - Dst: lxc_list_del
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:273,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:274,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 276
      start: 268
    functionDepth: 1
    functionLinenumber: 268
    functionLinenumberEnd: 276
    functionName: free_ifname_list
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_unshare.c
    functionUses: 1
    functionsReached:
    - lxc_list_for_each_safe
    - free
    - lxc_list_del
    linkageType: ''
    returnType: void
    signature: void free_ifname_list(void)
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_init
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:286,1
    - Dst: lxc_caps_init
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:288,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:289,1
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:291,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:292,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:301,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:302,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:303,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:307,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:308,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:309,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:313,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:314,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:315,1
    - Dst: lxc_list_len
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:318,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:319,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:320,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:321,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:325,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:326,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:327,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:331,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:332,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:333,1
    - Dst: eventfd
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:337,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:339,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:340,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:341,1
    - Dst: lxc_clone
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:353,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:355,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:356,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:357,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:368,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:368,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:370,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:371,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:372,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:373,1
    - Dst: write_id_mapping
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:376,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:376,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:378,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:379,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:380,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:381,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:384,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:386,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:387,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:388,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:389,1
    - Dst: lxc_list_len
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:393,1
    - Dst: lxc_list_for_each
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:398,1
    - Dst: fork
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:403,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:405,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:413,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:415,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:417,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:418,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:421,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:422,1
    - Dst: free_ifname_list
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:425,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:429,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:431,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:432,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:433,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unshare.c:437,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 113
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 438
      start: 279
    functionDepth: 6
    functionLinenumber: 279
    functionLinenumberEnd: 438
    functionName: lxc_unshare_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_unshare.c
    functionUses: 0
    functionsReached:
    - snprintf
    - execlp
    - lxc_list_for_each
    - _exit
    - lxc_list_len
    - getuid
    - strlen
    - lxc_list_init
    - lxc_log_init
    - eventfd
    - lxc_write_nointr
    - exit
    - ERROR
    - lxc_caps_init
    - free_ifname_list
    - SYSERROR
    - lxc_clone
    - wait_for_pid
    - write_id_mapping
    - fork
    - lxc_arguments_parse
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_unshare_main(int argc, char *argv[])
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/tools/lxc_info.c:38,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 31
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 53
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - realloc
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_info.c:94,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - buf
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 98
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 98
    functionName: str_chomp
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - strlen
    linkageType: ''
    returnType: void
    signature: void str_chomp(char *buf)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:103,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:108,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:112,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:115,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 3
    argNames:
    - val
    - buf
    - bufsz
    argTypes:
    - unsigned long long
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 117
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 117
    functionName: size_humanize
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - snprintf
    linkageType: ''
    returnType: void
    signature: void size_humanize(unsigned long long val, char *buf, size_t bufsz)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_info.c:124,1
    - Dst: size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_info.c:127,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - iobuf
    - iobufsz
    argTypes:
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 132
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 132
    functionName: str_size_humanize
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - strtoull
    - size_humanize
    linkageType: ''
    returnType: unsigned long long
    signature: unsigned long long str_size_humanize(char *iobuf, size_t iobufsz)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:143,1
    - Dst: struct lxc_container*::get_running_config_item
      Src: /src/lxc/src/lxc/tools/lxc_info.c:145,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_info.c:149,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:150,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:152,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_info.c:154,1
    - Dst: struct lxc_container*::get_running_config_item
      Src: /src/lxc/src/lxc/tools/lxc_info.c:156,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:160,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:161,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:166,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/tools/lxc_info.c:170,1
    - Dst: str_chomp
      Src: /src/lxc/src/lxc/tools/lxc_info.c:173,1
    - Dst: str_size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_info.c:174,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:175,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:176,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:179,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/tools/lxc_info.c:183,1
    - Dst: str_chomp
      Src: /src/lxc/src/lxc/tools/lxc_info.c:186,1
    - Dst: str_size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_info.c:187,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:188,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:189,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:192,1
    - Dst: str_size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_info.c:193,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:194,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:195,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_info.c:196,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 45
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 198
      start: 134
    functionDepth: 2
    functionLinenumber: 134
    functionLinenumberEnd: 198
    functionName: print_net_stats
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - str_size_humanize
    - sprintf
    - lxc_read_from_file
    - struct lxc_container*::get_running_config_item
    - fflush
    - snprintf
    - str_chomp
    - printf
    - strcmp
    - free
    linkageType: ''
    returnType: void
    signature: void print_net_stats(struct lxc_container *c)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_info.c:207,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:212,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/tools/lxc_info.c:216,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/tools/lxc_info.c:216,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/tools/lxc_info.c:217,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/tools/lxc_info.c:221,1
    - Dst: iter
      Src: /src/lxc/src/lxc/tools/lxc_info.c:225,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:233,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 3
    argNames:
    - c
    - file
    - cookie
    argTypes:
    - struct lxc_container*
    - char*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 235
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 235
    functionName: cg2_stat_iter
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - fprintf
    - strtok_r
    - iter
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: int
    signature: "int cg2_stat_iter(struct lxc_container *c, const char *file, void
      *cookie,\n\t\tint (*iter)(char *key, char *val, void *cookie))"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_info.c:242,1
    - Dst: str_chomp
      Src: /src/lxc/src/lxc/tools/lxc_info.c:244,1
    - Dst: strcpy
      Src: /src/lxc/src/lxc/tools/lxc_info.c:245,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - c
    - usage
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 250
      start: 237
    functionDepth: 1
    functionLinenumber: 237
    functionLinenumberEnd: 250
    functionName: cg1_cpu_usage
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - strcpy
    - str_chomp
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: int
    signature: int cg1_cpu_usage(struct lxc_container *c, char *usage)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_info.c:254,1
    - Dst: strcpy
      Src: /src/lxc/src/lxc/tools/lxc_info.c:257,1
    - Dst: strcat
      Src: /src/lxc/src/lxc/tools/lxc_info.c:258,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 3
    argNames:
    - metric
    - value
    - cookie
    argTypes:
    - char*
    - char*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 260
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 260
    functionName: cg2_cpu_usage_iter
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - strcpy
    - strcat
    - strcmp
    linkageType: ''
    returnType: int
    signature: int cg2_cpu_usage_iter(char *metric, char *value, void *cookie)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cg2_stat_iter
      Src: /src/lxc/src/lxc/tools/lxc_info.c:266,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - c
    - usage
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 268
      start: 262
    functionDepth: 1
    functionLinenumber: 262
    functionLinenumberEnd: 268
    functionName: cg2_cpu_usage
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - cg2_stat_iter
    linkageType: ''
    returnType: int
    signature: int cg2_cpu_usage(struct lxc_container *c, char *usage)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_info.c:275,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - array
    - needle
    - size
    argTypes:
    - char*[]
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 278
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 278
    functionName: search_array
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: int search_array(const char *array[], const char *needle, size_t size)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_info.c:292,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:294,1
    - Dst: search_array
      Src: /src/lxc/src/lxc/tools/lxc_info.c:298,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/tools/lxc_info.c:298,1
    - Dst: search_array
      Src: /src/lxc/src/lxc/tools/lxc_info.c:300,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/tools/lxc_info.c:300,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 3
    argNames:
    - metric
    - value
    - cookie
    argTypes:
    - char*
    - char*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 303
      start: 284
    functionDepth: 1
    functionLinenumber: 284
    functionLinenumberEnd: 303
    functionName: cg2_mem_usage_iter
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - ARRAY_SIZE
    - strtoull
    - search_array
    - fprintf
    linkageType: ''
    returnType: int
    signature: int cg2_mem_usage_iter(char *metric, char *value, void *cookie)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cg2_stat_iter
      Src: /src/lxc/src/lxc/tools/lxc_info.c:310,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:314,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:315,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 3
    argNames:
    - c
    - user
    - kernel
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 318
      start: 305
    functionDepth: 1
    functionLinenumber: 305
    functionLinenumberEnd: 318
    functionName: cg2_mem_usage
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - cg2_stat_iter
    - sprintf
    linkageType: ''
    returnType: int
    signature: int cg2_mem_usage(struct lxc_container *c, char *user, char *kernel)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/tools/lxc_info.c:332,1
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_info.c:333,1
    - Dst: str_chomp
      Src: /src/lxc/src/lxc/tools/lxc_info.c:335,1
    - Dst: strcpy
      Src: /src/lxc/src/lxc/tools/lxc_info.c:336,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/tools/lxc_info.c:341,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - c
    - user
    - kernel
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 342
      start: 320
    functionDepth: 1
    functionLinenumber: 320
    functionLinenumberEnd: 342
    functionName: cg1_mem_usage
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - ARRAY_SIZE
    - strcpy
    - str_chomp
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: int
    signature: int cg1_mem_usage(struct lxc_container *c, char *user, char *kernel)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cg1_cpu_usage
      Src: /src/lxc/src/lxc/tools/lxc_info.c:351,1
    - Dst: cg2_cpu_usage
      Src: /src/lxc/src/lxc/tools/lxc_info.c:351,1
    - Dst: strtof
      Src: /src/lxc/src/lxc/tools/lxc_info.c:353,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:354,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:356,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:358,1
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_info.c:361,1
    - Dst: str_chomp
      Src: /src/lxc/src/lxc/tools/lxc_info.c:366,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_info.c:367,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_info.c:372,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/tools/lxc_info.c:374,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_info.c:374,1
    - Dst: str_size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_info.c:375,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:376,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:378,1
    - Dst: cg1_mem_usage
      Src: /src/lxc/src/lxc/tools/lxc_info.c:381,1
    - Dst: cg2_mem_usage
      Src: /src/lxc/src/lxc/tools/lxc_info.c:381,1
    - Dst: str_size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_info.c:382,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:383,1
    - Dst: str_size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_info.c:384,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:385,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:386,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 31
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 388
      start: 344
    functionDepth: 2
    functionLinenumber: 344
    functionLinenumberEnd: 388
    functionName: print_stats
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - strtof
    - str_size_humanize
    - cg1_cpu_usage
    - fflush
    - printf
    - strncmp
    - cg1_mem_usage
    - strlen
    - cg2_cpu_usage
    - cg2_mem_usage
    - memmove
    - str_chomp
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: void
    signature: void print_stats(struct lxc_container *c)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:393,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:396,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:398,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:400,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - k
    - value
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 401
      start: 390
    functionDepth: 0
    functionLinenumber: 390
    functionLinenumberEnd: 401
    functionName: print_info_msg_int
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - printf
    - fflush
    linkageType: ''
    returnType: void
    signature: void print_info_msg_int(const char *k, int value)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:406,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:409,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:411,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:413,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - k
    - value
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 414
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 414
    functionName: print_info_msg_str
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - printf
    - fflush
    linkageType: ''
    returnType: void
    signature: void print_info_msg_str(const char *k, const char *value)
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_info.c:421,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:423,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_info.c:429,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_info.c:431,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:432,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_info.c:433,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_info.c:437,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:439,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_info.c:440,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_info.c:445,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:446,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_info.c:447,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_info.c:451,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/lxc/tools/lxc_info.c:451,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:452,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_info.c:453,1
    - Dst: print_info_msg_str
      Src: /src/lxc/src/lxc/tools/lxc_info.c:459,1
    - Dst: print_info_msg_str
      Src: /src/lxc/src/lxc/tools/lxc_info.c:463,1
    - Dst: struct lxc_container*::state
      Src: /src/lxc/src/lxc/tools/lxc_info.c:463,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_info.c:465,1
    - Dst: struct lxc_container*::init_pid
      Src: /src/lxc/src/lxc/tools/lxc_info.c:469,1
    - Dst: print_info_msg_int
      Src: /src/lxc/src/lxc/tools/lxc_info.c:471,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:475,1
    - Dst: struct lxc_container*::get_ips
      Src: /src/lxc/src/lxc/tools/lxc_info.c:477,1
    - Dst: print_info_msg_str
      Src: /src/lxc/src/lxc/tools/lxc_info.c:484,1
    - Dst: print_stats
      Src: /src/lxc/src/lxc/tools/lxc_info.c:492,1
    - Dst: print_net_stats
      Src: /src/lxc/src/lxc/tools/lxc_info.c:493,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_info.c:497,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_info.c:500,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_info.c:502,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:503,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:506,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:508,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_info.c:511,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:514,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:516,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_info.c:518,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_info.c:520,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_info.c:523,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 80
    argCount: 2
    argNames:
    - name
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 525
      start: 416
    functionDepth: 6
    functionLinenumber: 416
    functionLinenumberEnd: 525
    functionName: print_info
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::load_config
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::is_running
    - struct lxc_container*::get_ips
    - print_stats
    - free
    - fprintf
    - print_info_msg_int
    - printf
    - strdup
    - struct lxc_container*::is_defined
    - print_net_stats
    - struct lxc_container*::state
    - struct lxc_container*::get_config_item
    - malloc
    - struct lxc_container*::may_control
    - fflush
    - print_info_msg_str
    - struct lxc_container*::init_pid
    - struct lxc_container*::clear_config
    linkageType: ''
    returnType: int
    signature: int print_info(const char *name, const char *lxcpath)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_info.c:533,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_info.c:534,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_info.c:545,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_info.c:546,1
    - Dst: print_info
      Src: /src/lxc/src/lxc/tools/lxc_info.c:549,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_info.c:552,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 553
      start: 528
    functionDepth: 7
    functionLinenumber: 528
    functionLinenumberEnd: 553
    functionName: lxc_info_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_info.c
    functionUses: 0
    functionsReached:
    - print_info
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_info_main(int argc, char *argv[])
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_safe_long
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:68,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 82
      start: 58
    functionDepth: 1
    functionLinenumber: 58
    functionLinenumberEnd: 82
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_stop.c
    functionUses: 0
    functionsReached:
    - lxc_safe_long
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:92,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:93,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:102,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:103,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:118,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:119,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:123,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:124,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:128,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:129,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:133,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:134,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:138,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:139,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:142,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:144,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:149,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:151,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:152,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:156,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:158,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:163,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:164,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:168,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:169,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:180,1
    - Dst: struct lxc_container*::reboot2
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:186,1
    - Dst: struct lxc_container*::shutdown
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:195,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:202,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:208,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_stop.c:209,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 95
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 210
      start: 85
    functionDepth: 6
    functionLinenumber: 85
    functionLinenumberEnd: 210
    functionName: lxc_stop_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_stop.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - struct lxc_container*::stop
    - struct lxc_container*::shutdown
    - struct lxc_container*::is_running
    - lxc_container_new
    - struct lxc_container*::reboot2
    - lxc_container_put
    - strdup
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_stop_main(int argc, char *argv[])
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/lxc/tools/lxc_device.c:46,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:48,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:49,1
    - Dst: switch_to_ns
      Src: /src/lxc/src/lxc/tools/lxc_device.c:55,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:56,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:57,1
    - Dst: netns_getifaddrs
      Src: /src/lxc/src/lxc/tools/lxc_device.c:61,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:62,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:63,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_device.c:68,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_device.c:68,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:69,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:72,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/tools/lxc_device.c:75,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 2
    argNames:
    - dev_name
    - pid
    argTypes:
    - char*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 79
      start: 44
    functionDepth: 2
    functionLinenumber: 44
    functionLinenumberEnd: 79
    functionName: is_interface
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_device.c
    functionUses: 0
    functionsReached:
    - wait_for_pid
    - switch_to_ns
    - ERROR
    - netns_getifaddrs
    - strncmp
    - _exit
    - strlen
    - fork
    - exit
    linkageType: ''
    returnType: bool
    signature: bool is_interface(const char *dev_name, pid_t pid)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: geteuid
      Src: /src/lxc/src/lxc/tools/lxc_device.c:89,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:90,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:91,1
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_device.c:94,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:95,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_device.c:104,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:105,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_device.c:107,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:109,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:110,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_device.c:114,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_device.c:116,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:117,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_device.c:121,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:123,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_device.c:128,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:129,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:134,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_device.c:146,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_device.c:146,1
    - Dst: is_interface
      Src: /src/lxc/src/lxc/tools/lxc_device.c:147,1
    - Dst: struct lxc_container*::attach_interface
      Src: /src/lxc/src/lxc/tools/lxc_device.c:148,1
    - Dst: struct lxc_container*::add_device_node
      Src: /src/lxc/src/lxc/tools/lxc_device.c:150,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:152,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_device.c:155,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_device.c:155,1
    - Dst: is_interface
      Src: /src/lxc/src/lxc/tools/lxc_device.c:156,1
    - Dst: struct lxc_container*::init_pid
      Src: /src/lxc/src/lxc/tools/lxc_device.c:156,1
    - Dst: struct lxc_container*::detach_interface
      Src: /src/lxc/src/lxc/tools/lxc_device.c:157,1
    - Dst: struct lxc_container*::remove_device_node
      Src: /src/lxc/src/lxc/tools/lxc_device.c:159,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:161,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_device.c:165,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:169,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_device.c:172,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_device.c:173,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 78
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 174
      start: 82
    functionDepth: 6
    functionLinenumber: 82
    functionLinenumberEnd: 174
    functionName: lxc_device_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_device.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::load_config
    - struct lxc_container*::remove_device_node
    - struct lxc_container*::is_running
    - lxc_container_new
    - lxc_container_put
    - struct lxc_container*::attach_interface
    - is_interface
    - struct lxc_container*::add_device_node
    - strdup
    - strlen
    - lxc_log_init
    - exit
    - ERROR
    - geteuid
    - struct lxc_container*::init_pid
    - struct lxc_container*::clear_config
    - struct lxc_container*::detach_interface
    - lxc_arguments_parse
    - strncmp
    linkageType: ''
    returnType: int
    signature: int lxc_device_main(int argc, char *argv[])
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:87,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 102
      start: 82
    functionDepth: 1
    functionLinenumber: 82
    functionLinenumberEnd: 102
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - lxc_safe_int
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: tcsetattr
      Src: /src/lxc/src/lxc/tools/lxc_top.c:141,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:142,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 143
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 143
    functionName: stdin_tios_restore
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - tcsetattr
    - fprintf
    linkageType: ''
    returnType: void
    signature: void stdin_tios_restore(void)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: isatty
      Src: /src/lxc/src/lxc/tools/lxc_top.c:149,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:150,1
    - Dst: tcgetattr
      Src: /src/lxc/src/lxc/tools/lxc_top.c:154,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:155,1
    - Dst: tcsetattr
      Src: /src/lxc/src/lxc/tools/lxc_top.c:168,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:169,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 174
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 174
    functionName: stdin_tios_setup
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - isatty
    - tcgetattr
    - tcsetattr
    - fprintf
    linkageType: ''
    returnType: int
    signature: int stdin_tios_setup(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: isatty
      Src: /src/lxc/src/lxc/tools/lxc_top.c:180,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/tools/lxc_top.c:180,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 184
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 184
    functionName: stdin_tios_rows
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - isatty
    - ioctl
    linkageType: ''
    returnType: int
    signature: int stdin_tios_rows(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_top.c:188,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - sig
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 189
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 189
    functionName: sig_handler
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - exit
    linkageType: ''
    returnType: void
    signature: void sig_handler(int sig)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:196,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:201,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:205,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:208,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:212,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 3
    argNames:
    - val
    - buf
    - bufsz
    argTypes:
    - unsigned long long
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 213
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 213
    functionName: size_humanize
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 3
    functionsReached:
    - fprintf
    - snprintf
    linkageType: ''
    returnType: void
    signature: void size_humanize(unsigned long long val, char *buf, size_t bufsz)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_top.c:221,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_top.c:226,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - c
    - item
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 228
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 228
    functionName: stat_get_int
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - strtoull
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: uint64_t
    signature: uint64_t stat_get_int(struct lxc_container *c, const char *item)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_top.c:239,1
    - Dst: lxc_string_split_and_trim
      Src: /src/lxc/src/lxc/tools/lxc_top.c:244,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_top.c:248,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_top.c:250,1
    - Dst: lxc_string_split_and_trim
      Src: /src/lxc/src/lxc/tools/lxc_top.c:251,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_top.c:257,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_top.c:262,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_top.c:268,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 33
    argCount: 4
    argNames:
    - c
    - item
    - match
    - column
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 272
      start: 230
    functionDepth: 2
    functionLinenumber: 230
    functionLinenumberEnd: 272
    functionName: stat_match_get_int
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - lxc_string_split_and_trim
    - lxc_free_array
    - strlen
    - strtoull
    - strncmp
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: uint64_t
    signature: "uint64_t stat_match_get_int(struct lxc_container *c, const char *item,\n\t\t\t\t
      \  const char *match, int column)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_top.c:299,1
    - Dst: lxc_string_split_and_trim
      Src: /src/lxc/src/lxc/tools/lxc_top.c:304,1
    - Dst: memset
      Src: /src/lxc/src/lxc/tools/lxc_top.c:308,1
    - Dst: lxc_string_split_and_trim
      Src: /src/lxc/src/lxc/tools/lxc_top.c:311,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_top.c:315,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_top.c:315,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_top.c:316,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_top.c:317,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_top.c:317,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_top.c:318,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_top.c:320,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_top.c:320,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_top.c:321,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_top.c:323,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_top.c:327,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 27
    argCount: 3
    argNames:
    - c
    - item
    - stats
    argTypes:
    - struct lxc_container*
    - char*
    - struct blkio_stats*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 329
      start: 292
    functionDepth: 2
    functionLinenumber: 292
    functionLinenumberEnd: 329
    functionName: cg1_get_blk_stats
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - lxc_string_split_and_trim
    - lxc_free_array
    - strlen
    - memset
    - strtoull
    - strncmp
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: int
    signature: "int cg1_get_blk_stats(struct lxc_container *c, const char *item,\n\t\t\t
      \     struct blkio_stats *stats)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_top.c:338,1
    - Dst: lxc_string_split_and_trim
      Src: /src/lxc/src/lxc/tools/lxc_top.c:343,1
    - Dst: memset
      Src: /src/lxc/src/lxc/tools/lxc_top.c:347,1
    - Dst: lxc_string_split_and_trim
      Src: /src/lxc/src/lxc/tools/lxc_top.c:350,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_top.c:355,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_top.c:356,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_top.c:357,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_top.c:358,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_top.c:362,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_top.c:367,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 30
    argCount: 3
    argNames:
    - c
    - item
    - stats
    argTypes:
    - struct lxc_container*
    - char*
    - struct blkio_stats*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 369
      start: 331
    functionDepth: 2
    functionLinenumber: 331
    functionLinenumberEnd: 369
    functionName: cg2_get_blk_stats
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - lxc_string_split_and_trim
    - lxc_free_array
    - memset
    - strtoull
    - strncmp
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: int
    signature: "int cg2_get_blk_stats(struct lxc_container *c, const char *item,\n\t\t\t
      \     struct blkio_stats *stats)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:373,1
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:374,1
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:375,1
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:376,1
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:377,1
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:378,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 2
    argNames:
    - c
    - mem
    argTypes:
    - struct lxc_container*
    - struct mem_stats*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 380
      start: 371
    functionDepth: 1
    functionLinenumber: 371
    functionLinenumberEnd: 380
    functionName: cg1_mem_stats
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - stat_get_int
    linkageType: ''
    returnType: int
    signature: int cg1_mem_stats(struct lxc_container *c, struct mem_stats *mem)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:384,1
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:385,1
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:386,1
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:387,1
    - Dst: stat_match_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:388,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 2
    argNames:
    - c
    - mem
    argTypes:
    - struct lxc_container*
    - struct mem_stats*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 392
      start: 382
    functionDepth: 3
    functionLinenumber: 382
    functionLinenumberEnd: 392
    functionName: cg2_mem_stats
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - stat_match_get_int
    - stat_get_int
    linkageType: ''
    returnType: int
    signature: int cg2_mem_stats(struct lxc_container *c, struct mem_stats *mem)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:396,1
    - Dst: stat_match_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:397,1
    - Dst: stat_match_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:398,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 2
    argNames:
    - c
    - cpu
    argTypes:
    - struct lxc_container*
    - struct cpu_stats*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 400
      start: 394
    functionDepth: 3
    functionLinenumber: 394
    functionLinenumberEnd: 400
    functionName: cg1_cpu_stats
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - stat_match_get_int
    - stat_get_int
    linkageType: ''
    returnType: int
    signature: int cg1_cpu_stats(struct lxc_container *c, struct cpu_stats *cpu)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat_match_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:405,1
    - Dst: stat_match_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:407,1
    - Dst: stat_match_get_int
      Src: /src/lxc/src/lxc/tools/lxc_top.c:408,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 2
    argNames:
    - c
    - cpu
    argTypes:
    - struct lxc_container*
    - struct cpu_stats*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 410
      start: 402
    functionDepth: 3
    functionLinenumber: 402
    functionLinenumberEnd: 410
    functionName: cg2_cpu_stats
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - stat_match_get_int
    linkageType: ''
    returnType: int
    signature: int cg2_cpu_stats(struct lxc_container *c, struct cpu_stats *cpu)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cg1_mem_stats
      Src: /src/lxc/src/lxc/tools/lxc_top.c:415,1
    - Dst: cg2_mem_stats
      Src: /src/lxc/src/lxc/tools/lxc_top.c:416,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:417,1
    - Dst: cg1_cpu_stats
      Src: /src/lxc/src/lxc/tools/lxc_top.c:420,1
    - Dst: cg2_cpu_stats
      Src: /src/lxc/src/lxc/tools/lxc_top.c:421,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:422,1
    - Dst: cg1_get_blk_stats
      Src: /src/lxc/src/lxc/tools/lxc_top.c:426,1
    - Dst: cg2_get_blk_stats
      Src: /src/lxc/src/lxc/tools/lxc_top.c:427,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:428,1
    - Dst: cg1_get_blk_stats
      Src: /src/lxc/src/lxc/tools/lxc_top.c:432,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 33
    argCount: 3
    argNames:
    - c
    - ct
    - total
    argTypes:
    - struct lxc_container*
    - struct container_stats*
    - struct stats*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 452
      start: 412
    functionDepth: 4
    functionLinenumber: 412
    functionLinenumberEnd: 452
    functionName: stats_get
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - cg1_mem_stats
    - cg2_mem_stats
    - cg1_cpu_stats
    - cg2_cpu_stats
    - fprintf
    - cg2_get_blk_stats
    - cg1_get_blk_stats
    linkageType: ''
    returnType: void
    signature: void stats_get(struct lxc_container *c, struct container_stats *ct,
      struct stats *total)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:457,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:460,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:463,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:464,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:466,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:469,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:472,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:474,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:475,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - stats
    argTypes:
    - struct stats*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 476
      start: 454
    functionDepth: 0
    functionLinenumber: 454
    functionLinenumberEnd: 476
    functionName: stats_print_header
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - printf
    linkageType: ''
    returnType: void
    signature: void stats_print_header(struct stats *stats)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_top.c:493,1
    - Dst: size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_top.c:494,1
    - Dst: size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_top.c:495,1
    - Dst: size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_top.c:496,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:498,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:500,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:502,1
    - Dst: size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_top.c:511,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:512,1
    - Dst: size_humanize
      Src: /src/lxc/src/lxc/tools/lxc_top.c:515,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:516,1
    - Dst: gettimeofday
      Src: /src/lxc/src/lxc/tools/lxc_top.c:519,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:521,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 3
    argNames:
    - name
    - stats
    - total
    argTypes:
    - char*
    - struct stats*
    - struct stats*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 530
      start: 478
    functionDepth: 0
    functionLinenumber: 478
    functionLinenumberEnd: 530
    functionName: stats_print
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - printf
    - size_humanize
    - gettimeofday
    - snprintf
    linkageType: ''
    returnType: void
    signature: "void stats_print(const char *name, const struct stats *stats,\n\t\t\tconst
      struct stats *total)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_top.c:538,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_top.c:538,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_top.c:540,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_top.c:540,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - sct1
    - sct2
    argTypes:
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 541
      start: 532
    functionDepth: 0
    functionLinenumber: 532
    functionLinenumberEnd: 541
    functionName: cmp_name
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - strlen
    - strncmp
    linkageType: ''
    returnType: int
    signature: int cmp_name(const void *sct1, const void *sct2)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - sct1
    - sct2
    argTypes:
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 552
      start: 543
    functionDepth: 0
    functionLinenumber: 543
    functionLinenumberEnd: 552
    functionName: cmp_cpuuse
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int cmp_cpuuse(const void *sct1, const void *sct2)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - sct1
    - sct2
    argTypes:
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 563
      start: 554
    functionDepth: 0
    functionLinenumber: 554
    functionLinenumberEnd: 563
    functionName: cmp_blkio
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int cmp_blkio(const void *sct1, const void *sct2)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - sct1
    - sct2
    argTypes:
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 574
      start: 565
    functionDepth: 0
    functionLinenumber: 565
    functionLinenumberEnd: 574
    functionName: cmp_memory
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int cmp_memory(const void *sct1, const void *sct2)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - sct1
    - sct2
    argTypes:
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 585
      start: 576
    functionDepth: 0
    functionLinenumber: 576
    functionLinenumberEnd: 585
    functionName: cmp_memorysw
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int cmp_memorysw(const void *sct1, const void *sct2)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - sct1
    - sct2
    argTypes:
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 596
      start: 587
    functionDepth: 0
    functionLinenumber: 587
    functionLinenumberEnd: 596
    functionName: cmp_kmemory
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int cmp_kmemory(const void *sct1, const void *sct2)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: qsort
      Src: /src/lxc/src/lxc/tools/lxc_top.c:612,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - active
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 613
      start: 598
    functionDepth: 0
    functionLinenumber: 598
    functionLinenumberEnd: 613
    functionName: ct_sort
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - qsort
    linkageType: ''
    returnType: void
    signature: void ct_sort(int active)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_top.c:621,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_top.c:625,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 628
      start: 615
    functionDepth: 3
    functionLinenumber: 615
    functionLinenumberEnd: 628
    functionName: ct_free
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - lxc_container_put
    - free
    linkageType: ''
    returnType: void
    signature: void ct_free(void)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ct_free
      Src: /src/lxc/src/lxc/tools/lxc_top.c:635,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/tools/lxc_top.c:637,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:639,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_top.c:640,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_top.c:644,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:646,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_top.c:647,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - active_cnt
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 653
      start: 630
    functionDepth: 4
    functionLinenumber: 630
    functionLinenumberEnd: 653
    functionName: ct_realloc
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - realloc
    - malloc
    - fprintf
    - ct_free
    - exit
    linkageType: ''
    returnType: void
    signature: void ct_realloc(int active_cnt)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_top.c:663,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 672
      start: 655
    functionDepth: 1
    functionLinenumber: 655
    functionLinenumberEnd: 672
    functionName: stdin_handler
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - lxc_read_nointr
    linkageType: ''
    returnType: int
    signature: "int stdin_handler(int fd, uint32_t events, void *data,\n\t\t\t struct
      lxc_async_descr *descr)"
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_top.c:683,1
    - Dst: stdin_tios_rows
      Src: /src/lxc/src/lxc/tools/lxc_top.c:686,1
    - Dst: stdin_tios_setup
      Src: /src/lxc/src/lxc/tools/lxc_top.c:687,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:688,1
    - Dst: atexit
      Src: /src/lxc/src/lxc/tools/lxc_top.c:693,1
    - Dst: signal
      Src: /src/lxc/src/lxc/tools/lxc_top.c:694,1
    - Dst: signal
      Src: /src/lxc/src/lxc/tools/lxc_top.c:695,1
    - Dst: sysconf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:697,1
    - Dst: lxc_mainloop_open
      Src: /src/lxc/src/lxc/tools/lxc_top.c:702,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:703,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/tools/lxc_top.c:707,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:712,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:721,1
    - Dst: list_active_containers
      Src: /src/lxc/src/lxc/tools/lxc_top.c:729,1
    - Dst: ct_realloc
      Src: /src/lxc/src/lxc/tools/lxc_top.c:730,1
    - Dst: memset
      Src: /src/lxc/src/lxc/tools/lxc_top.c:732,1
    - Dst: stats_get
      Src: /src/lxc/src/lxc/tools/lxc_top.c:735,1
    - Dst: ct_sort
      Src: /src/lxc/src/lxc/tools/lxc_top.c:737,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:740,1
    - Dst: stats_print_header
      Src: /src/lxc/src/lxc/tools/lxc_top.c:741,1
    - Dst: stats_print
      Src: /src/lxc/src/lxc/tools/lxc_top.c:745,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:746,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/tools/lxc_top.c:750,1
    - Dst: stats_print
      Src: /src/lxc/src/lxc/tools/lxc_top.c:751,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_top.c:753,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_top.c:756,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/tools/lxc_top.c:763,1
    - Dst: sleep
      Src: /src/lxc/src/lxc/tools/lxc_top.c:784,1
    - Dst: lxc_mainloop_close
      Src: /src/lxc/src/lxc/tools/lxc_top.c:791,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_top.c:794,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 89
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 795
      start: 675
    functionDepth: 7
    functionLinenumber: 675
    functionLinenumberEnd: 795
    functionName: lxc_top_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_top.c
    functionUses: 0
    functionsReached:
    - stdin_tios_rows
    - lxc_mainloop_close
    - lxc_container_put
    - lxc_mainloop_open
    - atexit
    - fprintf
    - printf
    - sleep
    - signal
    - exit
    - sysconf
    - sprintf
    - fflush
    - list_active_containers
    - stats_print_header
    - stats_print
    - lxc_mainloop_add_handler
    - stdin_tios_setup
    - lxc_mainloop
    - ct_sort
    - stats_get
    - ct_realloc
    - memset
    - lxc_arguments_parse
    linkageType: ''
    returnType: int
    signature: int lxc_top_main(int argc, char *argv[])
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:46,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - args
    argTypes:
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 51
      start: 43
    functionDepth: 1
    functionLinenumber: 43
    functionLinenumberEnd: 51
    functionName: my_checker
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_cgroup.c
    functionUses: 0
    functionsReached:
    - ERROR
    linkageType: ''
    returnType: int
    signature: int my_checker(const struct lxc_arguments *args)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:60,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:61,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:70,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:71,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:75,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:77,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:80,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:82,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:83,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:84,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:85,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:88,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:90,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:91,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:92,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:96,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:97,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:98,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:99,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:102,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:103,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:104,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:105,1
    - Dst: struct lxc_container*::set_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:111,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:112,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:114,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:115,1
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:121,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:123,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:125,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:126,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:129,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:132,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_cgroup.c:134,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 57
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 135
      start: 54
    functionDepth: 6
    functionLinenumber: 54
    functionLinenumberEnd: 135
    functionName: lxc_cgroup_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_cgroup.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - struct lxc_container*::clear_config
    - ERROR
    - struct lxc_container*::load_config
    - printf
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::is_running
    - strdup
    - lxc_arguments_parse
    - lxc_log_init
    - struct lxc_container*::set_cgroup_item
    - exit
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: int
    signature: int lxc_cgroup_main(int argc, char *argv[])
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: isascii
      Src: /src/lxc/src/lxc/tools/arguments.c:31,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 32
    argCount: 3
    argNames:
    - a_options
    - a_shortopts
    - a_size
    argTypes:
    - struct option*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 66
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 66
    functionName: build_shortopts
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.c
    functionUses: 0
    functionsReached:
    - isascii
    linkageType: ''
    returnType: int
    signature: "int build_shortopts(const struct option *a_options, char *a_shortopts,\n\t\t\t
      \  size_t a_size)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:75,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:78,1
    - Dst: isprint
      Src: /src/lxc/src/lxc/tools/arguments.c:80,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:81,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:83,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/arguments.c:90,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/arguments.c:92,1
    - Dst: toupper
      Src: /src/lxc/src/lxc/tools/arguments.c:95,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:98,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:100,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/arguments.c:102,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:105,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:108,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:111,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/arguments.c:112,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 2
    argNames:
    - longopts
    - a_args
    argTypes:
    - struct option[]
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 113
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 113
    functionName: print_usage_exit
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.c
    functionUses: 0
    functionsReached:
    - isprint
    - fprintf
    - free
    - toupper
    - strdup
    - exit
    linkageType: ''
    returnType: __noreturn
    signature: "__noreturn print_usage_exit(const struct option longopts[],\n\t\t\t\t\t
      \ const struct lxc_arguments *a_args)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/arguments.c:117,1
    - Dst: lxc_get_version
      Src: /src/lxc/src/lxc/tools/arguments.c:117,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/arguments.c:118,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 119
      start: 115
    functionDepth: 1
    functionLinenumber: 115
    functionLinenumberEnd: 119
    functionName: print_version_exit
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.c
    functionUses: 0
    functionsReached:
    - lxc_get_version
    - printf
    - exit
    linkageType: ''
    returnType: __noreturn
    signature: __noreturn print_version_exit(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:124,1
    - Dst: struct lxc_arguments*::helpfn
      Src: /src/lxc/src/lxc/tools/arguments.c:143,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/arguments.c:145,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - args
    - code
    argTypes:
    - struct lxc_arguments*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 146
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 146
    functionName: print_help_exit
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.c
    functionUses: 0
    functionsReached:
    - struct lxc_arguments*::helpfn
    - exit
    - fprintf
    linkageType: ''
    returnType: __noreturn
    signature: "__noreturn print_help_exit(const struct lxc_arguments *args,\n\t\t\t\t\t
      int code)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/arguments.c:153,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/arguments.c:156,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/tools/arguments.c:159,1
    - Dst: lxc_error
      Src: /src/lxc/src/lxc/tools/arguments.c:162,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 2
    argNames:
    - args
    - lxcpath
    argTypes:
    - struct lxc_arguments*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 168
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 168
    functionName: lxc_arguments_lxcpath_add
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.c
    functionUses: 0
    functionsReached:
    - realloc
    - lxc_error
    - exit
    - fprintf
    linkageType: ''
    returnType: int
    signature: "int lxc_arguments_lxcpath_add(struct lxc_arguments *args,\n\t\t\t\t
      \    const char *lxcpath)"
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: build_shortopts
      Src: /src/lxc/src/lxc/tools/arguments.c:177,1
    - Dst: lxc_error
      Src: /src/lxc/src/lxc/tools/arguments.c:179,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/tools/arguments.c:180,1
    - Dst: getopt_long
      Src: /src/lxc/src/lxc/tools/arguments.c:188,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/arguments.c:204,1
    - Dst: remove_trailing_slashes
      Src: /src/lxc/src/lxc/tools/arguments.c:214,1
    - Dst: lxc_arguments_lxcpath_add
      Src: /src/lxc/src/lxc/tools/arguments.c:215,1
    - Dst: print_usage_exit
      Src: /src/lxc/src/lxc/tools/arguments.c:220,1
    - Dst: print_version_exit
      Src: /src/lxc/src/lxc/tools/arguments.c:222,1
    - Dst: print_help_exit
      Src: /src/lxc/src/lxc/tools/arguments.c:224,1
    - Dst: print_help_exit
      Src: /src/lxc/src/lxc/tools/arguments.c:226,1
    - Dst: struct lxc_arguments*::parser
      Src: /src/lxc/src/lxc/tools/arguments.c:229,1
    - Dst: lxc_arguments_lxcpath_add
      Src: /src/lxc/src/lxc/tools/arguments.c:244,1
    - Dst: lxc_get_global_config_item
      Src: /src/lxc/src/lxc/tools/arguments.c:245,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/arguments.c:251,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/arguments.c:251,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/arguments.c:252,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/arguments.c:252,1
    - Dst: lxc_error
      Src: /src/lxc/src/lxc/tools/arguments.c:261,1
    - Dst: struct lxc_arguments*::checker
      Src: /src/lxc/src/lxc/tools/arguments.c:267,1
    - Dst: lxc_error
      Src: /src/lxc/src/lxc/tools/arguments.c:271,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 78
    argCount: 3
    argNames:
    - args
    - argc
    - argv
    argTypes:
    - struct lxc_arguments*
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 274
      start: 170
    functionDepth: 2
    functionLinenumber: 170
    functionLinenumberEnd: 274
    functionName: lxc_arguments_parse
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.c
    functionUses: 10
    functionsReached:
    - lxc_error
    - lxc_get_global_config_item
    - strerror
    - lxc_arguments_lxcpath_add
    - print_version_exit
    - print_help_exit
    - struct lxc_arguments*::parser
    - remove_trailing_slashes
    - strncmp
    - build_shortopts
    - print_usage_exit
    - struct lxc_arguments*::checker
    - strlen
    - strcmp
    - getopt_long
    linkageType: ''
    returnType: int
    signature: "int lxc_arguments_parse(struct lxc_arguments *args, int argc,\n\t\t\t
      \      char *const argv[])"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/lxc/src/lxc/tools/arguments.c:282,1
    - Dst: lxc_error
      Src: /src/lxc/src/lxc/tools/arguments.c:284,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/tools/arguments.c:285,1
    - Dst: lxc_error
      Src: /src/lxc/src/lxc/tools/arguments.c:290,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 2
    argNames:
    - args
    - str
    argTypes:
    - struct lxc_arguments*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 295
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 295
    functionName: lxc_arguments_str_to_int
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - strerror
    - strtol
    linkageType: ''
    returnType: int
    signature: int lxc_arguments_str_to_int(struct lxc_arguments *args, const char
      *str)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/tools/arguments.c:319,1
    - Dst: lxc_error
      Src: /src/lxc/src/lxc/tools/arguments.c:320,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 2
    argNames:
    - args
    - c
    argTypes:
    - struct lxc_arguments*
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 326
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 326
    functionName: lxc_setup_shared_ns
    functionSourceFile: /src/lxc/src/lxc/tools/arguments.c
    functionUses: 0
    functionsReached:
    - lxc_error
    - struct lxc_container*::set_config_item
    linkageType: ''
    returnType: bool
    signature: bool lxc_setup_shared_ns(struct lxc_arguments *args, struct lxc_container
      *c)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:73,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:74,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:85,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:86,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:89,1
    - Dst: access
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:90,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:91,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:92,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:96,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:98,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:99,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:103,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:105,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:106,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:107,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:108,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:111,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:113,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:114,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:115,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:120,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:121,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:122,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:125,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:126,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:127,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:128,1
    - Dst: do_snapshot_task
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:131,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:133,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:136,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:138,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 53
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 139
      start: 67
    functionDepth: 6
    functionLinenumber: 67
    functionLinenumberEnd: 139
    functionName: lxc_snapshot_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_snapshot.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - access
    - geteuid
    - do_snapshot_task
    - lxc_container_put
    - lxc_container_new
    - strdup
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_snapshot_main(int argc, char *argv[])
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: do_snapshot_destroy
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:147,1
    - Dst: do_snapshot_list
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:150,1
    - Dst: do_snapshot_restore
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:153,1
    - Dst: do_snapshot
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:156,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 2
    argNames:
    - c
    - task
    argTypes:
    - struct lxc_container*
    - enum task
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 164
      start: 141
    functionDepth: 1
    functionLinenumber: 141
    functionLinenumberEnd: 164
    functionName: do_snapshot_task
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_snapshot.c
    functionUses: 1
    functionsReached:
    - do_snapshot_restore
    - do_snapshot
    - do_snapshot_destroy
    - do_snapshot_list
    linkageType: ''
    returnType: int
    signature: int do_snapshot_task(struct lxc_container *c, enum task task)
  - BBCount: 7
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 192
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 192
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_snapshot.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::snapshot
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:198,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:200,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - c
    - commentfile
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 205
      start: 194
    functionDepth: 1
    functionLinenumber: 194
    functionLinenumberEnd: 205
    functionName: do_snapshot
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_snapshot.c
    functionUses: 1
    functionsReached:
    - struct lxc_container*::snapshot
    - ERROR
    linkageType: ''
    returnType: int
    signature: int do_snapshot(struct lxc_container *c, char *commentfile)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:211,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:211,1
    - Dst: struct lxc_container*::snapshot_destroy_all
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:212,1
    - Dst: struct lxc_container*::snapshot_destroy
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:214,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:217,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - c
    - snapname
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 222
      start: 207
    functionDepth: 1
    functionLinenumber: 207
    functionLinenumberEnd: 222
    functionName: do_snapshot_destroy
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_snapshot.c
    functionUses: 3
    functionsReached:
    - ERROR
    - struct lxc_container*::snapshot_destroy
    - struct lxc_container*::snapshot_destroy_all
    - strlen
    - strncmp
    linkageType: ''
    returnType: int
    signature: int do_snapshot_destroy(struct lxc_container *c, char *snapname)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::snapshot_list
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:229,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:231,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:236,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:241,1
    - Dst: print_file
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:244,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:246,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:249,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 2
    argNames:
    - c
    - print_comments
    argTypes:
    - struct lxc_container*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 252
      start: 224
    functionDepth: 1
    functionLinenumber: 224
    functionLinenumberEnd: 252
    functionName: do_snapshot_list
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_snapshot.c
    functionUses: 1
    functionsReached:
    - ERROR
    - print_file
    - printf
    - struct lxc_container*::snapshot_list
    - free
    linkageType: ''
    returnType: int
    signature: int do_snapshot_list(struct lxc_container *c, int print_comments)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:265,1
    - Dst: struct lxc_container*::snapshot_restore
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:272,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:274,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 2
    argNames:
    - c
    - args
    argTypes:
    - struct lxc_container*
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 279
      start: 254
    functionDepth: 1
    functionLinenumber: 254
    functionLinenumberEnd: 279
    functionName: do_snapshot_restore
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_snapshot.c
    functionUses: 1
    functionsReached:
    - ERROR
    - struct lxc_container*::snapshot_restore
    linkageType: ''
    returnType: int
    signature: "int do_snapshot_restore(struct lxc_container *c,\n\t\t\t       struct
      lxc_arguments *args)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:290,1
    - Dst: getline
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:294,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:295,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:297,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/tools/lxc_snapshot.c:298,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 299
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 299
    functionName: print_file
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_snapshot.c
    functionUses: 1
    functionsReached:
    - getline
    - printf
    - fopen
    - fclose
    - free
    linkageType: ''
    returnType: void
    signature: void print_file(char *path)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:204,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:205,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:216,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:217,1
    - Dst: lxc_string_split_and_trim
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:238,1
    - Dst: lxc_array_len
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:239,1
    - Dst: ls_get
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:248,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:251,1
    - Dst: ls_field_width
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:255,1
    - Dst: ls_print_table
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:258,1
    - Dst: ls_print_fancy_format
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:260,1
    - Dst: ls_get_term_width
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:264,1
    - Dst: ls_print_names
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:265,1
    - Dst: ls_free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:271,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:272,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:274,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 275
      start: 194
    functionDepth: 6
    functionLinenumber: 194
    functionLinenumberEnd: 275
    functionName: lxc_ls_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 0
    functionsReached:
    - lxc_array_len
    - ls_field_width
    - ls_get_term_width
    - ls_get
    - lxc_string_split_and_trim
    - ls_print_table
    - ls_print_fancy_format
    - ls_print_names
    - lxc_free_array
    - ls_free
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_ls_main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:283,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:284,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:285,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:286,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:287,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:288,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:290,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 2
    argNames:
    - l
    - size
    argTypes:
    - struct ls*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 291
      start: 277
    functionDepth: 0
    functionLinenumber: 277
    functionLinenumberEnd: 291
    functionName: ls_free
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void ls_free(struct ls *l, size_t size)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_running_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:299,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:301,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:305,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:309,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:312,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 3
    argNames:
    - c
    - item
    - running
    argTypes:
    - struct lxc_container*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 313
      start: 293
    functionDepth: 1
    functionLinenumber: 293
    functionLinenumberEnd: 313
    functionName: ls_get_config_item
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 0
    functionsReached:
    - malloc
    - struct lxc_container*::get_running_config_item
    - move_ptr
    - struct lxc_container*::get_config_item
    linkageType: ''
    returnType: char
    signature: char *ls_get_config_item(struct lxc_container *c, const char *item,
      bool running)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:320,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:322,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - arr
    - size
    argTypes:
    - char**
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 323
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 323
    functionName: ls_free_arr
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void ls_free_arr(char **arr, size_t size)
  - BBCount: 39
    BranchProfiles: []
    Callsites:
    - Dst: lxc_append_paths
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:348,1
    - Dst: dir_exists
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:352,1
    - Dst: list_active_containers
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:359,1
    - Dst: list_all_containers
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:361,1
    - Dst: regcomp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:381,1
    - Dst: regexec
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:387,1
    - Dst: regfree
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:388,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:394,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:400,1
    - Dst: struct lxc_container*::state
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:405,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:409,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:412,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:415,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:418,1
    - Dst: ls_get_groups
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:420,1
    - Dst: ls_has_all_grps
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:421,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:422,1
    - Dst: ls_new
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:427,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:429,1
    - Dst: lxc_append_paths
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:443,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:446,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:455,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:458,1
    - Dst: ls_get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:462,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:465,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:466,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:468,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:471,1
    - Dst: struct lxc_container*::init_pid
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:476,1
    - Dst: ls_get_interface
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:480,1
    - Dst: ls_get_ips
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:482,1
    - Dst: ls_get_ips
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:484,1
    - Dst: ls_get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:486,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:488,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:490,1
    - Dst: ls_get_swap
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:493,1
    - Dst: struct lxc_container*::get_running_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:495,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:497,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:499,1
    - Dst: socketpair
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:510,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:529,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:531,1
    - Dst: ls_deserialize
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:535,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:539,1
    - Dst: shutdown
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:543,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:544,1
    - Dst: ls_get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:552,1
    - Dst: lxc_append_paths
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:561,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:562,1
    - Dst: ls_remove_lock
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:569,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:570,1
    - Dst: ls_get
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:574,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:575,1
    - Dst: ls_remove_lock
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:578,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:582,1
    - Dst: ls_free_arr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:587,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:588,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:593,1
    CyclomaticComplexity: 75
    EdgeCount: 75
    ICount: 164
    argCount: 10
    argNames:
    - m
    - size
    - args
    - basepath
    - parent
    - lvl
    - lockpath
    - len_lockpath
    - grps_must
    - grps_must_len
    argTypes:
    - struct ls**
    - size_t*
    - struct lxc_arguments*
    - char*
    - char*
    - unsigned int
    - char**
    - size_t
    - char**
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 596
      start: 325
    functionDepth: 8
    functionLinenumber: 325
    functionLinenumberEnd: 596
    functionName: ls_get
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 2
    functionsReached:
    - list_all_containers
    - dir_exists
    - ls_new
    - struct lxc_container*::is_running
    - lxc_container_new
    - lxc_container_put
    - ls_free_arr
    - ls_get_ips
    - free
    - ls_get_groups
    - ls_get_config_item
    - struct lxc_container*::get_running_config_item
    - printf
    - strdup
    - struct lxc_container*::is_defined
    - ls_has_all_grps
    - struct lxc_container*::state
    - ls_get_cgroup_item
    - struct lxc_container*::get_config_item
    - shutdown
    - lxc_append_paths
    - struct lxc_container*::may_control
    - regexec
    - ls_get
    - struct lxc_container*::attach
    - ls_deserialize
    - list_active_containers
    - regcomp
    - strtoull
    - struct lxc_container*::init_pid
    - regfree
    - socketpair
    - strcmp
    - wait_for_pid
    - lxc_safe_uint
    - ls_get_interface
    - ls_remove_lock
    - ls_get_swap
    - close
    linkageType: ''
    returnType: int
    signature: "int ls_get(struct ls **m, size_t *size, const struct lxc_arguments
      *args,\n\t\t  const char *basepath, const char *parent, unsigned int lvl, char
      **lockpath,\n\t\t  size_t len_lockpath, char **grps_must, size_t grps_must_len)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:602,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:606,1
    - Dst: struct lxc_container*::get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:610,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:613,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - c
    - item
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 614
      start: 598
    functionDepth: 1
    functionLinenumber: 598
    functionLinenumberEnd: 614
    functionName: ls_get_cgroup_item
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - malloc
    - move_ptr
    - struct lxc_container*::get_cgroup_item
    linkageType: ''
    returnType: char
    signature: char *ls_get_cgroup_item(struct lxc_container *c, const char *item)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_running_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:622,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:624,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:627,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:631,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:638,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:641,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:642,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:646,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 2
    argNames:
    - c
    - running
    argTypes:
    - struct lxc_container*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 647
      start: 616
    functionDepth: 1
    functionLinenumber: 616
    functionLinenumberEnd: 647
    functionName: ls_get_groups
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - malloc
    - strrchr
    - struct lxc_container*::get_running_config_item
    - move_ptr
    - lxc_string_replace
    - free
    - struct lxc_container*::get_config_item
    linkageType: ''
    returnType: char
    signature: char *ls_get_groups(struct lxc_container *c, bool running)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_ips
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:654,1
    - Dst: lxc_string_join
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:656,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:658,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - c
    - inet
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 661
      start: 649
    functionDepth: 2
    functionLinenumber: 649
    functionLinenumberEnd: 661
    functionName: ls_get_ips
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - lxc_free_array
    - lxc_string_join
    - struct lxc_container*::get_ips
    linkageType: ''
    returnType: char
    signature: char *ls_get_ips(struct lxc_container *c, const char *inet)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_interfaces
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:665,1
    - Dst: lxc_string_join
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:669,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:671,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 674
      start: 663
    functionDepth: 2
    functionLinenumber: 663
    functionLinenumberEnd: 674
    functionName: ls_get_interface
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - struct lxc_container*::get_interfaces
    - lxc_free_array
    - lxc_string_join
    linkageType: ''
    returnType: char
    signature: char *ls_get_interface(struct lxc_container *c)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ls_get_cgroup_item
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:689,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:693,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:701,1
    - Dst: strtoull
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:707,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 711
      start: 683
    functionDepth: 2
    functionLinenumber: 683
    functionLinenumberEnd: 711
    functionName: ls_get_swap
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - strtoull
    - strchr
    - ls_get_cgroup_item
    - strstr
    linkageType: ''
    returnType: double
    signature: double ls_get_swap(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ioctl
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:717,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:718,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:719,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 724
      start: 713
    functionDepth: 0
    functionLinenumber: 713
    functionLinenumberEnd: 724
    functionName: ls_get_term_width
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - ioctl
    linkageType: ''
    returnType: unsigned int
    signature: unsigned int ls_get_term_width(void)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: lxc_string_split_and_trim
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:735,1
    - Dst: lxc_array_len
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:736,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:745,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:755,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 21
    argCount: 3
    argNames:
    - has
    - must
    - must_len
    argTypes:
    - char*
    - char**
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 758
      start: 726
    functionDepth: 2
    functionLinenumber: 726
    functionLinenumberEnd: 758
    functionName: ls_has_all_grps
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - lxc_array_len
    - lxc_free_array
    - lxc_string_split_and_trim
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool ls_has_all_grps(const char *has, char **must, size_t must_len)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:764,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 2
    argNames:
    - ls
    - size
    argTypes:
    - struct ls**
    - size_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 775
      start: 760
    functionDepth: 0
    functionLinenumber: 760
    functionLinenumberEnd: 775
    functionName: ls_new
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - realloc
    linkageType: ''
    returnType: struct ls
    signature: struct ls *ls_new(struct ls **ls, size_t *size)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:788,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:790,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:794,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:797,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:804,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 5
    argNames:
    - l
    - lht
    - size
    - termwidth
    - list
    argTypes:
    - struct ls*
    - struct lengths*
    - size_t
    - size_t
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 805
      start: 777
    functionDepth: 0
    functionLinenumber: 777
    functionLinenumberEnd: 805
    functionName: ls_print_names
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - printf
    linkageType: ''
    returnType: void
    signature: void ls_print_names(struct ls *l, struct lengths *lht, size_t size,
      size_t termwidth, bool list)
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: lxc_string_split_and_trim
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:814,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:821,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:821,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:822,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:822,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:823,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:823,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:824,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:824,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:825,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:825,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:826,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:827,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:828,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:835,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:836,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:837,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:838,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:839,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:840,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:841,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:842,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:843,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:844,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:845,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:846,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:847,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:848,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:849,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:850,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:851,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:852,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:853,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:854,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:855,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:856,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:858,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:865,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:867,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:868,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:870,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:872,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:873,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:874,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:876,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:878,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:879,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:881,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:883,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:884,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:886,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:888,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:889,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:890,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:891,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:892,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:893,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:894,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:895,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:896,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:897,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:898,1
    - Dst: strcasecmp
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:899,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:900,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:903,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:906,1
    CyclomaticComplexity: 48
    EdgeCount: 48
    ICount: 87
    argCount: 4
    argNames:
    - l
    - lht
    - size
    - fancy_fmt
    argTypes:
    - struct ls*
    - struct lengths*
    - size_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 907
      start: 807
    functionDepth: 2
    functionLinenumber: 807
    functionLinenumberEnd: 907
    functionName: ls_print_fancy_format
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - fprintf
    - lxc_string_split_and_trim
    - printf
    - lxc_free_array
    - strcasecmp
    linkageType: ''
    returnType: void
    signature: "void ls_print_fancy_format(struct ls *l, struct lengths *lht, size_t
      size,\n\t\t\t\t  const char *fancy_fmt)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:920,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:921,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:922,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:923,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:924,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:925,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:926,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:927,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:931,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:932,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:934,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:937,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:938,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:939,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:940,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:941,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:942,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:943,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 26
    argCount: 3
    argNames:
    - l
    - lht
    - size
    argTypes:
    - struct ls*
    - struct lengths*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 945
      start: 909
    functionDepth: 0
    functionLinenumber: 909
    functionLinenumberEnd: 945
    functionName: ls_print_table
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - printf
    linkageType: ''
    returnType: void
    signature: void ls_print_table(struct ls *l, struct lengths *lht, size_t size)
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: strtoul
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:984,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 43
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1003
      start: 947
    functionDepth: 0
    functionLinenumber: 947
    functionLinenumberEnd: 1003
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 0
    functionsReached:
    - strtoul
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1014,1
    - Dst: ls_get
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1018,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1023,1
    - Dst: ls_serialize
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1027,1
    - Dst: shutdown
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1033,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1034,1
    - Dst: ls_free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1035,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - wrap
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1038
      start: 1005
    functionDepth: 9
    functionLinenumber: 1005
    functionLinenumberEnd: 1038
    functionName: ls_get_wrapper
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 0
    functionsReached:
    - shutdown
    - ls_get
    - ls_serialize
    - ls_free
    - close
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int ls_get_wrapper(void *wrap)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: get_rundir
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1051,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1057,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1057,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1057,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1059,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1067,1
    - Dst: lxc_rm_rf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1071,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1073,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1078,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 25
    argCount: 5
    argNames:
    - path
    - name
    - lockpath
    - len_lockpath
    - recalc
    argTypes:
    - char*
    - char*
    - char**
    - size_t*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1080
      start: 1040
    functionDepth: 3
    functionLinenumber: 1040
    functionLinenumberEnd: 1080
    functionName: ls_remove_lock
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - realloc
    - lxc_rm_rf
    - get_rundir
    - WARN
    - snprintf
    - strlen
    - free
    linkageType: ''
    returnType: int
    signature: "int ls_remove_lock(const char *path, const char *name, char **lockpath,
      size_t *len_lockpath,\n\t\t\t  bool recalc)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1087,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1089,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1093,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 2
    argNames:
    - fd
    - buf
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1098
      start: 1082
    functionDepth: 1
    functionLinenumber: 1082
    functionLinenumberEnd: 1098
    functionName: ls_send_str
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 0
    functionsReached:
    - strlen
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int ls_send_str(int fd, const char *buf)
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1103,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1107,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1111,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1115,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1119,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1123,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1127,1
    - Dst: ls_send_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1131,1
    - Dst: ls_send_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1135,1
    - Dst: ls_send_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1139,1
    - Dst: ls_send_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1143,1
    - Dst: ls_send_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1147,1
    - Dst: ls_send_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1151,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 34
    argCount: 2
    argNames:
    - wpipefd
    - n
    argTypes:
    - int
    - struct ls*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1155
      start: 1100
    functionDepth: 2
    functionLinenumber: 1100
    functionLinenumberEnd: 1155
    functionName: ls_serialize
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - ls_send_str
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int ls_serialize(int wpipefd, struct ls *n)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1162,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1170,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1174,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1179,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 2
    argNames:
    - fd
    - buf
    argTypes:
    - int
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1184
      start: 1157
    functionDepth: 1
    functionLinenumber: 1157
    functionLinenumberEnd: 1184
    functionName: ls_recv_str
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 0
    functionsReached:
    - malloc
    - move_ptr
    - lxc_read_nointr
    linkageType: ''
    returnType: int
    signature: int ls_recv_str(int fd, char **buf)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1194,1
    - Dst: ls_new
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1198,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1203,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1207,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1211,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1215,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1219,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1223,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1227,1
    - Dst: ls_recv_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1231,1
    - Dst: ls_recv_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1235,1
    - Dst: ls_recv_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1239,1
    - Dst: ls_recv_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1243,1
    - Dst: ls_recv_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1247,1
    - Dst: ls_recv_str
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1251,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 43
    argCount: 3
    argNames:
    - rpipefd
    - m
    - len
    argTypes:
    - int
    - struct ls**
    - size_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1256
      start: 1186
    functionDepth: 2
    functionLinenumber: 1186
    functionLinenumberEnd: 1256
    functionName: ls_deserialize
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - lxc_read_nointr
    - ls_recv_str
    - ls_new
    linkageType: ''
    returnType: int
    signature: int ls_deserialize(int rpipefd, struct ls **m, size_t *len)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1265,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1271,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1277,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1283,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1288,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1294,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1299,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1302,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_ls.c:1306,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 41
    argCount: 3
    argNames:
    - l
    - size
    - lht
    argTypes:
    - struct ls*
    - size_t
    - struct lengths*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1310
      start: 1258
    functionDepth: 0
    functionLinenumber: 1258
    functionLinenumberEnd: 1310
    functionName: ls_field_width
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_ls.c
    functionUses: 1
    functionsReached:
    - strlen
    - snprintf
    linkageType: ''
    returnType: void
    signature: void ls_field_width(const struct ls *l, const size_t size, struct lengths
      *lht)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getenv
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:41,1
    - Dst: lxc_rexec
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:41,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:42,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:43,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 45
      start: 39
    functionDepth: 4
    functionLinenumber: 39
    functionLinenumberEnd: 45
    functionName: lxc_attach_rexec
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_attach.c
    functionUses: 0
    functionsReached:
    - lxc_rexec
    - getenv
    - _exit
    - fprintf
    linkageType: ''
    returnType: void
    signature: void lxc_attach_rexec(void)
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: lxc_fill_elevated_privileges
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:150,1
    - Dst: lxc_config_parse_arch
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:156,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:158,1
    - Dst: lxc_namespace_2_std_identifiers
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:165,1
    - Dst: lxc_fill_namespace_flags
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:168,1
    - Dst: lxc_fill_elevated_privileges
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:173,1
    - Dst: add_to_simple_array
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:182,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:184,1
    - Dst: add_to_simple_array
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:189,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:191,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:202,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:206,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 65
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 215
      start: 144
    functionDepth: 3
    functionLinenumber: 144
    functionLinenumberEnd: 215
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_attach.c
    functionUses: 0
    functionsReached:
    - lxc_safe_uint
    - ERROR
    - add_to_simple_array
    - lxc_fill_namespace_flags
    - lxc_fill_elevated_privileges
    - lxc_config_parse_arch
    - lxc_namespace_2_std_identifiers
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:243,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:247,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:255,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 2
    argNames:
    - flaglist
    - flags
    argTypes:
    - char*
    - unsigned int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 260
      start: 217
    functionDepth: 1
    functionLinenumber: 217
    functionLinenumberEnd: 260
    functionName: lxc_fill_elevated_privileges
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_attach.c
    functionUses: 1
    functionsReached:
    - strequal
    - syserror_set
    - lxc_iterate_parts
    linkageType: ''
    returnType: int
    signature: int lxc_fill_elevated_privileges(char *flaglist, unsigned int *flags)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:276,1
    - Dst: memset
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:280,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 3
    argNames:
    - array
    - capacity
    - value
    argTypes:
    - char***
    - ssize_t*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 291
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 291
    functionName: add_to_simple_array
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_attach.c
    functionUses: 1
    functionsReached:
    - realloc
    - memset
    linkageType: ''
    returnType: int
    signature: int add_to_simple_array(char ***array, ssize_t *capacity, char *value)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: isatty
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:295,1
    - Dst: isatty
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:298,1
    - Dst: isatty
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:301,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 305
      start: 293
    functionDepth: 0
    functionLinenumber: 293
    functionLinenumberEnd: 305
    functionName: stdfd_is_pty
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_attach.c
    functionUses: 0
    functionsReached:
    - isatty
    linkageType: ''
    returnType: bool
    signature: bool stdfd_is_pty(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:311,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:313,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - log_file
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 318
      start: 307
    functionDepth: 1
    functionLinenumber: 307
    functionLinenumberEnd: 318
    functionName: lxc_attach_create_log_file
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_attach.c
    functionUses: 0
    functionsReached:
    - open
    - ERROR
    linkageType: ''
    returnType: int
    signature: int lxc_attach_create_log_file(const char *log_file)
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: lxc_caps_init
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:331,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:332,1
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:334,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:335,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:344,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:345,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:347,1
    - Dst: access
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:348,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:349,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:350,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:353,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:355,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:358,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:359,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:360,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:361,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:362,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:365,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:367,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:368,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:369,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:373,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:374,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:375,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:376,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:385,1
    - Dst: stdfd_is_pty
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:400,1
    - Dst: lxc_attach_create_log_file
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:415,1
    - Dst: struct lxc_container*::attach_run_wait
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:433,1
    - Dst: struct lxc_container*::attach
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:438,1
    - Dst: lxc_wait_for_pid_status
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:442,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:446,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:447,1
    - Dst: WIFSIGNALED
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:448,1
    - Dst: WTERMSIG
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:449,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:452,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:454,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_attach.c:456,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 103
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 457
      start: 321
    functionDepth: 6
    functionLinenumber: 321
    functionLinenumberEnd: 457
    functionName: lxc_attach_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_attach.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::load_config
    - lxc_container_put
    - lxc_container_new
    - stdfd_is_pty
    - WTERMSIG
    - WEXITSTATUS
    - strdup
    - lxc_log_init
    - WIFSIGNALED
    - exit
    - struct lxc_container*::may_control
    - ERROR
    - lxc_attach_create_log_file
    - geteuid
    - struct lxc_container*::attach
    - lxc_caps_init
    - struct lxc_container*::attach_run_wait
    - struct lxc_container*::clear_config
    - WIFEXITED
    - access
    - lxc_wait_for_pid_status
    - lxc_arguments_parse
    linkageType: ''
    returnType: int
    signature: int lxc_attach_main(int argc, char *argv[])
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_define_add
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:80,1
    - Dst: lxc_config_define_free
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:82,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:85,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:89,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 35
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 106
      start: 68
    functionDepth: 3
    functionLinenumber: 68
    functionLinenumberEnd: 106
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_execute.c
    functionUses: 0
    functionsReached:
    - lxc_config_define_free
    - lxc_safe_uint
    - lxc_config_define_add
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:115,1
    - Dst: lxc_string_split_quoted
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:119,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 2
    argNames:
    - c
    - args
    argTypes:
    - struct lxc_container*
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 129
      start: 108
    functionDepth: 3
    functionLinenumber: 108
    functionLinenumberEnd: 129
    functionName: set_argv
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_execute.c
    functionUses: 0
    functionsReached:
    - lxc_string_split_quoted
    - struct lxc_container*::get_config_item
    linkageType: ''
    returnType: bool
    signature: bool set_argv(struct lxc_container *c, struct lxc_arguments *args)
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_init
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:140,1
    - Dst: lxc_caps_init
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:142,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:143,1
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:145,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:146,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:155,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:156,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:158,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:160,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:161,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:165,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:167,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:168,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:172,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:174,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:180,1
    - Dst: set_argv
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:185,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:186,1
    - Dst: lxc_config_define_load
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:190,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:197,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:201,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:209,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:213,1
    - Dst: lxc_setup_shared_ns
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:218,1
    - Dst: struct lxc_container*::start
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:223,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:225,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:232,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:233,1
    - Dst: kill
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:236,1
    - Dst: WTERMSIG
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:236,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:240,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_execute.c:241,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 89
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 242
      start: 132
    functionDepth: 6
    functionLinenumber: 132
    functionLinenumberEnd: 242
    functionName: lxc_execute_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_execute.c
    functionUses: 0
    functionsReached:
    - kill
    - struct lxc_container*::load_config
    - snprintf
    - lxc_container_put
    - lxc_container_new
    - WTERMSIG
    - lxc_setup_shared_ns
    - struct lxc_container*::set_config_item
    - WEXITSTATUS
    - strdup
    - lxc_list_init
    - lxc_log_init
    - exit
    - ERROR
    - lxc_config_define_load
    - lxc_caps_init
    - struct lxc_container*::clear_config
    - WIFEXITED
    - struct lxc_container*::start
    - set_argv
    - lxc_arguments_parse
    linkageType: ''
    returnType: int
    signature: int lxc_execute_main(int argc, char *argv[])
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:88,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:93,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:118,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 39
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 125
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 125
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_checkpoint.c
    functionUses: 0
    functionsReached:
    - strdup
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:130,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:134,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:139,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:144,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - args
    argTypes:
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 149
      start: 127
    functionDepth: 1
    functionLinenumber: 127
    functionLinenumberEnd: 149
    functionName: my_checker
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_checkpoint.c
    functionUses: 0
    functionsReached:
    - ERROR
    linkageType: ''
    returnType: int
    signature: int my_checker(const struct lxc_arguments *args)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:157,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:158,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:159,1
    - Dst: memset
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:163,1
    - Dst: struct lxc_container*::migrate
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:176,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:177,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:182,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 187
      start: 151
    functionDepth: 3
    functionLinenumber: 151
    functionLinenumberEnd: 187
    functionName: checkpoint
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_checkpoint.c
    functionUses: 0
    functionsReached:
    - ERROR
    - struct lxc_container*::migrate
    - struct lxc_container*::is_running
    - lxc_container_put
    - memset
    linkageType: ''
    returnType: bool
    signature: bool checkpoint(struct lxc_container *c)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:194,1
    - Dst: struct lxc_container*::migrate
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:201,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:203,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:207,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 209
      start: 189
    functionDepth: 3
    functionLinenumber: 189
    functionLinenumberEnd: 209
    functionName: restore_finalize
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_checkpoint.c
    functionUses: 0
    functionsReached:
    - memset
    - ERROR
    - lxc_container_put
    - struct lxc_container*::migrate
    linkageType: ''
    returnType: bool
    signature: bool restore_finalize(struct lxc_container *c)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:213,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:214,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:215,1
    - Dst: fork
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:222,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:224,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:229,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:230,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:232,1
    - Dst: restore_finalize
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:232,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:234,1
    - Dst: restore_finalize
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:239,1
    - Dst: waitpid
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:242,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:245,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:245,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct lxc_container*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 247
      start: 211
    functionDepth: 4
    functionLinenumber: 211
    functionLinenumberEnd: 247
    functionName: restore
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_checkpoint.c
    functionUses: 5
    functionsReached:
    - wait_for_pid
    - ERROR
    - waitpid
    - WIFEXITED
    - restore_finalize
    - struct lxc_container*::is_running
    - lxc_container_put
    - WEXITSTATUS
    - _exit
    - fork
    - SYSERROR
    - close
    linkageType: ''
    returnType: bool
    signature: bool restore(struct lxc_container *c)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:256,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:257,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:266,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:267,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:269,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:271,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:272,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:276,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:278,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:279,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:280,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:281,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:284,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:286,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:287,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:288,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:292,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:293,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:294,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:295,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:298,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:299,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:300,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:301,1
    - Dst: restore
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:306,1
    - Dst: checkpoint
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:308,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:310,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:311,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:312,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:315,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_checkpoint.c:317,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 49
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 318
      start: 250
    functionDepth: 6
    functionLinenumber: 250
    functionLinenumberEnd: 318
    functionName: lxc_checkpoint_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_checkpoint.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - restore
    - checkpoint
    - free
    - lxc_container_put
    - lxc_container_new
    - strdup
    - struct lxc_container*::is_defined
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_checkpoint_main(int argc, char *argv[])
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:45,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:46,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:55,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:56,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:58,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:60,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:61,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:64,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:65,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:66,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:67,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:71,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:73,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:74,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:75,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:76,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:79,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:81,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:82,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:83,1
    - Dst: struct lxc_container*::unfreeze
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:87,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:88,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:89,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:90,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:93,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_unfreeze.c:95,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 42
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 96
      start: 40
    functionDepth: 6
    functionLinenumber: 40
    functionLinenumberEnd: 96
    functionName: lxc_unfreeze_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_unfreeze.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - struct lxc_container*::unfreeze
    - lxc_container_put
    - lxc_container_new
    - strdup
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_unfreeze_main(int argc, char *argv[])
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: accumulate_list
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:45,1
    - Dst: lxc_safe_long
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:48,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 29
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 23
    functionDepth: 1
    functionLinenumber: 23
    functionLinenumberEnd: 53
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 0
    functionsReached:
    - accumulate_list
    - lxc_safe_long
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:106,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:106,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 2
    argNames:
    - str_ptr
    - p1
    argTypes:
    - char*
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 111
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 111
    functionName: list_contains_entry
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 0
    functionsReached:
    - strlen
    - strncmp
    linkageType: ''
    returnType: int
    signature: int list_contains_entry(char *str_ptr, struct lxc_list *p1)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:106,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:106,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 108
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 108
    functionName: lxc_list_for_each
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 5
    functionsReached:
    - strlen
    - strncmp
    linkageType: ''
    returnType: void
    signature: void lxc_list_for_each(it1, p1)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:126,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:132,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:134,1
    - Dst: lxc_list_init
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:138,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:145,1
    - Dst: list_contains_entry
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:154,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:156,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:158,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:160,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:164,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:166,1
    - Dst: lxc_list_add_tail
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:170,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:174,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 3
    argNames:
    - input
    - delimiter
    - str_list
    argTypes:
    - char*
    - char*
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 177
      start: 117
    functionDepth: 2
    functionLinenumber: 117
    functionLinenumberEnd: 177
    functionName: accumulate_list
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 1
    functionsReached:
    - malloc
    - ERROR
    - list_contains_entry
    - strdup
    - lxc_list_init
    - lxc_list_add_tail
    - strchr
    - free
    linkageType: ''
    returnType: struct lxc_list
    signature: "struct lxc_list *accumulate_list(char *input, char *delimiter,\n\t\t\t\t\tstruct
      lxc_list *str_list)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:186,1
    - Dst: lxc_list_init
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:190,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:192,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:194,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:199,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:203,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:205,1
    - Dst: lxc_list_add_tail
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:209,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:212,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 2
    argNames:
    - input
    - delimiter
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 215
      start: 179
    functionDepth: 2
    functionLinenumber: 179
    functionLinenumberEnd: 215
    functionName: get_list
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 0
    functionsReached:
    - malloc
    - strdup
    - lxc_list_init
    - lxc_list_add_tail
    - free
    linkageType: ''
    returnType: struct lxc_list
    signature: struct lxc_list *get_list(char *input, char *delimiter)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:199,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:203,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:205,1
    - Dst: lxc_list_add_tail
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:209,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 210
      start: 198
    functionDepth: 2
    functionLinenumber: 198
    functionLinenumberEnd: 210
    functionName: lxc_iterate_parts
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 15
    functionsReached:
    - malloc
    - lxc_list_add_tail
    - free
    - strdup
    linkageType: ''
    returnType: void
    signature: void lxc_iterate_parts(token, workstr, delimiter)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:223,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:227,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:231,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:232,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:236,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:237,1
    - Dst: get_list
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:241,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:242,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 2
    argNames:
    - c
    - key
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 245
      start: 217
    functionDepth: 3
    functionLinenumber: 217
    functionLinenumberEnd: 245
    functionName: get_config_list
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 0
    functionsReached:
    - malloc
    - strlen
    - get_list
    - free
    - struct lxc_container*::get_config_item
    linkageType: ''
    returnType: struct lxc_list
    signature: struct lxc_list *get_config_list(struct lxc_container *c, char *key)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:252,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:256,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:260,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:261,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:265,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:266,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:268,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 2
    argNames:
    - c
    - key
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 271
      start: 247
    functionDepth: 1
    functionLinenumber: 247
    functionLinenumberEnd: 271
    functionName: get_config_integer
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 0
    functionsReached:
    - malloc
    - printf
    - lxc_safe_int
    - free
    - struct lxc_container*::get_config_item
    linkageType: ''
    returnType: int
    signature: int get_config_integer(struct lxc_container *c, char *key)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:278,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:279,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:282,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:282,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - p1
    - p2
    argTypes:
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 285
      start: 273
    functionDepth: 2
    functionLinenumber: 273
    functionLinenumberEnd: 285
    functionName: cmporder
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 0
    functionsReached:
    - get_config_integer
    - strlen
    - strncmp
    linkageType: ''
    returnType: int
    signature: int cmporder(const void *p1, const void *p2)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmporder
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:289,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - p1
    - p2
    argTypes:
    - void*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 290
      start: 287
    functionDepth: 3
    functionLinenumber: 287
    functionLinenumberEnd: 290
    functionName: cmporder_reverse
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 0
    functionsReached:
    - cmporder
    linkageType: ''
    returnType: int
    signature: int cmporder_reverse(const void *p1, const void *p2)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_del
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:300,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:301,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:302,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:304,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 1
    argNames:
    - c_groups_list
    argTypes:
    - struct lxc_list*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 307
      start: 292
    functionDepth: 1
    functionLinenumber: 292
    functionLinenumberEnd: 307
    functionName: toss_list
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 0
    functionsReached:
    - lxc_list_del
    - free
    linkageType: ''
    returnType: int
    signature: int toss_list(struct lxc_list *c_groups_list)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_del
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:300,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:301,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:302,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 303
      start: 299
    functionDepth: 1
    functionLinenumber: 299
    functionLinenumberEnd: 303
    functionName: lxc_list_for_each_safe
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 5
    functionsReached:
    - lxc_list_del
    - free
    linkageType: ''
    returnType: void
    signature: void lxc_list_for_each_safe(it, c_groups_list, next)
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:318,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:319,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:330,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:331,1
    - Dst: list_defined_containers
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:334,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:337,1
    - Dst: calloc
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:341,1
    - Dst: qsort
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:343,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:347,1
    - Dst: accumulate_list
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:355,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:376,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:378,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:385,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:387,1
    - Dst: get_config_list
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:397,1
    - Dst: list_contains_entry
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:400,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:412,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:416,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:418,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:419,1
    - Dst: struct lxc_container*::shutdown
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:422,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:423,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:425,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:432,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:434,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:435,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:438,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:440,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:446,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:448,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:449,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:450,1
    - Dst: struct lxc_container*::reboot
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:453,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:455,1
    - Dst: sleep
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:457,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:457,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:463,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:465,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:466,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:467,1
    - Dst: struct lxc_container*::start
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:470,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:472,1
    - Dst: sleep
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:474,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:474,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:485,1
    - Dst: toss_list
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:489,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:501,1
    - Dst: toss_list
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:503,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:506,1
    - Dst: toss_list
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:507,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:508,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:511,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:513,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:515,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 127
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 516
      start: 310
    functionDepth: 7
    functionLinenumber: 310
    functionLinenumberEnd: 516
    functionName: lxc_autostart_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 0
    functionsReached:
    - list_contains_entry
    - list_defined_containers
    - lxc_container_put
    - struct lxc_container*::is_running
    - free
    - calloc
    - printf
    - sleep
    - get_config_list
    - lxc_log_init
    - exit
    - struct lxc_container*::may_control
    - ERROR
    - get_config_integer
    - struct lxc_container*::want_daemonize
    - fflush
    - struct lxc_container*::stop
    - toss_list
    - qsort
    - struct lxc_container*::shutdown
    - struct lxc_container*::start
    - lxc_arguments_parse
    - accumulate_list
    - struct lxc_container*::reboot
    linkageType: ''
    returnType: int
    signature: int lxc_autostart_main(int argc, char *argv[])
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:376,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:378,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:385,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:387,1
    - Dst: get_config_list
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:397,1
    - Dst: list_contains_entry
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:400,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:412,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:416,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:418,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:419,1
    - Dst: struct lxc_container*::shutdown
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:422,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:423,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:425,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:432,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:434,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:435,1
    - Dst: struct lxc_container*::stop
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:438,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:440,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:446,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:448,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:449,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:450,1
    - Dst: struct lxc_container*::reboot
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:453,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:455,1
    - Dst: sleep
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:457,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:457,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:463,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:465,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:466,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:467,1
    - Dst: struct lxc_container*::start
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:470,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:472,1
    - Dst: sleep
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:474,1
    - Dst: get_config_integer
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:474,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:485,1
    - Dst: toss_list
      Src: /src/lxc/src/lxc/tools/lxc_autostart.c:489,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 89
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 494
      start: 358
    functionDepth: 4
    functionLinenumber: 358
    functionLinenumberEnd: 494
    functionName: lxc_list_for_each
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_autostart.c
    functionUses: 5
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - get_config_integer
    - struct lxc_container*::want_daemonize
    - fflush
    - list_contains_entry
    - struct lxc_container*::stop
    - struct lxc_container*::start
    - toss_list
    - printf
    - lxc_container_put
    - struct lxc_container*::is_running
    - get_config_list
    - sleep
    - struct lxc_container*::shutdown
    - struct lxc_container*::reboot
    linkageType: ''
    returnType: void
    signature: void lxc_list_for_each(cmd_group, cmd_groups_list)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_config.c:28,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_config.c:29,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_config.c:30,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - me
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 31
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 31
    functionName: usage
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_config.c
    functionUses: 3
    functionsReached:
    - printf
    - exit
    linkageType: ''
    returnType: void
    signature: void usage(char *me)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_config.c:38,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_config.c:40,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 41
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 41
    functionName: list_config_items
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_config.c
    functionUses: 2
    functionsReached:
    - printf
    - exit
    linkageType: ''
    returnType: void
    signature: void list_config_items(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_config.c:49,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_config.c:49,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_config.c:50,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_config.c:50,1
    - Dst: usage
      Src: /src/lxc/src/lxc/tools/lxc_config.c:51,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_config.c:53,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_config.c:53,1
    - Dst: list_config_items
      Src: /src/lxc/src/lxc/tools/lxc_config.c:54,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_config.c:57,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_config.c:57,1
    - Dst: lxc_get_global_config_item
      Src: /src/lxc/src/lxc/tools/lxc_config.c:58,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_config.c:60,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_config.c:62,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_config.c:64,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_config.c:68,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_config.c:69,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 70
      start: 44
    functionDepth: 2
    functionLinenumber: 44
    functionLinenumberEnd: 70
    functionName: lxc_config_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_config.c
    functionUses: 0
    functionsReached:
    - lxc_get_global_config_item
    - list_config_items
    - usage
    - exit
    - printf
    - strlen
    - strncmp
    linkageType: ''
    returnType: int
    signature: int lxc_config_main(int argc, char *argv[])
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:155,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:156,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:167,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:168,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:171,1
    - Dst: access
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:172,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:173,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:174,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:179,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:180,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:196,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:198,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:201,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:203,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:204,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:208,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:210,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:215,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:216,1
    - Dst: struct lxc_container*::is_defined
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:220,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:221,1
    - Dst: do_clone_task
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:225,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:228,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:231,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:232,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 67
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 233
      start: 148
    functionDepth: 6
    functionLinenumber: 148
    functionLinenumberEnd: 233
    functionName: lxc_copy_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - access
    - do_clone_task
    - geteuid
    - lxc_container_put
    - lxc_container_new
    - strdup
    - struct lxc_container*::is_defined
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_copy_main(int argc, char *argv[])
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:239,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 3
    argNames:
    - mnts
    - num
    - type
    argTypes:
    - struct mnts**
    - unsigned int*
    - enum mnttype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 250
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 250
    functionName: add_mnt
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - realloc
    linkageType: ''
    returnType: struct mnts
    signature: struct mnts *add_mnt(struct mnts **mnts, unsigned int *num, enum mnttype
      type)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:262,1
    - Dst: mkdtemp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:267,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:270,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:276,1
    - Dst: mkdtemp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:281,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:284,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 3
    argNames:
    - mnts
    - num
    - arg
    argTypes:
    - struct mnts*
    - unsigned int
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 291
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 291
    functionName: mk_rand_ovl_dirs
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - mkdtemp
    - strdup
    - snprintf
    linkageType: ''
    returnType: int
    signature: int mk_rand_ovl_dirs(struct mnts *mnts, unsigned int num, struct lxc_arguments
      *arg)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_string_split
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:299,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:305,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:306,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:308,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:309,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:312,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:314,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:315,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:316,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 326
      start: 293
    functionDepth: 2
    functionLinenumber: 293
    functionLinenumberEnd: 326
    functionName: lxc_normalize_path
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - lxc_string_split
    - memmove
    - strequal
    - free
    linkageType: ''
    returnType: char
    signature: char **lxc_normalize_path(const char *path)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_normalize_path
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:333,1
    - Dst: lxc_string_join
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:337,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:338,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - path
    - as_prefix
    argTypes:
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 341
      start: 328
    functionDepth: 3
    functionLinenumber: 328
    functionLinenumberEnd: 341
    functionName: construct_path
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - lxc_free_array
    - lxc_string_join
    - lxc_normalize_path
    linkageType: ''
    returnType: char
    signature: char *construct_path(char *path, bool as_prefix)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:350,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:351,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:351,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:351,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:352,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:354,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:358,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:363,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:364,1
    - Dst: lxc_is_dir
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:364,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:365,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:365,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:365,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:367,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:371,1
    - Dst: lxc_is_dir
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:373,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:381,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 28
    argCount: 1
    argNames:
    - m
    argTypes:
    - struct mnts*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 383
      start: 343
    functionDepth: 1
    functionLinenumber: 343
    functionLinenumberEnd: 383
    functionName: set_mnt_entry
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - malloc
    - lxc_is_dir
    - snprintf
    - strlen
    - free
    linkageType: ''
    returnType: char
    signature: char *set_mnt_entry(struct mnts *m)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::clone
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:391,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:394,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:398,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 8
    argNames:
    - c
    - newname
    - newpath
    - flags
    - bdevtype
    - fssize
    - task
    - args
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - int
    - char*
    - uint64_t
    - enum task
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 401
      start: 385
    functionDepth: 3
    functionLinenumber: 385
    functionLinenumberEnd: 401
    functionName: do_clone
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_container_put
    - struct lxc_container*::clone
    linkageType: ''
    returnType: int
    signature: "int do_clone(struct lxc_container *c, char *newname, char *newpath,\n\t\t
      \   int flags, char *bdevtype, uint64_t fssize, enum task task,\n\t\t    char
      **args)"
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:417,1
    - Dst: mkdtemp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:421,1
    - Dst: chmod
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:424,1
    - Dst: remove
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:425,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:429,1
    - Dst: struct lxc_container*::clone
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:432,1
    - Dst: mount_tmpfs
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:438,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:442,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:443,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:449,1
    - Dst: mk_rand_ovl_dirs
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:453,1
    - Dst: set_mnt_entry
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:461,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:465,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:466,1
    - Dst: struct lxc_container*::save_config
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:471,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:475,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:478,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:482,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:485,1
    - Dst: struct lxc_container*::start
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:488,1
    - Dst: struct lxc_container*::attach_run_wait
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:493,1
    - Dst: struct lxc_container*::shutdown
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:496,1
    - Dst: free_mnts
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:499,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:500,1
    - Dst: struct lxc_container*::shutdown
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:505,1
    - Dst: struct lxc_container*::get_config_item
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:507,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:508,1
    - Dst: struct lxc_container*::destroy
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:509,1
    - Dst: free_mnts
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:511,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:512,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 84
    argCount: 4
    argNames:
    - c
    - arg
    - args
    - flags
    argTypes:
    - struct lxc_container*
    - struct lxc_arguments*
    - char**
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 514
      start: 403
    functionDepth: 3
    functionLinenumber: 403
    functionLinenumberEnd: 514
    functionName: do_clone_ephemeral
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - remove
    - snprintf
    - lxc_container_put
    - struct lxc_container*::clone
    - free
    - free_mnts
    - struct lxc_container*::set_config_item
    - printf
    - strlen
    - struct lxc_container*::get_config_item
    - chmod
    - struct lxc_container*::destroy
    - struct lxc_container*::save_config
    - mkdtemp
    - mount_tmpfs
    - struct lxc_container*::want_daemonize
    - set_mnt_entry
    - struct lxc_container*::attach_run_wait
    - struct lxc_container*::shutdown
    - strcmp
    - struct lxc_container*::start
    - mk_rand_ovl_dirs
    linkageType: ''
    returnType: int
    signature: "int do_clone_ephemeral(struct lxc_container *c,\n\t\tstruct lxc_arguments
      *arg, char **args, int flags)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: struct lxc_container*::rename
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:518,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:519,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - c
    - newname
    argTypes:
    - struct lxc_container*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 524
      start: 516
    functionDepth: 1
    functionLinenumber: 516
    functionLinenumberEnd: 524
    functionName: do_clone_rename
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - ERROR
    - struct lxc_container*::rename
    linkageType: ''
    returnType: int
    signature: int do_clone_rename(struct lxc_container *c, char *newname)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: do_clone_ephemeral
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:533,1
    - Dst: do_clone_rename
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:536,1
    - Dst: do_clone
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:539,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 4
    argNames:
    - c
    - task
    - flags
    - args
    argTypes:
    - struct lxc_container*
    - enum task
    - int
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 546
      start: 526
    functionDepth: 4
    functionLinenumber: 526
    functionLinenumberEnd: 546
    functionName: do_clone_task
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 1
    functionsReached:
    - do_clone
    - do_clone_ephemeral
    - do_clone_rename
    linkageType: ''
    returnType: int
    signature: "int do_clone_task(struct lxc_container *c, enum task task, int flags,\n\t\t\t
      char **args)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:554,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:555,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:556,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:557,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:558,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:561,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 564
      start: 548
    functionDepth: 0
    functionLinenumber: 548
    functionLinenumberEnd: 564
    functionName: free_mnts
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 1
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void free_mnts(void)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: parse_mntsubopts
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:597,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:601,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:601,1
    - Dst: get_fssize
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:609,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 53
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 623
      start: 566
    functionDepth: 2
    functionLinenumber: 566
    functionLinenumberEnd: 623
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - strlen
    - get_fssize
    - strncmp
    - parse_mntsubopts
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: add_mnt
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:631,1
    - Dst: lxc_string_split
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:635,1
    - Dst: construct_path
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:639,1
    - Dst: lxc_array_len
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:643,1
    - Dst: construct_path
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:645,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:647,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:647,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:648,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:650,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:650,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:651,1
    - Dst: construct_path
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:654,1
    - Dst: construct_path
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:656,1
    - Dst: construct_path
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:658,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:659,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:661,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:668,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:670,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:670,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:671,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:671,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:674,1
    - Dst: free_mnts
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:678,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:679,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 47
    argCount: 2
    argNames:
    - mntstring
    - type
    argTypes:
    - char*
    - enum mnttype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 681
      start: 625
    functionDepth: 4
    functionLinenumber: 625
    functionLinenumberEnd: 681
    functionName: parse_bind_mnt
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 0
    functionsReached:
    - lxc_array_len
    - free_mnts
    - add_mnt
    - lxc_string_split
    - printf
    - lxc_free_array
    - strdup
    - strlen
    - construct_path
    - strncmp
    linkageType: ''
    returnType: int
    signature: int parse_bind_mnt(char *mntstring, enum mnttype type)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: getsubopt
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:686,1
    - Dst: parse_bind_mnt
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:688,1
    - Dst: parse_ovl_mnt
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:692,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 3
    argNames:
    - subopts
    - keys
    - mntparameters
    argTypes:
    - char*
    - char**
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 701
      start: 683
    functionDepth: 5
    functionLinenumber: 683
    functionLinenumberEnd: 701
    functionName: parse_mntsubopts
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 1
    functionsReached:
    - parse_ovl_mnt
    - getsubopt
    - parse_bind_mnt
    linkageType: ''
    returnType: int
    signature: int parse_mntsubopts(char *subopts, char *const *keys, char *mntparameters)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: add_mnt
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:709,1
    - Dst: lxc_string_split
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:713,1
    - Dst: construct_path
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:717,1
    - Dst: lxc_array_len
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:721,1
    - Dst: construct_path
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:723,1
    - Dst: construct_path
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:725,1
    - Dst: printf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:727,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:732,1
    - Dst: free_mnts
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:736,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:737,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 29
    argCount: 2
    argNames:
    - mntstring
    - type
    argTypes:
    - char*
    - enum mnttype
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 739
      start: 703
    functionDepth: 4
    functionLinenumber: 703
    functionLinenumberEnd: 739
    functionName: parse_ovl_mnt
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 1
    functionsReached:
    - lxc_array_len
    - free_mnts
    - add_mnt
    - lxc_string_split
    - printf
    - lxc_free_array
    - construct_path
    linkageType: ''
    returnType: int
    signature: int parse_ovl_mnt(char *mntstring, enum mnttype type)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:760,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:769,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:769,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:770,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:776,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:776,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:776,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:777,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:781,1
    - Dst: umask
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:785,1
    - Dst: mkstemp
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:786,1
    - Dst: umask
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:787,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:791,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:792,1
    - Dst: chmod
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:796,1
    - Dst: fdopen
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:799,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:804,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:811,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:820,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:825,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:827,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_copy.c:830,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 64
    argCount: 4
    argNames:
    - oldname
    - newname
    - path
    - arg
    argTypes:
    - char*
    - char*
    - char*
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 832
      start: 750
    functionDepth: 1
    functionLinenumber: 750
    functionLinenumberEnd: 832
    functionName: mount_tmpfs
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_copy.c
    functionUses: 1
    functionsReached:
    - malloc
    - chmod
    - ERROR
    - fdopen
    - fprintf
    - snprintf
    - mkstemp
    - free
    - strlen
    - fclose
    - close
    - fcntl
    - strncmp
    - umask
    linkageType: ''
    returnType: char
    signature: "char *mount_tmpfs(const char *oldname, const char *newname,\n\t\t\t
      const char *path, struct lxc_arguments *arg)"
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: lxc_config_define_add
      Src: /src/lxc/src/lxc/tools/lxc_start.c:103,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 39
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 121
      start: 81
    functionDepth: 3
    functionLinenumber: 81
    functionLinenumberEnd: 121
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_start.c
    functionUses: 0
    functionsReached:
    - lxc_config_define_add
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: access
      Src: /src/lxc/src/lxc/tools/lxc_start.c:129,1
    - Dst: creat
      Src: /src/lxc/src/lxc/tools/lxc_start.c:130,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:132,1
    - Dst: close
      Src: /src/lxc/src/lxc/tools/lxc_start.c:137,1
    - Dst: realpath
      Src: /src/lxc/src/lxc/tools/lxc_start.c:140,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:142,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 2
    argNames:
    - confpath
    - path
    argTypes:
    - char**
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 150
      start: 123
    functionDepth: 1
    functionLinenumber: 123
    functionLinenumberEnd: 150
    functionName: ensure_path
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_start.c
    functionUses: 0
    functionsReached:
    - ERROR
    - access
    - creat
    - realpath
    - close
    linkageType: ''
    returnType: int
    signature: int ensure_path(char **confpath, const char *path)
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: lxc_list_init
      Src: /src/lxc/src/lxc/tools/lxc_start.c:166,1
    - Dst: lxc_caps_init
      Src: /src/lxc/src/lxc/tools/lxc_start.c:168,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:169,1
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_start.c:171,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:172,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_start.c:186,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:187,1
    - Dst: access
      Src: /src/lxc/src/lxc/tools/lxc_start.c:190,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:191,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:192,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_start.c:205,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:207,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:208,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_start.c:211,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_start.c:213,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:214,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_start.c:215,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:216,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_start.c:219,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:221,1
    - Dst: asprintf
      Src: /src/lxc/src/lxc/tools/lxc_start.c:227,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:229,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:230,1
    - Dst: access
      Src: /src/lxc/src/lxc/tools/lxc_start.c:234,1
    - Dst: free
      Src: /src/lxc/src/lxc/tools/lxc_start.c:235,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_start.c:239,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:241,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:242,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_start.c:251,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:252,1
    - Dst: struct lxc_container*::is_running
      Src: /src/lxc/src/lxc/tools/lxc_start.c:256,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:257,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:267,1
    - Dst: lxc_config_define_load
      Src: /src/lxc/src/lxc/tools/lxc_start.c:271,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/tools/lxc_start.c:274,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:275,1
    - Dst: ensure_path
      Src: /src/lxc/src/lxc/tools/lxc_start.c:280,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:281,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/tools/lxc_start.c:286,1
    - Dst: struct lxc_container*::set_config_item
      Src: /src/lxc/src/lxc/tools/lxc_start.c:290,1
    - Dst: lxc_setup_shared_ns
      Src: /src/lxc/src/lxc/tools/lxc_start.c:293,1
    - Dst: struct lxc_container*::want_daemonize
      Src: /src/lxc/src/lxc/tools/lxc_start.c:297,1
    - Dst: struct lxc_container*::want_close_all_fds
      Src: /src/lxc/src/lxc/tools/lxc_start.c:300,1
    - Dst: struct lxc_container*::start
      Src: /src/lxc/src/lxc/tools/lxc_start.c:303,1
    - Dst: struct lxc_container*::start
      Src: /src/lxc/src/lxc/tools/lxc_start.c:305,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:307,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:310,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_start.c:312,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_start.c:316,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:317,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_start.c:321,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_start.c:322,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 118
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 323
      start: 153
    functionDepth: 6
    functionLinenumber: 153
    functionLinenumberEnd: 323
    functionName: lxc_start_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_start.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::load_config
    - asprintf
    - ensure_path
    - lxc_container_put
    - lxc_container_new
    - struct lxc_container*::is_running
    - free
    - lxc_setup_shared_ns
    - struct lxc_container*::set_config_item
    - strdup
    - lxc_list_init
    - lxc_log_init
    - exit
    - struct lxc_container*::may_control
    - ERROR
    - lxc_config_define_load
    - struct lxc_container*::want_daemonize
    - struct lxc_container*::want_close_all_fds
    - lxc_caps_init
    - strcmp
    - struct lxc_container*::clear_config
    - access
    - struct lxc_container*::start
    - lxc_arguments_parse
    linkageType: ''
    returnType: int
    signature: int lxc_start_main(int argc, char *argv[])
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:45,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:46,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:55,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:56,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:58,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:60,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:61,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:65,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:67,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:68,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:69,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:70,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:73,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:75,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:76,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:77,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:81,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:82,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:83,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:84,1
    - Dst: struct lxc_container*::freeze
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:87,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:88,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:89,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:90,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:93,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_freeze.c:95,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 42
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 96
      start: 40
    functionDepth: 6
    functionLinenumber: 40
    functionLinenumberEnd: 96
    functionName: lxc_freeze_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_freeze.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - struct lxc_container*::freeze
    - lxc_container_put
    - lxc_container_new
    - strdup
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_freeze_main(int argc, char *argv[])
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: atol
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:58,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - args
    - c
    - arg
    argTypes:
    - struct lxc_arguments*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 63
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 63
    functionName: my_parser
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_wait.c
    functionUses: 0
    functionsReached:
    - atol
    linkageType: ''
    returnType: int
    signature: int my_parser(struct lxc_arguments *args, int c, char *arg)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:68,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - args
    argTypes:
    - struct lxc_arguments*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 73
      start: 65
    functionDepth: 1
    functionLinenumber: 65
    functionLinenumberEnd: 73
    functionName: my_checker
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_wait.c
    functionUses: 0
    functionsReached:
    - ERROR
    linkageType: ''
    returnType: int
    signature: int my_checker(const struct lxc_arguments *args)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_arguments_parse
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:81,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:82,1
    - Dst: lxc_log_init
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:91,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:92,1
    - Dst: lxc_container_new
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:94,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:96,1
    - Dst: struct lxc_container*::may_control
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:98,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:99,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:100,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:101,1
    - Dst: struct lxc_container*::clear_config
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:105,1
    - Dst: struct lxc_container*::load_config
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:107,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:108,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:109,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:110,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:113,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:115,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:116,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:117,1
    - Dst: struct lxc_container*::wait
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:121,1
    - Dst: lxc_container_put
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:122,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:123,1
    - Dst: exit
      Src: /src/lxc/src/lxc/tools/lxc_wait.c:126,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 38
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 127
      start: 76
    functionDepth: 6
    functionLinenumber: 76
    functionLinenumberEnd: 127
    functionName: lxc_wait_main
    functionSourceFile: /src/lxc/src/lxc/tools/lxc_wait.c
    functionUses: 0
    functionsReached:
    - struct lxc_container*::may_control
    - ERROR
    - struct lxc_container*::clear_config
    - struct lxc_container*::load_config
    - struct lxc_container*::wait
    - lxc_container_put
    - lxc_container_new
    - strdup
    - lxc_arguments_parse
    - lxc_log_init
    - exit
    linkageType: ''
    returnType: int
    signature: int lxc_wait_main(int argc, char *argv[])
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strchrnul
      Src: /src/lxc/src/lxc/tools/include/getsubopt.c:29,1
    - Dst: memchr
      Src: /src/lxc/src/lxc/tools/include/getsubopt.c:32,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/tools/include/getsubopt.c:39,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 3
    argNames:
    - optionp
    - tokens
    - valuep
    argTypes:
    - char**
    - char**
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 60
      start: 19
    functionDepth: 1
    functionLinenumber: 19
    functionLinenumberEnd: 60
    functionName: getsubopt
    functionSourceFile: /src/lxc/src/lxc/tools/include/getsubopt.c
    functionUses: 1
    functionsReached:
    - strncmp
    - memchr
    - strchrnul
    linkageType: ''
    returnType: int
    signature: int getsubopt (char **optionp, char *const *tokens, char **valuep)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_monitor_fifo_name
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:67,1
    - Dst: mknod
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:71,1
    - Dst: SYSINFO
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:73,1
    - Dst: open
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:77,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:79,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:80,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:89,1
    - Dst: SYSDEBUG
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:91,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:92,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - mon
    argTypes:
    - struct lxc_monitor*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 97
      start: 61
    functionDepth: 3
    functionLinenumber: 61
    functionLinenumberEnd: 97
    functionName: lxc_monitord_fifo_create
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - open
    - SYSDEBUG
    - mknod
    - SYSINFO
    - unlink
    - lxc_monitor_fifo_name
    - SYSERROR
    - fcntl
    - close
    linkageType: ''
    returnType: int
    signature: int lxc_monitord_fifo_create(struct lxc_monitor *mon)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_monitor_fifo_name
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:104,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:108,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - mon
    argTypes:
    - struct lxc_monitor*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 110
      start: 99
    functionDepth: 3
    functionLinenumber: 99
    functionLinenumberEnd: 110
    functionName: lxc_monitord_fifo_delete
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - lxc_monitor_fifo_name
    - unlink
    linkageType: ''
    returnType: int
    signature: int lxc_monitord_fifo_delete(struct lxc_monitor *mon)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: CRIT
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:121,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:125,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 2
    argNames:
    - mon
    - fd
    argTypes:
    - struct lxc_monitor*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 129
      start: 112
    functionDepth: 1
    functionLinenumber: 112
    functionLinenumberEnd: 129
    functionName: lxc_monitord_sockfd_remove
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - CRIT
    - memmove
    linkageType: ''
    returnType: int
    signature: int lxc_monitord_sockfd_remove(struct lxc_monitor *mon, int fd)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:140,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:141,1
    - Dst: lxc_monitord_sockfd_remove
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:148,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 151
      start: 131
    functionDepth: 2
    functionLinenumber: 131
    functionLinenumberEnd: 151
    functionName: lxc_monitord_sock_handler
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - lxc_read_nointr
    - strncmp
    - lxc_monitord_sockfd_remove
    linkageType: ''
    returnType: int
    signature: "int lxc_monitord_sock_handler(int fd, uint32_t events, void *data,\n\t\t\t\t
      \    struct lxc_async_descr *descr)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: accept4
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:162,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:164,1
    - Dst: getsockopt
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:168,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:169,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:173,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:174,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:181,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:184,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:193,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:198,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:203,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:208,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 44
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 212
      start: 153
    functionDepth: 4
    functionLinenumber: 153
    functionLinenumberEnd: 212
    functionName: lxc_monitord_sock_accept
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - realloc
    - lxc_mainloop_add_handler
    - ERROR
    - getsockopt
    - geteuid
    - WARN
    - accept4
    - INFO
    - SYSERROR
    - close
    linkageType: ''
    returnType: int
    signature: "int lxc_monitord_sock_accept(int fd, uint32_t events, void *data,\n\t\t\t\t
      \   struct lxc_async_descr *descr)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_monitor_sock_name
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:219,1
    - Dst: lxc_abstract_unix_open
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:222,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:224,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - mon
    argTypes:
    - struct lxc_monitor*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 230
      start: 214
    functionDepth: 3
    functionLinenumber: 214
    functionLinenumberEnd: 230
    functionName: lxc_monitord_sock_create
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - SYSERROR
    - lxc_abstract_unix_open
    - lxc_monitor_sock_name
    linkageType: ''
    returnType: int
    signature: int lxc_monitord_sock_create(struct lxc_monitor *mon)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_monitor_sock_name
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:236,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:240,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - mon
    argTypes:
    - struct lxc_monitor*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 243
      start: 232
    functionDepth: 2
    functionLinenumber: 232
    functionLinenumberEnd: 243
    functionName: lxc_monitord_sock_delete
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - unlink
    - lxc_monitor_sock_name
    linkageType: ''
    returnType: int
    signature: int lxc_monitord_sock_delete(struct lxc_monitor *mon)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_monitord_fifo_create
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:249,1
    - Dst: lxc_monitord_sock_create
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:253,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - mon
    argTypes:
    - struct lxc_monitor*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 254
      start: 245
    functionDepth: 4
    functionLinenumber: 245
    functionLinenumberEnd: 254
    functionName: lxc_monitord_create
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - lxc_monitord_sock_create
    - lxc_monitord_fifo_create
    linkageType: ''
    returnType: int
    signature: int lxc_monitord_create(struct lxc_monitor *mon)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_abstract_unix_close
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:258,1
    - Dst: lxc_monitord_sock_delete
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:259,1
    - Dst: lxc_monitord_fifo_delete
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:261,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:262,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:265,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 1
    argNames:
    - mon
    argTypes:
    - struct lxc_monitor*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 268
      start: 256
    functionDepth: 4
    functionLinenumber: 256
    functionLinenumberEnd: 268
    functionName: lxc_monitord_delete
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - lxc_monitord_fifo_delete
    - lxc_abstract_unix_close
    - lxc_monitord_sock_delete
    - close
    linkageType: ''
    returnType: void
    signature: void lxc_monitord_delete(struct lxc_monitor *mon)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:277,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:279,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:284,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:286,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 4
    argNames:
    - fd
    - events
    - data
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 291
      start: 270
    functionDepth: 1
    functionLinenumber: 270
    functionLinenumberEnd: 291
    functionName: lxc_monitord_fifo_handler
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - SYSERROR
    - lxc_read_nointr
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: "int lxc_monitord_fifo_handler(int fd, uint32_t events, void *data,\n\t\t\t\t
      \    struct lxc_async_descr *descr)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:297,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:302,1
    - Dst: lxc_mainloop_add_handler
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:306,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:311,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - mon
    argTypes:
    - struct lxc_monitor*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 316
      start: 293
    functionDepth: 4
    functionLinenumber: 293
    functionLinenumberEnd: 316
    functionName: lxc_monitord_mainloop_add
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - lxc_mainloop_add_handler
    - ERROR
    linkageType: ''
    returnType: int
    signature: int lxc_monitord_mainloop_add(struct lxc_monitor *mon)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: siglongjmp
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:320,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - sig
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 321
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 321
    functionName: lxc_monitord_sig_handler
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 0
    functionsReached:
    - siglongjmp
    linkageType: ''
    returnType: void
    signature: void lxc_monitord_sig_handler(int sig)
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:332,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:343,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:345,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:346,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:351,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:352,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:358,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:363,1
    - Dst: sigfillset
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:366,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:367,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:368,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:369,1
    - Dst: sigdelset
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:370,1
    - Dst: pthread_sigmask
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:371,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:372,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:373,1
    - Dst: signal
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:376,1
    - Dst: signal
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:377,1
    - Dst: signal
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:378,1
    - Dst: signal
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:379,1
    - Dst: sigsetjmp
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:381,1
    - Dst: memset
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:386,1
    - Dst: lxc_mainloop_open
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:388,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:389,1
    - Dst: lxc_monitord_create
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:394,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:405,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:408,1
    - Dst: lxc_monitord_mainloop_add
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:411,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:412,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:416,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:417,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:420,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:422,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:427,1
    - Dst: NOTICE
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:432,1
    - Dst: lxc_mainloop_close
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:442,1
    - Dst: lxc_monitord_delete
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:445,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_monitord.c:447,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 88
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 448
      start: 323
    functionDepth: 5
    functionLinenumber: 323
    functionLinenumberEnd: 448
    functionName: main
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_monitord.c
    functionUses: 1
    functionsReached:
    - pthread_sigmask
    - lxc_monitord_mainloop_add
    - lxc_mainloop_close
    - NOTICE
    - lxc_monitord_delete
    - lxc_mainloop_open
    - sigdelset
    - sigfillset
    - fprintf
    - sigsetjmp
    - lxc_safe_int
    - lxc_write_nointr
    - signal
    - exit
    - ERROR
    - SYSERROR
    - strcmp
    - lxc_mainloop
    - lxc_monitord_create
    - lxc_raw_getpid
    - memset
    - lxc_global_config_value
    - close
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - stream
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 52
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 52
    functionName: usernic_debug_stream
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: usernic_debug_stream(stream, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 54
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 54
    functionName: usernic_error
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: usernic_error(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - __ret__
    - ','
    - __errno__
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 62
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 62
    functionName: cmd_error_errno
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: cmd_error_errno(__ret__, __errno__, format, ...)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:65,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:66,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:68,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:69,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:71,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:72,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:73,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:76,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:78,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 1
    argNames:
    - fail
    argTypes:
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 79
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 79
    functionName: usage
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 4
    functionsReached:
    - _exit
    - fprintf
    linkageType: ''
    returnType: __noreturn
    signature: __noreturn usage(bool fail)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:87,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:89,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:98,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:100,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:104,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 105
      start: 81
    functionDepth: 1
    functionLinenumber: 81
    functionLinenumberEnd: 105
    functionName: open_and_lock
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - open
    - move_fd
    - fcntl
    - CMD_SYSERROR
    linkageType: ''
    returnType: int
    signature: int open_and_lock(const char *path)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:115,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:119,1
    - Dst: getpwuid_r
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:123,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:123,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:126,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:128,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:128,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:132,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 133
      start: 107
    functionDepth: 1
    functionLinenumber: 107
    functionLinenumberEnd: 133
    functionName: get_username
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - malloc
    - usernic_error
    - sysconf
    - getpwuid_r
    - CMD_SYSERROR
    - getuid
    - strdup
    linkageType: ''
    returnType: char
    signature: char *get_username(void)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: getgroups
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:147,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:149,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:156,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:158,1
    - Dst: getgroups
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:162,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:164,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:168,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:170,1
    - Dst: sysconf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:174,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:178,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:180,1
    - Dst: getgrgid_r
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:185,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:190,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:194,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:196,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:197,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:207,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:209,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:214,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 54
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 215
      start: 136
    functionDepth: 1
    functionLinenumber: 136
    functionLinenumberEnd: 215
    functionName: get_groupnames
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - malloc
    - usernic_error
    - sysconf
    - realloc
    - strerror
    - CMD_SYSERROR
    - zalloc
    - move_ptr
    - getgroups
    - strdup
    - getgrgid_r
    linkageType: ''
    returnType: char
    signature: char **get_groupnames(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:223,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - name
    - groupnames
    argTypes:
    - char*
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 229
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 229
    functionName: name_is_in_groupnames
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool name_is_in_groupnames(char *name, char **groupnames)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:244,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:248,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:250,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:254,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:270,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 3
    argNames:
    - head
    - name
    - n
    argTypes:
    - struct alloted_s**
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 271
      start: 237
    functionDepth: 1
    functionLinenumber: 237
    functionLinenumberEnd: 271
    functionName: append_alloted
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - usernic_error
    - CMD_SYSERROR
    - zalloc
    - move_ptr
    - strdup
    linkageType: ''
    returnType: struct alloted_s
    signature: struct alloted_s *append_alloted(struct alloted_s **head, char *name,
      int n)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:283,1
    - Dst: free
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:284,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - head
    argTypes:
    - struct alloted_s**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 287
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 287
    functionName: free_alloted
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void free_alloted(struct alloted_s **head)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:309,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:311,1
    - Dst: get_groupnames
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:315,1
    - Dst: getline
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:316,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:317,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:322,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:325,1
    - Dst: name_is_in_groupnames
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:329,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:333,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:336,1
    - Dst: append_alloted
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:349,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 30
    argCount: 4
    argNames:
    - me
    - intype
    - link
    - alloted
    argTypes:
    - char*
    - char*
    - char*
    - struct alloted_s**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 359
      start: 298
    functionDepth: 2
    functionLinenumber: 298
    functionLinenumberEnd: 359
    functionName: get_alloted
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - getline
    - is_empty_string
    - append_alloted
    - strequal
    - CMD_SYSERROR
    - fopen
    - sscanf
    - name_is_in_groupnames
    - get_groupnames
    linkageType: ''
    returnType: int
    signature: "int get_alloted(char *me, char *intype, char *link,\n\t\t       struct
      alloted_s **alloted)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - s
    - e
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 367
      start: 361
    functionDepth: 0
    functionLinenumber: 361
    functionLinenumberEnd: 367
    functionName: get_eol
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *get_eol(char *s, char *e)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: isblank
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:371,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - s
    - e
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 375
      start: 369
    functionDepth: 0
    functionLinenumber: 369
    functionLinenumberEnd: 375
    functionName: get_eow
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - isblank
    linkageType: ''
    returnType: char
    signature: char *get_eow(char *s, char *e)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:379,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:384,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 3
    argNames:
    - start
    - end
    - word
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 387
      start: 377
    functionDepth: 0
    functionLinenumber: 377
    functionLinenumberEnd: 387
    functionName: same_word
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - strlen
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool same_word(const char *start, const char *end, const char *word)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: get_eol
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:430,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:438,1
    - Dst: get_eow
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:442,1
    - Dst: same_word
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:447,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:451,1
    - Dst: get_eow
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:455,1
    - Dst: same_word
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:460,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:464,1
    - Dst: get_eow
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:468,1
    - Dst: same_word
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:473,1
    - Dst: isblank
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:477,1
    - Dst: get_eow
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:481,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:491,1
    - Dst: lxc_nic_exists
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:493,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:495,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 61
    argCount: 9
    argNames:
    - buf_start
    - buf_end
    - name
    - net_type
    - net_link
    - net_dev
    - is_owner
    - nic_found
    - exists
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - bool*
    - bool*
    - bool*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 508
      start: 412
    functionDepth: 2
    functionLinenumber: 412
    functionLinenumberEnd: 508
    functionName: find_line
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - memcpy
    - lxc_nic_exists
    - same_word
    - get_eow
    - get_eol
    - isblank
    - strcmp
    linkageType: ''
    returnType: char
    signature: "char *find_line(char *buf_start, char *buf_end, char *name,\n\t\t
      \      char *net_type, char *net_link, char *net_dev,\n\t\t       bool *is_owner,
      bool *nic_found, bool *exists)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_veth_create
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:514,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:516,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:517,1
    - Dst: setup_private_host_hw_addr
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:525,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:527,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:528,1
    - Dst: netdev_set_flag
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:531,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 4
    argNames:
    - veth1
    - veth2
    - pid
    - mtu
    argTypes:
    - char*
    - char*
    - pid_t
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 532
      start: 510
    functionDepth: 5
    functionLinenumber: 510
    functionLinenumberEnd: 532
    functionName: instantiate_veth
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - lxc_veth_create
    - setup_private_host_hw_addr
    - netdev_set_flag
    - CMD_SYSERROR
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int instantiate_veth(char *veth1, char *veth2, pid_t pid, unsigned
      int mtu)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:540,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:542,1
    - Dst: netdev_get_mtu
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:546,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:548,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 553
      start: 536
    functionDepth: 4
    functionLinenumber: 536
    functionLinenumberEnd: 553
    functionName: get_mtu
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 3
    functionsReached:
    - usernic_error
    - if_nametoindex
    - netdev_get_mtu
    linkageType: ''
    returnType: unsigned int
    signature: unsigned int get_mtu(char *name)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:561,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:563,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:567,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:569,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:573,1
    - Dst: get_mtu
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:574,1
    - Dst: instantiate_veth
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:577,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:579,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:583,1
    - Dst: lxc_netdev_set_mtu
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:585,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:587,1
    - Dst: lxc_bridge_attach
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:594,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:596,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:601,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:603,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:610,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 44
    argCount: 4
    argNames:
    - nic
    - br
    - pid
    - cnic
    argTypes:
    - char*
    - char*
    - int
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 612
      start: 555
    functionDepth: 6
    functionLinenumber: 555
    functionLinenumberEnd: 612
    functionName: create_nic
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - usernic_error
    - get_mtu
    - instantiate_veth
    - lxc_netdev_set_mtu
    - lxc_bridge_attach
    - snprintf
    - strdup
    - lxc_netdev_delete_by_name
    - strcmp
    linkageType: ''
    returnType: int
    signature: int create_nic(char *nic, char *br, int pid, char **cnic)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: fd_to_buf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:631,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:633,1
    - Dst: lseek
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:636,1
    - Dst: find_line
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:644,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:649,1
    - Dst: get_eol
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:658,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:673,1
    - Dst: ftruncate
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:679,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 37
    argCount: 6
    argNames:
    - fd
    - name
    - net_type
    - net_link
    - net_dev
    - found_nicname
    argTypes:
    - int
    - char*
    - char*
    - char*
    - char*
    - bool*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 680
      start: 620
    functionDepth: 3
    functionLinenumber: 620
    functionLinenumberEnd: 680
    functionName: cull_entries
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - realloc
    - memcpy
    - ftruncate
    - CMD_SYSERROR
    - find_line
    - fd_to_buf
    - get_eol
    - lseek
    linkageType: ''
    returnType: bool
    signature: "bool cull_entries(int fd, char *name, char *net_type, char *net_link,\n\t\t\t
      char *net_dev, bool *found_nicname)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: find_line
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:689,1
    - Dst: get_eol
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:694,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 5
    argNames:
    - buf
    - len
    - name
    - net_type
    - net_link
    argTypes:
    - char*
    - off_t
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 700
      start: 682
    functionDepth: 3
    functionLinenumber: 682
    functionLinenumberEnd: 700
    functionName: count_entries
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - get_eol
    - find_line
    linkageType: ''
    returnType: int
    signature: int count_entries(char *buf, off_t len, char *name, char *net_type,
      char *net_link)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: cull_entries
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:717,1
    - Dst: fd_to_buf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:724,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:726,1
    - Dst: lseek
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:729,1
    - Dst: count_entries
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:738,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:750,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:759,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:761,1
    - Dst: lxc_ifname_alnum_case_sensitive
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:765,1
    - Dst: create_nic
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:768,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:770,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:792,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:792,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:792,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:792,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:793,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:795,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:799,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:801,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:802,1
    - Dst: lxc_pwrite_nointr
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:807,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:809,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:811,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:812,1
    - Dst: ftruncate
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:817,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:819,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:821,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:822,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:827,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 65
    argCount: 7
    argNames:
    - fd
    - names
    - pid
    - intype
    - br
    - allowed
    - cnic
    argTypes:
    - int
    - struct alloted_s*
    - int
    - char*
    - char*
    - int
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 828
      start: 703
    functionDepth: 7
    functionLinenumber: 703
    functionLinenumberEnd: 828
    functionName: get_nic_if_avail
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - usernic_error
    - malloc
    - create_nic
    - lxc_ifname_alnum_case_sensitive
    - cull_entries
    - ftruncate
    - strdup
    - CMD_SYSERROR
    - snprintf
    - getuid
    - lxc_pwrite_nointr
    - count_entries
    - fd_to_buf
    - strlen
    - lxc_netdev_delete_by_name
    - lseek
    linkageType: ''
    returnType: char
    signature: "char *get_nic_if_avail(int fd, struct alloted_s *names, int pid,\n\t\t\t
      \     char *intype, char *br, int allowed, char **cnic)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:836,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:850,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:852,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - fnam
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 860
      start: 830
    functionDepth: 1
    functionLinenumber: 830
    functionLinenumberEnd: 860
    functionName: create_db_dir
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - mkdir
    - must_copy_string
    - CMD_SYSERROR
    linkageType: ''
    returnType: bool
    signature: bool create_db_dir(char *fnam)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:872,1
    - Dst: lxc_preserve_ns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:874,1
    - Dst: cmd_error_errno
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:876,1
    - Dst: lxc_preserve_ns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:878,1
    - Dst: cmd_error_errno
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:880,1
    - Dst: getresuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:882,1
    - Dst: cmd_error_errno
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:884,1
    - Dst: setns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:886,1
    - Dst: cmd_error_errno
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:888,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:890,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:892,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:902,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:904,1
    - Dst: lxc_netdev_rename_by_name
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:913,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:915,1
    - Dst: if_indextoname
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:920,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:921,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:928,1
    - Dst: cmd_error_errno
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:930,1
    - Dst: setns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:934,1
    - Dst: cmd_error_errno
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:936,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:942,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 52
    argCount: 4
    argNames:
    - pid
    - oldname
    - newname
    - container_veth_ifidx
    argTypes:
    - int
    - char*
    - char*
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 943
      start: 862
    functionDepth: 6
    functionLinenumber: 862
    functionLinenumberEnd: 943
    functionName: lxc_secure_rename_in_ns
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - cmd_error_errno
    - getresuid
    - setresuid
    - if_nametoindex
    - setns
    - strdup
    - CMD_SYSERROR
    - lxc_raw_getpid
    - lxc_netdev_rename_by_name
    - lxc_preserve_ns
    - if_indextoname
    linkageType: ''
    returnType: char
    signature: "char *lxc_secure_rename_in_ns(int pid, char *oldname, char *newname,\n\t\t\t\t
      \    int *container_veth_ifidx)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: getresuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:955,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:957,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:961,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:963,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:968,1
    - Dst: access
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:972,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:976,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:979,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:981,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - pid
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 987
      start: 948
    functionDepth: 1
    functionLinenumber: 948
    functionLinenumberEnd: 987
    functionName: may_access_netns
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - getresuid
    - access
    - setresuid
    - snprintf
    - CMD_SYSERROR
    linkageType: ''
    returnType: bool
    signature: bool may_access_netns(int pid)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1011,1
    - Dst: lxc_preserve_ns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1013,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1015,1
    - Dst: getresuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1019,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1021,1
    - Dst: setns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1025,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1027,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1031,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1033,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1047,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1052,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1054,1
    - Dst: setns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1059,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1061,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1067,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 44
    argCount: 1
    argNames:
    - netns_fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1069
      start: 1004
    functionDepth: 6
    functionLinenumber: 1004
    functionLinenumberEnd: 1069
    functionName: is_privileged_over_netns
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - usernic_error
    - getresuid
    - setresuid
    - setns
    - CMD_SYSERROR
    - lxc_raw_getpid
    - lxc_preserve_ns
    - lxc_netdev_delete_by_name
    - close
    linkageType: ''
    returnType: bool
    signature: bool is_privileged_over_netns(int netns_fd)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1075,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1077,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 2
    argNames:
    - args
    - argc
    argTypes:
    - struct user_nic_args*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1081
      start: 1071
    functionDepth: 0
    functionLinenumber: 1071
    functionLinenumberEnd: 1081
    functionName: validate_args
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 0
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: int validate_args(const struct user_nic_args *args, int argc)
  - BBCount: 31
    BranchProfiles: []
    Callsites:
    - Dst: usage
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1093,1
    - Dst: memset
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1095,1
    - Dst: validate_args
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1106,1
    - Dst: usage
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1108,1
    - Dst: clearenv
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1111,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1113,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1114,1
    - Dst: setenv
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1117,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1119,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1120,1
    - Dst: get_username
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1123,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1125,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1126,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1130,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1132,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1133,1
    - Dst: open
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1141,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1143,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1144,1
    - Dst: fhas_fs_type
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1147,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1148,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1149,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1150,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1153,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1155,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1156,1
    - Dst: open
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1160,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1162,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1163,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1164,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1167,1
    - Dst: create_db_dir
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1171,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1172,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1175,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1177,1
    - Dst: open_and_lock
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1180,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1182,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1185,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1187,1
    - Dst: may_access_netns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1191,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1192,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1193,1
    - Dst: is_privileged_over_netns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1198,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1199,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1201,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1202,1
    - Dst: get_alloted
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1206,1
    - Dst: is_ovs_bridge
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1212,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1213,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1214,1
    - Dst: free_alloted
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1215,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1216,1
    - Dst: cull_entries
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1226,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1228,1
    - Dst: free_alloted
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1229,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1232,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1233,1
    - Dst: lxc_ovs_delete_port
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1236,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1238,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1239,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1242,1
    - Dst: get_nic_if_avail
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1246,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1249,1
    - Dst: free_alloted
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1250,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1253,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1254,1
    - Dst: lxc_secure_rename_in_ns
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1258,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1261,1
    - Dst: lxc_netdev_delete_by_name
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1263,1
    - Dst: usernic_error
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1265,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1267,1
    - Dst: if_nametoindex
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1270,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1272,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1273,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1279,1
    - Dst: fflush
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1282,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_user_nic.c:1283,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 136
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1284
      start: 1083
    functionDepth: 8
    functionLinenumber: 1083
    functionLinenumberEnd: 1284
    functionName: main
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    functionUses: 1
    functionsReached:
    - is_ovs_bridge
    - snprintf
    - _exit
    - usernic_error
    - open
    - fprintf
    - usage
    - CMD_SYSERROR
    - is_privileged_over_netns
    - lxc_safe_int
    - cull_entries
    - may_access_netns
    - clearenv
    - validate_args
    - lxc_secure_rename_in_ns
    - fflush
    - lxc_ovs_delete_port
    - fhas_fs_type
    - get_username
    - free_alloted
    - lxc_netdev_delete_by_name
    - open_and_lock
    - create_db_dir
    - get_nic_if_avail
    - get_alloted
    - if_nametoindex
    - setenv
    - memset
    - close
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - macro
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 32
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 32
    functionName: QUOTE
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_init.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: QUOTE(macro)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - macro
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 33
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 33
    functionName: QUOTEVAL
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_init.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: QUOTEVAL(macro)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:66,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:68,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - longopts
    argTypes:
    - struct option[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 69
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 69
    functionName: print_usage_exit
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_init.c
    functionUses: 1
    functionsReached:
    - exit
    - fprintf
    linkageType: ''
    returnType: __noreturn
    signature: __noreturn print_usage_exit(const struct option longopts[])
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:73,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:74,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 75
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 75
    functionName: print_version_exit
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_init.c
    functionUses: 1
    functionsReached:
    - printf
    - exit
    linkageType: ''
    returnType: __noreturn
    signature: __noreturn print_version_exit(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:79,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 96
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 96
    functionName: print_help
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_init.c
    functionUses: 0
    functionsReached:
    - fprintf
    linkageType: ''
    returnType: void
    signature: void print_help(void)
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: getopt_long
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:105,1
    - Dst: remove_trailing_slashes
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:120,1
    - Dst: print_usage_exit
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:124,1
    - Dst: print_version_exit
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:126,1
    - Dst: print_help
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:128,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:129,1
    - Dst: print_help
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:131,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:132,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:144,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:149,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 42
    argCount: 3
    argNames:
    - args
    - argc
    - argv
    argTypes:
    - struct arguments*
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 154
      start: 98
    functionDepth: 3
    functionLinenumber: 98
    functionLinenumberEnd: 154
    functionName: arguments_parse
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_init.c
    functionUses: 21
    functionsReached:
    - print_version_exit
    - fprintf
    - print_help
    - exit
    - remove_trailing_slashes
    - print_usage_exit
    - lxc_global_config_value
    - getopt_long
    linkageType: ''
    returnType: int
    signature: "int arguments_parse(struct arguments *args, int argc,\n\t\t\t   char
      *const argv[])"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: arguments_parse
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:158,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:159,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:163,1
    - Dst: exit
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:164,1
    - Dst: lxc_container_init
      Src: /src/lxc/src/lxc/cmd/lxc_init.c:167,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 168
      start: 156
    functionDepth: 4
    functionLinenumber: 156
    functionLinenumberEnd: 168
    functionName: main
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_init.c
    functionUses: 1
    functionsReached:
    - arguments_parse
    - lxc_container_init
    - exit
    - fprintf
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:42,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:43,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:44,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:45,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:46,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:47,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:48,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:49,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:50,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:51,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:52,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:53,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:54,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:55,1
    - Dst: printf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:56,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 16
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 57
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 57
    functionName: usage
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 5
    functionsReached:
    - printf
    linkageType: ''
    returnType: void
    signature: void usage(const char *name)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:66,1
    - Dst: CMD_SYSINFO
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:68,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:72,1
    - Dst: fcntl
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:74,1
    - Dst: CMD_SYSINFO
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:76,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:77,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:81,1
    - Dst: dup2
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:83,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:84,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 2
    argNames:
    - tty
    - which
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 86
      start: 59
    functionDepth: 1
    functionLinenumber: 59
    functionLinenumberEnd: 86
    functionName: opentty
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 0
    functionsReached:
    - open
    - CMD_SYSINFO
    - close
    - dup2
    - fcntl
    linkageType: ''
    returnType: void
    signature: void opentty(const char *tty, int which)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:94,1
    - Dst: lxc_switch_uid_gid
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:97,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:100,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:102,1
    - Dst: detect_shared_rootfs
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:106,1
    - Dst: mount
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:107,1
    - Dst: CMD_SYSINFO
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:109,1
    - Dst: execvp
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:114,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:115,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - vargv
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 117
      start: 89
    functionDepth: 3
    functionLinenumber: 89
    functionLinenumberEnd: 117
    functionName: do_child
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 0
    functionsReached:
    - lxc_switch_uid_gid
    - mount
    - detect_shared_rootfs
    - lxc_drop_groups
    - execvp
    - CMD_SYSERROR
    - unshare
    - CMD_SYSINFO
    linkageType: ''
    returnType: int
    signature: int do_child(void *vargv)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:125,1
    - Dst: list_add_tail
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:134,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 4
    argNames:
    - host_id
    - ns_id
    - range
    - which
    argTypes:
    - long
    - long
    - long
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 136
      start: 121
    functionDepth: 1
    functionLinenumber: 121
    functionLinenumberEnd: 136
    functionName: add_map_entry
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 0
    functionsReached:
    - zalloc
    - list_add_tail
    linkageType: ''
    returnType: int
    signature: int add_map_entry(long host_id, long ns_id, long range, int which)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: sscanf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:152,1
    - Dst: add_map_entry
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:168,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 19
    argCount: 1
    argNames:
    - map
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 174
      start: 142
    functionDepth: 2
    functionLinenumber: 142
    functionLinenumberEnd: 174
    functionName: parse_map
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 0
    functionsReached:
    - sscanf
    - add_map_entry
    linkageType: ''
    returnType: int
    signature: int parse_map(char *map)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:194,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:198,1
    - Dst: getline
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:199,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:200,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:203,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:207,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:211,1
    - Dst: lxc_safe_ulong
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:214,1
    - Dst: lxc_safe_ulong
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:218,1
    - Dst: add_map_entry
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:222,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 26
    argCount: 3
    argNames:
    - fnam
    - which
    - user
    argTypes:
    - char*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 227
      start: 184
    functionDepth: 2
    functionLinenumber: 184
    functionLinenumberEnd: 227
    functionName: read_default_map
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 0
    functionsReached:
    - getline
    - lxc_safe_ulong
    - add_map_entry
    - fopen
    - strlen
    - strchr
    - strncmp
    linkageType: ''
    returnType: int
    signature: int read_default_map(char *fnam, int which, char *user)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:237,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:241,1
    - Dst: getpwuid_r
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:245,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:245,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:248,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:250,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:250,1
    - Dst: read_default_map
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:254,1
    - Dst: read_default_map
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:258,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 263
      start: 229
    functionDepth: 3
    functionLinenumber: 229
    functionLinenumberEnd: 263
    functionName: find_default_map
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 0
    functionsReached:
    - malloc
    - sysconf
    - getpwuid_r
    - CMD_SYSERROR
    - read_default_map
    - getuid
    linkageType: ''
    returnType: int
    signature: int find_default_map(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 2
    argNames:
    - id
    - map
    argTypes:
    - unsigned long
    - struct id_map*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 274
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 274
    functionName: is_in_ns_range
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool is_in_ns_range(unsigned long id, struct id_map *map)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:282,1
    - Dst: is_in_ns_range
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:284,1
    - Dst: is_in_ns_range
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:287,1
    - Dst: add_map_entry
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:292,1
    - Dst: getgid
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:292,1
    - Dst: add_map_entry
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:295,1
    - Dst: getuid
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:295,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 299
      start: 276
    functionDepth: 2
    functionLinenumber: 276
    functionLinenumberEnd: 299
    functionName: do_map_self
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 0
    functionsReached:
    - getgid
    - list_for_each_entry
    - add_map_entry
    - getuid
    - is_in_ns_range
    linkageType: ''
    returnType: bool
    signature: bool do_map_self(void)
  - BBCount: 32
    BranchProfiles: []
    Callsites:
    - Dst: isatty
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:314,1
    - Dst: readlink
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:315,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:317,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:318,1
    - Dst: readlink
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:321,1
    - Dst: CMD_SYSINFO
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:323,1
    - Dst: readlink
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:327,1
    - Dst: CMD_SYSINFO
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:329,1
    - Dst: getopt
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:334,1
    - Dst: parse_map
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:337,1
    - Dst: usage
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:339,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:340,1
    - Dst: usage
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:344,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:345,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:350,1
    - Dst: lxc_safe_uint
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:354,1
    - Dst: usage
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:358,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:359,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:363,1
    - Dst: find_default_map
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:364,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:366,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:367,1
    - Dst: do_map_self
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:374,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:375,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:376,1
    - Dst: pipe2
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:385,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:387,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:388,1
    - Dst: pipe2
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:391,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:393,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:394,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:395,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:396,1
    - Dst: fork
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:399,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:401,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:402,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:403,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:404,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:405,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:409,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:410,1
    - Dst: opentty
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:412,1
    - Dst: opentty
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:413,1
    - Dst: opentty
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:414,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:416,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:418,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:419,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:420,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:421,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:425,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:427,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:429,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:430,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:431,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:434,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:436,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:438,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:439,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:440,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:443,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:444,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:447,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:448,1
    - Dst: do_child
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:451,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:453,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:455,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:458,1
    - Dst: close
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:459,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:461,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:463,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:464,1
    - Dst: lxc_map_ids
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:469,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:471,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:473,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:475,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:476,1
    - Dst: waitpid
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:479,1
    - Dst: CMD_SYSERROR
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:481,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:482,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:485,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/cmd/lxc_usernsexec.c:485,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 146
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 486
      start: 301
    functionDepth: 4
    functionLinenumber: 301
    functionLinenumberEnd: 486
    functionName: main
    functionSourceFile: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
    functionUses: 1
    functionsReached:
    - waitpid
    - readlink
    - _exit
    - parse_map
    - do_map_self
    - find_default_map
    - lxc_read_nointr
    - do_child
    - list_empty
    - fprintf
    - usage
    - CMD_SYSERROR
    - isatty
    - WEXITSTATUS
    - pipe2
    - lxc_write_nointr
    - opentty
    - lxc_map_ids
    - unshare
    - CMD_SYSINFO
    - getopt
    - lxc_safe_uint
    - fork
    - close
    linkageType: ''
    returnType: int
    signature: int main(int argc, char *argv[])
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - pid
    argTypes:
    - struct lsm_ops*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 12
      start: 9
    functionDepth: 0
    functionLinenumber: 9
    functionLinenumberEnd: 12
    functionName: nop_process_label_get
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *nop_process_label_get(struct lsm_ops *ops, pid_t pid)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - fd_pid
    argTypes:
    - struct lsm_ops*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 17
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 17
    functionName: nop_process_label_get_at
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *nop_process_label_get_at(struct lsm_ops *ops, int fd_pid)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - ops
    - label
    - conf
    - on_exec
    argTypes:
    - struct lsm_ops*
    - char*
    - struct lxc_conf*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 23
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 23
    functionName: nop_process_label_set
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int nop_process_label_set(struct lsm_ops *ops, const char *label,
      struct lxc_conf *conf,\n\t\t\t\t bool on_exec)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct lsm_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 28
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 28
    functionName: nop_enabled
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int nop_enabled(struct lsm_ops *ops)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - label
    argTypes:
    - struct lsm_ops*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: nop_keyring_label_set
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int nop_keyring_label_set(struct lsm_ops *ops, const char *label)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - ops
    - conf
    - lxcpath
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: nop_prepare
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int nop_prepare(struct lsm_ops *ops, struct lxc_conf *conf, const char
      *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 3
    argNames:
    - ops
    - conf
    - lxcpath
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 42
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 42
    functionName: nop_cleanup
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void nop_cleanup(struct lsm_ops *ops, struct lxc_conf *conf, const
      char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - ops
    - pid
    - on_exec
    argTypes:
    - struct lsm_ops*
    - pid_t
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 47
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 47
    functionName: nop_process_label_fd_get
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int nop_process_label_fd_get(struct lsm_ops *ops, pid_t pid, bool on_exec)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - ops
    - label_fd
    - label
    - on_exec
    argTypes:
    - struct lsm_ops*
    - int
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: nop_process_label_set_at
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int nop_process_label_set_at(struct lsm_ops *ops, int label_fd, const
      char *label, bool on_exec)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 77
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 77
    functionName: lsm_nop_ops_init
    functionSourceFile: /src/lxc/src/lxc/lsm/nop.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: struct lsm_ops
    signature: struct lsm_ops *lsm_nop_ops_init(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lsm_apparmor_ops_init
      Src: /src/lxc/src/lxc/lsm/lsm.c:27,1
    - Dst: lsm_selinux_ops_init
      Src: /src/lxc/src/lxc/lsm/lsm.c:32,1
    - Dst: lsm_nop_ops_init
      Src: /src/lxc/src/lxc/lsm/lsm.c:36,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lsm/lsm.c:38,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 40
      start: 22
    functionDepth: 1
    functionLinenumber: 22
    functionLinenumberEnd: 40
    functionName: lsm_init_static
    functionSourceFile: /src/lxc/src/lxc/lsm/lsm.c
    functionUses: 2
    functionsReached:
    - INFO
    - lsm_apparmor_ops_init
    - lsm_nop_ops_init
    - lsm_selinux_ops_init
    linkageType: ''
    returnType: struct lsm_ops
    signature: struct lsm_ops *lsm_init_static(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/lxc/src/lxc/lsm/apparmor.c:398,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct lsm_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 401
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 401
    functionName: load_mount_features_enabled
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - stat
    linkageType: ''
    returnType: void
    signature: void load_mount_features_enabled(struct lsm_ops *ops)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fopen_cloexec
      Src: /src/lxc/src/lxc/lsm/apparmor.c:410,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:414,1
    - Dst: load_mount_features_enabled
      Src: /src/lxc/src/lxc/lsm/apparmor.c:416,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct lsm_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 421
      start: 404
    functionDepth: 2
    functionLinenumber: 404
    functionLinenumberEnd: 421
    functionName: apparmor_enabled
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - fopen_cloexec
    - fscanf
    - load_mount_features_enabled
    linkageType: ''
    returnType: int
    signature: int apparmor_enabled(struct lsm_ops *ops)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lsm/apparmor.c:430,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:433,1
    - Dst: open
      Src: /src/lxc/src/lxc/lsm/apparmor.c:437,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:444,1
    - Dst: open
      Src: /src/lxc/src/lxc/lsm/apparmor.c:448,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/apparmor.c:453,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 4
    argNames:
    - ops
    - pid
    - o_flags
    - on_exec
    argTypes:
    - struct lsm_ops*
    - pid_t
    - int
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 454
      start: 423
    functionDepth: 1
    functionLinenumber: 423
    functionLinenumberEnd: 454
    functionName: __apparmor_process_label_open
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - snprintf
    - open
    - log_error_errno
    - TRACE
    linkageType: ''
    returnType: int
    signature: int __apparmor_process_label_open(struct lsm_ops *ops, pid_t pid, int
      o_flags, bool on_exec)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: __apparmor_process_label_open
      Src: /src/lxc/src/lxc/lsm/apparmor.c:464,1
    - Dst: fd_to_buf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:468,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/lsm/apparmor.c:475,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/lsm/apparmor.c:478,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/lsm/apparmor.c:481,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lsm/apparmor.c:485,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 2
    argNames:
    - ops
    - pid
    argTypes:
    - struct lsm_ops*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 486
      start: 456
    functionDepth: 2
    functionLinenumber: 456
    functionLinenumberEnd: 486
    functionName: apparmor_process_label_get
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - malloc
    - memcpy
    - __apparmor_process_label_open
    - move_ptr
    - fd_to_buf
    - strcspn
    linkageType: ''
    returnType: char
    signature: char *apparmor_process_label_get(struct lsm_ops *ops, pid_t pid)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/lsm/apparmor.c:494,1
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/lsm/apparmor.c:496,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/apparmor.c:498,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/lsm/apparmor.c:500,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lsm/apparmor.c:503,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 2
    argNames:
    - ops
    - fd_pid
    argTypes:
    - struct lsm_ops*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 504
      start: 488
    functionDepth: 3
    functionLinenumber: 488
    functionLinenumberEnd: 504
    functionName: apparmor_process_label_get_at
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - strcspn
    - move_ptr
    - log_error_errno
    - read_file_at
    linkageType: ''
    returnType: char
    signature: char *apparmor_process_label_get_at(struct lsm_ops *ops, int fd_pid)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: apparmor_process_label_get
      Src: /src/lxc/src/lxc/lsm/apparmor.c:512,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/lsm/apparmor.c:512,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:514,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:516,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct lsm_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 518
      start: 510
    functionDepth: 3
    functionLinenumber: 510
    functionLinenumberEnd: 518
    functionName: apparmor_am_unconfined
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - lxc_raw_getpid
    - apparmor_process_label_get
    - strequal
    - free
    linkageType: ''
    returnType: bool
    signature: bool apparmor_am_unconfined(struct lsm_ops *ops)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:524,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:526,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - curlabel
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 529
      start: 520
    functionDepth: 1
    functionLinenumber: 520
    functionLinenumberEnd: 529
    functionName: aa_needs_transition
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - strequal
    linkageType: ''
    returnType: bool
    signature: bool aa_needs_transition(char *curlabel)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - buf
    - num
    argTypes:
    - char*
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 541
      start: 531
    functionDepth: 0
    functionLinenumber: 531
    functionLinenumberEnd: 541
    functionName: uint64hex
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void uint64hex(char *buf, uint64_t num)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:545,1
    - Dst: fnv_64a_buf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:548,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lsm/apparmor.c:549,1
    - Dst: uint64hex
      Src: /src/lxc/src/lxc/lsm/apparmor.c:550,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 554
      start: 543
    functionDepth: 1
    functionLinenumber: 543
    functionLinenumberEnd: 554
    functionName: shorten_apparmor_name
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - strlen
    - fnv_64a_buf
    - uint64hex
    - must_realloc
    linkageType: ''
    returnType: char
    signature: char *shorten_apparmor_name(char *name)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 564
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 564
    functionName: sanitize_path
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void sanitize_path(char *path)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/lsm/apparmor.c:568,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ctname
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 569
      start: 566
    functionDepth: 2
    functionLinenumber: 566
    functionLinenumberEnd: 569
    functionName: apparmor_dir
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - must_make_path
    linkageType: ''
    returnType: char
    signature: char *apparmor_dir(const char *ctname, const char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: shorten_apparmor_name
      Src: /src/lxc/src/lxc/lsm/apparmor.c:574,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/lsm/apparmor.c:574,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ctname
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 575
      start: 572
    functionDepth: 2
    functionLinenumber: 572
    functionLinenumberEnd: 575
    functionName: apparmor_profile_full
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - shorten_apparmor_name
    - must_concat
    linkageType: ''
    returnType: char
    signature: char *apparmor_profile_full(const char *ctname, const char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: apparmor_profile_full
      Src: /src/lxc/src/lxc/lsm/apparmor.c:582,1
    - Dst: sanitize_path
      Src: /src/lxc/src/lxc/lsm/apparmor.c:583,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 2
    argNames:
    - ctname
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 586
      start: 578
    functionDepth: 3
    functionLinenumber: 578
    functionLinenumberEnd: 586
    functionName: apparmor_namespace
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - apparmor_profile_full
    - sanitize_path
    linkageType: ''
    returnType: char
    signature: char *apparmor_namespace(const char *ctname, const char *lxcpath)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_popen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:601,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:603,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:607,1
    - Dst: lxc_pclose
      Src: /src/lxc/src/lxc/lsm/apparmor.c:609,1
    - Dst: lxc_pclose
      Src: /src/lxc/src/lxc/lsm/apparmor.c:617,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:619,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:623,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 37
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct lsm_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 635
      start: 588
    functionDepth: 2
    functionLinenumber: 588
    functionLinenumberEnd: 635
    functionName: check_apparmor_parser_version
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - fscanf
    - fprintf
    - lxc_pclose
    - lxc_popen
    linkageType: ''
    returnType: bool
    signature: bool check_apparmor_parser_version(struct lsm_ops *ops)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/lsm/apparmor.c:643,1
    - Dst: lxc_read_nointr
      Src: /src/lxc/src/lxc/lsm/apparmor.c:647,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:649,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 650
      start: 637
    functionDepth: 1
    functionLinenumber: 637
    functionLinenumberEnd: 650
    functionName: file_is_yes
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_read_nointr
    - strnequal
    linkageType: ''
    returnType: bool
    signature: bool file_is_yes(const char *path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: file_is_yes
      Src: /src/lxc/src/lxc/lsm/apparmor.c:657,1
    - Dst: fopen_cloexec
      Src: /src/lxc/src/lxc/lsm/apparmor.c:660,1
    - Dst: fscanf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:664,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/lsm/apparmor.c:665,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 670
      start: 652
    functionDepth: 2
    functionLinenumber: 652
    functionLinenumberEnd: 670
    functionName: apparmor_can_stack
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - fopen_cloexec
    - fclose
    - fscanf
    - file_is_yes
    linkageType: ''
    returnType: bool
    signature: bool apparmor_can_stack(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/lsm/apparmor.c:680,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/lsm/apparmor.c:681,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 5
    argNames:
    - buf
    - bufsz
    - data
    - size
    - append_newline
    argTypes:
    - char**
    - size_t*
    - char*
    - size_t
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 687
      start: 672
    functionDepth: 1
    functionLinenumber: 672
    functionLinenumberEnd: 687
    functionName: must_append_sized_full
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - memcpy
    - must_realloc
    linkageType: ''
    returnType: void
    signature: "void must_append_sized_full(char **buf, size_t *bufsz, const char
      *data,\n\t\t\t\t   size_t size, bool append_newline)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: must_append_sized_full
      Src: /src/lxc/src/lxc/lsm/apparmor.c:691,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 4
    argNames:
    - buf
    - bufsz
    - data
    - size
    argTypes:
    - char**
    - size_t*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 692
      start: 689
    functionDepth: 2
    functionLinenumber: 689
    functionLinenumberEnd: 692
    functionName: must_append_sized
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - must_append_sized_full
    linkageType: ''
    returnType: void
    signature: void must_append_sized(char **buf, size_t *bufsz, const char *data,
      size_t size)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/lsm/apparmor.c:696,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 697
      start: 694
    functionDepth: 1
    functionLinenumber: 694
    functionLinenumberEnd: 697
    functionName: is_privileged
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - list_empty
    linkageType: ''
    returnType: bool
    signature: bool is_privileged(struct lxc_conf *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:731,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:734,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:735,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:735,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - profile
    - size
    - rule
    argTypes:
    - char**
    - size_t*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 737
      start: 729
    functionDepth: 3
    functionLinenumber: 729
    functionLinenumberEnd: 737
    functionName: append_remount_rule
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - strlen
    - must_append_sized
    linkageType: ''
    returnType: void
    signature: void append_remount_rule(char **profile, size_t *size, const char *rule)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:747,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/lsm/apparmor.c:749,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:751,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/lsm/apparmor.c:763,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/lsm/apparmor.c:768,1
    - Dst: append_remount_rule
      Src: /src/lxc/src/lxc/lsm/apparmor.c:769,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/lsm/apparmor.c:772,1
    - Dst: append_remount_rule
      Src: /src/lxc/src/lxc/lsm/apparmor.c:773,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/lsm/apparmor.c:774,1
    - Dst: append_remount_rule
      Src: /src/lxc/src/lxc/lsm/apparmor.c:775,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 2
    argNames:
    - profile
    - size
    argTypes:
    - char**
    - size_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 777
      start: 739
    functionDepth: 4
    functionLinenumber: 739
    functionLinenumberEnd: 777
    functionName: append_all_remount_rules
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - memcpy
    - ARRAY_SIZE
    - strlen
    - append_remount_rule
    - must_append_sized
    linkageType: ''
    returnType: void
    signature: void append_all_remount_rules(char **profile, size_t *size)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: apparmor_profile_full
      Src: /src/lxc/src/lxc/lsm/apparmor.c:785,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/lsm/apparmor.c:787,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:791,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:793,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:794,1
    - Dst: is_privileged
      Src: /src/lxc/src/lxc/lsm/apparmor.c:796,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:797,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:798,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:801,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:802,1
    - Dst: append_all_remount_rules
      Src: /src/lxc/src/lxc/lsm/apparmor.c:804,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:807,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:808,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/lsm/apparmor.c:810,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:811,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:812,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:819,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:820,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/lsm/apparmor.c:823,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:826,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:828,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:828,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:829,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:831,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:832,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:836,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:837,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/lsm/apparmor.c:842,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:844,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:844,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:845,1
    - Dst: is_privileged
      Src: /src/lxc/src/lxc/lsm/apparmor.c:849,1
    - Dst: am_host_unpriv
      Src: /src/lxc/src/lxc/lsm/apparmor.c:849,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:850,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:851,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/lsm/apparmor.c:853,1
    - Dst: must_append_sized_full
      Src: /src/lxc/src/lxc/lsm/apparmor.c:856,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:856,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:860,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:862,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 42
    argCount: 3
    argNames:
    - ops
    - conf
    - lxcpath
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 865
      start: 779
    functionDepth: 5
    functionLinenumber: 779
    functionLinenumberEnd: 865
    functionName: get_apparmor_profile_content
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - STRARRAYLEN
    - list_for_each_entry
    - must_append_sized_full
    - must_concat
    - is_privileged
    - free
    - apparmor_profile_full
    - am_host_unpriv
    - append_all_remount_rules
    - strlen
    - must_append_sized
    - file_exists
    linkageType: ''
    returnType: char
    signature: char *get_apparmor_profile_content(struct lsm_ops *ops, struct lxc_conf
      *conf, const char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: apparmor_namespace
      Src: /src/lxc/src/lxc/lsm/apparmor.c:878,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/lsm/apparmor.c:879,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:880,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 2
    argNames:
    - ctname
    - lxcpath
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 883
      start: 874
    functionDepth: 4
    functionLinenumber: 874
    functionLinenumberEnd: 883
    functionName: make_apparmor_profile_path
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - must_make_path
    - apparmor_namespace
    - free
    linkageType: ''
    returnType: char
    signature: char *make_apparmor_profile_path(const char *ctname, const char *lxcpath)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: make_apparmor_namespace_path
      Src: /src/lxc/src/lxc/lsm/apparmor.c:903,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/lsm/apparmor.c:905,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:906,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:907,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:910,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 3
    argNames:
    - ops
    - conf
    - lxcpath
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 913
      start: 896
    functionDepth: 1
    functionLinenumber: 896
    functionLinenumberEnd: 913
    functionName: make_apparmor_namespace
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - SYSERROR
    - mkdir
    - make_apparmor_namespace_path
    - free
    linkageType: ''
    returnType: bool
    signature: bool make_apparmor_namespace(struct lsm_ops *ops, struct lxc_conf *conf,
      const char *lxcpath)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: make_apparmor_namespace_path
      Src: /src/lxc/src/lxc/lsm/apparmor.c:919,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/lsm/apparmor.c:920,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:921,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:922,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - conf
    - lxcpath
    argTypes:
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 923
      start: 915
    functionDepth: 1
    functionLinenumber: 915
    functionLinenumberEnd: 923
    functionName: remove_apparmor_namespace
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - rmdir
    - SYSERROR
    - make_apparmor_namespace_path
    - free
    linkageType: ''
    returnType: void
    signature: void remove_apparmor_namespace(struct lxc_conf *conf, const char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/lsm/apparmor.c:935,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 938
      start: 930
    functionDepth: 0
    functionLinenumber: 930
    functionLinenumberEnd: 938
    functionName: apparmor_parser_exec
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int apparmor_parser_exec(void *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: make_apparmor_profile_path
      Src: /src/lxc/src/lxc/lsm/apparmor.c:948,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/lsm/apparmor.c:951,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:953,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:958,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 3
    argNames:
    - command
    - conf
    - lxcpath
    argTypes:
    - char
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 960
      start: 940
    functionDepth: 5
    functionLinenumber: 940
    functionLinenumberEnd: 960
    functionName: run_apparmor_parser
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - run_command
    - make_apparmor_profile_path
    - ERROR
    - free
    linkageType: ''
    returnType: int
    signature: "int run_apparmor_parser(char command,\n                               struct
      lxc_conf *conf,\n                               const char *lxcpath)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: make_apparmor_profile_path
      Src: /src/lxc/src/lxc/lsm/apparmor.c:970,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/lsm/apparmor.c:971,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:972,1
    - Dst: apparmor_dir
      Src: /src/lxc/src/lxc/lsm/apparmor.c:975,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/lsm/apparmor.c:976,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:977,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 2
    argNames:
    - conf
    - lxcpath
    argTypes:
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 978
      start: 962
    functionDepth: 5
    functionLinenumber: 962
    functionLinenumberEnd: 978
    functionName: remove_apparmor_profile
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - apparmor_dir
    - rmdir
    - unlink
    - make_apparmor_profile_path
    - free
    linkageType: ''
    returnType: void
    signature: void remove_apparmor_profile(struct lxc_conf *conf, const char *lxcpath)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: make_apparmor_namespace
      Src: /src/lxc/src/lxc/lsm/apparmor.c:989,1
    - Dst: make_apparmor_profile_path
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1004,1
    - Dst: open
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1005,1
    - Dst: fstat
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1007,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1008,1
    - Dst: lxc_strmmap
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1014,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1017,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1023,1
    - Dst: get_apparmor_profile_content
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1027,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1031,1
    - Dst: memcmp
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1033,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1036,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1038,1
    - Dst: apparmor_dir
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1042,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1043,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1045,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1046,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1049,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1051,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1053,1
    - Dst: run_apparmor_parser
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1058,1
    - Dst: remove_apparmor_profile
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1067,1
    - Dst: remove_apparmor_namespace
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1069,1
    - Dst: lxc_strmunmap
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1073,1
    - Dst: close
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1074,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1076,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1077,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 77
    argCount: 3
    argNames:
    - ops
    - conf
    - lxcpath
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1079
      start: 980
    functionDepth: 6
    functionLinenumber: 980
    functionLinenumberEnd: 1079
    functionName: load_apparmor_profile
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_strmmap
    - apparmor_dir
    - lxc_strmunmap
    - make_apparmor_namespace
    - get_apparmor_profile_content
    - fstat
    - close
    - make_apparmor_profile_path
    - remove_apparmor_profile
    - lxc_write_to_file
    - memcmp
    - remove_apparmor_namespace
    - strlen
    - run_apparmor_parser
    - SYSERROR
    - free
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: int load_apparmor_profile(struct lsm_ops *ops, struct lxc_conf *conf,
      const char *lxcpath)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: remove_apparmor_namespace
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1093,1
    - Dst: run_apparmor_parser
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1094,1
    - Dst: remove_apparmor_profile
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1096,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 3
    argNames:
    - ops
    - conf
    - lxcpath
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1097
      start: 1085
    functionDepth: 6
    functionLinenumber: 1085
    functionLinenumberEnd: 1097
    functionName: apparmor_cleanup
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - remove_apparmor_profile
    - run_apparmor_parser
    - remove_apparmor_namespace
    linkageType: ''
    returnType: void
    signature: void apparmor_cleanup(struct lsm_ops *ops, struct lxc_conf *conf, const
      char *lxcpath)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: log_error
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1106,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1111,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1112,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1113,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1117,1
    - Dst: check_apparmor_parser_version
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1118,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1119,1
    - Dst: load_apparmor_profile
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1124,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1125,1
    - Dst: apparmor_profile_full
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1129,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1131,1
    - Dst: apparmor_namespace
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1136,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1137,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1138,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1138,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1139,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1139,1
    - Dst: must_append_sized
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1140,1
    - Dst: STRARRAYLEN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1140,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1141,1
    - Dst: apparmor_process_label_get
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1147,1
    - Dst: lxc_raw_getpid
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1147,1
    - Dst: aa_needs_transition
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1149,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1152,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1158,1
    - Dst: cgns_supported
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1163,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1169,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1170,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1172,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1173,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1174,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1179,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1184,1
    - Dst: apparmor_cleanup
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1186,1
    - Dst: free
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1188,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 71
    argCount: 3
    argNames:
    - ops
    - conf
    - lxcpath
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1190
      start: 1099
    functionDepth: 7
    functionLinenumber: 1099
    functionLinenumberEnd: 1190
    functionName: apparmor_prepare
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - log_error
    - apparmor_profile_full
    - apparmor_process_label_get
    - free
    - strequal
    - WARN
    - strlen
    - must_append_sized
    - ERROR
    - must_copy_string
    - apparmor_cleanup
    - check_apparmor_parser_version
    - apparmor_namespace
    - load_apparmor_profile
    - STRARRAYLEN
    - cgns_supported
    - aa_needs_transition
    - lxc_raw_getpid
    - INFO
    linkageType: ''
    returnType: int
    signature: int apparmor_prepare(struct lsm_ops *ops, struct lxc_conf *conf, const
      char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - label
    argTypes:
    - struct lsm_ops*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1195
      start: 1192
    functionDepth: 0
    functionLinenumber: 1192
    functionLinenumberEnd: 1195
    functionName: apparmor_keyring_label_set
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int apparmor_keyring_label_set(struct lsm_ops *ops, const char *label)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __apparmor_process_label_open
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1199,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - ops
    - pid
    - on_exec
    argTypes:
    - struct lsm_ops*
    - pid_t
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1200
      start: 1197
    functionDepth: 2
    functionLinenumber: 1197
    functionLinenumberEnd: 1200
    functionName: apparmor_process_label_fd_get
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - __apparmor_process_label_open
    linkageType: ''
    returnType: int
    signature: int apparmor_process_label_fd_get(struct lsm_ops *ops, pid_t pid, bool
      on_exec)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: TRACE
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1210,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1212,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1212,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1213,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1215,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1217,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1221,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1223,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1226,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 4
    argNames:
    - ops
    - label_fd
    - label
    - on_exec
    argTypes:
    - struct lsm_ops*
    - int
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1228
      start: 1202
    functionDepth: 1
    functionLinenumber: 1202
    functionLinenumberEnd: 1228
    functionName: apparmor_process_label_set_at
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - snprintf
    - TRACE
    - zalloc
    - ret_errno
    - INFO
    - syserror
    - strlen
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: "int apparmor_process_label_set_at(struct lsm_ops *ops, int label_fd,\n\t\t\t\t\t
      const char *label, bool on_exec)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1250,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1254,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1257,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1258,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1260,1
    - Dst: apparmor_am_unconfined
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1260,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1261,1
    - Dst: apparmor_process_label_fd_get
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1263,1
    - Dst: lxc_raw_gettid
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1263,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1265,1
    - Dst: apparmor_process_label_set_at
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1267,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1269,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1271,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 4
    argNames:
    - ops
    - inlabel
    - conf
    - on_exec
    argTypes:
    - struct lsm_ops*
    - char*
    - struct lxc_conf*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1272
      start: 1242
    functionDepth: 4
    functionLinenumber: 1242
    functionLinenumberEnd: 1272
    functionName: apparmor_process_label_set
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 0
    functionsReached:
    - log_info
    - lxc_raw_gettid
    - apparmor_am_unconfined
    - strequal
    - apparmor_process_label_fd_get
    - log_error_errno
    - apparmor_process_label_set_at
    linkageType: ''
    returnType: int
    signature: "int apparmor_process_label_set(struct lsm_ops *ops, const char *inlabel,\n\t\t\t\t
      \     struct lxc_conf *conf, bool on_exec)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: apparmor_enabled
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1304,1
    - Dst: apparmor_can_stack
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1307,1
    - Dst: file_is_yes
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1309,1
    - Dst: lxc_proc_cap_is_set
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1312,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1315,1
    - Dst: am_host_unpriv
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1316,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/lsm/apparmor.c:1317,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1321
      start: 1294
    functionDepth: 3
    functionLinenumber: 1294
    functionLinenumberEnd: 1321
    functionName: lsm_apparmor_ops_init
    functionSourceFile: /src/lxc/src/lxc/lsm/apparmor.c
    functionUses: 1
    functionsReached:
    - apparmor_can_stack
    - apparmor_enabled
    - WARN
    - lxc_proc_cap_is_set
    - am_host_unpriv
    - file_is_yes
    linkageType: ''
    returnType: struct lsm_ops
    signature: struct lsm_ops *lsm_apparmor_ops_init(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getpidcon_raw
      Src: /src/lxc/src/lxc/lsm/selinux.c:38,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/selinux.c:39,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - ops
    - pid
    argTypes:
    - struct lsm_ops*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 42
      start: 34
    functionDepth: 1
    functionLinenumber: 34
    functionLinenumberEnd: 42
    functionName: selinux_process_label_get
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - getpidcon_raw
    linkageType: ''
    returnType: char
    signature: char *selinux_process_label_get(struct lsm_ops *ops, pid_t pid)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/lsm/selinux.c:59,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/selinux.c:61,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/lsm/selinux.c:63,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/lsm/selinux.c:67,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - ops
    - fd_pid
    argTypes:
    - struct lsm_ops*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 68
      start: 54
    functionDepth: 3
    functionLinenumber: 54
    functionLinenumberEnd: 68
    functionName: selinux_process_label_get_at
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 0
    functionsReached:
    - strcspn
    - move_ptr
    - log_error_errno
    - read_file_at
    linkageType: ''
    returnType: char
    signature: char *selinux_process_label_get_at(struct lsm_ops *ops, int fd_pid)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/lsm/selinux.c:92,1
    - Dst: setexeccon_raw
      Src: /src/lxc/src/lxc/lsm/selinux.c:96,1
    - Dst: setcon_raw
      Src: /src/lxc/src/lxc/lsm/selinux.c:98,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/selinux.c:100,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lsm/selinux.c:103,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 4
    argNames:
    - ops
    - inlabel
    - conf
    - on_exec
    argTypes:
    - struct lsm_ops*
    - char*
    - struct lxc_conf*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 105
      start: 82
    functionDepth: 1
    functionLinenumber: 82
    functionLinenumberEnd: 105
    functionName: selinux_process_label_set
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 0
    functionsReached:
    - setcon_raw
    - strequal
    - setexeccon_raw
    - log_error_errno
    - INFO
    linkageType: ''
    returnType: int
    signature: "int selinux_process_label_set(struct lsm_ops *ops, const char *inlabel,\n\t\t\t\t
      \    struct lxc_conf *conf, bool on_exec)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setkeycreatecon_raw
      Src: /src/lxc/src/lxc/lsm/selinux.c:116,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - label
    argTypes:
    - struct lsm_ops*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 117
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 117
    functionName: selinux_keyring_label_set
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 0
    functionsReached:
    - setkeycreatecon_raw
    linkageType: ''
    returnType: int
    signature: int selinux_keyring_label_set(struct lsm_ops *ops, const char *label)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - ops
    - conf
    - lxcpath
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 122
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 122
    functionName: selinux_prepare
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int selinux_prepare(struct lsm_ops *ops, struct lxc_conf *conf, const
      char *lxcpath)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 3
    argNames:
    - ops
    - conf
    - lxcpath
    argTypes:
    - struct lsm_ops*
    - struct lxc_conf*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 126
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 126
    functionName: selinux_cleanup
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: void selinux_cleanup(struct lsm_ops *ops, struct lxc_conf *conf, const
      char *lxcpath)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/lsm/selinux.c:135,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/lsm/selinux.c:137,1
    - Dst: open
      Src: /src/lxc/src/lxc/lsm/selinux.c:141,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/selinux.c:143,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - ops
    - pid
    - on_exec
    argTypes:
    - struct lsm_ops*
    - pid_t
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 146
      start: 128
    functionDepth: 1
    functionLinenumber: 128
    functionLinenumberEnd: 146
    functionName: selinux_process_label_fd_get
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 0
    functionsReached:
    - open
    - log_error_errno
    - snprintf
    linkageType: ''
    returnType: int
    signature: int selinux_process_label_fd_get(struct lsm_ops *ops, pid_t pid, bool
      on_exec)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/lsm/selinux.c:155,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/lsm/selinux.c:155,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/lsm/selinux.c:157,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/lsm/selinux.c:159,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 4
    argNames:
    - ops
    - label_fd
    - label
    - on_exec
    argTypes:
    - struct lsm_ops*
    - int
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 161
      start: 148
    functionDepth: 1
    functionLinenumber: 148
    functionLinenumberEnd: 161
    functionName: selinux_process_label_set_at
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 0
    functionsReached:
    - strlen
    - log_error_errno
    - INFO
    - lxc_write_nointr
    linkageType: ''
    returnType: int
    signature: int selinux_process_label_set_at(struct lsm_ops *ops, int label_fd,
      const char *label, bool on_exec)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_selinux_enabled
      Src: /src/lxc/src/lxc/lsm/selinux.c:165,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct lsm_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 166
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 166
    functionName: selinux_enabled
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 1
    functionsReached:
    - is_selinux_enabled
    linkageType: ''
    returnType: int
    signature: int selinux_enabled(struct lsm_ops *ops)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: is_selinux_enabled
      Src: /src/lxc/src/lxc/lsm/selinux.c:190,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 194
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 194
    functionName: lsm_selinux_ops_init
    functionSourceFile: /src/lxc/src/lxc/lsm/selinux.c
    functionUses: 1
    functionsReached:
    - is_selinux_enabled
    linkageType: ''
    returnType: struct lsm_ops
    signature: struct lsm_ops *lsm_selinux_ops_init(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscall
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.h:34,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - cmd
    - attr
    - size
    argTypes:
    - int
    - union bpf_attr*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: bpf_lxc
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.h
    functionUses: 0
    functionsReached:
    - syscall
    linkageType: ''
    returnType: int
    signature: int bpf_lxc(int cmd, union bpf_attr *attr, size_t size)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: bpf_program_cgroup_detach
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.h:76,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.h:77,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.h:78,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - prog
    argTypes:
    - struct bpf_program*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 80
      start: 73
    functionDepth: 1
    functionLinenumber: 73
    functionLinenumberEnd: 80
    functionName: bpf_program_free
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.h
    functionUses: 0
    functionsReached:
    - free
    - bpf_program_cgroup_detach
    linkageType: ''
    returnType: void
    signature: void bpf_program_free(struct bpf_program *prog)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:30,1
    - Dst: cgroup_ops_init
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:32,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:34,1
    - Dst: struct cgroup_ops*::data_init
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:36,1
    - Dst: cgroup_exit
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:37,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:38,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:41,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:43,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:44,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:46,1
    - Dst: cgroup_layout_name
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 50
      start: 25
    functionDepth: 1
    functionLinenumber: 25
    functionLinenumberEnd: 50
    functionName: cgroup_init
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.c
    functionUses: 8
    functionsReached:
    - cgroup_layout_name
    - pure_unified_layout
    - cgroup_exit
    - WARN
    - TRACE
    - struct cgroup_ops*::data_init
    - log_error_errno
    - cgroup_ops_init
    linkageType: ''
    returnType: struct cgroup_ops
    signature: struct cgroup_ops *cgroup_init(struct lxc_conf *conf)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:58,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:60,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:61,1
    - Dst: free_equal
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:63,1
    - Dst: bpf_device_program_free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:65,1
    - Dst: close
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:68,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:72,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:73,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:76,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:77,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:79,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:80,1
    - Dst: free_equal
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:82,1
    - Dst: close_equal
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:85,1
    - Dst: close
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:88,1
    - Dst: close_equal
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:90,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:92,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:94,1
    - Dst: free
      Src: /src/lxc/src/lxc/cgroups/cgroup.c:96,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 30
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 99
      start: 52
    functionDepth: 1
    functionLinenumber: 52
    functionLinenumberEnd: 99
    functionName: cgroup_exit
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.c
    functionUses: 3
    functionsReached:
    - free_equal
    - close_equal
    - bpf_device_program_free
    - close
    - free
    linkageType: ''
    returnType: void
    signature: void cgroup_exit(struct cgroup_ops *ops)
  - BBCount: 5
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - layout
    argTypes:
    - cgroup_layout_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 53
    functionName: cgroup_layout_name
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *cgroup_layout_name(cgroup_layout_t layout)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 1
    argNames:
    - type
    argTypes:
    - cgroupfs_type_magic_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 70
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 70
    functionName: cgroup_hierarchy_name
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *cgroup_hierarchy_name(cgroupfs_type_magic_t type)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - h
    argTypes:
    - struct hierarchy*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 176
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 176
    functionName: device_utility_controller
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool device_utility_controller(const struct hierarchy *h)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - h
    argTypes:
    - struct hierarchy*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 183
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 183
    functionName: freezer_utility_controller
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool freezer_utility_controller(const struct hierarchy *h)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 297
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 297
    functionName: pure_unified_layout
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.h
    functionUses: 7
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool pure_unified_layout(const struct cgroup_ops *ops)
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 305
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 305
    functionName: cgroup_unified_fd
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.h
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int cgroup_unified_fd(const struct cgroup_ops *ops)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - __hierarchy
    - ','
    - __first
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 313
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 313
    functionName: make_cgroup_path
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: make_cgroup_path(__hierarchy, __first, ...)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: IS_ERR_OR_NULL
      Src: /src/lxc/src/lxc/cgroups/cgroup.h:316,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/cgroups/cgroup.h:318,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct cgroup_ctx*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 320
      start: 314
    functionDepth: 2
    functionLinenumber: 314
    functionLinenumberEnd: 320
    functionName: put_cgroup_ctx
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.h
    functionUses: 0
    functionsReached:
    - IS_ERR_OR_NULL
    - close_prot_errno_disarm
    linkageType: ''
    returnType: void
    signature: void put_cgroup_ctx(struct cgroup_ctx *ctx)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup.h:329,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup.h:340,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 2
    argNames:
    - ops
    - ctx
    argTypes:
    - struct cgroup_ops*
    - struct cgroup_ctx*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 350
      start: 323
    functionDepth: 1
    functionLinenumber: 323
    functionLinenumberEnd: 350
    functionName: prepare_cgroup_ctx
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup.h
    functionUses: 1
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: "int prepare_cgroup_ctx(struct cgroup_ops *ops,\n\t\t\t\t     struct
      cgroup_ctx *ctx)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: file_exists
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.h:21,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 24
      start: 16
    functionDepth: 1
    functionLinenumber: 16
    functionLinenumberEnd: 24
    functionName: cgns_supported
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup_utils.h
    functionUses: 5
    functionsReached:
    - file_exists
    linkageType: ''
    returnType: bool
    signature: bool cgns_supported(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:83,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:85,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - list
    argTypes:
    - void***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 91
      start: 74
    functionDepth: 1
    functionLinenumber: 74
    functionLinenumberEnd: 91
    functionName: cg_list_add
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - realloc
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int cg_list_add(void ***list)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:102,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - list
    - entry
    argTypes:
    - char**
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 106
      start: 96
    functionDepth: 1
    functionLinenumber: 96
    functionLinenumberEnd: 106
    functionName: string_in_list
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - strequal
    linkageType: ''
    returnType: bool
    signature: bool string_in_list(char **list, const char *entry)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: log_trace_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:114,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:129,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:130,1
    - Dst: device_utility_controller
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:131,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:135,1
    - Dst: freezer_utility_controller
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:136,1
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:143,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:148,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:150,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:152,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 28
    argCount: 2
    argNames:
    - ops
    - controller
    argTypes:
    - struct cgroup_ops*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 153
      start: 111
    functionDepth: 1
    functionLinenumber: 111
    functionLinenumberEnd: 153
    functionName: get_hierarchy
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - freezer_utility_controller
    - pure_unified_layout
    - strequal
    - WARN
    - INFO
    - string_in_list
    - device_utility_controller
    - ret_set_errno
    - log_trace_errno
    linkageType: ''
    returnType: struct hierarchy
    signature: struct hierarchy *get_hierarchy(const struct cgroup_ops *ops, const
      char *controller)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: get_hierarchy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:160,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:162,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:169,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:176,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 3
    argNames:
    - ops
    - fd
    - limit
    argTypes:
    - struct cgroup_ops*
    - struct cgroup_fd*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 185
      start: 155
    functionDepth: 2
    functionLinenumber: 155
    functionLinenumberEnd: 185
    functionName: prepare_cgroup_fd
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached:
    - ret_errno
    - get_hierarchy
    linkageType: ''
    returnType: int
    signature: int prepare_cgroup_fd(const struct cgroup_ops *ops, struct cgroup_fd
      *fd, bool limit)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - h
    argTypes:
    - struct hierarchy*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 190
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 190
    functionName: is_unified_hierarchy
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool is_unified_hierarchy(const struct hierarchy *h)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:201,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - hlist
    - entry
    argTypes:
    - struct hierarchy**
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 205
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 205
    functionName: controller_available
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - string_in_list
    linkageType: ''
    returnType: bool
    signature: bool controller_available(struct hierarchy **hlist, char *entry)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: controller_available
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:216,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:217,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 220
      start: 207
    functionDepth: 1
    functionLinenumber: 207
    functionLinenumberEnd: 220
    functionName: controllers_available
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - log_error
    - controller_available
    linkageType: ''
    returnType: bool
    signature: bool controllers_available(struct cgroup_ops *ops)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cg_list_add
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:227,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:232,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 233
      start: 222
    functionDepth: 2
    functionLinenumber: 222
    functionLinenumberEnd: 233
    functionName: list_new
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 2
    functionsReached:
    - move_ptr
    - cg_list_add
    linkageType: ''
    returnType: char
    signature: char **list_new(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:240,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:242,1
    - Dst: cg_list_add
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:244,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:248,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - list
    - entry
    argTypes:
    - char***
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 250
      start: 235
    functionDepth: 2
    functionLinenumber: 235
    functionLinenumberEnd: 250
    functionName: list_add_string
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - move_ptr
    - ret_errno
    - cg_list_add
    - strdup
    linkageType: ''
    returnType: int
    signature: int list_add_string(char ***list, char *entry)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:257,1
    - Dst: list_add_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:260,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:265,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 266
      start: 252
    functionDepth: 3
    functionLinenumber: 252
    functionLinenumberEnd: 266
    functionName: list_add_controllers
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - list_add_string
    - move_ptr
    - lxc_iterate_parts
    linkageType: ''
    returnType: char
    signature: char **list_add_controllers(char *controllers)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:272,1
    - Dst: list_add_controllers
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:276,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 277
      start: 268
    functionDepth: 4
    functionLinenumber: 268
    functionLinenumberEnd: 277
    functionName: unified_controllers
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - list_add_controllers
    - read_file_at
    linkageType: ''
    returnType: char
    signature: char **unified_controllers(int dfd, const char *file)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:288,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 15
    argCount: 2
    argNames:
    - ops
    - controllers
    argTypes:
    - struct cgroup_ops*
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 302
      start: 279
    functionDepth: 1
    functionLinenumber: 279
    functionLinenumberEnd: 302
    functionName: skip_hierarchy
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - strequal
    linkageType: ''
    returnType: bool
    signature: bool skip_hierarchy(const struct cgroup_ops *ops, char **controllers)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: abspath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:311,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:312,1
    - Dst: zalloc::zalloc
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:314,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:316,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:330,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:331,1
    - Dst: controllers::controllers
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:332,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:333,1
    - Dst: cg_list_add
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:335,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:337,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:341,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 7
    argNames:
    - ops
    - dfd_mnt
    - mnt
    - dfd_base
    - base_cgroup
    - controllers
    - fs_type
    argTypes:
    - struct cgroup_ops*
    - int
    - char*
    - int
    - char*
    - char**
    - cgroupfs_type_magic_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 344
      start: 304
    functionDepth: 2
    functionLinenumber: 304
    functionLinenumberEnd: 344
    functionName: cgroup_hierarchy_add
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - zalloc::zalloc
    - maybe_empty
    - TRACE
    - move_ptr
    - ret_errno
    - syserror_set
    - cg_list_add
    - abspath
    - controllers::controllers
    linkageType: ''
    returnType: int
    signature: "int cgroup_hierarchy_add(struct cgroup_ops *ops, int dfd_mnt, char
      *mnt,\n\t\t\t\tint dfd_base, char *base_cgroup,\n\t\t\t\tchar **controllers,
      cgroupfs_type_magic_t fs_type)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cgroup_tree_prune
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:355,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:357,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:359,1
    - Dst: free_equal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:361,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 2
    argNames:
    - hierarchies
    - path_prune
    argTypes:
    - struct hierarchy**
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 365
      start: 346
    functionDepth: 1
    functionLinenumber: 346
    functionLinenumberEnd: 365
    functionName: cgroup_tree_remove
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - free_equal
    - cgroup_tree_prune
    - SYSWARN
    - TRACE
    linkageType: ''
    returnType: int
    signature: int cgroup_tree_remove(struct hierarchy **hierarchies, const char *path_prune)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:382,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:383,1
    - Dst: setresgid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:385,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:387,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:390,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:392,1
    - Dst: cgroup_tree_remove
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:395,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 396
      start: 375
    functionDepth: 2
    functionLinenumber: 375
    functionLinenumberEnd: 396
    functionName: cgroup_tree_remove_wrapper
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - setresuid
    - lxc_drop_groups
    - log_error_errno
    - cgroup_tree_remove
    - setresgid
    linkageType: ''
    returnType: int
    signature: int cgroup_tree_remove_wrapper(void *data)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:404,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:412,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:417,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:422,1
    - Dst: bpf_program_cgroup_detach
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:426,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:428,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:435,1
    - Dst: userns_exec_full
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:442,1
    - Dst: cgroup_tree_remove
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:445,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:448,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 29
    argCount: 2
    argNames:
    - ops
    - handler
    argTypes:
    - struct cgroup_ops*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 449
      start: 398
    functionDepth: 5
    functionLinenumber: 398
    functionLinenumberEnd: 449
    functionName: cgfsng_payload_destroy
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ERROR
    - SYSWARN
    - container_uses_namespace
    - WARN
    - userns_exec_full
    - bpf_program_cgroup_detach
    - cgroup_tree_remove
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_payload_destroy(struct cgroup_ops *ops,\n\t\t\t\t\t\tstruct
      lxc_handler *handler)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:461,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:462,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:464,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:466,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:468,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:474,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:475,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:477,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:477,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:478,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:480,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:483,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:487,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:489,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:491,1
    - Dst: close
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:494,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:501,1
    - Dst: syswarn_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:507,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:510,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 31
    argCount: 4
    argNames:
    - dfd_base
    - path
    - mode
    - eexist_ignore
    argTypes:
    - int
    - char*
    - mode_t
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 511
      start: 451
    functionDepth: 2
    functionLinenumber: 451
    functionLinenumberEnd: 511
    functionName: __cgroup_tree_create
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - mkdirat
    - STRLITERALLEN
    - is_empty_string
    - lxc_iterate_parts
    - open_at
    - strnequal
    - TRACE
    - ret_errno
    - strlcpy
    - syserror_set
    - syserror
    - abspath
    - close
    - move_fd
    - syswarn_set
    linkageType: ''
    returnType: int
    signature: "int __cgroup_tree_create(int dfd_base, const char *path, mode_t mode,\n\t\t\t\tbool
      eexist_ignore)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: __cgroup_tree_create
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:521,1
    - Dst: syswarn_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:523,1
    - Dst: make_cgroup_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:525,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:526,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:528,1
    - Dst: __cgroup_tree_create
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:535,1
    - Dst: cgroup_tree_prune
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:538,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:539,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:541,1
    - Dst: syswarn_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:542,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:544,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:545,1
    - Dst: __cgroup_tree_create
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:548,1
    - Dst: syswarn_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:550,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:553,1
    - Dst: make_cgroup_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:555,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:559,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 6
    argNames:
    - ops
    - conf
    - h
    - cgroup_limit_dir
    - cgroup_leaf
    - payload
    argTypes:
    - struct cgroup_ops*
    - struct lxc_conf*
    - struct hierarchy*
    - char*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 564
      start: 513
    functionDepth: 3
    functionLinenumber: 513
    functionLinenumberEnd: 564
    functionName: cgroup_tree_create
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached:
    - SYSWARN
    - syswarn_ret
    - TRACE
    - make_cgroup_path
    - __cgroup_tree_create
    - must_make_path
    - cgroup_tree_prune
    - move_fd
    linkageType: ''
    returnType: bool
    signature: "bool cgroup_tree_create(struct cgroup_ops *ops, struct lxc_conf *conf,\n\t\t\t
      \      struct hierarchy *h, const char *cgroup_limit_dir,\n\t\t\t       const
      char *cgroup_leaf, bool payload)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: free_equal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:576,1
    - Dst: close_equal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:577,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:583,1
    - Dst: cgroup_tree_prune
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:590,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:591,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:593,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 3
    argNames:
    - h
    - path_prune
    - payload
    argTypes:
    - struct hierarchy*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 594
      start: 566
    functionDepth: 1
    functionLinenumber: 566
    functionLinenumberEnd: 594
    functionName: cgroup_tree_prune_leaf
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - free_equal
    - close_equal
    - SYSWARN
    - TRACE
    - close_prot_errno_disarm
    - cgroup_tree_prune
    linkageType: ''
    returnType: void
    signature: "void cgroup_tree_prune_leaf(struct hierarchy *h, const char *path_prune,\n\t\t\t\t
      \  bool payload)"
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:600,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:604,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:612,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:617,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:623,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:627,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:639,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:644,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:646,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:648,1
    - Dst: __cgroup_tree_create
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:650,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:652,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:656,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:658,1
    - Dst: cgroup_tree_prune
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:663,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:665,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:667,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 51
    argCount: 2
    argNames:
    - ops
    - handler
    argTypes:
    - struct cgroup_ops*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 669
      start: 596
    functionDepth: 3
    functionLinenumber: 596
    functionLinenumberEnd: 669
    functionName: cgfsng_monitor_destroy
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_writeat
    - SYSWARN
    - WARN
    - TRACE
    - INTTYPE_TO_STRLEN
    - __cgroup_tree_create
    - strnprintf
    - must_make_path
    - cgroup_tree_prune
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_monitor_destroy(struct cgroup_ops *ops,\n\t\t\t\t\t\tstruct
      lxc_handler *handler)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:689,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:694,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 699
      start: 677
    functionDepth: 1
    functionLinenumber: 677
    functionLinenumberEnd: 699
    functionName: check_cgroup_dir_config
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    linkageType: ''
    returnType: bool
    signature: bool check_cgroup_dir_config(struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: dbus_connection_unref
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:714,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - conn
    argTypes:
    - DBusConnection**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 717
      start: 712
    functionDepth: 0
    functionLinenumber: 712
    functionLinenumberEnd: 717
    functionName: _dbus_connection_free
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_connection_unref
    linkageType: ''
    returnType: void
    signature: void _dbus_connection_free(DBusConnection **conn)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: dbus_message_unref
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:722,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - message
    argTypes:
    - DBusMessage**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 725
      start: 719
    functionDepth: 0
    functionLinenumber: 719
    functionLinenumberEnd: 725
    functionName: _dbus_message_free
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_message_unref
    linkageType: ''
    returnType: void
    signature: void _dbus_message_free(DBusMessage **message)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:735,1
    - Dst: dbus_connection_read_write
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:739,1
    - Dst: dbus_connection_pop_message
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:740,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:742,1
    - Dst: dbus_message_is_signal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:744,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:745,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:749,1
    - Dst: dbus_message_iter_init
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:751,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:752,1
    - Dst: dbus_message_iter_get_arg_type
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:753,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:754,1
    - Dst: dbus_message_iter_next
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:756,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:757,1
    - Dst: dbus_message_iter_next
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:759,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:760,1
    - Dst: dbus_message_iter_get_arg_type
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:761,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:762,1
    - Dst: dbus_message_iter_get_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:763,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:764,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:765,1
    - Dst: dbus_message_iter_next
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:767,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:768,1
    - Dst: dbus_message_iter_get_arg_type
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:769,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:770,1
    - Dst: dbus_message_iter_get_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:771,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:772,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:773,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 31
    argCount: 2
    argNames:
    - connection
    - scope_name
    argTypes:
    - DBusConnection*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 776
      start: 733
    functionDepth: 1
    functionLinenumber: 733
    functionLinenumberEnd: 776
    functionName: systemd_cgroup_scope_ready
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_message_iter_get_arg_type
    - dbus_connection_read_write
    - dbus_connection_pop_message
    - __cleanup__
    - dbus_message_iter_get_basic
    - dbus_message_iter_next
    - dbus_message_is_signal
    - TRACE
    - dbus_message_iter_init
    - strcmp
    - DEBUG
    - log_debug
    linkageType: ''
    returnType: enum systemd_scope_ret
    signature: enum systemd_scope_ret systemd_cgroup_scope_ready(DBusConnection *connection,
      const char *scope_name)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: dbus_message_iter_open_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:786,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - parent
    - type
    - sig
    - sub
    argTypes:
    - DBusMessageIter*
    - int
    - char*
    - struct dbus_iter*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 791
      start: 784
    functionDepth: 0
    functionLinenumber: 784
    functionLinenumberEnd: 791
    functionName: open_dbus_container
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_message_iter_open_container
    linkageType: ''
    returnType: bool
    signature: bool open_dbus_container(DBusMessageIter *parent, int type, const char
      *sig, struct dbus_iter *sub)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbus_message_iter_close_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:796,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - sub
    argTypes:
    - struct dbus_iter*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 797
      start: 793
    functionDepth: 0
    functionLinenumber: 793
    functionLinenumberEnd: 797
    functionName: close_dbus_container
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_message_iter_close_container
    linkageType: ''
    returnType: bool
    signature: bool close_dbus_container(struct dbus_iter *sub)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: dbus_message_iter_abandon_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:803,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - sub
    argTypes:
    - struct dbus_iter*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 805
      start: 799
    functionDepth: 0
    functionLinenumber: 799
    functionLinenumberEnd: 805
    functionName: abandon_dbus_container
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_message_iter_abandon_container
    linkageType: ''
    returnType: void
    signature: void abandon_dbus_container(struct dbus_iter *sub)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:809,1
    - Dst: open_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:812,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:813,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:816,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:817,1
    - Dst: close_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:821,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:822,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 3
    argNames:
    - parent
    - value
    - len
    argTypes:
    - struct DBusMessageIter*
    - uint32_t*
    - unsigned int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 825
      start: 807
    functionDepth: 1
    functionLinenumber: 807
    functionLinenumberEnd: 825
    functionName: dbus_append_array
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - __cleanup__
    - close_dbus_container
    - open_dbus_container
    - dbus_message_iter_append_basic
    - log_debug
    linkageType: ''
    returnType: bool
    signature: bool dbus_append_array(struct DBusMessageIter *parent, const uint32_t
      *value, unsigned int len)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: dbus_message_iter_open_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:833,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:843,1
    - Dst: dbus_message_iter_close_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:845,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:846,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - iter
    argTypes:
    - DBusMessageIter*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 849
      start: 829
    functionDepth: 1
    functionLinenumber: 829
    functionLinenumberEnd: 849
    functionName: sd_boilerplate
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_message_iter_close_container
    - log_debug
    - dbus_message_iter_open_container
    linkageType: ''
    returnType: bool
    signature: bool sd_boilerplate(DBusMessageIter *iter)
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:858,1
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:859,1
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:860,1
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:863,1
    - Dst: dbus_message_new_method_call
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:867,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:869,1
    - Dst: dbus_message_iter_init_append
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:871,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:873,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:874,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:877,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:878,1
    - Dst: open_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:884,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:890,1
    - Dst: open_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:893,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:894,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:896,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:897,1
    - Dst: open_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:899,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:902,1
    - Dst: getpid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:904,1
    - Dst: dbus_append_array
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:905,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:906,1
    - Dst: close_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:908,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:909,1
    - Dst: close_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:910,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:911,1
    - Dst: open_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:914,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:915,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:917,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:918,1
    - Dst: open_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:920,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:921,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:922,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:923,1
    - Dst: close_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:924,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:925,1
    - Dst: close_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:926,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:927,1
    - Dst: open_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:930,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:931,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:933,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:934,1
    - Dst: open_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:936,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:937,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:938,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:939,1
    - Dst: close_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:940,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:941,1
    - Dst: close_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:942,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:943,1
    - Dst: close_dbus_container
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:945,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:946,1
    - Dst: sd_boilerplate
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:948,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:949,1
    - Dst: dbus_connection_send_with_reply
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:952,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:953,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:956,1
    - Dst: dbus_connection_flush
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:958,1
    - Dst: dbus_pending_call_block
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:960,1
    - Dst: dbus_pending_call_unref
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:962,1
    - Dst: systemd_cgroup_scope_ready
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:969,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:971,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:975,1
    - Dst: nanosleep
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:976,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 71
    argCount: 2
    argNames:
    - connection
    - scope_name
    argTypes:
    - DBusConnection*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 981
      start: 851
    functionDepth: 2
    functionLinenumber: 851
    functionLinenumberEnd: 981
    functionName: start_scope
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_append_array
    - dbus_message_iter_init_append
    - __cleanup__
    - dbus_pending_call_unref
    - nanosleep
    - sd_boilerplate
    - getpid
    - close_dbus_container
    - dbus_message_new_method_call
    - dbus_pending_call_block
    - open_dbus_container
    - systemd_cgroup_scope_ready
    - dbus_message_iter_append_basic
    - dbus_connection_send_with_reply
    - log_debug
    - dbus_connection_flush
    linkageType: ''
    returnType: bool
    signature: bool start_scope(DBusConnection *connection, const char *scope_name)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: getenv
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:986,1
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:991,1
    - Dst: dbus_error_init
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:994,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:997,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:998,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1000,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1004,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1007,1
    - Dst: dbus_connection_open
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1009,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1011,1
    - Dst: dbus_error_free
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1013,1
    - Dst: dbus_error_free
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1016,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1018,1
    - Dst: dbus_message_new_method_call
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1020,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1025,1
    - Dst: dbus_connection_send_with_reply
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1028,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1029,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1034,1
    - Dst: dbus_connection_flush
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1038,1
    - Dst: dbus_message_unref
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1040,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1043,1
    - Dst: dbus_pending_call_block
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1045,1
    - Dst: dbus_pending_call_steal_reply
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1047,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1049,1
    - Dst: dbus_pending_call_unref
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1053,1
    - Dst: dbus_message_iter_init
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1055,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1056,1
    - Dst: dbus_message_iter_get_arg_type
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1060,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1061,1
    - Dst: dbus_message_iter_get_arg_type
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1061,1
    - Dst: dbus_message_iter_get_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1064,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1065,1
    - Dst: dbus_connection_unref
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1070,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 65
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1072
      start: 983
    functionDepth: 1
    functionLinenumber: 983
    functionLinenumberEnd: 1072
    functionName: open_systemd
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_error_free
    - dbus_pending_call_unref
    - log_error
    - dbus_connection_open
    - dbus_message_iter_get_basic
    - TRACE
    - WARN
    - dbus_message_new_method_call
    - strdup
    - dbus_pending_call_steal_reply
    - dbus_message_iter_get_arg_type
    - ERROR
    - getenv
    - dbus_pending_call_block
    - DEBUG
    - dbus_connection_send_with_reply
    - dbus_connection_unref
    - dbus_error_init
    - __cleanup__
    - dbus_message_unref
    - dbus_message_iter_init
    - dbus_connection_flush
    linkageType: ''
    returnType: DBusConnection
    signature: DBusConnection *open_systemd(void)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1077,1
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1078,1
    - Dst: dbus_threads_init_default
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1085,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1089,1
    - Dst: open_systemd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1090,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1092,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1094,1
    - Dst: dbus_message_new_method_call
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1095,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1097,1
    - Dst: dbus_message_iter_init_append
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1099,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1100,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1101,1
    - Dst: dbus_message_iter_append_basic
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1102,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1103,1
    - Dst: dbus_append_array
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1104,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1105,1
    - Dst: dbus_connection_send_with_reply
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1107,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1108,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1111,1
    - Dst: dbus_connection_flush
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1113,1
    - Dst: dbus_pending_call_block
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1115,1
    - Dst: dbus_message_unref
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1117,1
    - Dst: dbus_pending_call_steal_reply
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1120,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1122,1
    - Dst: dbus_pending_call_unref
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1124,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 33
    argCount: 2
    argNames:
    - scope_name
    - pid
    argTypes:
    - char*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1127
      start: 1074
    functionDepth: 2
    functionLinenumber: 1074
    functionLinenumberEnd: 1127
    functionName: enter_scope
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - dbus_append_array
    - __cleanup__
    - dbus_message_iter_init_append
    - dbus_pending_call_unref
    - log_error
    - dbus_pending_call_steal_reply
    - dbus_message_unref
    - open_systemd
    - TRACE
    - dbus_message_new_method_call
    - dbus_pending_call_block
    - dbus_message_iter_append_basic
    - dbus_connection_send_with_reply
    - log_debug
    - dbus_threads_init_default
    - dbus_connection_flush
    linkageType: ''
    returnType: bool
    signature: bool enter_scope(char *scope_name, pid_t pid)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1134,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1139,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1139,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - contents
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1144
      start: 1129
    functionDepth: 0
    functionLinenumber: 1129
    functionLinenumberEnd: 1144
    functionName: string_pure_unified_system
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - strlen
    - lxc_iterate_parts
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool string_pure_unified_system(char *contents)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1156,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1160,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1161,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1162,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1167,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1169,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1170,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1173,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1175,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1175,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1177,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 2
    argNames:
    - fd_dir
    - cg
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1180
      start: 1146
    functionDepth: 3
    functionLinenumber: 1146
    functionLinenumberEnd: 1180
    functionName: enable_controllers_delegation
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_writeat
    - lxc_iterate_parts
    - read_file_at
    - strlcat
    - must_realloc
    - log_error_errno
    - strlen
    - log_debug
    linkageType: ''
    returnType: bool
    signature: bool enable_controllers_delegation(int fd_dir, char *cg)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1192,1
    - Dst: string_pure_unified_system
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1196,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1202,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1202,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1203,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1205,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1206
      start: 1186
    functionDepth: 3
    functionLinenumber: 1186
    functionLinenumberEnd: 1206
    functionName: get_current_unified_cgroup
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - read_file_at
    - string_pure_unified_system
    - strnequal
    - strdup
    linkageType: ''
    returnType: char
    signature: char *get_current_unified_cgroup(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1212,1
    - Dst: string_pure_unified_system
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1216,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1217
      start: 1208
    functionDepth: 3
    functionLinenumber: 1208
    functionLinenumberEnd: 1217
    functionName: pure_unified_system
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 2
    functionsReached:
    - string_pure_unified_system
    - read_file_at
    linkageType: ''
    returnType: bool
    signature: bool pure_unified_system(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1229,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1231,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1233,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1235,1
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1237,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1241,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1241,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1243,1
    - Dst: enable_controllers_delegation
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1246,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - parent_cgroup
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1247
      start: 1223
    functionDepth: 4
    functionLinenumber: 1223
    functionLinenumberEnd: 1247
    functionName: move_and_delegate_unified
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_writeat
    - mkdirat
    - open_at
    - read_file_at
    - syserror_ret
    - strlen
    - enable_controllers_delegation
    linkageType: ''
    returnType: bool
    signature: bool move_and_delegate_unified(char *parent_cgroup)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1258,1
    - Dst: __cleanup__
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1261,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1264,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1265,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1267,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1268,1
    - Dst: pure_unified_system
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1275,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1276,1
    - Dst: dbus_threads_init_default
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1280,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1285,1
    - Dst: open_systemd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1287,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1289,1
    - Dst: dbus_message_new_method_call
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1291,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1293,1
    - Dst: dbus_error_init
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1295,1
    - Dst: dbus_connection_send
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1297,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1298,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1299,1
    - Dst: dbus_connection_flush
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1302,1
    - Dst: dbus_bus_add_match
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1306,1
    - Dst: dbus_connection_flush
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1307,1
    - Dst: dbus_error_is_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1308,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1309,1
    - Dst: dbus_error_free
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1310,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1315,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1315,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1315,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1316,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1318,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1321,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1322,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1324,1
    - Dst: start_scope
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1325,1
    - Dst: get_current_unified_cgroup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1326,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1328,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1329,1
    - Dst: move_and_delegate_unified
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1330,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1331,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1332,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 53
    argCount: 2
    argNames:
    - ops
    - conf
    argTypes:
    - struct cgroup_ops*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1338
      start: 1253
    functionDepth: 5
    functionLinenumber: 1253
    functionLinenumberEnd: 1338
    functionName: unpriv_systemd_create_scope
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - log_info
    - STRLITERALLEN
    - dbus_error_free
    - log_error
    - open_systemd
    - dbus_connection_send
    - TRACE
    - syserror
    - get_current_unified_cgroup
    - dbus_threads_init_default
    - file_exists
    - move_and_delegate_unified
    - dbus_message_new_method_call
    - dbus_bus_add_match
    - strlen
    - must_make_path
    - malloc
    - ERROR
    - dbus_error_is_set
    - geteuid
    - log_error_errno
    - strnprintf
    - start_scope
    - pure_unified_system
    - dbus_error_init
    - __cleanup__
    - log_trace
    - INFO
    - dbus_connection_flush
    linkageType: ''
    returnType: int
    signature: int unpriv_systemd_create_scope(struct cgroup_ops *ops, struct lxc_conf
      *conf)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - conf
    argTypes:
    - struct cgroup_ops*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1344
      start: 1341
    functionDepth: 0
    functionLinenumber: 1341
    functionLinenumberEnd: 1344
    functionName: unpriv_systemd_create_scope
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int unpriv_systemd_create_scope(struct cgroup_ops *ops, struct lxc_conf
      *conf)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1354,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1356,1
    - Dst: deabs
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1356,1
    - Dst: ERR_PTR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1358,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - cg
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1361
      start: 1350
    functionDepth: 1
    functionLinenumber: 1350
    functionLinenumberEnd: 1361
    functionName: cgroup_relpath
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ERR_PTR
    - deabs
    - strequal
    - strdup
    linkageType: ''
    returnType: char
    signature: char *cgroup_relpath(char *cg)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1373,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1379,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1382,1
    - Dst: check_cgroup_dir_config
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1386,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1390,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1392,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1399,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1401,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1403,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1407,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1412,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1420,1
    - Dst: cgroup_tree_create
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1423,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1428,1
    - Dst: cgroup_tree_prune_leaf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1430,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1439,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1441,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1442,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 49
    argCount: 2
    argNames:
    - ops
    - handler
    argTypes:
    - struct cgroup_ops*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1443
      start: 1363
    functionDepth: 4
    functionLinenumber: 1363
    functionLinenumberEnd: 1443
    functionName: cgfsng_monitor_create
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - log_info
    - check_cgroup_dir_config
    - sprintf
    - cgroup_tree_prune_leaf
    - must_concat
    - move_ptr
    - log_error_errno
    - lxc_string_replace
    - strdup
    - ret_set_errno
    - DEBUG
    - cgroup_tree_create
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_monitor_create(struct cgroup_ops *ops, struct lxc_handler
      *handler)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1460,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1466,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1469,1
    - Dst: check_cgroup_dir_config
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1473,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1477,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1479,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1482,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1488,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1492,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1500,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1502,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1504,1
    - Dst: must_concat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1509,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1515,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1523,1
    - Dst: cgroup_tree_create
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1526,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1532,1
    - Dst: cgroup_tree_prune_leaf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1534,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1543,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1545,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1547,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1550,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 65
    argCount: 2
    argNames:
    - ops
    - handler
    argTypes:
    - struct cgroup_ops*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1553
      start: 1449
    functionDepth: 4
    functionLinenumber: 1449
    functionLinenumberEnd: 1553
    functionName: cgfsng_payload_create
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - check_cgroup_dir_config
    - sprintf
    - DEBUG
    - cgroup_tree_prune_leaf
    - must_concat
    - move_ptr
    - log_error_errno
    - INFO
    - lxc_string_replace
    - strdup
    - ret_set_errno
    - must_make_path
    - cgroup_tree_create
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_payload_create(struct cgroup_ops *ops, struct lxc_handler
      *handler)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1559,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1560,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1563,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1569,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1572,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1574,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1579,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1588,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1590,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1592,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1597,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1601,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1603,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1606,1
    - Dst: is_unified_hierarchy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1614,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1615,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 36
    argCount: 2
    argNames:
    - ops
    - handler
    argTypes:
    - struct cgroup_ops*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1620
      start: 1555
    functionDepth: 2
    functionLinenumber: 1555
    functionLinenumberEnd: 1620
    functionName: cgfsng_monitor_enter
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_writeat
    - TRACE
    - INTTYPE_TO_STRLEN
    - is_unified_hierarchy
    - log_error_errno
    - close_prot_errno_disarm
    - ret_set_errno
    - strnprintf
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_monitor_enter(struct cgroup_ops *ops,\n\t\t\t\t\t
      \     struct lxc_handler *handler)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1626,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1629,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1635,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1638,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1640,1
    - Dst: is_unified_hierarchy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1648,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1652,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1654,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1656,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 21
    argCount: 2
    argNames:
    - ops
    - handler
    argTypes:
    - struct cgroup_ops*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1660
      start: 1622
    functionDepth: 2
    functionLinenumber: 1622
    functionLinenumberEnd: 1660
    functionName: cgfsng_payload_enter
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_writeat
    - TRACE
    - INTTYPE_TO_STRLEN
    - is_unified_hierarchy
    - log_error_errno
    - ret_set_errno
    - strnprintf
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_payload_enter(struct cgroup_ops *ops,\n\t\t\t\t\t
      \     struct lxc_handler *handler)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fchownat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1667,1
    - Dst: log_warn_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1670,1
    - Dst: fchmodat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1675,1
    - Dst: log_warn_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1677,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 5
    argNames:
    - dirfd
    - path
    - chown_uid
    - chown_gid
    - chmod_mode
    argTypes:
    - int
    - char*
    - uid_t
    - gid_t
    - mode_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1681
      start: 1662
    functionDepth: 1
    functionLinenumber: 1662
    functionLinenumberEnd: 1681
    functionName: fchowmodat
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - fchownat
    - fchmodat
    - log_warn_errno
    linkageType: ''
    returnType: int
    signature: "int fchowmodat(int dirfd, const char *path, uid_t chown_uid,\n\t\t
      \     gid_t chown_gid, mode_t chmod_mode)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1698,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1699,1
    - Dst: setresgid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1701,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1703,1
    - Dst: setresuid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1706,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1708,1
    - Dst: get_ns_uid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1711,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1719,1
    - Dst: fchowmodat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1721,1
    - Dst: fchowmodat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1732,1
    - Dst: fchowmodat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1734,1
    - Dst: fchowmodat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1740,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1744
      start: 1690
    functionDepth: 2
    functionLinenumber: 1690
    functionLinenumberEnd: 1744
    functionName: chown_cgroup_wrapper
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - get_ns_uid
    - setresuid
    - lxc_drop_groups
    - log_error_errno
    - syserror_set
    - fchowmodat
    - setresgid
    linkageType: ''
    returnType: int
    signature: int chown_cgroup_wrapper(void *data)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1752,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1758,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1761,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1763,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1766,1
    - Dst: userns_exec_1
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1771,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1772,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 2
    argNames:
    - ops
    - conf
    argTypes:
    - struct cgroup_ops*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1775
      start: 1746
    functionDepth: 5
    functionLinenumber: 1746
    functionLinenumberEnd: 1775
    functionName: cgfsng_chown
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - list_empty
    - geteuid
    - userns_exec_1
    - log_error_errno
    - ret_set_errno
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_chown(struct cgroup_ops *ops,\n\t\t\t\t      struct
      lxc_conf *conf)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1789,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1792,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1808,1
    - Dst: faccessat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1809,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1811,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1814
      start: 1777
    functionDepth: 1
    functionLinenumber: 1777
    functionLinenumberEnd: 1814
    functionName: cgfsng_finalize
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - pure_unified_layout
    - faccessat
    - close_prot_errno_disarm
    - TRACE
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_finalize(struct cgroup_ops *ops)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1832,1
    - Dst: is_unified_hierarchy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1844,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1845,1
    - Dst: fs_prepare
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1847,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1849,1
    - Dst: is_unified_hierarchy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1851,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1853,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1853,1
    - Dst: fs_set_property
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1854,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1854,1
    - Dst: fs_set_property
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1856,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1858,1
    - Dst: fs_attach
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1862,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1866,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1867,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1869,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1870,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 28
    argCount: 5
    argNames:
    - cgroup_automount_type
    - h
    - rootfs
    - dfd_mnt_cgroupfs
    - hierarchy_mnt
    argTypes:
    - int
    - struct hierarchy*
    - struct lxc_rootfs*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1872
      start: 1822
    functionDepth: 3
    functionLinenumber: 1822
    functionLinenumberEnd: 1872
    functionName: __cgroupfs_mount
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - fs_prepare
    - maybe_empty
    - strnequal
    - fs_set_property
    - is_unified_hierarchy
    - log_error_errno
    - ret_errno
    - fs_attach
    - DEBUG
    linkageType: ''
    returnType: int
    signature: "int __cgroupfs_mount(int cgroup_automount_type, struct hierarchy *h,\n\t\t\t
      \   struct lxc_rootfs *rootfs, int dfd_mnt_cgroupfs,\n\t\t\t    const char *hierarchy_mnt)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __cgroupfs_mount
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1878,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - cgroup_automount_type
    - h
    - rootfs
    - dfd_mnt_cgroupfs
    - hierarchy_mnt
    argTypes:
    - int
    - struct hierarchy*
    - struct lxc_rootfs*
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1880
      start: 1874
    functionDepth: 4
    functionLinenumber: 1874
    functionLinenumberEnd: 1880
    functionName: cgroupfs_mount
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached:
    - __cgroupfs_mount
    linkageType: ''
    returnType: int
    signature: "int cgroupfs_mount(int cgroup_automount_type, struct hierarchy *h,\n\t\t\t\t
      struct lxc_rootfs *rootfs,\n\t\t\t\t int dfd_mnt_cgroupfs, const char *hierarchy_mnt)"
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1894,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1900,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1903,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1912,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1915,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1918,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1921,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1924,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1927,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1930,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1933,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1936,1
    - Dst: lxc_wants_cap
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1941,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1953,1
    - Dst: cgns_supported
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1957,1
    - Dst: container_uses_namespace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1957,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1961,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1964,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1970,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1972,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:1975,1
    - Dst: cgroupfs_mount
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2012,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2014,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2016,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2026,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2028,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2031,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2034,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 71
    argCount: 3
    argNames:
    - ops
    - handler
    - cg_flags
    argTypes:
    - struct cgroup_ops*
    - struct lxc_handler*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2035
      start: 1882
    functionDepth: 5
    functionLinenumber: 1882
    functionLinenumberEnd: 2035
    functionName: cgfsng_mount
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - open_at
    - container_uses_namespace
    - SYSWARN
    - pure_unified_layout
    - cgns_supported
    - cgroupfs_mount
    - log_trace
    - TRACE
    - log_error_errno
    - syserror_ret
    - ret_set_errno
    - lxc_wants_cap
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_mount(struct cgroup_ops *ops,\n\t\t\t\t      struct
      lxc_handler *handler, int cg_flags)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2042,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2048,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2050,1
    - Dst: make_cgroup_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2057,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2060,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2062,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 2
    argNames:
    - ops
    - conf
    argTypes:
    - struct cgroup_ops*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2066
      start: 2038
    functionDepth: 2
    functionLinenumber: 2038
    functionLinenumberEnd: 2066
    functionName: cgfsng_criu_escape
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - geteuid
    - make_cgroup_path
    - log_error_errno
    - lxc_write_to_file
    - ret_set_errno
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_criu_escape(const struct cgroup_ops *ops,\n\t\t\t\t\t
      \   struct lxc_conf *conf)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2073,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2082
      start: 2068
    functionDepth: 1
    functionLinenumber: 2068
    functionLinenumberEnd: 2082
    functionName: cgfsng_criu_num_hierarchies
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_criu_num_hierarchies(struct cgroup_ops *ops)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2090,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2093,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2098,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - ops
    - n
    - out
    argTypes:
    - struct cgroup_ops*
    - int
    - char***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2103
      start: 2084
    functionDepth: 1
    functionLinenumber: 2084
    functionLinenumberEnd: 2103
    functionName: cgfsng_criu_get_hierarchies
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_criu_get_hierarchies(struct cgroup_ops *ops,\n\t\t\t\t\t\t
      \    int n, char ***out)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: PTR_TO_INT
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2110,1
    - Dst: fdopen_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2114,1
    - Dst: getline
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2123,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2124,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2124,1
    - Dst: rewind
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2127,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 4
    argNames:
    - fd
    - events
    - cbdata
    - descr
    argTypes:
    - int
    - uint32_t
    - void*
    - struct lxc_async_descr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2130
      start: 2105
    functionDepth: 3
    functionLinenumber: 2105
    functionLinenumberEnd: 2130
    functionName: freezer_cgroup_events_cb
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - PTR_TO_INT
    - getline
    - strnequal
    - rewind
    - fdopen_at
    linkageType: ''
    returnType: int
    signature: "int freezer_cgroup_events_cb(int fd, uint32_t events, void *cbdata,\n\t\t\t\t
      \   struct lxc_async_descr *descr)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2139,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2146,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2149,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2154,1
    - Dst: open
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2155,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2157,1
    - Dst: lxc_mainloop_open
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2159,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2161,1
    - Dst: lxc_mainloop_add_handler_events
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2166,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2169,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2172,1
    - Dst: lxc_write_openat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2175,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2177,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2179,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2180,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 26
    argCount: 6
    argNames:
    - ops
    - timeout
    - state_string
    - state_num
    - epoll_error
    - wait_error
    argTypes:
    - struct cgroup_ops*
    - int
    - char*
    - int
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2183
      start: 2132
    functionDepth: 5
    functionLinenumber: 2132
    functionLinenumberEnd: 2183
    functionName: cg_unified_freeze_do
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - open
    - lxc_write_openat
    - lxc_mainloop
    - call_cleaner
    - INT_TO_PTR
    - lxc_mainloop_add_handler_events
    - log_error_errno
    - ret_set_errno
    - must_make_path
    - lxc_mainloop_open
    linkageType: ''
    returnType: int
    signature: "int cg_unified_freeze_do(struct cgroup_ops *ops, int timeout,\n\t\t\t\tconst
      char *state_string,\n\t\t\t\tint state_num,\n\t\t\t\tconst char *epoll_error,\n\t\t\t\tconst
      char *wait_error)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cg_unified_freeze_do
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2187,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - timeout
    argTypes:
    - struct cgroup_ops*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2190
      start: 2185
    functionDepth: 6
    functionLinenumber: 2185
    functionLinenumberEnd: 2190
    functionName: cg_unified_freeze
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - cg_unified_freeze_do
    linkageType: ''
    returnType: int
    signature: int cg_unified_freeze(struct cgroup_ops *ops, int timeout)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2195,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2197,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2198,1
    - Dst: cg_unified_freeze
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2200,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 2
    argNames:
    - ops
    - timeout
    argTypes:
    - struct cgroup_ops*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2201
      start: 2192
    functionDepth: 7
    functionLinenumber: 2192
    functionLinenumberEnd: 2201
    functionName: cgfsng_freeze
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - pure_unified_layout
    - cg_unified_freeze
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_freeze(struct cgroup_ops *ops, int timeout)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cg_unified_freeze_do
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2205,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - timeout
    argTypes:
    - struct cgroup_ops*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2208
      start: 2203
    functionDepth: 6
    functionLinenumber: 2203
    functionLinenumberEnd: 2208
    functionName: cg_unified_unfreeze
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - cg_unified_freeze_do
    linkageType: ''
    returnType: int
    signature: int cg_unified_unfreeze(struct cgroup_ops *ops, int timeout)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2213,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2215,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2216,1
    - Dst: cg_unified_unfreeze
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2218,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 2
    argNames:
    - ops
    - timeout
    argTypes:
    - struct cgroup_ops*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2219
      start: 2210
    functionDepth: 7
    functionLinenumber: 2210
    functionLinenumberEnd: 2219
    functionName: cgfsng_unfreeze
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - pure_unified_layout
    - cg_unified_unfreeze
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_unfreeze(struct cgroup_ops *ops, int timeout)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: get_hierarchy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2228,1
    - Dst: log_warn_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2230,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2231,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2240,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2241,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2242,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2243,1
    - Dst: strspn
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2244,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 3
    argNames:
    - ops
    - controller
    - limiting
    argTypes:
    - struct cgroup_ops*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2247
      start: 2221
    functionDepth: 2
    functionLinenumber: 2221
    functionLinenumberEnd: 2247
    functionName: cgfsng_get_cgroup_do
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - maybe_empty
    - strnequal
    - log_warn_errno
    - get_hierarchy
    - strspn
    - strlen
    linkageType: ''
    returnType: char
    signature: "char *cgfsng_get_cgroup_do(struct cgroup_ops *ops,\n\t\t\t\t\tconst
      char *controller, bool limiting)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cgfsng_get_cgroup_do
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2252,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - controller
    argTypes:
    - struct cgroup_ops*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2253
      start: 2249
    functionDepth: 3
    functionLinenumber: 2249
    functionLinenumberEnd: 2253
    functionName: cgfsng_get_cgroup
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - cgfsng_get_cgroup_do
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops *cgfsng_get_cgroup(struct cgroup_ops *ops,\n\t\t\t\t\t\t
      \ const char *controller)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cgfsng_get_cgroup_do
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2258,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - ops
    - controller
    argTypes:
    - struct cgroup_ops*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2259
      start: 2255
    functionDepth: 3
    functionLinenumber: 2255
    functionLinenumberEnd: 2259
    functionName: cgfsng_get_limit_cgroup
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - cgfsng_get_cgroup_do
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops *cgfsng_get_limit_cgroup(struct cgroup_ops *ops,\n\t\t\t\t\t\t\tconst
      char *controller)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: make_cgroup_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2268,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 3
    argNames:
    - h
    - inpath
    - filename
    argTypes:
    - struct hierarchy*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2269
      start: 2264
    functionDepth: 1
    functionLinenumber: 2264
    functionLinenumberEnd: 2269
    functionName: build_full_cgpath_from_monitorpath
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - make_cgroup_path
    linkageType: ''
    returnType: char
    signature: "char *build_full_cgpath_from_monitorpath(struct hierarchy *h,\n\t\t\t\t\t\t
      \      const char *inpath,\n\t\t\t\t\t\t       const char *filename)"
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2275,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2279,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2281,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2283,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2287,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2289,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2291,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2295,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2299,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2299,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2302,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2311,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2312,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2314,1
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2317,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2319,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2325,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2327,1
    - Dst: unlinkat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2329,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2330,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2334,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2339,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 38
    argCount: 3
    argNames:
    - conf
    - unified_fd
    - pid
    argTypes:
    - struct lxc_conf*
    - int
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2340
      start: 2271
    functionDepth: 2
    functionLinenumber: 2271
    functionLinenumberEnd: 2340
    functionName: cgroup_attach_leaf
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - mkdirat
    - lxc_writeat
    - STRLITERALLEN
    - unlinkat
    - log_trace
    - INTTYPE_TO_STRLEN
    - log_error_errno
    - strnprintf
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int cgroup_attach_leaf(const struct lxc_conf *conf, int unified_fd,
      pid_t pid)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mkdirat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2350,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2352,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2355,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2357,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2360,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2362,1
    - Dst: lxc_abstract_unix_send_fds
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2365,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2367,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2370,1
    - Dst: lxc_abstract_unix_send_credential
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2372,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2374,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2376,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 4
    argNames:
    - conf
    - unified_fd
    - sk_fd
    - unprivileged
    argTypes:
    - struct lxc_conf*
    - int
    - int*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2380
      start: 2342
    functionDepth: 3
    functionLinenumber: 2342
    functionLinenumberEnd: 2380
    functionName: cgroup_attach_create_leaf
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - mkdirat
    - lxc_abstract_unix_send_fds
    - open_at
    - TRACE
    - lxc_abstract_unix_send_credential
    - syserror
    linkageType: ''
    returnType: int
    signature: "int cgroup_attach_create_leaf(const struct lxc_conf *conf,\n\t\t\t\t
      \    int unified_fd, int *sk_fd, bool unprivileged)"
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2388,1
    - Dst: lxc_cmd_get_systemd_scope
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2394,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2396,1
    - Dst: enter_scope
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2397,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2398,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2400,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2402,1
    - Dst: lxc_abstract_unix_recv_two_fds
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2407,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2409,1
    - Dst: lxc_abstract_unix_rcv_credential
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2411,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2413,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2415,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2417,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2419,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2421,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2423,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2425,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2428,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2430,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2432,1
    - Dst: lxc_write_nointr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2434,1
    - Dst: log_debug
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2436,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2438,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 6
    argNames:
    - conf
    - lxcpath
    - unified_fd
    - sk_fd
    - pid
    - unprivileged
    argTypes:
    - struct lxc_conf*
    - char*
    - int
    - int*
    - pid_t
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2439
      start: 2382
    functionDepth: 8
    functionLinenumber: 2382
    functionLinenumberEnd: 2439
    functionName: cgroup_attach_move_into_leaf
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ERROR
    - sprintf
    - open_at
    - lxc_abstract_unix_rcv_credential
    - enter_scope
    - lxc_abstract_unix_recv_two_fds
    - TRACE
    - INTTYPE_TO_STRLEN
    - log_error_errno
    - syserror
    - log_debug
    - lxc_write_nointr
    - lxc_cmd_get_systemd_scope
    linkageType: ''
    returnType: int
    signature: "int cgroup_attach_move_into_leaf(const struct lxc_conf *conf,\n\t\t\t\t\tconst
      char *lxcpath,\n\t\t\t\t\tint unified_fd, int *sk_fd, pid_t pid,\n\t\t\t\t\tbool
      unprivileged)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2456,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2458,1
    - Dst: cgroup_attach_create_leaf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2459,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2461
      start: 2450
    functionDepth: 4
    functionLinenumber: 2450
    functionLinenumberEnd: 2461
    functionName: cgroup_unified_attach_child_wrapper
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - cgroup_attach_create_leaf
    - close_prot_errno_disarm
    linkageType: ''
    returnType: int
    signature: int cgroup_unified_attach_child_wrapper(void *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2469,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2471,1
    - Dst: cgroup_attach_move_into_leaf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2472,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2476
      start: 2463
    functionDepth: 9
    functionLinenumber: 2463
    functionLinenumberEnd: 2476
    functionName: cgroup_unified_attach_parent_wrapper
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_errno
    - close_prot_errno_disarm
    - cgroup_attach_move_into_leaf
    linkageType: ''
    returnType: int
    signature: int cgroup_unified_attach_parent_wrapper(void *data)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2497,1
    - Dst: cgroup_attach
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2499,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2501,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2502,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2503,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2504,1
    - Dst: lxc_cmd_get_cgroup_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2507,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2511,1
    - Dst: make_cgroup_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2513,1
    - Dst: open
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2515,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2517,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2519,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2524,1
    - Dst: socketpair
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2528,1
    - Dst: userns_exec_minimal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2532,1
    - Dst: cgroup_attach_leaf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2538,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 26
    argCount: 6
    argNames:
    - h
    - conf
    - name
    - lxcpath
    - pid
    - controller
    argTypes:
    - struct hierarchy*
    - struct lxc_conf*
    - char*
    - char*
    - pid_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2542
      start: 2487
    functionDepth: 9
    functionLinenumber: 2487
    functionLinenumberEnd: 2542
    functionName: __cg_unified_attach
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_cgroup_path
    - open
    - list_empty
    - am_guest_unpriv
    - userns_exec_minimal
    - cgroup_attach_leaf
    - log_trace
    - TRACE
    - make_cgroup_path
    - ret_errno
    - log_error_errno
    - socketpair
    - ERRNO_IS_NOT_SUPPORTED
    - cgroup_attach
    linkageType: ''
    returnType: int
    signature: "int __cg_unified_attach(const struct hierarchy *h,\n\t\t\t       const
      struct lxc_conf *conf, const char *name,\n\t\t\t       const char *lxcpath,
      pid_t pid,\n\t\t\t       const char *controller)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2550,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2553,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2558,1
    - Dst: __cg_unified_attach
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2567,1
    - Dst: lxc_cmd_get_cgroup_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2575,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2584,1
    - Dst: maybe_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2584,1
    - Dst: build_full_cgpath_from_monitorpath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2588,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2589,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2591,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 26
    argCount: 5
    argNames:
    - ops
    - conf
    - name
    - lxcpath
    - pid
    argTypes:
    - struct cgroup_ops*
    - struct lxc_conf*
    - char*
    - char*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2596
      start: 2544
    functionDepth: 10
    functionLinenumber: 2544
    functionLinenumberEnd: 2596
    functionName: cgfsng_attach
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_cgroup_path
    - maybe_empty
    - __cg_unified_attach
    - INTTYPE_TO_STRLEN
    - TRACE
    - log_error_errno
    - lxc_write_to_file
    - ret_set_errno
    - strnprintf
    - build_full_cgpath_from_monitorpath
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_attach(struct cgroup_ops *ops,\n\t\t\t\t       const
      struct lxc_conf *conf,\n\t\t\t\t       const char *name, const char *lxcpath,\n\t\t\t\t
      \      pid_t pid)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2613,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2615,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2617,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2619,1
    - Dst: lxc_cmd_get_limit_cgroup_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2623,1
    - Dst: get_hierarchy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2628,1
    - Dst: build_full_cgpath_from_monitorpath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2632,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2633,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 6
    argNames:
    - ops
    - filename
    - value
    - len
    - name
    - lxcpath
    argTypes:
    - struct cgroup_ops*
    - char*
    - char*
    - size_t
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2637
      start: 2602
    functionDepth: 9
    functionLinenumber: 2602
    functionLinenumberEnd: 2637
    functionName: cgfsng_get
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_limit_cgroup_path
    - build_full_cgpath_from_monitorpath
    - get_hierarchy
    - ret_errno
    - strdup
    - ret_set_errno
    - strchr
    - lxc_read_from_file
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_get(struct cgroup_ops *ops, const char *filename,\n\t\t\t\t
      \    char *value, size_t len, const char *name,\n\t\t\t\t     const char *lxcpath)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2657,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 2
    argNames:
    - device
    - val
    argTypes:
    - struct device_item*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2662
      start: 2639
    functionDepth: 1
    functionLinenumber: 2639
    functionLinenumberEnd: 2662
    functionName: device_cgroup_parse_access
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_errno
    linkageType: ''
    returnType: int
    signature: int device_cgroup_parse_access(struct device_item *device, const char
      *val)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2671,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2676,1
    - Dst: isspace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2697,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2703,1
    - Dst: memset
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2704,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2708,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2711,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2725,1
    - Dst: memset
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2726,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2730,1
    - Dst: lxc_safe_int
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2733,1
    - Dst: isspace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2739,1
    - Dst: device_cgroup_parse_access
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2742,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 67
    argCount: 3
    argNames:
    - device
    - key
    - val
    argTypes:
    - struct device_item*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2743
      start: 2664
    functionDepth: 2
    functionLinenumber: 2664
    functionLinenumberEnd: 2743
    functionName: device_cgroup_rule_parse
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - isspace
    - strequal
    - isdigit
    - memset
    - lxc_safe_int
    - device_cgroup_parse_access
    linkageType: ''
    returnType: int
    signature: "int device_cgroup_rule_parse(struct device_item *device, const char
      *key,\n\t\t\t\t    const char *val)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2759,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2759,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2760,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2760,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2761,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2763,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2765,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2767,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2771,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2771,1
    - Dst: device_cgroup_rule_parse
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2774,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2776,1
    - Dst: lxc_cmd_add_bpf_device_cgroup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2779,1
    - Dst: lxc_cmd_get_limit_cgroup_path
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2786,1
    - Dst: get_hierarchy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2791,1
    - Dst: build_full_cgpath_from_monitorpath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2795,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2796,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2796,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 27
    argCount: 5
    argNames:
    - ops
    - key
    - value
    - name
    - lxcpath
    argTypes:
    - struct cgroup_ops*
    - char*
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2800
      start: 2749
    functionDepth: 9
    functionLinenumber: 2749
    functionLinenumberEnd: 2800
    functionName: cgfsng_set
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_add_bpf_device_cgroup
    - is_empty_string
    - lxc_cmd_get_limit_cgroup_path
    - pure_unified_layout
    - build_full_cgpath_from_monitorpath
    - strequal
    - get_hierarchy
    - ret_errno
    - log_error_errno
    - strlen
    - strdup
    - lxc_write_to_file
    - strchr
    - device_cgroup_rule_parse
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_set(struct cgroup_ops *ops,\n\t\t\t\t     const
      char *key, const char *value,\n\t\t\t\t     const char *name, const char *lxcpath)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2818,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2820,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2843,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2847,1
    - Dst: device_cgroup_parse_access
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2849,1
    - Dst: stat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2852,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2854,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2865,1
    - Dst: MAJOR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2868,1
    - Dst: MINOR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2869,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 39
    argCount: 2
    argNames:
    - device
    - devpath
    argTypes:
    - struct device_item*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2873
      start: 2809
    functionDepth: 2
    functionLinenumber: 2809
    functionLinenumberEnd: 2873
    functionName: device_cgroup_rule_parse_devpath
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - MINOR
    - stat
    - ret_errno
    - log_error_errno
    - MAJOR
    - strdup
    - ret_set_errno
    - device_cgroup_parse_access
    linkageType: ''
    returnType: int
    signature: "int device_cgroup_rule_parse_devpath(struct device_item *device,\n\t\t\t\t\t
      \   const char *devpath)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2886,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2886,1
    - Dst: device_cgroup_rule_parse_devpath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2887,1
    - Dst: device_cgroup_rule_parse
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2889,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2891,1
    - Dst: bpf_list_add_device
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2898,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 4
    argNames:
    - ops
    - conf
    - key
    - val
    argTypes:
    - struct cgroup_ops*
    - struct lxc_conf*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2903
      start: 2879
    functionDepth: 3
    functionLinenumber: 2879
    functionLinenumberEnd: 2903
    functionName: bpf_device_cgroup_prepare
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - device_cgroup_rule_parse_devpath
    - bpf_list_add_device
    - strequal
    - syserror_set
    - abspath
    - device_cgroup_rule_parse
    linkageType: ''
    returnType: int
    signature: "int bpf_device_cgroup_prepare(struct cgroup_ops *ops,\n\t\t\t\t     struct
      lxc_conf *conf, const char *key,\n\t\t\t\t     const char *val)"
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2914,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2920,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2923,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2927,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2930,1
    - Dst: log_warn_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2931,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2940,1
    - Dst: bpf_device_cgroup_prepare
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2941,1
    - Dst: lxc_write_openat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2943,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2943,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2945,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2947,1
    - Dst: log_info
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2950,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 26
    argCount: 2
    argNames:
    - ops
    - handler
    argTypes:
    - struct cgroup_ops*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2951
      start: 2905
    functionDepth: 4
    functionLinenumber: 2905
    functionLinenumberEnd: 2951
    functionName: cgfsng_setup_limits
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - log_info
    - bpf_device_cgroup_prepare
    - lxc_write_openat
    - list_empty
    - pure_unified_layout
    - strnequal
    - log_warn_errno
    - TRACE
    - log_error_errno
    - strlen
    - ret_set_errno
    linkageType: ''
    returnType: __cgfsng_ops
    signature: "__cgfsng_ops cgfsng_setup_limits(struct cgroup_ops *ops,\n\t\t\t\t\t
      \    struct lxc_handler *handler)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2940,1
    - Dst: bpf_device_cgroup_prepare
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2941,1
    - Dst: lxc_write_openat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2943,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2943,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2945,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2947,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2948
      start: 2937
    functionDepth: 4
    functionLinenumber: 2937
    functionLinenumberEnd: 2948
    functionName: list_for_each_entry
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 61
    functionsReached:
    - bpf_device_cgroup_prepare
    - lxc_write_openat
    - strnequal
    - TRACE
    - log_error_errno
    - strlen
    linkageType: ''
    returnType: void
    signature: void list_for_each_entry(cgroup, cgroup_settings, head)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2959,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2965,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2968,1
    - Dst: device_utility_controller
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2972,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2973,1
    - Dst: bpf_cgroup_devices_attach
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2976,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 2
    argNames:
    - ops
    - handler
    argTypes:
    - struct cgroup_ops*
    - struct lxc_handler*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2977
      start: 2953
    functionDepth: 1
    functionLinenumber: 2953
    functionLinenumberEnd: 2977
    functionName: cgfsng_devices_activate
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - list_empty
    - bpf_cgroup_devices_attach
    - device_utility_controller
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_devices_activate(struct cgroup_ops *ops, struct
      lxc_handler *handler)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:2989,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3003,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3004,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3009,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3010,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3013,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3016,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3026,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3032,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3033,1
    - Dst: strnequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3035,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3035,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3036,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3038,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3040,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3042,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3044,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3046,1
    - Dst: close
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3048,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 37
    argCount: 2
    argNames:
    - ops
    - cgroup
    argTypes:
    - struct cgroup_ops*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3057
      start: 2979
    functionDepth: 2
    functionLinenumber: 2979
    functionLinenumberEnd: 3057
    functionName: __cgfsng_delegate_controllers
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_writeat
    - STRLITERALLEN
    - lxc_iterate_parts
    - open_at
    - pure_unified_layout
    - strnequal
    - strlcat
    - must_realloc
    - TRACE
    - syserror_set
    - syserror
    - strdup
    - strlen
    - abspath
    - close
    linkageType: ''
    returnType: bool
    signature: bool __cgfsng_delegate_controllers(struct cgroup_ops *ops, const char
      *cgroup)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3062,1
    - Dst: __cgfsng_delegate_controllers
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3064,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3065
      start: 3059
    functionDepth: 3
    functionLinenumber: 3059
    functionLinenumberEnd: 3065
    functionName: cgfsng_monitor_delegate_controllers
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - __cgfsng_delegate_controllers
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_monitor_delegate_controllers(struct cgroup_ops
      *ops)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3070,1
    - Dst: __cgfsng_delegate_controllers
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3072,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3073
      start: 3067
    functionDepth: 3
    functionLinenumber: 3067
    functionLinenumberEnd: 3073
    functionName: cgfsng_payload_delegate_controllers
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - __cgfsng_delegate_controllers
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_payload_delegate_controllers(struct cgroup_ops
      *ops)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - line
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3078
      start: 3075
    functionDepth: 0
    functionLinenumber: 3075
    functionLinenumberEnd: 3078
    functionName: unified_cgroup
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool unified_cgroup(const char *line)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3084,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3086,1
    - Dst: ERR_PTR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3087,1
    - Dst: prune_init_scope
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3091,1
    - Dst: deabs
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3094,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3096,1
    - Dst: ERR_PTR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3098,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - relative
    - line
    argTypes:
    - bool
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3101
      start: 3080
    functionDepth: 1
    functionLinenumber: 3080
    functionLinenumberEnd: 3101
    functionName: current_unified_cgroup
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached:
    - STRLITERALLEN
    - prune_init_scope
    - deabs
    - ERR_PTR
    - strdup
    - abspath
    linkageType: ''
    returnType: char
    signature: char *current_unified_cgroup(bool relative, char *line)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strnequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3105,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3105,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3106,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - controllers
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3108
      start: 3103
    functionDepth: 1
    functionLinenumber: 3103
    functionLinenumberEnd: 3108
    functionName: unprefix
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - STRLITERALLEN
    - strnequal
    linkageType: ''
    returnType: char
    signature: char *unprefix(const char *controllers)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3124,1
    - Dst: list_add_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3127,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3132,1
    - Dst: syswarn_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3133,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3136,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3141,1
    - Dst: list_add_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3144,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3149,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - delegate
    argTypes:
    - char***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3151
      start: 3110
    functionDepth: 3
    functionLinenumber: 3110
    functionLinenumberEnd: 3151
    functionName: __list_cgroup_delegate
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_iterate_parts
    - list_add_string
    - read_file_at
    - syswarn_ret
    - strequal
    - move_ptr
    linkageType: ''
    returnType: int
    signature: int __list_cgroup_delegate(char ***delegate)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: __list_cgroup_delegate
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3158,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3160,1
    - Dst: faccessat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3163,1
    - Dst: sysinfo_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3166,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3169,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 2
    argNames:
    - dfd_base
    - ret_files
    argTypes:
    - int
    - char***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3171
      start: 3153
    functionDepth: 4
    functionLinenumber: 3153
    functionLinenumberEnd: 3171
    functionName: unified_hierarchy_delegated
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - __list_cgroup_delegate
    - sysinfo_ret
    - faccessat
    - move_ptr
    - syserror_ret
    linkageType: ''
    returnType: bool
    signature: bool unified_hierarchy_delegated(int dfd_base, char ***ret_files)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: faccessat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3177,1
    - Dst: sysinfo_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3179,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - dfd_base
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3182
      start: 3173
    functionDepth: 1
    functionLinenumber: 3173
    functionLinenumberEnd: 3182
    functionName: legacy_hierarchy_delegated
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - faccessat
    - sysinfo_ret
    linkageType: ''
    returnType: bool
    signature: bool legacy_hierarchy_delegated(int dfd_base)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3229,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3232,1
    - Dst: unprefix
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3235,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - controllers
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3236
      start: 3225
    functionDepth: 2
    functionLinenumber: 3225
    functionLinenumberEnd: 3236
    functionName: stable_order
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - unprefix
    - strequal
    linkageType: ''
    returnType: char
    signature: char *stable_order(const char *controllers)
  - BBCount: 45
    BranchProfiles: []
    Callsites:
    - Dst: unpriv_systemd_create_scope
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3249,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3251,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3253,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3259,1
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3260,1
    - Dst: read_file_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3262,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3264,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3266,1
    - Dst: unified_cgroup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3276,1
    - Dst: cgroup_relpath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3283,1
    - Dst: IS_ERR_OR_NULL
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3284,1
    - Dst: current_unified_cgroup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3285,1
    - Dst: IS_ERR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3286,1
    - Dst: PTR_ERR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3287,1
    - Dst: unified_cgroup_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3289,1
    - Dst: dup_cloexec
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3290,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3293,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3301,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3303,1
    - Dst: fhas_fs_type
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3307,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3308,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3314,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3315,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3320,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3323,1
    - Dst: unified_hierarchy_delegated
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3330,1
    - Dst: unified_controllers
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3333,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3335,1
    - Dst: list_new
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3336,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3338,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3341,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3343,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3350,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3352,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3355,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3357,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3361,1
    - Dst: stable_order
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3361,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3363,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3365,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3371,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3374,1
    - Dst: fhas_fs_type
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3378,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3379,1
    - Dst: abspath
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3385,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3386,1
    - Dst: prune_init_scope
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3390,1
    - Dst: deabs
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3393,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3395,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3397,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3399,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3400,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3405,1
    - Dst: SYSTRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3408,1
    - Dst: legacy_hierarchy_delegated
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3415,1
    - Dst: list_add_controllers
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3423,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3425,1
    - Dst: skip_hierarchy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3427,1
    - Dst: cgroup_hierarchy_add
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3433,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3436,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3439,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3440,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3441,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3442,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3443,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3445,1
    - Dst: bpf_devices_cgroup_supported
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3453,1
    - Dst: controllers_available
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3481,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3482,1
    CyclomaticComplexity: 55
    EdgeCount: 55
    ICount: 152
    argCount: 4
    argNames:
    - ops
    - relative
    - unprivileged
    - conf
    argTypes:
    - struct cgroup_ops*
    - bool
    - bool
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3485
      start: 3241
    functionDepth: 6
    functionLinenumber: 3241
    functionLinenumberEnd: 3485
    functionName: __initialize_cgroups
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - current_unified_cgroup
    - lxc_iterate_parts
    - read_file_at
    - open_at
    - is_empty_string
    - legacy_hierarchy_delegated
    - unpriv_systemd_create_scope
    - unified_controllers
    - TRACE
    - syserror
    - syserror_ret
    - abspath
    - strchr
    - move_fd
    - move_ptr
    - dup_cloexec
    - unified_hierarchy_delegated
    - strdup
    - IS_ERR
    - controllers_available
    - unified_cgroup
    - cgroup_hierarchy_add
    - cgroup_relpath
    - PTR_ERR
    - prune_init_scope
    - geteuid
    - fhas_fs_type
    - ret_errno
    - list_new
    - IS_ERR_OR_NULL
    - syserror_set
    - deabs
    - skip_hierarchy
    - bpf_devices_cgroup_supported
    - list_add_controllers
    - SYSTRACE
    - stable_order
    - unified_cgroup_fd
    - ret_set_errno
    linkageType: ''
    returnType: int
    signature: "int __initialize_cgroups(struct cgroup_ops *ops, bool relative,\n\t\t\t\tbool
      unprivileged, struct lxc_conf *conf)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3494,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3501,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3504,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3506,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3511,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3515,1
    - Dst: list_add_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3516,1
    - Dst: __initialize_cgroups
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3529,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3529,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3531,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3534,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 2
    argNames:
    - ops
    - conf
    argTypes:
    - struct cgroup_ops*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3536
      start: 3487
    functionDepth: 7
    functionLinenumber: 3487
    functionLinenumberEnd: 3536
    functionName: initialize_cgroups
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached:
    - __initialize_cgroups
    - open_at
    - lxc_iterate_parts
    - list_add_string
    - list_empty
    - ret_errno
    - syserror
    - syserror_ret
    - strdup
    - lxc_global_config_value
    - move_fd
    linkageType: ''
    returnType: int
    signature: int initialize_cgroups(struct cgroup_ops *ops, struct lxc_conf *conf)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3543,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3546,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3547,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3548,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3550,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3554
      start: 3538
    functionDepth: 3
    functionLinenumber: 3538
    functionLinenumberEnd: 3554
    functionName: cgfsng_data_init
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - strequal
    - ret_errno
    - strdup
    - ret_set_errno
    - lxc_global_config_value
    linkageType: ''
    returnType: __cgfsng_ops
    signature: __cgfsng_ops cgfsng_data_init(struct cgroup_ops *ops)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3560,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3562,1
    - Dst: initialize_cgroups
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3567,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3598,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 35
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3599
      start: 3556
    functionDepth: 8
    functionLinenumber: 3556
    functionLinenumberEnd: 3599
    functionName: cgroup_ops_init
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached:
    - ret_set_errno
    - zalloc
    - move_ptr
    - initialize_cgroups
    linkageType: ''
    returnType: struct cgroup_ops
    signature: struct cgroup_ops *cgroup_ops_init(struct lxc_conf *conf)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: list_empty
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3605,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3610,1
    - Dst: socketpair
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3614,1
    - Dst: userns_exec_minimal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3618,1
    - Dst: cgroup_attach_leaf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3624,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 4
    argNames:
    - conf
    - lxcpath
    - fd_unified
    - pid
    argTypes:
    - struct lxc_conf*
    - char*
    - int
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3628
      start: 3601
    functionDepth: 5
    functionLinenumber: 3601
    functionLinenumberEnd: 3628
    functionName: __unified_attach_fd
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - list_empty
    - cgroup_attach_leaf
    - am_guest_unpriv
    - userns_exec_minimal
    - socketpair
    linkageType: ''
    returnType: int
    signature: int __unified_attach_fd(const struct lxc_conf *conf, const char *lxcpath,
      int fd_unified, pid_t pid)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3633,1
    - Dst: INTTYPE_TO_STRLEN
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3637,1
    - Dst: lxc_cmd_get_cgroup_ctx
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3639,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3641,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3644,1
    - Dst: cgroup_layout_name
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3645,1
    - Dst: strnprintf
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3647,1
    - Dst: unified_cgroup_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3654,1
    - Dst: __unified_attach_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3655,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3657,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3659,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3661,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3664,1
    - Dst: cgroup_layout_name
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3664,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 4
    argNames:
    - conf
    - name
    - lxcpath
    - pid
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3666
      start: 3630
    functionDepth: 8
    functionLinenumber: 3630
    functionLinenumberEnd: 3666
    functionName: __cgroup_attach_many
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_writeat
    - cgroup_layout_name
    - call_cleaner
    - __unified_attach_fd
    - log_trace
    - TRACE
    - INTTYPE_TO_STRLEN
    - lxc_cmd_get_cgroup_ctx
    - ret_errno
    - unified_cgroup_fd
    - syserror_ret
    - strnprintf
    linkageType: ''
    returnType: int
    signature: "int __cgroup_attach_many(const struct lxc_conf *conf, const char *name,\n\t\t\t\tconst
      char *lxcpath, pid_t pid)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3673,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3673,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3674,1
    - Dst: lxc_cmd_get_cgroup2_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3676,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3678,1
    - Dst: __unified_attach_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3680,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 4
    argNames:
    - conf
    - name
    - lxcpath
    - pid
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3681
      start: 3668
    functionDepth: 8
    functionLinenumber: 3668
    functionLinenumberEnd: 3681
    functionName: __cgroup_attach_unified
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_cmd_get_cgroup2_fd
    - ret_errno
    - __unified_attach_fd
    - is_empty_string
    linkageType: ''
    returnType: int
    signature: "int __cgroup_attach_unified(const struct lxc_conf *conf, const char
      *name,\n\t\t\t\t   const char *lxcpath, pid_t pid)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: __cgroup_attach_many
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3688,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3690,1
    - Dst: __cgroup_attach_unified
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3693,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3694,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3695,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 4
    argNames:
    - conf
    - name
    - lxcpath
    - pid
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    - pid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3699
      start: 3683
    functionDepth: 9
    functionLinenumber: 3683
    functionLinenumberEnd: 3699
    functionName: cgroup_attach
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 2
    functionsReached:
    - __cgroup_attach_many
    - __cgroup_attach_unified
    - ret_errno
    - ERRNO_IS_NOT_SUPPORTED
    linkageType: ''
    returnType: int
    signature: "int cgroup_attach(const struct lxc_conf *conf, const char *name,\n\t\t
      \ const char *lxcpath, pid_t pid)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3711,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3711,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3712,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3713,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3716,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3718,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3721,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3722,1
    - Dst: lxc_cmd_get_limit_cgroup_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3724,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3726,1
    - Dst: lxc_cmd_get_limit_cgroup2_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3729,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3731,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3734,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3737,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3739,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3741,1
    - Dst: cgroup_hierarchy_name
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3741,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3743,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3744,1
    - Dst: lxc_read_try_buf_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3746,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 29
    argCount: 5
    argNames:
    - name
    - lxcpath
    - key
    - buf
    - len
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3749
      start: 3702
    functionDepth: 8
    functionLinenumber: 3702
    functionLinenumberEnd: 3749
    functionName: cgroup_get
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached:
    - is_empty_string
    - lxc_cmd_get_limit_cgroup_fd
    - move_fd
    - lxc_read_try_buf_at
    - strequal
    - TRACE
    - ret_errno
    - strlcpy
    - lxc_cmd_get_limit_cgroup2_fd
    - strcspn
    - cgroup_hierarchy_name
    - ERRNO_IS_NOT_SUPPORTED
    linkageType: ''
    returnType: int
    signature: int cgroup_get(const char *name, const char *lxcpath, const char *key,
      char *buf, size_t len)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3761,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3761,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3762,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3762,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3763,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3765,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3768,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3769,1
    - Dst: lxc_cmd_get_limit_cgroup_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3771,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3773,1
    - Dst: lxc_cmd_get_limit_cgroup2_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3776,1
    - Dst: ERRNO_IS_NOT_SUPPORTED
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3778,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3781,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3784,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3786,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3788,1
    - Dst: cgroup_hierarchy_name
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3788,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3790,1
    - Dst: device_cgroup_rule_parse
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3793,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3795,1
    - Dst: lxc_cmd_add_bpf_device_cgroup
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3798,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3800,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3800,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 32
    argCount: 4
    argNames:
    - name
    - lxcpath
    - key
    - value
    argTypes:
    - char*
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3804
      start: 3752
    functionDepth: 8
    functionLinenumber: 3752
    functionLinenumberEnd: 3804
    functionName: cgroup_set
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached:
    - lxc_writeat
    - lxc_cmd_add_bpf_device_cgroup
    - is_empty_string
    - lxc_cmd_get_limit_cgroup_fd
    - move_fd
    - strequal
    - TRACE
    - ret_errno
    - strlcpy
    - log_error_errno
    - strlen
    - lxc_cmd_get_limit_cgroup2_fd
    - strcspn
    - cgroup_hierarchy_name
    - ERRNO_IS_NOT_SUPPORTED
    - device_cgroup_rule_parse
    linkageType: ''
    returnType: int
    signature: int cgroup_set(const char *name, const char *lxcpath, const char *key,
      const char *value)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: call_cleaner
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3814,1
    - Dst: lxc_mainloop_open
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3819,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3821,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3826,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3828,1
    - Dst: lxc_mainloop_add_handler_events
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3830,1
    - Dst: INT_TO_PTR
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3833,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3836,1
    - Dst: lxc_writeat
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3839,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3841,1
    - Dst: lxc_mainloop
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3844,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3846,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3849,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 6
    argNames:
    - unified_fd
    - state_string
    - state_num
    - timeout
    - epoll_error
    - wait_error
    argTypes:
    - int
    - char*
    - int
    - int
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3850
      start: 3806
    functionDepth: 5
    functionLinenumber: 3806
    functionLinenumberEnd: 3850
    functionName: do_cgroup_freeze
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - lxc_writeat
    - open_at
    - lxc_mainloop
    - call_cleaner
    - log_trace
    - INT_TO_PTR
    - lxc_mainloop_add_handler_events
    - log_error_errno
    - lxc_mainloop_open
    linkageType: ''
    returnType: int
    signature: "int do_cgroup_freeze(int unified_fd,\n\t\t\t    const char *state_string,\n\t\t\t
      \   int state_num,\n\t\t\t    int timeout,\n\t\t\t    const char *epoll_error,\n\t\t\t
      \   const char *wait_error)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: do_cgroup_freeze
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3854,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - unified_fd
    - timeout
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3857
      start: 3852
    functionDepth: 6
    functionLinenumber: 3852
    functionLinenumberEnd: 3857
    functionName: __cgroup_freeze
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 0
    functionsReached:
    - do_cgroup_freeze
    linkageType: ''
    returnType: int
    signature: int __cgroup_freeze(int unified_fd, int timeout)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3864,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3864,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3865,1
    - Dst: lxc_cmd_get_limit_cgroup2_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3867,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3869,1
    - Dst: lxc_cmd_notify_state_listeners
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3871,1
    - Dst: __cgroup_freeze
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3872,1
    - Dst: lxc_cmd_notify_state_listeners
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3873,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - name
    - lxcpath
    - timeout
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3875
      start: 3859
    functionDepth: 8
    functionLinenumber: 3859
    functionLinenumberEnd: 3875
    functionName: cgroup_freeze
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 3
    functionsReached:
    - is_empty_string
    - lxc_cmd_notify_state_listeners
    - ret_errno
    - lxc_cmd_get_limit_cgroup2_fd
    - __cgroup_freeze
    linkageType: ''
    returnType: int
    signature: int cgroup_freeze(const char *name, const char *lxcpath, int timeout)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: do_cgroup_freeze
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3879,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 2
    argNames:
    - unified_fd
    - timeout
    argTypes:
    - int
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3882
      start: 3877
    functionDepth: 6
    functionLinenumber: 3877
    functionLinenumberEnd: 3882
    functionName: __cgroup_unfreeze
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 1
    functionsReached:
    - do_cgroup_freeze
    linkageType: ''
    returnType: int
    signature: int __cgroup_unfreeze(int unified_fd, int timeout)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3889,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3889,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3890,1
    - Dst: lxc_cmd_get_limit_cgroup2_fd
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3892,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3894,1
    - Dst: lxc_cmd_notify_state_listeners
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3896,1
    - Dst: __cgroup_unfreeze
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3897,1
    - Dst: lxc_cmd_notify_state_listeners
      Src: /src/lxc/src/lxc/cgroups/cgfsng.c:3898,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - name
    - lxcpath
    - timeout
    argTypes:
    - char*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3900
      start: 3884
    functionDepth: 8
    functionLinenumber: 3884
    functionLinenumberEnd: 3900
    functionName: cgroup_unfreeze
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgfsng.c
    functionUses: 3
    functionsReached:
    - lxc_cmd_get_limit_cgroup2_fd
    - is_empty_string
    - lxc_cmd_notify_state_listeners
    - ret_errno
    - __cgroup_unfreeze
    linkageType: ''
    returnType: int
    signature: int cgroup_unfreeze(const char *name, const char *lxcpath, int timeout)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fstatfs
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:28,1
    - Dst: lxc_is_fs_type
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:29,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 33
      start: 22
    functionDepth: 1
    functionLinenumber: 22
    functionLinenumberEnd: 33
    functionName: unified_cgroup_fd
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup_utils.c
    functionUses: 2
    functionsReached:
    - lxc_is_fs_type
    - fstatfs
    linkageType: ''
    returnType: bool
    signature: bool unified_cgroup_fd(int fd)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:46,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:46,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:47,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:53,1
    - Dst: dup_cloexec
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:58,1
    - Dst: fdopendir
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:62,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:67,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:69,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:72,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:73,1
    - Dst: fstatat
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:76,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:81,1
    - Dst: cgroup_tree_prune
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:84,1
    - Dst: unlinkat
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:89,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 29
    argCount: 2
    argNames:
    - dfd
    - path
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 94
      start: 35
    functionDepth: 2
    functionLinenumber: 35
    functionLinenumberEnd: 94
    functionName: cgroup_tree_prune
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup_utils.c
    functionUses: 5
    functionsReached:
    - readdir
    - open_at
    - is_empty_string
    - unlinkat
    - strequal
    - fdopendir
    - ret_errno
    - dup_cloexec
    - fstatat
    - S_ISDIR
    - cgroup_tree_prune
    - move_fd
    linkageType: ''
    returnType: int
    signature: int cgroup_tree_prune(int dfd, const char *path)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: abspath
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:108,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:109,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:111,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:112,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:115,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgroup_utils.c:116,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 123
      start: 97
    functionDepth: 1
    functionLinenumber: 97
    functionLinenumberEnd: 123
    functionName: prune_init_scope
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup_utils.c
    functionUses: 2
    functionsReached:
    - STRLITERALLEN
    - strequal
    - strlen
    - ret_set_errno
    - abspath
    linkageType: ''
    returnType: char
    signature: char *prune_init_scope(char *path)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:46,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:48,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:50,1
    - Dst: memset
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:52,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:54,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 3
    argNames:
    - prog
    - instructions
    - count
    argTypes:
    - struct bpf_program*
    - struct bpf_insn*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 59
      start: 38
    functionDepth: 1
    functionLinenumber: 38
    functionLinenumberEnd: 59
    functionName: bpf_program_add_instructions
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached:
    - realloc
    - memcpy
    - log_error_errno
    - memset
    linkageType: ''
    returnType: int
    signature: "int bpf_program_add_instructions(struct bpf_program *prog,\n\t\t\t\t\tconst
      struct bpf_insn *instructions,\n\t\t\t\t\tsize_t count)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - SIZE
    - ','
    - DST
    - ','
    - SRC
    - ','
    - 'OFF'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 68
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 68
    functionName: BPF_LDX_MEM
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_LDX_MEM(SIZE, DST, SRC, OFF)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - OP
    - ','
    - DST
    - ','
    - IMM
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 76
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 76
    functionName: BPF_ALU32_IMM
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_ALU32_IMM(OP, DST, IMM)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - DST
    - ','
    - IMM
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 84
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 84
    functionName: BPF_MOV64_IMM
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_MOV64_IMM(DST, IMM)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - DST
    - ','
    - SRC
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 91
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 91
    functionName: BPF_MOV32_REG
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_MOV32_REG(DST, SRC)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - OP
    - ','
    - DST
    - ','
    - SRC
    - ','
    - 'OFF'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 99
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 99
    functionName: BPF_JMP_REG
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_JMP_REG(OP, DST, SRC, OFF)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - OP
    - ','
    - DST
    - ','
    - IMM
    - ','
    - 'OFF'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 107
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 107
    functionName: BPF_JMP_IMM
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_JMP_IMM(OP, DST, IMM, OFF)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 2
    argNames:
    - (
    - )
    argTypes:
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 115
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 115
    functionName: BPF_EXIT_INSN
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_EXIT_INSN()
  - BBCount: 6
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 2
    argNames:
    - acc
    - mask
    argTypes:
    - char*
    - __u32*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 138
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 138
    functionName: bpf_access_mask
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int bpf_access_mask(const char *acc, __u32 *mask)
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 1
    argNames:
    - type
    argTypes:
    - char
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 152
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 152
    functionName: bpf_device_type
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int bpf_device_type(char type)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - access_mask
    argTypes:
    - __u32
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 157
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 157
    functionName: bpf_device_all_access
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool bpf_device_all_access(__u32 access_mask)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: zalloc
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:163,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:165,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:175,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 1
    argNames:
    - prog_type
    argTypes:
    - uint32_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 176
      start: 159
    functionDepth: 1
    functionLinenumber: 159
    functionLinenumberEnd: 176
    functionName: bpf_program_new
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached:
    - ret_set_errno
    - zalloc
    - move_ptr
    linkageType: ''
    returnType: struct bpf_program
    signature: struct bpf_program *bpf_program_new(uint32_t prog_type)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: BPF_LDX_MEM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:182,1
    - Dst: BPF_ALU32_IMM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:183,1
    - Dst: BPF_LDX_MEM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:186,1
    - Dst: BPF_ALU32_IMM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:187,1
    - Dst: BPF_LDX_MEM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:190,1
    - Dst: BPF_LDX_MEM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:193,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:197,1
    - Dst: bpf_program_add_instructions
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:199,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:199,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - prog
    argTypes:
    - struct bpf_program*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 200
      start: 178
    functionDepth: 2
    functionLinenumber: 178
    functionLinenumberEnd: 200
    functionName: bpf_program_init
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached:
    - ARRAY_SIZE
    - bpf_program_add_instructions
    - BPF_LDX_MEM
    - BPF_ALU32_IMM
    - ret_set_errno
    linkageType: ''
    returnType: int
    signature: int bpf_program_init(struct bpf_program *prog)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:210,1
    - Dst: bpf_access_mask
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:212,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:214,1
    - Dst: bpf_device_all_access
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:216,1
    - Dst: bpf_device_type
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:219,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:221,1
    - Dst: bpf_device_all_access
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:232,1
    - Dst: BPF_MOV32_REG
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:234,1
    - Dst: BPF_ALU32_IMM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:235,1
    - Dst: BPF_JMP_REG
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:236,1
    - Dst: bpf_program_add_instructions
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:239,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:239,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:241,1
    - Dst: BPF_JMP_IMM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:246,1
    - Dst: bpf_program_add_instructions
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:249,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:249,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:251,1
    - Dst: BPF_JMP_IMM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:256,1
    - Dst: bpf_program_add_instructions
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:259,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:259,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:261,1
    - Dst: BPF_JMP_IMM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:266,1
    - Dst: bpf_program_add_instructions
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:269,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:269,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:271,1
    - Dst: BPF_MOV64_IMM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:274,1
    - Dst: BPF_EXIT_INSN
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:275,1
    - Dst: bpf_program_add_instructions
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:276,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:277,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:279,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 43
    argCount: 2
    argNames:
    - prog
    - device
    argTypes:
    - struct bpf_program*
    - struct device_item*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 282
      start: 202
    functionDepth: 2
    functionLinenumber: 202
    functionLinenumberEnd: 282
    functionName: bpf_program_append_device
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached:
    - ARRAY_SIZE
    - bpf_access_mask
    - BPF_MOV64_IMM
    - bpf_program_add_instructions
    - bpf_device_type
    - BPF_MOV32_REG
    - log_error_errno
    - bpf_device_all_access
    - BPF_JMP_IMM
    - ret_set_errno
    - BPF_ALU32_IMM
    - BPF_JMP_REG
    - BPF_EXIT_INSN
    linkageType: ''
    returnType: int
    signature: int bpf_program_append_device(struct bpf_program *prog, struct device_item
      *device)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:289,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:291,1
    - Dst: BPF_MOV64_IMM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:296,1
    - Dst: BPF_EXIT_INSN
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:297,1
    - Dst: bpf_program_add_instructions
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:298,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:298,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - prog
    argTypes:
    - struct bpf_program*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 299
      start: 284
    functionDepth: 2
    functionLinenumber: 284
    functionLinenumberEnd: 299
    functionName: bpf_program_finalize
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached:
    - BPF_MOV64_IMM
    - ARRAY_SIZE
    - bpf_program_add_instructions
    - TRACE
    - ret_set_errno
    - BPF_EXIT_INSN
    linkageType: ''
    returnType: int
    signature: int bpf_program_finalize(struct bpf_program *prog)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: lxc_log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:310,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:311,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:313,1
    - Dst: PTR_TO_U64
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:322,1
    - Dst: PTR_TO_U64
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:324,1
    - Dst: PTR_TO_U64
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:325,1
    - Dst: bpf
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:330,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:332,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:335,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - prog
    argTypes:
    - struct bpf_program*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 337
      start: 301
    functionDepth: 2
    functionLinenumber: 301
    functionLinenumberEnd: 337
    functionName: bpf_program_load_kernel
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached:
    - bpf
    - WARN
    - lxc_log_trace
    - TRACE
    - zalloc
    - log_error_errno
    - PTR_TO_U64
    linkageType: ''
    returnType: int
    signature: int bpf_program_load_kernel(struct bpf_program *prog)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:347,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:350,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:353,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:361,1
    - Dst: dup_cloexec
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:364,1
    - Dst: bpf_program_load_kernel
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:368,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:370,1
    - Dst: bpf
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:379,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:381,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:383,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:387,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 4
    argNames:
    - prog
    - type
    - fd_cgroup
    - flags
    argTypes:
    - struct bpf_program*
    - int
    - int
    - __u32
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 389
      start: 339
    functionDepth: 3
    functionLinenumber: 339
    functionLinenumberEnd: 389
    functionName: bpf_program_cgroup_attach
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached:
    - bpf
    - TRACE
    - ret_errno
    - dup_cloexec
    - syserror_set
    - syserror
    - INFO
    - move_fd
    - bpf_program_load_kernel
    linkageType: ''
    returnType: int
    signature: "int bpf_program_cgroup_attach(struct bpf_program *prog, int type,\n\t\t\t\t
      \    int fd_cgroup, __u32 flags)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:401,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:402,1
    - Dst: bpf
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:413,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:415,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:417,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - prog
    argTypes:
    - struct bpf_program*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 420
      start: 391
    functionDepth: 1
    functionLinenumber: 391
    functionLinenumberEnd: 420
    functionName: bpf_program_cgroup_detach
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 2
    functionsReached:
    - bpf
    - TRACE
    - move_fd
    - syserror
    linkageType: ''
    returnType: int
    signature: int bpf_program_cgroup_detach(struct bpf_program *prog)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: bpf_program_cgroup_detach
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:425,1
    - Dst: bpf_program_free
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:426,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - ops
    argTypes:
    - struct cgroup_ops*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 429
      start: 422
    functionDepth: 2
    functionLinenumber: 422
    functionLinenumberEnd: 429
    functionName: bpf_device_program_free
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 1
    functionsReached:
    - bpf_program_free
    - bpf_program_cgroup_detach
    linkageType: ''
    returnType: void
    signature: void bpf_device_program_free(struct cgroup_ops *ops)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - bpf_devices
    argTypes:
    - struct bpf_devices*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 435
      start: 431
    functionDepth: 0
    functionLinenumber: 431
    functionLinenumberEnd: 435
    functionName: bpf_device_list_block_all
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: bool bpf_device_list_block_all(const struct bpf_devices *bpf_devices)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: bpf_device_list_block_all
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:441,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:442,1
    - Dst: bpf_device_list_block_all
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:445,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:446,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - bpf_devices
    - device
    argTypes:
    - struct bpf_devices*
    - struct device_item*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 449
      start: 437
    functionDepth: 1
    functionLinenumber: 437
    functionLinenumberEnd: 449
    functionName: bpf_device_add
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached:
    - bpf_device_list_block_all
    - log_trace
    linkageType: ''
    returnType: bool
    signature: "bool bpf_device_add(const struct bpf_devices *bpf_devices,\n\t\t\t\t
      \ struct device_item *device)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:458,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:464,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:467,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:470,1
    - Dst: lxc_clear_cgroup2_devices
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:474,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:475,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:479,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:482,1
    - Dst: strequal
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:489,1
    - Dst: bpf_device_add
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:492,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:502,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:506,1
    - Dst: memdup
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:509,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:511,1
    - Dst: list_add
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:513,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:514,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:516,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 40
    argCount: 2
    argNames:
    - bpf_devices
    - device
    argTypes:
    - struct bpf_devices*
    - struct device_item*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 518
      start: 451
    functionDepth: 4
    functionLinenumber: 451
    functionLinenumberEnd: 518
    functionName: bpf_list_add_device
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 1
    functionsReached:
    - list_for_each_entry
    - is_empty_string
    - lxc_clear_cgroup2_devices
    - strequal
    - log_trace
    - TRACE
    - move_ptr
    - ret_errno
    - syserror_set
    - bpf_device_add
    - memdup
    - list_add
    linkageType: ''
    returnType: int
    signature: "int bpf_list_add_device(struct bpf_devices *bpf_devices,\n\t\t\tstruct
      device_item *device)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: BPF_MOV64_IMM
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:524,1
    - Dst: BPF_EXIT_INSN
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:525,1
    - Dst: geteuid
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:529,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:530,1
    - Dst: bpf
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:533,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:535,1
    - Dst: bpf_program_new
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:537,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:539,1
    - Dst: bpf_program_init
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:541,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:543,1
    - Dst: bpf_program_add_instructions
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:545,1
    - Dst: ARRAY_SIZE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:545,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:547,1
    - Dst: bpf_program_load_kernel
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:549,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:551,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:553,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 554
      start: 520
    functionDepth: 3
    functionLinenumber: 520
    functionLinenumberEnd: 554
    functionName: bpf_devices_cgroup_supported
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 1
    functionsReached:
    - bpf_program_init
    - bpf
    - BPF_MOV64_IMM
    - ARRAY_SIZE
    - geteuid
    - bpf_program_add_instructions
    - log_trace
    - log_error_errno
    - bpf_program_new
    - BPF_EXIT_INSN
    - bpf_program_load_kernel
    linkageType: ''
    returnType: bool
    signature: bool bpf_devices_cgroup_supported(void)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: bpf_program_new
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:562,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:564,1
    - Dst: bpf_program_init
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:566,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:568,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:571,1
    - Dst: bpf_device_list_block_all
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:572,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:574,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:575,1
    - Dst: bpf_device_add
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:578,1
    - Dst: bpf_program_append_device
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:581,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:583,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:585,1
    - Dst: bpf_program_finalize
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:588,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:590,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:592,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - bpf_devices
    argTypes:
    - struct bpf_devices*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 593
      start: 556
    functionDepth: 3
    functionLinenumber: 556
    functionLinenumberEnd: 593
    functionName: __bpf_cgroup_devices
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 0
    functionsReached:
    - bpf_program_init
    - list_for_each_entry
    - bpf_program_finalize
    - TRACE
    - bpf_device_list_block_all
    - move_ptr
    - bpf_device_add
    - syserror_ret
    - bpf_program_new
    - bpf_program_append_device
    linkageType: ''
    returnType: struct bpf_program
    signature: struct bpf_program *__bpf_cgroup_devices(struct bpf_devices *bpf_devices)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: __bpf_cgroup_devices
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:601,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:603,1
    - Dst: bpf_program_cgroup_attach
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:605,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:609,1
    - Dst: swap
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:612,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:613,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 2
    argNames:
    - ops
    - bpf_devices
    argTypes:
    - struct cgroup_ops*
    - struct bpf_devices*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 614
      start: 595
    functionDepth: 4
    functionLinenumber: 595
    functionLinenumberEnd: 614
    functionName: bpf_cgroup_devices_attach
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 1
    functionsReached:
    - swap
    - bpf_program_cgroup_attach
    - log_trace
    - syserror_ret
    - __bpf_cgroup_devices
    linkageType: ''
    returnType: bool
    signature: "bool bpf_cgroup_devices_attach(struct cgroup_ops *ops,\n\t\t\t       struct
      bpf_devices *bpf_devices)"
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:627,1
    - Dst: pure_unified_layout
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:629,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:630,1
    - Dst: ret_set_errno
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:633,1
    - Dst: bpf_list_add_device
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:640,1
    - Dst: log_trace
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:645,1
    - Dst: bpf_cgroup_devices_attach
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:650,1
    - Dst: __bpf_cgroup_devices
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:652,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:654,1
    - Dst: bpf_program_load_kernel
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:656,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:658,1
    - Dst: bpf
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:671,1
    - Dst: bpf
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:677,1
    - Dst: bpf
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:686,1
    - Dst: syserror_ret
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:690,1
    - Dst: close_prot_errno_disarm
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:694,1
    - Dst: move_fd
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:696,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:697,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:699,1
    - Dst: swap
      Src: /src/lxc/src/lxc/cgroups/cgroup2_devices.c:703,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 54
    argCount: 3
    argNames:
    - ops
    - bpf_devices
    - new
    argTypes:
    - struct cgroup_ops*
    - struct bpf_devices*
    - struct device_item*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 706
      start: 616
    functionDepth: 5
    functionLinenumber: 616
    functionLinenumberEnd: 706
    functionName: bpf_cgroup_devices_update
    functionSourceFile: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
    functionUses: 1
    functionsReached:
    - bpf_list_add_device
    - swap
    - bpf
    - pure_unified_layout
    - log_trace
    - TRACE
    - bpf_cgroup_devices_attach
    - close_prot_errno_disarm
    - syserror_ret
    - ret_set_errno
    - bpf_program_load_kernel
    - move_fd
    - __bpf_cgroup_devices
    linkageType: ''
    returnType: bool
    signature: "bool bpf_cgroup_devices_update(struct cgroup_ops *ops,\n\t\t\t       struct
      bpf_devices *bpf_devices,\n\t\t\t       struct device_item *new)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 7
    argNames:
    - (
    - stream
    - ','
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 47
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 47
    functionName: pam_cgfs_debug_stream
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: pam_cgfs_debug_stream(stream, format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 49
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 49
    functionName: pam_cgfs_error
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: pam_cgfs_error(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 52
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 52
    functionName: pam_cgfs_debug
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: pam_cgfs_debug(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - format
    - ','
    - '...'
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 56
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 56
    functionName: pam_cgfs_debug
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: pam_cgfs_debug(format, ...)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: umask
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:191,1
    - Dst: mkdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:192,1
    - Dst: umask
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:194,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 2
    argNames:
    - path
    - mode
    argTypes:
    - char*
    - mode_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 197
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 197
    functionName: do_mkdir
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - mkdir
    - umask
    linkageType: ''
    returnType: int
    signature: int do_mkdir(const char *path, mode_t mode)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:204,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:204,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:207,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:207,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:210,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:225,1
    - Dst: do_mkdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:228,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:229,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:229,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 32
    argCount: 2
    argNames:
    - root
    - path
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 242
      start: 200
    functionDepth: 1
    functionLinenumber: 200
    functionLinenumberEnd: 242
    functionName: lxc_mkdir_parent
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strerror
    - do_mkdir
    - pam_cgfs_debug
    - strlen
    - file_exists
    linkageType: ''
    returnType: bool
    signature: bool lxc_mkdir_parent(const char *root, char *path)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:249,1
    - Dst: openlog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:252,1
    - Dst: vsyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:253,1
    - Dst: va_end
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:255,1
    - Dst: closelog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:256,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 2
    argNames:
    - err
    - format
    argTypes:
    - int
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 257
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 257
    functionName: mysyslog
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - openlog
    - closelog
    - va_start
    - vsyslog
    - va_end
    linkageType: ''
    returnType: void
    signature: void mysyslog(int err, const char *format, ...)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:267,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 3
    argNames:
    - mem
    - oldlen
    - newlen
    argTypes:
    - char**
    - size_t
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 268
      start: 261
    functionDepth: 1
    functionLinenumber: 261
    functionLinenumberEnd: 268
    functionName: batch_realloc
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 1
    functionsReached:
    - must_realloc
    linkageType: ''
    returnType: void
    signature: void batch_realloc(char **mem, size_t oldlen, size_t newlen)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: batch_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:275,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:277,1
    - Dst: newlen::newlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:277,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 4
    argNames:
    - dest
    - oldlen
    - new
    - newlen
    argTypes:
    - char**
    - size_t
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 278
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 278
    functionName: append_line
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 1
    functionsReached:
    - memcpy
    - newlen::newlen
    - batch_realloc
    linkageType: ''
    returnType: void
    signature: void append_line(char **dest, size_t oldlen, char *new, size_t newlen)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:288,1
    - Dst: getline
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:292,1
    - Dst: append_line
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:293,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:297,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:298,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - fnam
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 301
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 301
    functionName: read_file
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 1
    functionsReached:
    - append_line
    - getline
    - fopen
    - fclose
    - free
    linkageType: ''
    returnType: char
    signature: char *read_file(char *fnam)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:316,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - list
    argTypes:
    - void***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 320
      start: 308
    functionDepth: 1
    functionLinenumber: 308
    functionLinenumberEnd: 320
    functionName: append_null_to_list
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 1
    functionsReached:
    - must_realloc
    linkageType: ''
    returnType: int
    signature: int append_null_to_list(void ***list)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: append_null_to_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:330,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:331,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 2
    argNames:
    - list
    - entry
    argTypes:
    - char***
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 333
      start: 325
    functionDepth: 2
    functionLinenumber: 325
    functionLinenumberEnd: 333
    functionName: must_append_string
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - append_null_to_list
    - must_copy_string
    linkageType: ''
    returnType: void
    signature: void must_append_string(char ***list, char *entry)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:338,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - s
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 342
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 342
    functionName: trim
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 6
    functionsReached:
    - strlen
    linkageType: ''
    returnType: void
    signature: void trim(char *s)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:350,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:355,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:356,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 1
    argNames:
    - s
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 360
      start: 345
    functionDepth: 1
    functionLinenumber: 345
    functionLinenumberEnd: 360
    functionName: copy_to_eol
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - memcpy
    - strchr
    - must_realloc
    linkageType: ''
    returnType: char
    signature: char *copy_to_eol(char *s)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:365,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:369,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - line
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 370
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 370
    functionName: is_lxcfs
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strncmp
    - strstr
    linkageType: ''
    returnType: bool
    signature: bool is_lxcfs(const char *line)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:375,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:379,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - line
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 380
      start: 373
    functionDepth: 0
    functionLinenumber: 373
    functionLinenumberEnd: 380
    functionName: is_cgv1
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strncmp
    - strstr
    linkageType: ''
    returnType: bool
    signature: bool is_cgv1(char *line)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:385,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:389,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - line
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 390
      start: 383
    functionDepth: 0
    functionLinenumber: 383
    functionLinenumberEnd: 390
    functionName: is_cgv2
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strncmp
    - strstr
    linkageType: ''
    returnType: bool
    signature: bool is_cgv2(char *line)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:400,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - list
    - entry
    argTypes:
    - char**
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 404
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 404
    functionName: string_in_list
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 2
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool string_in_list(char **list, const char *entry)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:416,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:418,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:419,1
    - Dst: must_add_to_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:420,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:422,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 425
      start: 410
    functionDepth: 1
    functionLinenumber: 410
    functionLinenumberEnd: 425
    functionName: make_string_list
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - must_add_to_list
    - strtok_r
    - must_copy_string
    - free
    linkageType: ''
    returnType: char
    signature: char **make_string_list(const char *str, const char *sep)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - list
    argTypes:
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 437
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 437
    functionName: string_list_length
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: size_t string_list_length(char **list)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:445,1
    - Dst: fprintf
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:449,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:452,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - path
    - v
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 456
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 456
    functionName: write_int
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - fclose
    - fopen
    - fprintf
    linkageType: ''
    returnType: bool
    signature: bool write_int(char *path, int v)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:465,1
    - Dst: readdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:469,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:473,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:474,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:477,1
    - Dst: lstat
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:479,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:481,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:486,1
    - Dst: recursive_rmdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:489,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:493,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:496,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:498,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:498,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 30
    argCount: 1
    argNames:
    - dirname
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 503
      start: 459
    functionDepth: 2
    functionLinenumber: 459
    functionLinenumberEnd: 503
    functionName: recursive_rmdir
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 3
    functionsReached:
    - readdir
    - strerror
    - pam_cgfs_debug
    - rmdir
    - lstat
    - recursive_rmdir
    - S_ISDIR
    - opendir
    - must_make_path
    - strcmp
    - free
    linkageType: ''
    returnType: int
    signature: int recursive_rmdir(char *dirname)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: append_null_to_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:512,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:513,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 2
    argNames:
    - clist
    - entry
    argTypes:
    - char***
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 514
      start: 508
    functionDepth: 2
    functionLinenumber: 508
    functionLinenumberEnd: 514
    functionName: must_add_to_list
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 1
    functionsReached:
    - append_null_to_list
    - must_copy_string
    linkageType: ''
    returnType: void
    signature: void must_add_to_list(char ***clist, char *entry)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:526,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:532,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:536,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:537,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:538,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - line
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 542
      start: 517
    functionDepth: 1
    functionLinenumber: 517
    functionLinenumberEnd: 542
    functionName: get_mountpoint
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strlen
    - memcpy
    - strchr
    - must_realloc
    linkageType: ''
    returnType: char
    signature: char *get_mountpoint(char *line)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:554,1
    - Dst: getline
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:558,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:562,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:567,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:576,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:577,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:578,1
    - Dst: must_append_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:579,1
    - Dst: must_append_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:581,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:585,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:586,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 24
    argCount: 2
    argNames:
    - klist
    - nlist
    argTypes:
    - char***
    - char***
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 589
      start: 548
    functionDepth: 3
    functionLinenumber: 548
    functionLinenumberEnd: 589
    functionName: cgv1_get_controllers
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - getline
    - strtok_r
    - free
    - fopen
    - must_append_string
    - fclose
    - strchr
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool cgv1_get_controllers(char ***klist, char ***nlist)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:611,1
    - Dst: read_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:615,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:619,1
    - Dst: copy_to_eol
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:624,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:629,1
    - Dst: trim
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:631,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 1
    argNames:
    - pid
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 634
      start: 600
    functionDepth: 2
    functionLinenumber: 600
    functionLinenumberEnd: 634
    functionName: cgv2_get_current_cgroup
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - free
    - snprintf
    - strstr
    - read_file
    - trim
    - copy_to_eol
    linkageType: ''
    returnType: char
    signature: char *cgv2_get_current_cgroup(int pid)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:647,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 2
    argNames:
    - l1
    - l2
    argTypes:
    - char**
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 651
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 651
    functionName: cgv1_controller_lists_intersect
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - string_in_list
    linkageType: ''
    returnType: bool
    signature: bool cgv1_controller_lists_intersect(char **l1, char **l2)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_controller_lists_intersect
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:663,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - hlist
    - clist
    argTypes:
    - struct cgv1_hierarchy**
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 668
      start: 657
    functionDepth: 1
    functionLinenumber: 657
    functionLinenumberEnd: 668
    functionName: cgv1_controller_list_is_dup
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv1_controller_lists_intersect
    linkageType: ''
    returnType: bool
    signature: bool cgv1_controller_list_is_dup(struct cgv1_hierarchy **hlist, char
      **clist)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_controller_lists_intersect
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:679,1
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:680,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - clist
    argTypes:
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 682
      start: 673
    functionDepth: 1
    functionLinenumber: 673
    functionLinenumberEnd: 682
    functionName: cgv1_mark_to_make_rw
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - string_in_list
    - cgv1_controller_lists_intersect
    linkageType: ''
    returnType: void
    signature: void cgv1_mark_to_make_rw(char **clist)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:689,1
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:689,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - clist
    argTypes:
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 692
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 692
    functionName: cgv2_mark_to_make_rw
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - string_in_list
    linkageType: ''
    returnType: void
    signature: void cgv2_mark_to_make_rw(char **clist)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_mark_to_make_rw
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:697,1
    - Dst: cgv2_mark_to_make_rw
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:698,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - clist
    argTypes:
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 699
      start: 695
    functionDepth: 2
    functionLinenumber: 695
    functionLinenumberEnd: 699
    functionName: cg_mark_to_make_rw
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv2_mark_to_make_rw
    - cgv1_mark_to_make_rw
    linkageType: ''
    returnType: void
    signature: void cg_mark_to_make_rw(char **clist)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:708,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:709,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:711,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:713,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - entry
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 718
      start: 702
    functionDepth: 1
    functionLinenumber: 702
    functionLinenumberEnd: 718
    functionName: cgv1_must_prefix_named
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strlen
    - free
    - must_realloc
    - snprintf
    linkageType: ''
    returnType: char
    signature: char *cgv1_must_prefix_named(char *entry)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:726,1
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:726,1
    - Dst: append_null_to_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:729,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:731,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:732,1
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:733,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:734,1
    - Dst: cgv1_must_prefix_named
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:736,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 4
    argNames:
    - klist
    - nlist
    - clist
    - entry
    argTypes:
    - char**
    - char**
    - char***
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 739
      start: 721
    functionDepth: 2
    functionLinenumber: 721
    functionLinenumberEnd: 739
    functionName: must_append_controller
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - must_copy_string
    - cgv1_must_prefix_named
    - string_in_list
    - append_null_to_list
    - strncmp
    linkageType: ''
    returnType: void
    signature: void must_append_controller(char **klist, char **nlist, char ***clist,
      char *entry)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:756,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:762,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:767,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:772,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:773,1
    - Dst: must_append_controller
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:774,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 777
      start: 746
    functionDepth: 3
    functionLinenumber: 746
    functionLinenumberEnd: 777
    functionName: cgv1_get_proc_mountinfo_controllers
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strtok_r
    - must_append_controller
    - strchr
    - strncmp
    linkageType: ''
    returnType: char
    signature: char **cgv1_get_proc_mountinfo_controllers(char **klist, char **nlist,
      char *line)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:787,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:792,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:793,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:796,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:797,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:798,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 2
    argNames:
    - cgline
    - c
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 803
      start: 780
    functionDepth: 1
    functionLinenumber: 780
    functionLinenumberEnd: 803
    functionName: cgv1_controller_in_clist
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - memcpy
    - strtok_r
    - strchr
    - must_realloc
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool cgv1_controller_in_clist(char *cgline, char *c)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:815,1
    - Dst: cgv1_controller_in_clist
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:820,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:821,1
    - Dst: copy_to_eol
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:826,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:829,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 2
    argNames:
    - basecginfo
    - controller
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 836
      start: 808
    functionDepth: 2
    functionLinenumber: 808
    functionLinenumberEnd: 836
    functionName: cgv1_get_current_cgroup
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv1_controller_in_clist
    - strchr
    - copy_to_eol
    linkageType: ''
    returnType: char
    signature: char *cgv1_get_current_cgroup(char *basecginfo, char *controller)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:849,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:849,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:853,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - cg
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 859
      start: 842
    functionDepth: 0
    functionLinenumber: 842
    functionLinenumberEnd: 859
    functionName: cg_systemd_prune_init_scope
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strlen
    - strcmp
    linkageType: ''
    returnType: void
    signature: void cg_systemd_prune_init_scope(char *cg)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: must_realloc::must_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:872,1
    - Dst: append_null_to_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:882,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 11
    argCount: 4
    argNames:
    - clist
    - mountpoint
    - base_cgroup
    - init_cgroup
    argTypes:
    - char**
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 884
      start: 867
    functionDepth: 2
    functionLinenumber: 867
    functionLinenumberEnd: 884
    functionName: cgv1_add_controller
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - append_null_to_list
    - must_realloc::must_realloc
    linkageType: ''
    returnType: void
    signature: void cgv1_add_controller(char **clist, char *mountpoint, char *base_cgroup,
      char *init_cgroup)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: must_realloc::must_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:899,1
    - Dst: append_null_to_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:909,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 11
    argCount: 5
    argNames:
    - clist
    - mountpoint
    - base_cgroup
    - init_cgroup
    - systemd_user_slice
    argTypes:
    - char**
    - char*
    - char*
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 911
      start: 894
    functionDepth: 2
    functionLinenumber: 894
    functionLinenumberEnd: 911
    functionName: cgv2_add_controller
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - append_null_to_list
    - must_realloc::must_realloc
    linkageType: ''
    returnType: void
    signature: void cgv2_add_controller(char **clist, char *mountpoint, char *base_cgroup,
      char *init_cgroup, bool systemd_user_slice)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:926,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:927,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:927,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:929,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:944,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:945,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:946,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:954,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:963,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 34
    argCount: 2
    argNames:
    - in
    - uid
    argTypes:
    - char*
    - uid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 965
      start: 918
    functionDepth: 1
    functionLinenumber: 918
    functionLinenumberEnd: 965
    functionName: cg_systemd_under_user_slice_1
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - must_copy_string
    - free
    - strlen
    - sscanf
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool cg_systemd_under_user_slice_1(const char *in, uid_t uid)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:977,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:978,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:982,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:985,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:992,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:992,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 3
    argNames:
    - base_cgroup
    - init_cgroup
    - uid
    argTypes:
    - char*
    - char*
    - uid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 993
      start: 970
    functionDepth: 0
    functionLinenumber: 970
    functionLinenumberEnd: 993
    functionName: cg_systemd_under_user_slice_2
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strlen
    - strncmp
    - snprintf
    linkageType: ''
    returnType: bool
    signature: "bool cg_systemd_under_user_slice_2(const char *base_cgroup,\n\t\t\t\t\t
      \ const char *init_cgroup, uid_t uid)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1016,1
    - Dst: cg_systemd_under_user_slice_1
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1019,1
    - Dst: cg_systemd_under_user_slice_2
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1023,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1026,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1026,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1029,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1045,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1046,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1046,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1047,1
    - Dst: sscanf
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1055,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1065,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 42
    argCount: 4
    argNames:
    - base_cgroup
    - init_cgroup
    - in
    - uid
    argTypes:
    - char*
    - char*
    - char*
    - uid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1067
      start: 1006
    functionDepth: 2
    functionLinenumber: 1006
    functionLinenumberEnd: 1067
    functionName: cg_systemd_created_user_slice
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - must_copy_string
    - cg_systemd_under_user_slice_2
    - cg_systemd_under_user_slice_1
    - free
    - strlen
    - sscanf
    - strncmp
    linkageType: ''
    returnType: bool
    signature: "bool cg_systemd_created_user_slice(const char *base_cgroup,\n\t\t\t\t\t
      \ const char *init_cgroup,\n\t\t\t\t\t  const char *in, uid_t uid)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1079,1
    - Dst: chown
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1084,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1085,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1086,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1087,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1089,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 5
    argNames:
    - mountpoint
    - base_cgroup
    - uid
    - gid
    - systemd_user_slice
    argTypes:
    - char*
    - char*
    - uid_t
    - gid_t
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1091
      start: 1070
    functionDepth: 2
    functionLinenumber: 1070
    functionLinenumberEnd: 1091
    functionName: cg_systemd_chown_existing_cgroup
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strerror
    - pam_cgfs_debug
    - mysyslog
    - must_make_path
    - chown
    - free
    linkageType: ''
    returnType: bool
    signature: "bool cg_systemd_chown_existing_cgroup(const char *mountpoint,\n\t\t\t\t\t
      \    const char *base_cgroup, uid_t uid,\n\t\t\t\t\t     gid_t gid, bool systemd_user_slice)"
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: read_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1103,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1107,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1109,1
    - Dst: cgv1_get_controllers
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1113,1
    - Dst: getline
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1115,1
    - Dst: is_lxcfs
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1119,1
    - Dst: is_cgv1
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1119,1
    - Dst: cgv1_get_proc_mountinfo_controllers
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1122,1
    - Dst: cgv1_controller_list_is_dup
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1126,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1127,1
    - Dst: get_mountpoint
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1131,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1133,1
    - Dst: cgv1_get_current_cgroup
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1137,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1139,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1140,1
    - Dst: trim
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1144,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1145,1
    - Dst: cgv1_add_controller
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1148,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1151,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1152,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1153,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1154,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1155,1
    - Dst: read_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1158,1
    - Dst: cgv1_get_current_cgroup
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1170,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1172,1
    - Dst: cg_systemd_prune_init_scope
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1176,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1178,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1185,1
    - Dst: cg_systemd_created_user_slice
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1186,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1189,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1192,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 61
    argCount: 2
    argNames:
    - uid
    - gid
    argTypes:
    - uid_t
    - gid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1195
      start: 1094
    functionDepth: 4
    functionLinenumber: 1094
    functionLinenumberEnd: 1195
    functionName: cgv1_init
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - free_string_list
    - cg_systemd_created_user_slice
    - cgv1_get_controllers
    - cgv1_add_controller
    - get_mountpoint
    - cgv1_get_current_cgroup
    - free
    - cgv1_get_proc_mountinfo_controllers
    - fopen
    - must_make_path
    - read_file
    - getline
    - is_lxcfs
    - cgv1_controller_list_is_dup
    - fclose
    - cg_systemd_prune_init_scope
    - is_cgv1
    - pam_cgfs_debug
    - trim
    linkageType: ''
    returnType: bool
    signature: bool cgv1_init(uid_t uid, gid_t gid)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: has_fs_type
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1202,1
    - Dst: has_fs_type
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1205,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1209
      start: 1200
    functionDepth: 2
    functionLinenumber: 1200
    functionLinenumberEnd: 1209
    functionName: cg_get_version_of_mntpt
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - has_fs_type
    linkageType: ''
    returnType: int
    signature: int cg_get_version_of_mntpt(const char *path)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: cgv2_get_current_cgroup
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1223,1
    - Dst: getpid
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1223,1
    - Dst: cgv2_get_current_cgroup
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1230,1
    - Dst: cg_systemd_prune_init_scope
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1238,1
    - Dst: cg_get_version_of_mntpt
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1245,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1249,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1253,1
    - Dst: cg_systemd_created_user_slice
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1254,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1256,1
    - Dst: cgv2_add_controller
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1258,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1264,1
    - Dst: getline
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1269,1
    - Dst: is_cgv2
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1273,1
    - Dst: get_mountpoint
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1276,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1280,1
    - Dst: cg_systemd_created_user_slice
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1281,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1283,1
    - Dst: cgv2_add_controller
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1285,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1295,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1301,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1302,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1305,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1306,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 56
    argCount: 2
    argNames:
    - uid
    - gid
    argTypes:
    - uid_t
    - gid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1310
      start: 1214
    functionDepth: 3
    functionLinenumber: 1214
    functionLinenumberEnd: 1310
    functionName: cgv2_init
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv2_add_controller
    - cg_systemd_prune_init_scope
    - must_copy_string
    - cg_systemd_created_user_slice
    - getline
    - fclose
    - pam_cgfs_debug
    - getpid
    - get_mountpoint
    - fopen
    - cgv2_get_current_cgroup
    - must_make_path
    - is_cgv2
    - cg_get_version_of_mntpt
    - free
    linkageType: ''
    returnType: bool
    signature: bool cgv2_init(uid_t uid, gid_t gid)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_init
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1321,1
    - Dst: cgv2_init
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1324,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1329,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1332,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1335,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1338,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 2
    argNames:
    - uid
    - gid
    argTypes:
    - uid_t
    - gid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1345
      start: 1319
    functionDepth: 5
    functionLinenumber: 1319
    functionLinenumberEnd: 1345
    functionName: cg_init
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv2_init
    - mysyslog
    - pam_cgfs_debug
    - cgv1_init
    linkageType: ''
    returnType: bool
    signature: bool cg_init(uid_t uid, gid_t gid)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1372,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1377,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1378,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1379,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1386,1
    - Dst: write_int
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1387,1
    - Dst: getpid
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1387,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1389,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1393,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1394,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 27
    argCount: 1
    argNames:
    - cgroup
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1402
      start: 1348
    functionDepth: 2
    functionLinenumber: 1348
    functionLinenumberEnd: 1402
    functionName: cgv1_enter
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - write_int
    - pam_cgfs_debug
    - free
    - getpid
    - must_make_path
    - file_exists
    linkageType: ''
    returnType: bool
    signature: bool cgv1_enter(const char *cgroup)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1422,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1423,1
    - Dst: write_int
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1425,1
    - Dst: getpid
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1425,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1427,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1428,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1432,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - cgroup
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1435
      start: 1405
    functionDepth: 2
    functionLinenumber: 1405
    functionLinenumberEnd: 1435
    functionName: cgv2_enter
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - write_int
    - pam_cgfs_debug
    - getpid
    - must_make_path
    - free
    linkageType: ''
    returnType: bool
    signature: bool cgv2_enter(const char *cgroup)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_enter
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1440,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1441,1
    - Dst: cgv2_enter
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1445,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1446,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - cgroup
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1451
      start: 1438
    functionDepth: 3
    functionLinenumber: 1438
    functionLinenumberEnd: 1451
    functionName: cg_enter
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv2_enter
    - cgv1_enter
    - mysyslog
    linkageType: ''
    returnType: bool
    signature: bool cg_enter(const char *cgroup)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_handle_root_cpuset_hierarchy
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1464,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1465,1
    - Dst: cgv1_enter
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1467,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1468,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1469
      start: 1454
    functionDepth: 3
    functionLinenumber: 1454
    functionLinenumberEnd: 1469
    functionName: cgv1_escape
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - mysyslog
    - cgv1_enter
    - cgv1_handle_root_cpuset_hierarchy
    linkageType: ''
    returnType: void
    signature: void cgv1_escape(void)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cgv2_enter
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1474,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1475,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1476
      start: 1472
    functionDepth: 3
    functionLinenumber: 1472
    functionLinenumberEnd: 1476
    functionName: cgv2_escape
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv2_enter
    - mysyslog
    linkageType: ''
    returnType: void
    signature: void cgv2_escape(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_escape
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1481,1
    - Dst: cgv2_escape
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1482,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1483
      start: 1479
    functionDepth: 4
    functionLinenumber: 1479
    functionLinenumberEnd: 1483
    functionName: cg_escape
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv1_escape
    - cgv2_escape
    linkageType: ''
    returnType: void
    signature: void cg_escape(void)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1494,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1498,1
    - Dst: getpwnam_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1502,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1505,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1508,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1514,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 3
    argNames:
    - user
    - uid
    - gid
    argTypes:
    - char*
    - uid_t*
    - gid_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1517
      start: 1486
    functionDepth: 1
    functionLinenumber: 1486
    functionLinenumberEnd: 1517
    functionName: get_uid_gid
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - malloc
    - sysconf
    - mysyslog
    - getpwnam_r
    - free
    linkageType: ''
    returnType: bool
    signature: bool get_uid_gid(const char *user, uid_t *uid, gid_t *gid)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1524,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 3
    argNames:
    - path
    - uid
    - gid
    argTypes:
    - char*
    - uid_t
    - gid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1531
      start: 1520
    functionDepth: 0
    functionLinenumber: 1520
    functionLinenumberEnd: 1531
    functionName: cg_belongs_to_uid_gid
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - stat
    linkageType: ''
    returnType: bool
    signature: bool cg_belongs_to_uid_gid(const char *path, uid_t uid, gid_t gid)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: BITS_TO_LONGS
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1545,1
    - Dst: calloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1546,1
    - Dst: strtok_r
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1550,1
    - Dst: strtoul
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1552,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1555,1
    - Dst: strtoul
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1557,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1560,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1565,1
    - Dst: set_bit
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1570,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 2
    argNames:
    - buf
    - nbits
    argTypes:
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1574
      start: 1541
    functionDepth: 1
    functionLinenumber: 1541
    functionLinenumberEnd: 1574
    functionName: cg_cpumask
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - calloc
    - strtok_r
    - BITS_TO_LONGS
    - set_bit
    - strtoul
    - strchr
    - free
    linkageType: ''
    returnType: uint32_t
    signature: uint32_t *cg_cpumask(char *buf, size_t nbits)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1580,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1589,1
    - Dst: calloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1592,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1597,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1601,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1603,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 3
    argNames:
    - sep
    - parts
    - use_as_prefix
    argTypes:
    - char*
    - char**
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1607
      start: 1576
    functionDepth: 1
    functionLinenumber: 1576
    functionLinenumberEnd: 1607
    functionName: string_join
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 4
    functionsReached:
    - strlen
    - calloc
    - strlcpy
    - strlcat
    linkageType: ''
    returnType: char
    signature: char *string_join(const char *sep, const char **parts, bool use_as_prefix)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: is_set
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1622,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1623,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1625,1
    - Dst: must_append_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1629,1
    - Dst: string_join
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1633,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 2
    argNames:
    - bitarr
    - nbits
    argTypes:
    - uint32_t*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1634
      start: 1614
    functionDepth: 3
    functionLinenumber: 1614
    functionLinenumberEnd: 1634
    functionName: cg_cpumask_to_cpulist
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - free_string_list
    - string_join
    - snprintf
    - is_set
    - must_append_string
    linkageType: ''
    returnType: char
    signature: char *cg_cpumask_to_cpulist(uint32_t *bitarr, size_t nbits)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1642,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1646,1
    - Dst: strtoul
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1662,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - cpulist
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1667
      start: 1636
    functionDepth: 0
    functionLinenumber: 1636
    functionLinenumberEnd: 1667
    functionName: cg_get_max_cpus
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strrchr
    - strtoul
    linkageType: ''
    returnType: ssize_t
    signature: ssize_t cg_get_max_cpus(char *cpulist)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1681,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1683,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1690,1
    - Dst: read_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1691,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1693,1
    - Dst: cg_get_max_cpus
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1698,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1702,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1704,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1712,1
    - Dst: read_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1722,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1724,1
    - Dst: isdigit
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1728,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1729,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1737,1
    - Dst: cg_get_max_cpus
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1748,1
    - Dst: cg_cpumask
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1756,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1758,1
    - Dst: cg_cpumask
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1762,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1764,1
    - Dst: is_set
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1769,1
    - Dst: is_set
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1769,1
    - Dst: clear_bit
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1771,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1776,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1779,1
    - Dst: cg_cpumask_to_cpulist
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1781,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1783,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1790,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1792,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1793,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1793,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1795,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1805,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1806,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1807,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1810,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1811,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1813,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 109
    argCount: 2
    argNames:
    - path
    - am_initialized
    argTypes:
    - char*
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1815
      start: 1670
    functionDepth: 4
    functionLinenumber: 1670
    functionLinenumberEnd: 1815
    functionName: cg_filter_and_set_cpus
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strrchr
    - cg_cpumask
    - pam_cgfs_debug
    - free
    - cg_get_max_cpus
    - is_set
    - isdigit
    - cg_cpumask_to_cpulist
    - lxc_write_to_file
    - strlen
    - clear_bit
    - must_make_path
    - read_file
    - file_exists
    linkageType: ''
    returnType: bool
    signature: bool cg_filter_and_set_cpus(char *path, bool am_initialized)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1824,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1826,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1833,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1834,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1836,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1836,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1840,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1841,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1842,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1842,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1845,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1849,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1850,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1852,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1854,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1855,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1859,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1860,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1861,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 36
    argCount: 2
    argNames:
    - path
    - file
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1863
      start: 1818
    functionDepth: 2
    functionLinenumber: 1818
    functionLinenumberEnd: 1863
    functionName: cg_copy_parent_file
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strrchr
    - strerror
    - pam_cgfs_debug
    - must_realloc
    - free
    - lxc_write_to_file
    - must_make_path
    - lxc_read_from_file
    linkageType: ''
    returnType: bool
    signature: bool cg_copy_parent_file(char *path, char *file)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1874,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1877,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1879,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1880,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1880,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1881,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1886,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1890,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1892,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1893,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1897,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - h
    argTypes:
    - struct cgv1_hierarchy*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1899
      start: 1870
    functionDepth: 2
    functionLinenumber: 1870
    functionLinenumberEnd: 1899
    functionName: cgv1_handle_root_cpuset_hierarchy
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 1
    functionsReached:
    - strerror
    - pam_cgfs_debug
    - free
    - string_in_list
    - lxc_write_to_file
    - must_make_path
    - lxc_read_from_file
    linkageType: ''
    returnType: bool
    signature: bool cgv1_handle_root_cpuset_hierarchy(struct cgv1_hierarchy *h)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1912,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1917,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1921,1
    - Dst: do_mkdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1925,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1926,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1927,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1931,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1932,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1933,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1934,1
    - Dst: lxc_read_from_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1938,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1939,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1939,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1940,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1941,1
    - Dst: cg_filter_and_set_cpus
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1946,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1947,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1948,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1949,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1954,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1955,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1956,1
    - Dst: cg_copy_parent_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1961,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1962,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1963,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1964,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1967,1
    - Dst: lxc_write_to_file
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1969,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1971,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1972,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1975,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 54
    argCount: 2
    argNames:
    - h
    - cgroup
    argTypes:
    - struct cgv1_hierarchy*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 1977
      start: 1907
    functionDepth: 5
    functionLinenumber: 1907
    functionLinenumberEnd: 1977
    functionName: cgv1_handle_cpuset_hierarchy
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - strerror
    - cg_copy_parent_file
    - lxc_read_from_file
    - do_mkdir
    - file_exists
    - pam_cgfs_debug
    - cg_filter_and_set_cpus
    - string_in_list
    - lxc_write_to_file
    - must_make_path
    - strchr
    - free
    linkageType: ''
    returnType: bool
    signature: "bool cgv1_handle_cpuset_hierarchy(struct cgv1_hierarchy *h,\n\t\t\t\t\t
      const char *cgroup)"
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_handle_cpuset_hierarchy
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:1998,1
    - Dst: cg_systemd_chown_existing_cgroup
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2004,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2018,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2019,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2020,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2023,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2028,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2029,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2031,1
    - Dst: cg_belongs_to_uid_gid
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2032,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2038,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2040,1
    - Dst: lxc_mkdir_parent
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2045,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2047,1
    - Dst: chown
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2051,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2052,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2054,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2056,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2057,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 38
    argCount: 5
    argNames:
    - h
    - cgroup
    - uid
    - gid
    - existed
    argTypes:
    - struct cgv1_hierarchy*
    - char*
    - uid_t
    - gid_t
    - bool*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2062
      start: 1986
    functionDepth: 6
    functionLinenumber: 1986
    functionLinenumberEnd: 2062
    functionName: cgv1_create_one
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cg_systemd_chown_existing_cgroup
    - strerror
    - must_copy_string
    - cgv1_handle_cpuset_hierarchy
    - pam_cgfs_debug
    - file_exists
    - cg_belongs_to_uid_gid
    - free
    - mysyslog
    - strstr
    - lxc_mkdir_parent
    - must_make_path
    - chown
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool cgv1_create_one(struct cgv1_hierarchy *h, const char *cgroup,
      uid_t uid, gid_t gid, bool *existed)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2081,1
    - Dst: recursive_rmdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2082,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2083,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - h
    - cgroup
    argTypes:
    - struct cgv1_hierarchy*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2086
      start: 2068
    functionDepth: 3
    functionLinenumber: 2068
    functionLinenumberEnd: 2086
    functionName: cgv1_remove_one
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - must_make_path
    - recursive_rmdir
    - free
    linkageType: ''
    returnType: bool
    signature: bool cgv1_remove_one(struct cgv1_hierarchy *h, const char *cgroup)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2107,1
    - Dst: recursive_rmdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2108,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2109,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - cgroup
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2112
      start: 2089
    functionDepth: 3
    functionLinenumber: 2089
    functionLinenumberEnd: 2112
    functionName: cgv2_remove
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - must_make_path
    - recursive_rmdir
    - free
    linkageType: ''
    returnType: bool
    signature: bool cgv2_remove(const char *cgroup)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_create_one
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2129,1
    - Dst: cgv1_remove_one
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2140,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 14
    argCount: 4
    argNames:
    - cgroup
    - uid
    - gid
    - existed
    argTypes:
    - char*
    - uid_t
    - gid_t
    - bool*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2143
      start: 2119
    functionDepth: 7
    functionLinenumber: 2119
    functionLinenumberEnd: 2143
    functionName: cgv1_create
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv1_create_one
    - cgv1_remove_one
    linkageType: ''
    returnType: bool
    signature: bool cgv1_create(const char *cgroup, uid_t uid, gid_t gid, bool *existed)
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: cg_systemd_chown_existing_cgroup
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2166,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2175,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2176,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2177,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2179,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2184,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2185,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2187,1
    - Dst: cg_belongs_to_uid_gid
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2188,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2189,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2191,1
    - Dst: lxc_mkdir_parent
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2201,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2203,1
    - Dst: chown
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2208,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2209,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2210,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2212,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2213,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2218,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2221,1
    - Dst: chown
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2224,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2226,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2227,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2229,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2230,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2234,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2237,1
    - Dst: chown
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2240,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2242,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2243,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2244,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2248,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2251,1
    - Dst: chown
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2253,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2255,1
    - Dst: strerror
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2256,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2257,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 65
    argCount: 4
    argNames:
    - cgroup
    - uid
    - gid
    - existed
    argTypes:
    - char*
    - uid_t
    - gid_t
    - bool*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2260
      start: 2148
    functionDepth: 3
    functionLinenumber: 2148
    functionLinenumberEnd: 2260
    functionName: cgv2_create
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cg_systemd_chown_existing_cgroup
    - strerror
    - must_copy_string
    - file_exists
    - pam_cgfs_debug
    - cg_belongs_to_uid_gid
    - free
    - mysyslog
    - strstr
    - lxc_mkdir_parent
    - must_make_path
    - chown
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool cgv2_create(const char *cgroup, uid_t uid, gid_t gid, bool *existed)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cg_escape
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2271,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2274,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2276,1
    - Dst: cgv2_create
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2281,1
    - Dst: cgv2_remove
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2283,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2288,1
    - Dst: cgv1_create
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2293,1
    - Dst: cgv2_remove
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2295,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2300,1
    - Dst: cg_enter
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2304,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2305,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 3
    argNames:
    - user
    - uid
    - gid
    argTypes:
    - char*
    - uid_t
    - gid_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2313
      start: 2265
    functionDepth: 8
    functionLinenumber: 2265
    functionLinenumberEnd: 2313
    functionName: handle_login
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv2_create
    - cg_escape
    - cgv2_remove
    - cgv1_create
    - snprintf
    - cg_enter
    - mysyslog
    linkageType: ''
    returnType: int
    signature: int handle_login(const char *user, uid_t uid, gid_t gid)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2337,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2338,1
    - Dst: recursive_rmdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2340,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2345,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2347,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2348,1
    - Dst: recursive_rmdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2350,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2355,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 30
    argCount: 1
    argNames:
    - user
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2371
      start: 2318
    functionDepth: 3
    functionLinenumber: 2318
    functionLinenumberEnd: 2371
    functionName: cgv1_prune_empty_cgroups
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - must_make_path
    - recursive_rmdir
    - pam_cgfs_debug
    - free
    linkageType: ''
    returnType: bool
    signature: bool cgv1_prune_empty_cgroups(const char *user)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2388,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2389,1
    - Dst: recursive_rmdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2391,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2396,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2398,1
    - Dst: pam_cgfs_debug
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2399,1
    - Dst: recursive_rmdir
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2401,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2406,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - user
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2412
      start: 2376
    functionDepth: 3
    functionLinenumber: 2376
    functionLinenumberEnd: 2412
    functionName: cgv2_prune_empty_cgroups
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - must_make_path
    - recursive_rmdir
    - pam_cgfs_debug
    - free
    linkageType: ''
    returnType: bool
    signature: bool cgv2_prune_empty_cgroups(const char *user)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_prune_empty_cgroups
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2417,1
    - Dst: cgv2_prune_empty_cgroups
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2418,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - user
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2419
      start: 2415
    functionDepth: 4
    functionLinenumber: 2415
    functionLinenumberEnd: 2419
    functionName: cg_prune_empty_cgroups
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv2_prune_empty_cgroups
    - cgv1_prune_empty_cgroups
    linkageType: ''
    returnType: void
    signature: void cg_prune_empty_cgroups(const char *user)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2433,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2435,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2438,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2439,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2440,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2441,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2444,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2445
      start: 2422
    functionDepth: 0
    functionLinenumber: 2422
    functionLinenumberEnd: 2445
    functionName: cgv1_free_hierarchies
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void cgv1_free_hierarchies(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2460,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2462,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2465,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2466,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2467,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2468,1
    - Dst: free
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2471,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2472
      start: 2448
    functionDepth: 0
    functionLinenumber: 2448
    functionLinenumberEnd: 2472
    functionName: cgv2_free_hierarchies
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void cgv2_free_hierarchies(void)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cgv1_free_hierarchies
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2477,1
    - Dst: cgv2_free_hierarchies
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2478,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2479
      start: 2475
    functionDepth: 1
    functionLinenumber: 2475
    functionLinenumberEnd: 2479
    functionName: cg_exit
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - cgv2_free_hierarchies
    - cgv1_free_hierarchies
    linkageType: ''
    returnType: void
    signature: void cg_exit(void)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: pam_get_user
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2489,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2491,1
    - Dst: get_uid_gid
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2495,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2496,1
    - Dst: cg_init
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2500,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2501,1
    - Dst: cg_prune_empty_cgroups
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2508,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2513,1
    - Dst: make_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2514,1
    - Dst: string_list_length
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2520,1
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2520,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2521,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2522,1
    - Dst: cg_mark_to_make_rw
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2526,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2527,1
    - Dst: handle_login
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2530,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 4
    argNames:
    - pamh
    - flags
    - argc
    - argv
    argTypes:
    - pam_handle_t*
    - int
    - int
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2531
      start: 2481
    functionDepth: 9
    functionLinenumber: 2481
    functionLinenumberEnd: 2531
    functionName: pam_sm_open_session
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - free_string_list
    - cg_prune_empty_cgroups
    - string_list_length
    - pam_get_user
    - handle_login
    - mysyslog
    - strcmp
    - string_in_list
    - cg_init
    - cg_mark_to_make_rw
    - make_string_list
    - get_uid_gid
    linkageType: ''
    returnType: int
    signature: "int pam_sm_open_session(pam_handle_t *pamh, int flags, int argc,\n\t\tconst
      char **argv)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: pam_get_user
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2541,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2543,1
    - Dst: get_uid_gid
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2547,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2548,1
    - Dst: cg_init
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2553,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2554,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2556,1
    - Dst: make_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2557,1
    - Dst: string_list_length
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2563,1
    - Dst: string_in_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2563,1
    - Dst: mysyslog
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2564,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2565,1
    - Dst: cg_mark_to_make_rw
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2569,1
    - Dst: free_string_list
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2570,1
    - Dst: cg_prune_empty_cgroups
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2574,1
    - Dst: cg_exit
      Src: /src/lxc/src/lxc/pam/pam_cgfs.c:2575,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 4
    argNames:
    - pamh
    - flags
    - argc
    - argv
    argTypes:
    - pam_handle_t*
    - int
    - int
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 2578
      start: 2533
    functionDepth: 6
    functionLinenumber: 2533
    functionLinenumberEnd: 2578
    functionName: pam_sm_close_session
    functionSourceFile: /src/lxc/src/lxc/pam/pam_cgfs.c
    functionUses: 0
    functionsReached:
    - free_string_list
    - cg_exit
    - cg_prune_empty_cgroups
    - string_list_length
    - pam_get_user
    - get_uid_gid
    - mysyslog
    - string_in_list
    - cg_init
    - cg_mark_to_make_rw
    - make_string_list
    - strcmp
    linkageType: ''
    returnType: int
    signature: "int pam_sm_close_session(pam_handle_t *pamh, int flags, int argc,\n\t\tconst
      char **argv)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/dir.c:33,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/storage/dir.c:36,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/dir.c:38,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/dir.c:38,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/dir.c:38,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/dir.c:39,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/dir.c:39,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/dir.c:40,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/dir.c:41,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/storage/dir.c:42,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/dir.c:44,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/dir.c:44,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/storage/dir.c:46,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/dir.c:48,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/dir.c:48,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/dir.c:48,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/dir.c:49,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/dir.c:50,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/dir.c:51,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/dir.c:51,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/dir.c:53,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/dir.c:53,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 9
    argNames:
    - orig
    - new
    - oldname
    - cname
    - oldpath
    - lxcpath
    - snap
    - newsize
    - conf
    argTypes:
    - struct lxc_storage*
    - struct lxc_storage*
    - char*
    - char*
    - char*
    - char*
    - int
    - uint64_t
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 55
      start: 23
    functionDepth: 1
    functionLinenumber: 23
    functionLinenumberEnd: 55
    functionName: dir_clonepaths
    functionSourceFile: /src/lxc/src/lxc/storage/dir.c
    functionUses: 0
    functionsReached:
    - malloc
    - src::src
    - STRLITERALLEN
    - dest::dest
    - type::type
    - snprintf
    - lxc_storage_get_path
    - TRACE
    - log_error_errno
    - ret_errno
    - strdup
    - strlen
    linkageType: ''
    returnType: int
    signature: "int dir_clonepaths(struct lxc_storage *orig, struct lxc_storage *new,\n\t\t
      \  const char *oldname, const char *cname, const char *oldpath,\n\t\t   const
      char *lxcpath, int snap, uint64_t newsize,\n\t\t   struct lxc_conf *conf)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/dir.c:65,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/dir.c:71,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/dir.c:72,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/storage/dir.c:74,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/dir.c:76,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/storage/dir.c:78,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/dir.c:80,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/storage/dir.c:82,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/dir.c:84,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/dir.c:86,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/dir.c:88,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/storage/dir.c:89,1
    - Dst: move_ptr
      Src: /src/lxc/src/lxc/storage/dir.c:90,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 5
    argNames:
    - bdev
    - dest
    - n
    - specs
    - conf
    argTypes:
    - struct lxc_storage*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 93
      start: 57
    functionDepth: 2
    functionLinenumber: 57
    functionLinenumberEnd: 93
    functionName: dir_create
    functionSourceFile: /src/lxc/src/lxc/storage/dir.c
    functionUses: 0
    functionsReached:
    - malloc
    - STRLITERALLEN
    - snprintf
    - TRACE
    - move_ptr
    - ret_errno
    - log_error_errno
    - strdup
    - strlen
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int dir_create(struct lxc_storage *bdev, const char *dest, const char
      *n,\n\t       struct bdev_specs *specs, const struct lxc_conf *conf)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/dir.c:100,1
    - Dst: lxc_rmdir_onedev
      Src: /src/lxc/src/lxc/storage/dir.c:102,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/dir.c:104,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - orig
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 107
      start: 95
    functionDepth: 3
    functionLinenumber: 95
    functionLinenumberEnd: 107
    functionName: dir_destroy
    functionSourceFile: /src/lxc/src/lxc/storage/dir.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - lxc_rmdir_onedev
    - lxc_storage_get_path
    linkageType: ''
    returnType: int
    signature: int dir_destroy(struct lxc_storage *orig)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/dir.c:114,1
    - Dst: stat
      Src: /src/lxc/src/lxc/storage/dir.c:117,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/dir.c:119,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/storage/dir.c:121,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 125
      start: 109
    functionDepth: 1
    functionLinenumber: 109
    functionLinenumberEnd: 125
    functionName: dir_detect
    functionSourceFile: /src/lxc/src/lxc/storage/dir.c
    functionUses: 0
    functionsReached:
    - log_error_errno
    - stat
    - strncmp
    - S_ISDIR
    linkageType: ''
    returnType: bool
    signature: bool dir_detect(const char *path)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strequal
      Src: /src/lxc/src/lxc/storage/dir.c:134,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/storage/dir.c:135,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/storage/dir.c:137,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/storage/dir.c:138,1
    - Dst: is_empty_string
      Src: /src/lxc/src/lxc/storage/dir.c:140,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/storage/dir.c:141,1
    - Dst: can_use_bind_mounts
      Src: /src/lxc/src/lxc/storage/dir.c:143,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/storage/dir.c:144,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/dir.c:146,1
    - Dst: can_use_bind_mounts
      Src: /src/lxc/src/lxc/storage/dir.c:149,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/storage/dir.c:152,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/storage/dir.c:154,1
    - Dst: move_detached_mount
      Src: /src/lxc/src/lxc/storage/dir.c:157,1
    - Dst: open_at
      Src: /src/lxc/src/lxc/storage/dir.c:161,1
    - Dst: syserror
      Src: /src/lxc/src/lxc/storage/dir.c:163,1
    - Dst: fd_bind_mount
      Src: /src/lxc/src/lxc/storage/dir.c:165,1
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/dir.c:177,1
    - Dst: add_required_remount_flags
      Src: /src/lxc/src/lxc/storage/dir.c:181,1
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/dir.c:187,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/dir.c:189,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/dir.c:191,1
    - Dst: syserror_set
      Src: /src/lxc/src/lxc/storage/dir.c:195,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/dir.c:197,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 37
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 199
      start: 127
    functionDepth: 3
    functionLinenumber: 127
    functionLinenumberEnd: 199
    functionName: dir_mount
    functionSourceFile: /src/lxc/src/lxc/storage/dir.c
    functionUses: 0
    functionsReached:
    - fd_bind_mount
    - mount
    - is_empty_string
    - open_at
    - move_detached_mount
    - strequal
    - lxc_storage_get_path
    - add_required_remount_flags
    - TRACE
    - syserror_set
    - syserror
    - can_use_bind_mounts
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int dir_mount(struct lxc_storage *bdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/dir.c:203,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/storage/dir.c:204,1
    - Dst: ret_errno
      Src: /src/lxc/src/lxc/storage/dir.c:207,1
    - Dst: umount2
      Src: /src/lxc/src/lxc/storage/dir.c:209,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 210
      start: 201
    functionDepth: 1
    functionLinenumber: 201
    functionLinenumberEnd: 210
    functionName: dir_umount
    functionSourceFile: /src/lxc/src/lxc/storage/dir.c
    functionUses: 0
    functionsReached:
    - umount2
    - ret_errno
    - strcmp
    linkageType: ''
    returnType: int
    signature: int dir_umount(struct lxc_storage *bdev)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/storage/nbd.c:46,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/nbd.c:48,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/storage/nbd.c:53,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/storage/nbd.c:55,1
    - Dst: nbd_busy
      Src: /src/lxc/src/lxc/storage/nbd.c:58,1
    - Dst: clone_attach_nbd
      Src: /src/lxc/src/lxc/storage/nbd.c:63,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 2
    argNames:
    - src
    - conf
    argTypes:
    - char*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 69
      start: 40
    functionDepth: 1
    functionLinenumber: 40
    functionLinenumberEnd: 69
    functionName: attach_nbd
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 1
    functionsReached:
    - must_copy_string
    - sprintf
    - clone_attach_nbd
    - nbd_busy
    - strchr
    - file_exists
    linkageType: ''
    returnType: bool
    signature: bool attach_nbd(char *src, struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/nbd.c:76,1
    - Dst: nbd_detach
      Src: /src/lxc/src/lxc/storage/nbd.c:80,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - idx
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 81
      start: 71
    functionDepth: 1
    functionLinenumber: 71
    functionLinenumberEnd: 81
    functionName: detach_nbd_idx
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 0
    functionsReached:
    - nbd_detach
    - snprintf
    linkageType: ''
    returnType: void
    signature: void detach_nbd_idx(int idx)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 9
    argNames:
    - orig
    - new
    - oldname
    - cname
    - oldpath
    - lxcpath
    - snap
    - newsize
    - conf
    argTypes:
    - struct lxc_storage*
    - struct lxc_storage*
    - char*
    - char*
    - char*
    - char*
    - int
    - uint64_t
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 89
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 89
    functionName: nbd_clonepaths
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int nbd_clonepaths(struct lxc_storage *orig, struct lxc_storage *new,\n\t\t
      \  const char *oldname, const char *cname, const char *oldpath,\n\t\t   const
      char *lxcpath, int snap, uint64_t newsize,\n\t\t   struct lxc_conf *conf)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - bdev
    - dest
    - n
    - specs
    - conf
    argTypes:
    - struct lxc_storage*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 95
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 95
    functionName: nbd_create
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: "int nbd_create(struct lxc_storage *bdev, const char *dest, const char
      *n,\n\t       struct bdev_specs *specs, const struct lxc_conf *conf)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - orig
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 100
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 100
    functionName: nbd_destroy
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int nbd_destroy(struct lxc_storage *orig)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/nbd.c:104,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 108
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 108
    functionName: nbd_detect
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 0
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool nbd_detect(const char *path)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/nbd.c:116,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/nbd.c:126,1
    - Dst: nbd_get_partition
      Src: /src/lxc/src/lxc/storage/nbd.c:127,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/nbd.c:129,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/nbd.c:132,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:134,1
    - Dst: wait_for_partition
      Src: /src/lxc/src/lxc/storage/nbd.c:140,1
    - Dst: mount_unknown_fs
      Src: /src/lxc/src/lxc/storage/nbd.c:143,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:145,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 148
      start: 110
    functionDepth: 1
    functionLinenumber: 110
    functionLinenumberEnd: 148
    functionName: nbd_mount
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 0
    functionsReached:
    - mount_unknown_fs
    - ERROR
    - nbd_get_partition
    - wait_for_partition
    - snprintf
    - lxc_storage_get_path
    - strcmp
    linkageType: ''
    returnType: int
    signature: int nbd_mount(struct lxc_storage *bdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/nbd.c:152,1
    - Dst: umount
      Src: /src/lxc/src/lxc/storage/nbd.c:158,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 159
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 159
    functionName: nbd_umount
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 0
    functionsReached:
    - umount
    - strcmp
    linkageType: ''
    returnType: int
    signature: int nbd_umount(struct lxc_storage *bdev)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/nbd.c:163,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 167
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 167
    functionName: requires_nbd
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 0
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool requires_nbd(const char *path)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: sigemptyset
      Src: /src/lxc/src/lxc/storage/nbd.c:179,1
    - Dst: sigaddset
      Src: /src/lxc/src/lxc/storage/nbd.c:180,1
    - Dst: sigaddset
      Src: /src/lxc/src/lxc/storage/nbd.c:181,1
    - Dst: sigprocmask
      Src: /src/lxc/src/lxc/storage/nbd.c:186,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:187,1
    - Dst: exit
      Src: /src/lxc/src/lxc/storage/nbd.c:188,1
    - Dst: signalfd
      Src: /src/lxc/src/lxc/storage/nbd.c:191,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:193,1
    - Dst: exit
      Src: /src/lxc/src/lxc/storage/nbd.c:194,1
    - Dst: prctl
      Src: /src/lxc/src/lxc/storage/nbd.c:197,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/storage/nbd.c:197,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/storage/nbd.c:197,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/storage/nbd.c:198,1
    - Dst: prctl_arg
      Src: /src/lxc/src/lxc/storage/nbd.c:198,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:199,1
    - Dst: fork
      Src: /src/lxc/src/lxc/storage/nbd.c:201,1
    - Dst: read
      Src: /src/lxc/src/lxc/storage/nbd.c:204,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:206,1
    - Dst: nbd_detach
      Src: /src/lxc/src/lxc/storage/nbd.c:210,1
    - Dst: exit
      Src: /src/lxc/src/lxc/storage/nbd.c:211,1
    - Dst: waitpid
      Src: /src/lxc/src/lxc/storage/nbd.c:217,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/storage/nbd.c:218,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/storage/nbd.c:218,1
    - Dst: WIFSIGNALED
      Src: /src/lxc/src/lxc/storage/nbd.c:219,1
    - Dst: nbd_detach
      Src: /src/lxc/src/lxc/storage/nbd.c:220,1
    - Dst: exit
      Src: /src/lxc/src/lxc/storage/nbd.c:221,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/nbd.c:228,1
    - Dst: sigprocmask
      Src: /src/lxc/src/lxc/storage/nbd.c:230,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/nbd.c:231,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/nbd.c:233,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:234,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/nbd.c:235,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 43
    argCount: 1
    argNames:
    - d
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 236
      start: 169
    functionDepth: 1
    functionLinenumber: 169
    functionLinenumberEnd: 236
    functionName: do_attach_nbd
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 0
    functionsReached:
    - waitpid
    - sigemptyset
    - read
    - sigprocmask
    - execlp
    - _exit
    - WARN
    - nbd_detach
    - WEXITSTATUS
    - prctl_arg
    - WIFSIGNALED
    - exit
    - prctl
    - sigaddset
    - SYSERROR
    - signalfd
    - WIFEXITED
    - fork
    - close
    linkageType: ''
    returnType: int
    signature: int do_attach_nbd(void *d)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_clone
      Src: /src/lxc/src/lxc/storage/nbd.c:246,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - nbd
    - path
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 251
      start: 238
    functionDepth: 2
    functionLinenumber: 238
    functionLinenumberEnd: 251
    functionName: clone_attach_nbd
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 1
    functionsReached:
    - lxc_clone
    linkageType: ''
    returnType: bool
    signature: bool clone_attach_nbd(const char *nbd, const char *path)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/nbd.c:258,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/storage/nbd.c:262,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - idx
    argTypes:
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 263
      start: 253
    functionDepth: 1
    functionLinenumber: 253
    functionLinenumberEnd: 263
    functionName: nbd_busy
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 1
    functionsReached:
    - file_exists
    - snprintf
    linkageType: ''
    returnType: bool
    signature: bool nbd_busy(int idx)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/lxc/src/lxc/storage/nbd.c:268,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:271,1
    - Dst: wait_for_pid
      Src: /src/lxc/src/lxc/storage/nbd.c:276,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:278,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/nbd.c:282,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:283,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/nbd.c:284,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 285
      start: 265
    functionDepth: 1
    functionLinenumber: 265
    functionLinenumberEnd: 285
    functionName: nbd_detach
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 2
    functionsReached:
    - wait_for_pid
    - ERROR
    - execlp
    - _exit
    - fork
    - SYSERROR
    linkageType: ''
    returnType: void
    signature: void nbd_detach(const char *path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/nbd.c:294,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/nbd.c:298,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - src
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 308
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 308
    functionName: nbd_get_partition
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 1
    functionsReached:
    - strchr
    linkageType: ''
    returnType: int
    signature: int nbd_get_partition(const char *src)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: file_exists
      Src: /src/lxc/src/lxc/storage/nbd.c:315,1
    - Dst: sleep
      Src: /src/lxc/src/lxc/storage/nbd.c:318,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/nbd.c:322,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 324
      start: 310
    functionDepth: 1
    functionLinenumber: 310
    functionLinenumberEnd: 324
    functionName: wait_for_partition
    functionSourceFile: /src/lxc/src/lxc/storage/nbd.c
    functionUses: 1
    functionsReached:
    - ERROR
    - sleep
    - file_exists
    linkageType: ''
    returnType: bool
    signature: bool wait_for_partition(const char *path)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 311
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 311
    functionName: cpu_to_le64
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: cpu_to_le64(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 312
      start: 311
    functionDepth: 0
    functionLinenumber: 311
    functionLinenumberEnd: 312
    functionName: le64_to_cpu
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: le64_to_cpu(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 313
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 313
    functionName: cpu_to_le32
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: cpu_to_le32(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 314
      start: 313
    functionDepth: 0
    functionLinenumber: 313
    functionLinenumberEnd: 314
    functionName: le32_to_cpu
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: le32_to_cpu(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 315
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 315
    functionName: cpu_to_le16
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: cpu_to_le16(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 316
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 316
    functionName: le16_to_cpu
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: le16_to_cpu(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 318
      start: 317
    functionDepth: 0
    functionLinenumber: 317
    functionLinenumberEnd: 318
    functionName: cpu_to_le64
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: cpu_to_le64(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 319
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 319
    functionName: le64_to_cpu
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: le64_to_cpu(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 320
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 320
    functionName: cpu_to_le32
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: cpu_to_le32(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 321
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 321
    functionName: le32_to_cpu
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: le32_to_cpu(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 322
      start: 321
    functionDepth: 0
    functionLinenumber: 321
    functionLinenumberEnd: 322
    functionName: cpu_to_le16
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: cpu_to_le16(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 323
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 323
    functionName: le16_to_cpu
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: le16_to_cpu(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 9
    argNames:
    - (
    - name
    - ','
    - type
    - ','
    - member
    - ','
    - bits
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 334
      start: 325
    functionDepth: 0
    functionLinenumber: 325
    functionLinenumberEnd: 334
    functionName: BTRFS_SETGET_STACK_FUNCS
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BTRFS_SETGET_STACK_FUNCS(name, type, member, bits)
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:43,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:51,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:53,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/overlay.c:53,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:55,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/overlay.c:55,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/overlay.c:59,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/storage/overlay.c:59,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/overlay.c:60,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/overlay.c:60,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/overlay.c:62,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/overlay.c:62,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/overlay.c:65,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:69,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:71,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:73,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:84,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:86,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:88,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/overlay.c:90,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/storage/overlay.c:90,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:94,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/overlay.c:95,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/overlay.c:97,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:99,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/overlay.c:100,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/overlay.c:102,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/overlay.c:104,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/overlay.c:106,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/overlay.c:109,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:110,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:110,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:111,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:111,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:111,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/overlay.c:113,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/overlay.c:114,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:115,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:117,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/overlay.c:117,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:119,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/overlay.c:120,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/overlay.c:121,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/overlay.c:127,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:129,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:132,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:132,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:133,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:134,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:134,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:135,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/overlay.c:137,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:139,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:143,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:145,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:147,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:152,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:153,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:155,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/overlay.c:157,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/storage/overlay.c:157,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:161,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/overlay.c:162,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/overlay.c:164,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:166,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/overlay.c:167,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/overlay.c:169,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/overlay.c:171,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/overlay.c:173,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:176,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:176,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:176,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:176,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:176,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/overlay.c:177,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/overlay.c:178,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:179,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:181,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/overlay.c:181,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:183,1
    - Dst: ovl_do_rsync
      Src: /src/lxc/src/lxc/storage/overlay.c:185,1
    - Dst: lxc_path_simplify
      Src: /src/lxc/src/lxc/storage/overlay.c:194,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:196,1
    - Dst: lxc_path_simplify
      Src: /src/lxc/src/lxc/storage/overlay.c:198,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:200,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/overlay.c:202,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:204,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/overlay.c:206,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:208,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:210,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:210,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:214,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:214,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:222,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:223,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:230,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:231,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:243,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 133
    argCount: 9
    argNames:
    - orig
    - new
    - oldname
    - cname
    - oldpath
    - lxcpath
    - snap
    - newsize
    - conf
    argTypes:
    - struct lxc_storage*
    - struct lxc_storage*
    - char*
    - char*
    - char*
    - char*
    - int
    - uint64_t
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 247
      start: 35
    functionDepth: 6
    functionLinenumber: 35
    functionLinenumberEnd: 247
    functionName: ovl_clonepaths
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 0
    functionsReached:
    - strrchr
    - src::src
    - STRLITERALLEN
    - snprintf
    - lxc_path_simplify
    - strchr
    - list_empty
    - WARN
    - lxc_storage_get_path
    - strdup
    - strlen
    - chown_mapped_root
    - must_make_path
    - lxc_mkdir_p
    - malloc
    - ERROR
    - am_guest_unpriv
    - ovl_do_rsync
    - log_error_errno
    - SYSERROR
    - strcmp
    - dest::dest
    - strncmp
    linkageType: ''
    returnType: int
    signature: "int ovl_clonepaths(struct lxc_storage *orig, struct lxc_storage *new,
      const char *oldname,\n\t\t   const char *cname, const char *oldpath, const char
      *lxcpath,\n\t\t   int snap, uint64_t newsize, struct lxc_conf *conf)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:260,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/overlay.c:261,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:261,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:262,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/overlay.c:264,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:266,1
    - Dst: strndup
      Src: /src/lxc/src/lxc/storage/overlay.c:268,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:268,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:270,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:272,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:274,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:276,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/overlay.c:278,1
    - Dst: list_empty
      Src: /src/lxc/src/lxc/storage/overlay.c:278,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:281,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/overlay.c:282,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/overlay.c:284,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/overlay.c:286,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/overlay.c:288,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:292,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:292,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:292,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:292,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/overlay.c:293,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:295,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:297,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:299,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:301,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:303,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 34
    argCount: 5
    argNames:
    - bdev
    - dest
    - n
    - specs
    - conf
    argTypes:
    - struct lxc_storage*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 306
      start: 253
    functionDepth: 6
    functionLinenumber: 253
    functionLinenumberEnd: 306
    functionName: ovl_create
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 0
    functionsReached:
    - malloc
    - STRLITERALLEN
    - list_empty
    - am_guest_unpriv
    - strndup
    - WARN
    - snprintf
    - log_error_errno
    - strdup
    - strlen
    - chown_mapped_root
    - must_make_path
    - strcmp
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int ovl_create(struct lxc_storage *bdev, const char *dest, const char
      *n,\n\t       struct bdev_specs *specs, const struct lxc_conf *conf)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:318,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:320,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/overlay.c:323,1
    - Dst: lxc_rmdir_onedev
      Src: /src/lxc/src/lxc/storage/overlay.c:328,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - orig
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 329
      start: 308
    functionDepth: 3
    functionLinenumber: 308
    functionLinenumberEnd: 329
    functionName: ovl_destroy
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 0
    functionsReached:
    - strchr
    - strncmp
    - lxc_rmdir_onedev
    linkageType: ''
    returnType: int
    signature: int ovl_destroy(struct lxc_storage *orig)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:333,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:336,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 340
      start: 331
    functionDepth: 0
    functionLinenumber: 331
    functionLinenumberEnd: 340
    functionName: ovl_detect
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 0
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool ovl_detect(const char *path)
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/overlay.c:352,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/overlay.c:352,1
    - Dst: ovl_detect_name
      Src: /src/lxc/src/lxc/storage/overlay.c:359,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/overlay.c:364,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/overlay.c:366,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:370,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:370,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:371,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:372,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:372,1
    - Dst: STRLITERALLEN
      Src: /src/lxc/src/lxc/storage/overlay.c:373,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/overlay.c:378,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:385,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:392,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:394,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:395,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/overlay.c:405,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:407,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:408,1
    - Dst: must_make_path
      Src: /src/lxc/src/lxc/storage/overlay.c:413,1
    - Dst: parse_mntopts_legacy
      Src: /src/lxc/src/lxc/storage/overlay.c:416,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:418,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:419,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:420,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:421,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:425,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:427,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:428,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:429,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:430,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:441,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:441,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:442,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:442,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/storage/overlay.c:443,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:444,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:447,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:447,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:447,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:448,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:449,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/storage/overlay.c:450,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:451,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:455,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:455,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:456,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/storage/overlay.c:457,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:458,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:461,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:461,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:461,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:462,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/storage/overlay.c:463,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:464,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:470,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:471,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:472,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:473,1
    - Dst: ovl_remount_on_enodev
      Src: /src/lxc/src/lxc/storage/overlay.c:478,1
    - Dst: SYSINFO
      Src: /src/lxc/src/lxc/storage/overlay.c:481,1
    - Dst: ovl_remount_on_enodev
      Src: /src/lxc/src/lxc/storage/overlay.c:487,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:490,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/overlay.c:493,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/overlay.c:496,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:500,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:501,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 95
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 503
      start: 342
    functionDepth: 3
    functionLinenumber: 342
    functionLinenumberEnd: 503
    functionName: ovl_mount
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 0
    functionsReached:
    - strrchr
    - STRLITERALLEN
    - snprintf
    - ovl_remount_on_enodev
    - free
    - parse_mntopts_legacy
    - strdup
    - strlen
    - must_make_path
    - lxc_mkdir_p
    - ERROR
    - log_error_errno
    - SYSERROR
    - strcmp
    - SYSINFO
    - must_realloc
    - strstr
    - INFO
    - ovl_detect_name
    - strncmp
    linkageType: ''
    returnType: int
    signature: int ovl_mount(struct lxc_storage *bdev)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/overlay.c:509,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/overlay.c:509,1
    - Dst: umount
      Src: /src/lxc/src/lxc/storage/overlay.c:515,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:517,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/overlay.c:519,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 522
      start: 505
    functionDepth: 1
    functionLinenumber: 505
    functionLinenumberEnd: 522
    functionName: ovl_umount
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 0
    functionsReached:
    - umount
    - SYSERROR
    - strcmp
    - TRACE
    linkageType: ''
    returnType: int
    signature: int ovl_umount(struct lxc_storage *bdev)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:528,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:530,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/overlay.c:533,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - rootfs_path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 539
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 539
    functionName: ovl_get_lower
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 0
    functionsReached:
    - strstr
    - strncmp
    linkageType: ''
    returnType: char
    signature: char *ovl_get_lower(const char *rootfs_path)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/overlay.c:551,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:556,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:558,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/overlay.c:561,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/overlay.c:565,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:566,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:570,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 2
    argNames:
    - rootfs_path
    - rootfslen
    argTypes:
    - char*
    - size_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 573
      start: 541
    functionDepth: 0
    functionLinenumber: 541
    functionLinenumberEnd: 573
    functionName: ovl_get_rootfs
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 1
    functionsReached:
    - strncmp
    - strstr
    - strdup
    - strlen
    - free
    linkageType: ''
    returnType: char
    signature: char *ovl_get_rootfs(const char *rootfs_path, size_t *rootfslen)
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: lxc_string_split
      Src: /src/lxc/src/lxc/storage/overlay.c:591,1
    - Dst: lxc_array_len
      Src: /src/lxc/src/lxc/storage/overlay.c:593,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/overlay.c:598,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:599,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:599,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/overlay.c:601,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:602,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:602,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:607,1
    - Dst: ovl_get_rootfs
      Src: /src/lxc/src/lxc/storage/overlay.c:611,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/overlay.c:615,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:626,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:627,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:628,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:629,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/storage/overlay.c:632,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:638,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:639,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/overlay.c:640,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/overlay.c:641,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/storage/overlay.c:644,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:650,1
    - Dst: lxc_free_array
      Src: /src/lxc/src/lxc/storage/overlay.c:651,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 49
    argCount: 4
    argNames:
    - mntent
    - rootfs
    - lxc_name
    - lxc_path
    argTypes:
    - struct mntent*
    - struct lxc_rootfs*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 653
      start: 575
    functionDepth: 2
    functionLinenumber: 575
    functionLinenumberEnd: 653
    functionName: ovl_mkdir
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 1
    functionsReached:
    - lxc_array_len
    - SYSWARN
    - snprintf
    - free
    - lxc_string_split
    - ovl_get_rootfs
    - lxc_free_array
    - strstr
    - strlen
    - strncmp
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int ovl_mkdir(const struct mntent *mntent, const struct lxc_rootfs
      *rootfs,\n\t      const char *lxc_name, const char *lxc_path)"
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/overlay.c:675,1
    - Dst: remove_trailing_slashes
      Src: /src/lxc/src/lxc/storage/overlay.c:679,1
    - Dst: clone_update_unexp_ovl_paths
      Src: /src/lxc/src/lxc/storage/overlay.c:686,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:693,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:698,1
    - Dst: list_for_each_entry
      Src: /src/lxc/src/lxc/storage/overlay.c:702,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/overlay.c:708,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:713,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/overlay.c:718,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/overlay.c:723,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/storage/overlay.c:724,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/overlay.c:726,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/storage/overlay.c:728,1
    - Dst: lxc_string_replace
      Src: /src/lxc/src/lxc/storage/overlay.c:732,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:738,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/overlay.c:739,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:741,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/overlay.c:742,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:745,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:746,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:751,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 56
    argCount: 5
    argNames:
    - lxc_conf
    - lxc_path
    - lxc_name
    - newpath
    - newname
    argTypes:
    - struct lxc_conf*
    - char*
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 753
      start: 662
    functionDepth: 2
    functionLinenumber: 662
    functionLinenumberEnd: 753
    functionName: ovl_update_abs_paths
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 1
    functionsReached:
    - clone_update_unexp_ovl_paths
    - list_for_each_entry
    - snprintf
    - remove_trailing_slashes
    - lxc_string_replace
    - strstr
    - strdup
    - free
    linkageType: ''
    returnType: int
    signature: "int ovl_update_abs_paths(struct lxc_conf *lxc_conf, const char *lxc_path,\n\t\t\t
      const char *lxc_name, const char *newpath,\n\t\t\t const char *newname)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/overlay.c:760,1
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/overlay.c:762,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 5
    argNames:
    - lower
    - target
    - name
    - mountflags
    - options
    argTypes:
    - char*
    - char*
    - char*
    - unsigned long
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 767
      start: 755
    functionDepth: 0
    functionLinenumber: 755
    functionLinenumberEnd: 767
    functionName: ovl_remount_on_enodev
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 1
    functionsReached:
    - mount
    linkageType: ''
    returnType: int
    signature: "int ovl_remount_on_enodev(const char *lower, const char *target,\n\t\t\t\t
      const char *name, unsigned long mountflags,\n\t\t\t\t const void *options)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/lxc/src/lxc/storage/overlay.c:776,1
    - Dst: getline
      Src: /src/lxc/src/lxc/storage/overlay.c:780,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/overlay.c:781,1
    - Dst: fclose
      Src: /src/lxc/src/lxc/storage/overlay.c:787,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/overlay.c:788,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 790
      start: 769
    functionDepth: 0
    functionLinenumber: 769
    functionLinenumberEnd: 790
    functionName: ovl_detect_name
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 1
    functionsReached:
    - getline
    - fopen
    - fclose
    - strcmp
    - free
    linkageType: ''
    returnType: char
    signature: char *ovl_detect_name(void)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/overlay.c:801,1
    - Dst: userns_exec_full
      Src: /src/lxc/src/lxc/storage/overlay.c:802,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/overlay.c:805,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/overlay.c:808,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 3
    argNames:
    - src
    - dest
    - conf
    argTypes:
    - char*
    - char*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 813
      start: 792
    functionDepth: 5
    functionLinenumber: 792
    functionLinenumberEnd: 813
    functionName: ovl_do_rsync
    functionSourceFile: /src/lxc/src/lxc/storage/overlay.c
    functionUses: 1
    functionsReached:
    - am_guest_unpriv
    - run_command
    - ERROR
    - userns_exec_full
    linkageType: ''
    returnType: int
    signature: "int ovl_do_rsync(const char *src, const char *dest,\n\t\t\tstruct
      lxc_conf *conf)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/zfs.c:33,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 37
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 37
    functionName: zfs_detect_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int zfs_detect_exec_wrapper(void *data)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execvp
      Src: /src/lxc/src/lxc/storage/zfs.c:43,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 46
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 46
    functionName: zfs_create_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - execvp
    linkageType: ''
    returnType: int
    signature: int zfs_create_exec_wrapper(void *args)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/zfs.c:52,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 55
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 55
    functionName: zfs_delete_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int zfs_delete_exec_wrapper(void *args)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/zfs.c:61,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 64
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 64
    functionName: zfs_snapshot_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int zfs_snapshot_exec_wrapper(void *args)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/zfs.c:70,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 75
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 75
    functionName: zfs_clone_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int zfs_clone_exec_wrapper(void *args)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/zfs.c:81,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 85
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 85
    functionName: zfs_get_parent_snapshot_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int zfs_get_parent_snapshot_exec_wrapper(void *args)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_popen
      Src: /src/lxc/src/lxc/storage/zfs.c:92,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:94,1
    - Dst: fgets
      Src: /src/lxc/src/lxc/storage/zfs.c:98,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/zfs.c:99,1
    - Dst: lxc_pclose
      Src: /src/lxc/src/lxc/storage/zfs.c:103,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 3
    argNames:
    - path
    - output
    - inlen
    argTypes:
    - char*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 106
      start: 87
    functionDepth: 2
    functionLinenumber: 87
    functionLinenumberEnd: 106
    functionName: zfs_list_entry
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - lxc_pclose
    - fgets
    - strstr
    - SYSERROR
    - lxc_popen
    linkageType: ''
    returnType: bool
    signature: bool zfs_list_entry(const char *path, char *output, size_t inlen)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/zfs.c:115,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/zfs.c:123,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:126,1
    - Dst: zfs_list_entry
      Src: /src/lxc/src/lxc/storage/zfs.c:130,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:131,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:136,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:139,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/storage/zfs.c:148,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:148,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/storage/zfs.c:149,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:149,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/zfs.c:151,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 155
      start: 108
    functionDepth: 3
    functionLinenumber: 108
    functionLinenumberEnd: 155
    functionName: zfs_detect
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - malloc
    - ERROR
    - run_command
    - free
    - lxc_char_left_gc
    - strlen
    - lxc_char_right_gc
    - zfs_list_entry
    - strcmp
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool zfs_detect(const char *path)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/zfs.c:167,1
    - Dst: parse_mntopts_legacy
      Src: /src/lxc/src/lxc/storage/zfs.c:173,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:175,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/zfs.c:182,1
    - Dst: zfs_list_entry
      Src: /src/lxc/src/lxc/storage/zfs.c:186,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:188,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/zfs.c:192,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:194,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:214,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:215,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/storage/zfs.c:217,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:219,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/zfs.c:224,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:226,1
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/zfs.c:230,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:232,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/zfs.c:236,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 46
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 238
      start: 157
    functionDepth: 3
    functionLinenumber: 157
    functionLinenumberEnd: 238
    functionName: zfs_mount
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - realloc
    - ERROR
    - mount
    - strchr
    - lxc_storage_get_path
    - snprintf
    - TRACE
    - parse_mntopts_legacy
    - strlen
    - zfs_list_entry
    - SYSERROR
    - strcmp
    linkageType: ''
    returnType: int
    signature: int zfs_mount(struct lxc_storage *bdev)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/zfs.c:244,1
    - Dst: umount
      Src: /src/lxc/src/lxc/storage/zfs.c:250,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:252,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/zfs.c:254,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 257
      start: 240
    functionDepth: 1
    functionLinenumber: 240
    functionLinenumberEnd: 257
    functionName: zfs_umount
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - umount
    - SYSERROR
    - strcmp
    - TRACE
    linkageType: ''
    returnType: int
    signature: int zfs_umount(struct lxc_storage *bdev)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/zfs.c:275,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:275,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:277,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/zfs.c:281,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:281,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/zfs.c:281,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:284,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:287,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:287,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/zfs.c:290,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:290,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/zfs.c:292,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:292,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/zfs.c:295,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:295,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:297,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:297,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:303,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:306,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:307,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/zfs.c:310,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:310,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 33
    argCount: 4
    argNames:
    - conf
    - orig
    - new
    - newsize
    argTypes:
    - struct lxc_conf*
    - struct lxc_storage*
    - struct lxc_storage*
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 313
      start: 259
    functionDepth: 3
    functionLinenumber: 259
    functionLinenumberEnd: 313
    functionName: zfs_copy
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - src::src
    - ERROR
    - run_command
    - dest::dest
    - type::type
    - lxc_storage_get_path
    - snprintf
    - TRACE
    - INFO
    - SYSERROR
    - lxc_mkdir_p
    linkageType: ''
    returnType: bool
    signature: "bool zfs_copy(struct lxc_conf *conf, struct lxc_storage *orig,\n\t
      \     struct lxc_storage *new, uint64_t newsize)"
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/zfs.c:326,1
    - Dst: zfs_list_entry
      Src: /src/lxc/src/lxc/storage/zfs.c:330,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:332,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/zfs.c:336,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:338,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/zfs.c:346,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:348,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/zfs.c:352,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:352,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:354,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:354,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:355,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:368,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:369,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/storage/zfs.c:370,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:372,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:373,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/zfs.c:379,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:381,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:382,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:387,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:390,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:391,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/zfs.c:394,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/zfs.c:396,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/zfs.c:399,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:399,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:401,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:402,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/zfs.c:406,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:406,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/zfs.c:406,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:409,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:412,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:412,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/zfs.c:414,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:414,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/zfs.c:416,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:416,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:418,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 73
    argCount: 4
    argNames:
    - conf
    - orig
    - new
    - newsize
    argTypes:
    - struct lxc_conf*
    - struct lxc_storage*
    - struct lxc_storage*
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 420
      start: 316
    functionDepth: 3
    functionLinenumber: 316
    functionLinenumberEnd: 420
    functionName: zfs_snapshot
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - realloc
    - strrchr
    - ERROR
    - src::src
    - run_command
    - dest::dest
    - type::type
    - lxc_storage_get_path
    - snprintf
    - TRACE
    - INFO
    - strdup
    - strlen
    - zfs_list_entry
    - strchr
    - free
    linkageType: ''
    returnType: bool
    signature: "bool zfs_snapshot(struct lxc_conf *conf, struct lxc_storage *orig,\n\t\t
      \ struct lxc_storage *new, uint64_t newsize)"
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/zfs.c:436,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:437,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/zfs.c:442,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/zfs.c:443,1
    - Dst: zfs_list_entry
      Src: /src/lxc/src/lxc/storage/zfs.c:447,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:450,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/zfs.c:454,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:456,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/zfs.c:464,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:466,1
    - Dst: strndup
      Src: /src/lxc/src/lxc/storage/zfs.c:471,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:473,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/storage/zfs.c:478,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:480,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/zfs.c:484,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:486,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:501,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:502,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/storage/zfs.c:509,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:510,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:511,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:512,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/storage/zfs.c:517,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:517,1
    - Dst: memmove
      Src: /src/lxc/src/lxc/storage/zfs.c:518,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/zfs.c:521,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/zfs.c:521,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:523,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:539,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:539,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:539,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/zfs.c:540,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:541,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:542,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/zfs.c:546,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:546,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:548,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/zfs.c:552,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:552,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:554,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/zfs.c:554,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 79
    argCount: 9
    argNames:
    - orig
    - new
    - oldname
    - cname
    - oldpath
    - lxcpath
    - snap
    - newsize
    - conf
    argTypes:
    - struct lxc_storage*
    - struct lxc_storage*
    - char*
    - char*
    - char*
    - char*
    - int
    - uint64_t
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 559
      start: 422
    functionDepth: 3
    functionLinenumber: 422
    functionLinenumberEnd: 559
    functionName: zfs_clonepaths
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - strrchr
    - src::src
    - snprintf
    - strchr
    - free
    - lxc_storage_get_path
    - strdup
    - strlen
    - memmove
    - lxc_mkdir_p
    - realloc
    - malloc
    - ERROR
    - strndup
    - zfs_list_entry
    - SYSERROR
    - strcmp
    - dest::dest
    - lxc_global_config_value
    linkageType: ''
    returnType: int
    signature: "int zfs_clonepaths(struct lxc_storage *orig, struct lxc_storage *new,\n\t\t
      \  const char *oldname, const char *cname, const char *oldpath,\n\t\t   const
      char *lxcpath, int snap, uint64_t newsize,\n\t\t   struct lxc_conf *conf)"
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/zfs.c:571,1
    - Dst: zfs_list_entry
      Src: /src/lxc/src/lxc/storage/zfs.c:577,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:579,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/zfs.c:583,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:585,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:593,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:596,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:602,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/storage/zfs.c:608,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:608,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/storage/zfs.c:609,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:609,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/zfs.c:611,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:612,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/zfs.c:618,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:620,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:624,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:628,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:630,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/zfs.c:633,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/storage/zfs.c:639,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:639,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/storage/zfs.c:640,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:640,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/zfs.c:644,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:646,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:647,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:653,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:656,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:658,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:659,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/zfs.c:662,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/zfs.c:664,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:667,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:675,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:678,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/zfs.c:680,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/zfs.c:682,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/zfs.c:684,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 82
    argCount: 1
    argNames:
    - orig
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 686
      start: 561
    functionDepth: 3
    functionLinenumber: 561
    functionLinenumberEnd: 686
    functionName: zfs_destroy
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - run_command
    - ERROR
    - lxc_storage_get_path
    - lxc_char_left_gc
    - strcmp
    - INFO
    - strdup
    - strlen
    - lxc_char_right_gc
    - zfs_list_entry
    - strchr
    - free
    linkageType: ''
    returnType: int
    signature: int zfs_destroy(struct lxc_storage *orig)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/storage/zfs.c:705,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/zfs.c:709,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:711,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:715,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/zfs.c:715,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/zfs.c:718,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:720,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/zfs.c:724,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:726,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/zfs.c:729,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/zfs.c:731,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:733,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/zfs.c:739,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:742,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/zfs.c:745,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/zfs.c:747,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/zfs.c:750,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/zfs.c:752,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 45
    argCount: 5
    argNames:
    - bdev
    - dest
    - n
    - specs
    - conf
    argTypes:
    - struct lxc_storage*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 757
      start: 688
    functionDepth: 3
    functionLinenumber: 688
    functionLinenumberEnd: 757
    functionName: zfs_create
    functionSourceFile: /src/lxc/src/lxc/storage/zfs.c
    functionUses: 0
    functionsReached:
    - malloc
    - ERROR
    - run_command
    - snprintf
    - lxc_storage_get_path
    - TRACE
    - INFO
    - strdup
    - strlen
    - lxc_global_config_value
    - SYSERROR
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int zfs_create(struct lxc_storage *bdev, const char *dest, const char
      *n,\n\t       struct bdev_specs *specs, const struct lxc_conf *conf)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage.c:191,1
    - Dst: strcspn
      Src: /src/lxc/src/lxc/storage/storage.c:193,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/storage.c:199,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/storage.c:201,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/storage/storage.c:209,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 2
    argNames:
    - path
    - type
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 211
      start: 184
    functionDepth: 1
    functionLinenumber: 184
    functionLinenumberEnd: 211
    functionName: get_storage_by_name
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 0
    functionsReached:
    - strlen
    - DEBUG
    - strcspn
    - strncmp
    linkageType: ''
    returnType: struct lxc_storage_type
    signature: "struct lxc_storage_type *get_storage_by_name(const char *path,\n\t\t\t\t\t\t\t
      \ const char *type)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: get_storage_by_name
      Src: /src/lxc/src/lxc/storage/storage.c:220,1
    - Dst: ops::detect
      Src: /src/lxc/src/lxc/storage/storage.c:225,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/storage/storage.c:231,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 233
      start: 213
    functionDepth: 2
    functionLinenumber: 213
    functionLinenumberEnd: 233
    functionName: storage_query
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 0
    functionsReached:
    - get_storage_by_name
    - DEBUG
    - ops::detect
    linkageType: ''
    returnType: struct lxc_storage_type
    signature: struct lxc_storage_type *storage_query(struct lxc_conf *conf)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:241,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/storage.c:247,1
    - Dst: memset
      Src: /src/lxc/src/lxc/storage/storage.c:251,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - type
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 256
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 256
    functionName: storage_get
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 0
    functionsReached:
    - malloc
    - memset
    - strcmp
    linkageType: ''
    returnType: struct lxc_storage
    signature: struct lxc_storage *storage_get(const char *type)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: storage_get
      Src: /src/lxc/src/lxc/storage/storage.c:269,1
    - Dst: struct lxc_storage*::ops::create
      Src: /src/lxc/src/lxc/storage/storage.c:273,1
    - Dst: storage_put
      Src: /src/lxc/src/lxc/storage/storage.c:275,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 5
    argNames:
    - dest
    - type
    - cname
    - specs
    - conf
    argTypes:
    - char*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 280
      start: 258
    functionDepth: 1
    functionLinenumber: 258
    functionLinenumberEnd: 280
    functionName: do_storage_create
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 1
    functionsReached:
    - storage_put
    - struct lxc_storage*::ops::create
    - storage_get
    linkageType: ''
    returnType: struct lxc_storage
    signature: "struct lxc_storage *do_storage_create(const char *dest, const char
      *type,\n\t\t\t\t\t     const char *cname,\n\t\t\t\t\t     struct bdev_specs
      *specs,\n\t\t\t\t\t     const struct lxc_conf *conf)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: storage_init
      Src: /src/lxc/src/lxc/storage/storage.c:287,1
    - Dst: storage_put
      Src: /src/lxc/src/lxc/storage/storage.c:292,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 294
      start: 282
    functionDepth: 1
    functionLinenumber: 282
    functionLinenumberEnd: 294
    functionName: storage_can_backup
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 1
    functionsReached:
    - storage_put
    - storage_init
    linkageType: ''
    returnType: bool
    signature: bool storage_can_backup(struct lxc_conf *conf)
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage.c:327,1
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/storage.c:334,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage.c:335,1
    - Dst: lxc_storage_prepare
      Src: /src/lxc/src/lxc/storage/storage.c:340,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage.c:342,1
    - Dst: dup_cloexec
      Src: /src/lxc/src/lxc/storage/storage.c:348,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage.c:350,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/storage/storage.c:351,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage.c:360,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage.c:360,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage.c:360,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/storage.c:361,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage.c:363,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/storage.c:367,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage.c:369,1
    - Dst: stat
      Src: /src/lxc/src/lxc/storage/storage.c:373,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/storage.c:375,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/storage.c:377,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:389,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/storage.c:392,1
    - Dst: unpriv_snap_allowed
      Src: /src/lxc/src/lxc/storage/storage.c:392,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage.c:393,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:400,1
    - Dst: lvm_is_thin_volume
      Src: /src/lxc/src/lxc/storage/storage.c:401,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:403,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:404,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:407,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:412,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:413,1
    - Dst: storage_get::storage_get
      Src: /src/lxc/src/lxc/storage/storage.c:418,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage.c:420,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/storage.c:424,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/storage.c:424,1
    - Dst: ops::ops
      Src: /src/lxc/src/lxc/storage/storage.c:429,1
    - Dst: clone_paths
      Src: /src/lxc/src/lxc/storage/storage.c:429,1
    - Dst: oldname::oldname
      Src: /src/lxc/src/lxc/storage/storage.c:429,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage.c:432,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:440,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/storage.c:440,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:441,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/storage.c:441,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:446,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:446,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/storage.c:446,1
    - Dst: btrfs_same_fs
      Src: /src/lxc/src/lxc/storage/storage.c:449,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/storage.c:449,1
    - Dst: ops::ops
      Src: /src/lxc/src/lxc/storage/storage.c:450,1
    - Dst: snapshot
      Src: /src/lxc/src/lxc/storage/storage.c:450,1
    - Dst: ops::ops
      Src: /src/lxc/src/lxc/storage/storage.c:452,1
    - Dst: copy
      Src: /src/lxc/src/lxc/storage/storage.c:452,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:460,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:460,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/storage.c:460,1
    - Dst: ops::ops
      Src: /src/lxc/src/lxc/storage/storage.c:464,1
    - Dst: snapshot
      Src: /src/lxc/src/lxc/storage/storage.c:464,1
    - Dst: newsize::newsize
      Src: /src/lxc/src/lxc/storage/storage.c:464,1
    - Dst: ops::ops
      Src: /src/lxc/src/lxc/storage/storage.c:466,1
    - Dst: copy
      Src: /src/lxc/src/lxc/storage/storage.c:466,1
    - Dst: newsize::newsize
      Src: /src/lxc/src/lxc/storage/storage.c:466,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:474,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:474,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/storage.c:474,1
    - Dst: ops::ops
      Src: /src/lxc/src/lxc/storage/storage.c:478,1
    - Dst: snapshot
      Src: /src/lxc/src/lxc/storage/storage.c:478,1
    - Dst: newsize::newsize
      Src: /src/lxc/src/lxc/storage/storage.c:478,1
    - Dst: ops::ops
      Src: /src/lxc/src/lxc/storage/storage.c:480,1
    - Dst: copy
      Src: /src/lxc/src/lxc/storage/storage.c:480,1
    - Dst: newsize::newsize
      Src: /src/lxc/src/lxc/storage/storage.c:480,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:487,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:488,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/storage.c:488,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:488,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/storage.c:488,1
    - Dst: ovl_get_lower
      Src: /src/lxc/src/lxc/storage/storage.c:489,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/storage.c:489,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/storage.c:491,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/storage.c:491,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/storage.c:491,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/storage.c:493,1
    - Dst: chown_mapped_root
      Src: /src/lxc/src/lxc/storage/storage.c:494,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/storage.c:496,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/storage.c:496,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/storage.c:506,1
    - Dst: userns_exec_full
      Src: /src/lxc/src/lxc/storage/storage.c:507,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/storage.c:511,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage.c:514,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/storage.c:515,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/storage/storage.c:522,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/storage.c:522,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/storage/storage.c:523,1
    - Dst: put_lxc_rootfs
      Src: /src/lxc/src/lxc/storage/storage.c:524,1
    - Dst: put_lxc_rootfs
      Src: /src/lxc/src/lxc/storage/storage.c:529,1
    - Dst: lxc_storage_put
      Src: /src/lxc/src/lxc/storage/storage.c:532,1
    CyclomaticComplexity: 71
    EdgeCount: 71
    ICount: 149
    argCount: 8
    argNames:
    - c
    - cname
    - lxcpath
    - bdevtype
    - flags
    - bdevdata
    - newsize
    - needs_rdep
    argTypes:
    - struct lxc_container*
    - char*
    - char*
    - char*
    - int
    - char*
    - uint64_t
    - bool*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 535
      start: 299
    functionDepth: 6
    functionLinenumber: 299
    functionLinenumberEnd: 535
    functionName: storage_copy
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 1
    functionsReached:
    - src::src
    - snprintf
    - TRACE
    - copy
    - run_command
    - storage_get::storage_get
    - WARN
    - lxc_storage_get_path
    - userns_exec_full
    - lxc_storage_prepare
    - dup_cloexec
    - oldname::oldname
    - strlen
    - chown_mapped_root
    - lxc_mkdir_p
    - malloc
    - ERROR
    - must_copy_string
    - ovl_get_lower
    - am_guest_unpriv
    - stat
    - type::type
    - clone_paths
    - lxc_storage_put
    - SYSERROR
    - strcmp
    - put_lxc_rootfs
    - btrfs_same_fs
    - ops::ops
    - dest::dest
    - lvm_is_thin_volume
    - snapshot
    - newsize::newsize
    - unpriv_snap_allowed
    - strstr
    linkageType: ''
    returnType: char
    signature: "char *storage_copy(struct lxc_container *c, const char *cname,\n\t\t
      \  const char *lxcpath, const char *bdevtype,\n\t\t   int flags, const char
      *bdevdata,\n\t\t   uint64_t newsize, bool *needs_rdep)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: do_storage_create
      Src: /src/lxc/src/lxc/storage/storage.c:555,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:557,1
    - Dst: do_storage_create
      Src: /src/lxc/src/lxc/storage/storage.c:564,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/storage.c:573,1
    - Dst: must_copy_string
      Src: /src/lxc/src/lxc/storage/storage.c:577,1
    - Dst: lxc_iterate_parts
      Src: /src/lxc/src/lxc/storage/storage.c:578,1
    - Dst: do_storage_create
      Src: /src/lxc/src/lxc/storage/storage.c:579,1
    - Dst: do_storage_create
      Src: /src/lxc/src/lxc/storage/storage.c:585,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 5
    argNames:
    - dest
    - type
    - cname
    - specs
    - conf
    argTypes:
    - char*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 586
      start: 546
    functionDepth: 1
    functionLinenumber: 546
    functionLinenumberEnd: 586
    functionName: storage_create
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 3
    functionsReached:
    - must_copy_string
    - lxc_iterate_parts
    - strcmp
    - do_storage_create
    - strchr
    linkageType: ''
    returnType: struct lxc_storage
    signature: "struct lxc_storage *storage_create(const char *dest, const char *type,\n\t\t\t\t
      \  const char *cname, struct bdev_specs *specs,\n\t\t\t\t   const struct lxc_conf
      *conf)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: storage_init
      Src: /src/lxc/src/lxc/storage/storage.c:594,1
    - Dst: struct lxc_storage*::ops::destroy
      Src: /src/lxc/src/lxc/storage/storage.c:598,1
    - Dst: storage_put
      Src: /src/lxc/src/lxc/storage/storage.c:602,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 604
      start: 588
    functionDepth: 1
    functionLinenumber: 588
    functionLinenumberEnd: 604
    functionName: storage_destroy
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 2
    functionsReached:
    - struct lxc_storage*::ops::destroy
    - storage_put
    - storage_init
    linkageType: ''
    returnType: bool
    signature: bool storage_destroy(struct lxc_conf *conf)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: BUILD_BUG_ON
      Src: /src/lxc/src/lxc/storage/storage.c:614,1
    - Dst: storage_query
      Src: /src/lxc/src/lxc/storage/storage.c:619,1
    - Dst: zalloc
      Src: /src/lxc/src/lxc/storage/storage.c:623,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/storage.c:632,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/storage.c:635,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/storage.c:638,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:640,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 644
      start: 606
    functionDepth: 3
    functionLinenumber: 606
    functionLinenumberEnd: 644
    functionName: storage_init
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 3
    functionsReached:
    - storage_query
    - zalloc
    - strdup
    - BUILD_BUG_ON
    - strcmp
    linkageType: ''
    returnType: struct lxc_storage
    signature: struct lxc_storage *storage_init(struct lxc_conf *conf)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:653,1
    - Dst: storage_init
      Src: /src/lxc/src/lxc/storage/storage.c:655,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:659,1
    - Dst: storage_put
      Src: /src/lxc/src/lxc/storage/storage.c:662,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 664
      start: 646
    functionDepth: 4
    functionLinenumber: 646
    functionLinenumberEnd: 664
    functionName: storage_lxc_is_dir
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 1
    functionsReached:
    - storage_put
    - storage_init
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool storage_lxc_is_dir(struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/storage/storage.c:669,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/storage/storage.c:670,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/storage/storage.c:671,1
    - Dst: free_disarm
      Src: /src/lxc/src/lxc/storage/storage.c:672,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 674
      start: 666
    functionDepth: 1
    functionLinenumber: 666
    functionLinenumberEnd: 674
    functionName: storage_put
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 11
    functionsReached:
    - free_disarm
    linkageType: ''
    returnType: void
    signature: void storage_put(struct lxc_storage *bdev)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:682,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage.c:683,1
    - Dst: stat
      Src: /src/lxc/src/lxc/storage/storage.c:686,1
    - Dst: S_ISBLK
      Src: /src/lxc/src/lxc/storage/storage.c:687,1
    - Dst: storage_query
      Src: /src/lxc/src/lxc/storage/storage.c:690,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:694,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:695,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:696,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:697,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage.c:698,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 12
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 702
      start: 676
    functionDepth: 3
    functionLinenumber: 676
    functionLinenumberEnd: 702
    functionName: rootfs_is_blockdev
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 3
    functionsReached:
    - stat
    - S_ISBLK
    - storage_query
    - strlen
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool rootfs_is_blockdev(struct lxc_conf *conf)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage.c:708,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/storage.c:709,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - src
    - prefix
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 713
      start: 704
    functionDepth: 0
    functionLinenumber: 704
    functionLinenumberEnd: 713
    functionName: lxc_storage_get_path
    functionSourceFile: /src/lxc/src/lxc/storage/storage.c
    functionUses: 15
    functionsReached:
    - strlen
    - strncmp
    linkageType: ''
    returnType: char
    signature: char *lxc_storage_get_path(char *src, const char *prefix)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_rsync
      Src: /src/lxc/src/lxc/storage/rsync.c:26,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 27
      start: 23
    functionDepth: 1
    functionLinenumber: 23
    functionLinenumberEnd: 27
    functionName: lxc_storage_rsync_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/rsync.c
    functionUses: 0
    functionsReached:
    - lxc_rsync
    linkageType: ''
    returnType: int
    signature: int lxc_storage_rsync_exec_wrapper(void *data)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_switch_uid_gid
      Src: /src/lxc/src/lxc/storage/rsync.c:33,1
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/storage/rsync.c:36,1
    - Dst: lxc_rsync_exec
      Src: /src/lxc/src/lxc/storage/rsync.c:39,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 40
      start: 29
    functionDepth: 2
    functionLinenumber: 29
    functionLinenumberEnd: 40
    functionName: lxc_rsync_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/rsync.c
    functionUses: 0
    functionsReached:
    - lxc_switch_uid_gid
    - lxc_drop_groups
    - lxc_rsync_exec
    linkageType: ''
    returnType: int
    signature: int lxc_rsync_exec_wrapper(void *data)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/rsync.c:48,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/rsync.c:49,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/rsync.c:53,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/rsync.c:55,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/rsync.c:62,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/rsync.c:63,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 2
    argNames:
    - src
    - dest
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 65
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 65
    functionName: lxc_rsync_exec
    functionSourceFile: /src/lxc/src/lxc/storage/rsync.c
    functionUses: 1
    functionsReached:
    - malloc
    - snprintf
    - execlp
    - strlen
    - free
    linkageType: ''
    returnType: int
    signature: int lxc_rsync_exec(const char *src, const char *dest)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: unshare
      Src: /src/lxc/src/lxc/storage/rsync.c:73,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/rsync.c:75,1
    - Dst: detect_shared_rootfs
      Src: /src/lxc/src/lxc/storage/rsync.c:79,1
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/rsync.c:79,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/rsync.c:80,1
    - Dst: struct lxc_storage*::ops::mount
      Src: /src/lxc/src/lxc/storage/rsync.c:82,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rsync.c:84,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/rsync.c:87,1
    - Dst: ops::ops
      Src: /src/lxc/src/lxc/storage/rsync.c:89,1
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/rsync.c:89,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rsync.c:91,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/rsync.c:91,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/rsync.c:91,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/rsync.c:94,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/rsync.c:94,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/rsync.c:94,1
    - Dst: lxc_switch_uid_gid
      Src: /src/lxc/src/lxc/storage/rsync.c:96,1
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/storage/rsync.c:99,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/rsync.c:102,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/rsync.c:103,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/rsync.c:103,1
    - Dst: type::type
      Src: /src/lxc/src/lxc/storage/rsync.c:103,1
    - Dst: lxc_rsync_exec
      Src: /src/lxc/src/lxc/storage/rsync.c:105,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rsync.c:107,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 32
    argCount: 1
    argNames:
    - data
    argTypes:
    - struct rsync_data*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 112
      start: 67
    functionDepth: 3
    functionLinenumber: 67
    functionLinenumberEnd: 112
    functionName: lxc_rsync
    functionSourceFile: /src/lxc/src/lxc/storage/rsync.c
    functionUses: 1
    functionsReached:
    - lxc_switch_uid_gid
    - ERROR
    - mount
    - src::src
    - detect_shared_rootfs
    - ops::ops
    - lxc_drop_groups
    - dest::dest
    - type::type
    - TRACE
    - lxc_storage_get_path
    - unshare
    - struct lxc_storage*::ops::mount
    - lxc_rsync_exec
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: int lxc_rsync(struct rsync_data *data)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:42,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/loop.c:49,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/loop.c:49,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/loop.c:49,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/storage/loop.c:50,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/loop.c:51,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:53,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/loop.c:57,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/loop.c:58,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:59,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/loop.c:63,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/loop.c:63,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:65,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/loop.c:69,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/loop.c:70,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:71,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/loop.c:75,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/loop.c:75,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:77,1
    - Dst: is_blktype
      Src: /src/lxc/src/lxc/storage/loop.c:85,1
    - Dst: blk_getsize
      Src: /src/lxc/src/lxc/storage/loop.c:87,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:88,1
    - Dst: detect_fs
      Src: /src/lxc/src/lxc/storage/loop.c:94,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/loop.c:95,1
    - Dst: do_loop_create
      Src: /src/lxc/src/lxc/storage/loop.c:102,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:104,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 53
    argCount: 9
    argNames:
    - orig
    - new
    - oldname
    - cname
    - oldpath
    - lxcpath
    - snap
    - newsize
    - conf
    argTypes:
    - struct lxc_storage*
    - struct lxc_storage*
    - char*
    - char*
    - char*
    - char*
    - int
    - uint64_t
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 111
      start: 31
    functionDepth: 1
    functionLinenumber: 31
    functionLinenumberEnd: 111
    functionName: loop_clonepaths
    functionSourceFile: /src/lxc/src/lxc/storage/loop.c
    functionUses: 0
    functionsReached:
    - malloc
    - ERROR
    - src::src
    - blk_getsize
    - is_blktype
    - dest::dest
    - must_realloc
    - snprintf
    - INFO
    - strlen
    - detect_fs
    - do_loop_create
    linkageType: ''
    returnType: int
    signature: "int loop_clonepaths(struct lxc_storage *orig, struct lxc_storage *new,\n\t\t
      \   const char *oldname, const char *cname, const char *oldpath,\n\t\t    const
      char *lxcpath, int snap, uint64_t newsize,\n\t\t    struct lxc_conf *conf)"
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/loop.c:127,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/storage/loop.c:128,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/loop.c:130,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:132,1
    - Dst: sprintf
      Src: /src/lxc/src/lxc/storage/loop.c:136,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:138,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/loop.c:142,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:144,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/loop.c:148,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:150,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/loop.c:162,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:164,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/loop.c:168,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:170,1
    - Dst: do_loop_create
      Src: /src/lxc/src/lxc/storage/loop.c:175,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:177,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 47
    argCount: 5
    argNames:
    - bdev
    - dest
    - n
    - specs
    - conf
    argTypes:
    - struct lxc_storage*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 184
      start: 113
    functionDepth: 2
    functionLinenumber: 113
    functionLinenumberEnd: 184
    functionName: loop_create
    functionSourceFile: /src/lxc/src/lxc/storage/loop.c
    functionUses: 2
    functionsReached:
    - malloc
    - ERROR
    - sprintf
    - must_realloc
    - snprintf
    - strdup
    - strlen
    - do_loop_create
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int loop_create(struct lxc_storage *bdev, const char *dest, const
      char *n,\n\t\tstruct bdev_specs *specs, const struct lxc_conf *conf)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/loop.c:190,1
    - Dst: unlink
      Src: /src/lxc/src/lxc/storage/loop.c:193,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - orig
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 194
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 194
    functionName: loop_destroy
    functionSourceFile: /src/lxc/src/lxc/storage/loop.c
    functionUses: 0
    functionsReached:
    - unlink
    - strncmp
    linkageType: ''
    returnType: int
    signature: int loop_destroy(struct lxc_storage *orig)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/loop.c:201,1
    - Dst: stat
      Src: /src/lxc/src/lxc/storage/loop.c:204,1
    - Dst: __S_ISTYPE
      Src: /src/lxc/src/lxc/storage/loop.c:208,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 212
      start: 196
    functionDepth: 1
    functionLinenumber: 196
    functionLinenumberEnd: 212
    functionName: loop_detect
    functionSourceFile: /src/lxc/src/lxc/storage/loop.c
    functionUses: 0
    functionsReached:
    - stat
    - __S_ISTYPE
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool loop_detect(const char *path)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/loop.c:220,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/loop.c:227,1
    - Dst: lxc_prepare_loop_dev
      Src: /src/lxc/src/lxc/storage/loop.c:229,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:231,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/storage/loop.c:234,1
    - Dst: mount_unknown_fs
      Src: /src/lxc/src/lxc/storage/loop.c:236,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:238,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/loop.c:240,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/storage/loop.c:245,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 249
      start: 214
    functionDepth: 3
    functionLinenumber: 214
    functionLinenumberEnd: 249
    functionName: loop_mount
    functionSourceFile: /src/lxc/src/lxc/storage/loop.c
    functionUses: 0
    functionsReached:
    - mount_unknown_fs
    - ERROR
    - lxc_storage_get_path
    - lxc_prepare_loop_dev
    - DEBUG
    - close
    - strcmp
    linkageType: ''
    returnType: int
    signature: int loop_mount(struct lxc_storage *bdev)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/loop.c:255,1
    - Dst: umount
      Src: /src/lxc/src/lxc/storage/loop.c:261,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/loop.c:264,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/loop.c:270,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 275
      start: 251
    functionDepth: 1
    functionLinenumber: 251
    functionLinenumberEnd: 275
    functionName: loop_umount
    functionSourceFile: /src/lxc/src/lxc/storage/loop.c
    functionUses: 0
    functionsReached:
    - umount
    - SYSERROR
    - close
    - strcmp
    linkageType: ''
    returnType: int
    signature: int loop_umount(struct lxc_storage *bdev)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: creat
      Src: /src/lxc/src/lxc/storage/loop.c:285,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/loop.c:287,1
    - Dst: lseek
      Src: /src/lxc/src/lxc/storage/loop.c:291,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/loop.c:293,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/loop.c:295,1
    - Dst: write
      Src: /src/lxc/src/lxc/storage/loop.c:299,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/loop.c:301,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/loop.c:302,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/loop.c:306,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/loop.c:308,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/loop.c:313,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/loop.c:316,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 29
    argCount: 3
    argNames:
    - path
    - size
    - fstype
    argTypes:
    - char*
    - uint64_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 322
      start: 277
    functionDepth: 3
    functionLinenumber: 277
    functionLinenumberEnd: 322
    functionName: do_loop_create
    functionSourceFile: /src/lxc/src/lxc/storage/loop.c
    functionUses: 2
    functionsReached:
    - run_command
    - ERROR
    - write
    - lseek
    - creat
    - SYSERROR
    - close
    linkageType: ''
    returnType: int
    signature: int do_loop_create(const char *path, uint64_t size, const char *fstype)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/rbd.c:35,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/rbd.c:39,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 44
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 44
    functionName: rbd_create_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int rbd_create_wrapper(void *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/rbd.c:51,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/rbd.c:54,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 58
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 58
    functionName: rbd_map_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int rbd_map_wrapper(void *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/rbd.c:65,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/rbd.c:68,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 73
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 73
    functionName: rbd_unmap_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int rbd_unmap_wrapper(void *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/rbd.c:80,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/rbd.c:83,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 87
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 87
    functionName: rbd_delete_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - execlp
    linkageType: ''
    returnType: int
    signature: int rbd_delete_wrapper(void *data)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:94,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 9
    argNames:
    - orig
    - new
    - oldname
    - cname
    - oldpath
    - lxcpath
    - snap
    - newsize
    - conf
    argTypes:
    - struct lxc_storage*
    - struct lxc_storage*
    - char*
    - char*
    - char*
    - char*
    - int
    - uint64_t
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 96
      start: 89
    functionDepth: 1
    functionLinenumber: 89
    functionLinenumberEnd: 96
    functionName: rbd_clonepaths
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - ERROR
    linkageType: ''
    returnType: int
    signature: "int rbd_clonepaths(struct lxc_storage *orig, struct lxc_storage *new,\n\t\t
      \  const char *oldname, const char *cname, const char *oldpath,\n\t\t   const
      char *lxcpath, int snap, uint64_t newsize,\n\t\t   struct lxc_conf *conf)"
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/storage/rbd.c:116,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/storage/rbd.c:123,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/rbd.c:126,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/rbd.c:126,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/rbd.c:127,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:129,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/rbd.c:133,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:135,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/rbd.c:145,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:147,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/rbd.c:155,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:158,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/rbd.c:163,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:166,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/rbd.c:176,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/rbd.c:177,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:180,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/rbd.c:185,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:187,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/rbd.c:191,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:193,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/rbd.c:197,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 66
    argCount: 5
    argNames:
    - bdev
    - dest
    - n
    - specs
    - conf
    argTypes:
    - struct lxc_storage*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 199
      start: 98
    functionDepth: 3
    functionLinenumber: 98
    functionLinenumberEnd: 199
    functionName: rbd_create
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - malloc
    - ERROR
    - run_command
    - snprintf
    - lxc_storage_get_path
    - TRACE
    - strdup
    - strlen
    - lxc_global_config_value
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int rbd_create(struct lxc_storage *bdev, const char *dest, const char
      *n,\n\t       struct bdev_specs *specs, const struct lxc_conf *conf)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/storage/rbd.c:210,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/rbd.c:212,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/storage/rbd.c:213,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/rbd.c:215,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:218,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/rbd.c:224,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/storage/rbd.c:225,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/storage/rbd.c:226,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/rbd.c:229,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:232,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - orig
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 238
      start: 201
    functionDepth: 3
    functionLinenumber: 201
    functionLinenumberEnd: 238
    functionName: rbd_destroy
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - run_command
    - ERROR
    - must_realloc
    - lxc_storage_get_path
    - strlcpy
    - strlen
    - lxc_global_config_value
    - file_exists
    linkageType: ''
    returnType: int
    signature: int rbd_destroy(struct lxc_storage *orig)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/rbd.c:242,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/rbd.c:245,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 249
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 249
    functionName: rbd_detect
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool rbd_detect(const char *path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/rbd.c:255,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/rbd.c:261,1
    - Dst: file_exists
      Src: /src/lxc/src/lxc/storage/rbd.c:262,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/rbd.c:266,1
    - Dst: mount_unknown_fs
      Src: /src/lxc/src/lxc/storage/rbd.c:270,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 271
      start: 251
    functionDepth: 1
    functionLinenumber: 251
    functionLinenumberEnd: 271
    functionName: rbd_mount
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - mount_unknown_fs
    - ERROR
    - lxc_storage_get_path
    - strcmp
    - file_exists
    linkageType: ''
    returnType: int
    signature: int rbd_mount(struct lxc_storage *bdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/rbd.c:275,1
    - Dst: umount
      Src: /src/lxc/src/lxc/storage/rbd.c:281,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 282
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 282
    functionName: rbd_umount
    functionSourceFile: /src/lxc/src/lxc/storage/rbd.c
    functionUses: 0
    functionsReached:
    - umount
    - strcmp
    linkageType: ''
    returnType: int
    signature: int rbd_umount(struct lxc_storage *bdev)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: requires_nbd
      Src: /src/lxc/src/lxc/storage/storage_utils.c:55,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/storage_utils.c:58,1
    - Dst: attach_nbd
      Src: /src/lxc/src/lxc/storage/storage_utils.c:63,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 67
      start: 47
    functionDepth: 2
    functionLinenumber: 47
    functionLinenumberEnd: 67
    functionName: attach_block_device
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 1
    functionsReached:
    - attach_nbd
    - requires_nbd
    - strchr
    linkageType: ''
    returnType: bool
    signature: bool attach_block_device(struct lxc_conf *conf)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/storage_utils.c:77,1
    - Dst: open
      Src: /src/lxc/src/lxc/storage/storage_utils.c:79,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:81,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/storage_utils.c:86,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:88,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/storage_utils.c:90,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 2
    argNames:
    - bdev
    - size
    argTypes:
    - struct lxc_storage*
    - uint64_t*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 92
      start: 72
    functionDepth: 1
    functionLinenumber: 72
    functionLinenumberEnd: 92
    functionName: blk_getsize
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 1
    functionsReached:
    - open
    - SYSERROR
    - lxc_storage_get_path
    - ioctl
    - close
    linkageType: ''
    returnType: int
    signature: int blk_getsize(struct lxc_storage *bdev, uint64_t *size)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: detach_nbd_idx
      Src: /src/lxc/src/lxc/storage/storage_utils.c:97,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - conf
    argTypes:
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 98
      start: 94
    functionDepth: 2
    functionLinenumber: 94
    functionLinenumberEnd: 98
    functionName: detach_block_device
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 1
    functionsReached:
    - detach_nbd_idx
    linkageType: ''
    returnType: void
    signature: void detach_block_device(struct lxc_conf *conf)
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/storage_utils.c:123,1
    - Dst: pipe
      Src: /src/lxc/src/lxc/storage/storage_utils.c:125,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:127,1
    - Dst: fork
      Src: /src/lxc/src/lxc/storage/storage_utils.c:131,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:133,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/storage_utils.c:140,1
    - Dst: memset
      Src: /src/lxc/src/lxc/storage/storage_utils.c:141,1
    - Dst: read
      Src: /src/lxc/src/lxc/storage/storage_utils.c:143,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:145,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:147,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/storage_utils.c:151,1
    - Dst: wait
      Src: /src/lxc/src/lxc/storage/storage_utils.c:152,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/storage_utils.c:158,1
    - Dst: unshare
      Src: /src/lxc/src/lxc/storage/storage_utils.c:163,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:164,1
    - Dst: detect_shared_rootfs
      Src: /src/lxc/src/lxc/storage/storage_utils.c:166,1
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/storage_utils.c:166,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:167,1
    - Dst: mount_unknown_fs
      Src: /src/lxc/src/lxc/storage/storage_utils.c:169,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:171,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:173,1
    - Dst: linkderef
      Src: /src/lxc/src/lxc/storage/storage_utils.c:176,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:178,1
    - Dst: fopen
      Src: /src/lxc/src/lxc/storage/storage_utils.c:180,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:182,1
    - Dst: getline
      Src: /src/lxc/src/lxc/storage/storage_utils.c:184,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/storage_utils.c:187,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:189,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:192,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/storage_utils.c:195,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:197,1
    - Dst: strchr
      Src: /src/lxc/src/lxc/storage/storage_utils.c:200,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:202,1
    - Dst: write
      Src: /src/lxc/src/lxc/storage/storage_utils.c:206,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage_utils.c:206,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage_utils.c:207,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:208,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:210,1
    - Dst: _exit
      Src: /src/lxc/src/lxc/storage/storage_utils.c:213,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 70
    argCount: 3
    argNames:
    - bdev
    - type
    - len
    argTypes:
    - struct lxc_storage*
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 214
      start: 108
    functionDepth: 3
    functionLinenumber: 108
    functionLinenumberEnd: 214
    functionName: detect_fs
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 1
    functionsReached:
    - fork
    - wait
    - read
    - _exit
    - strchr
    - mount_unknown_fs
    - mount
    - lxc_storage_get_path
    - linkderef
    - fopen
    - strlen
    - ERROR
    - getline
    - write
    - unshare
    - INFO
    - SYSERROR
    - strcmp
    - detect_shared_rootfs
    - memset
    - close
    - pipe
    linkageType: ''
    returnType: int
    signature: int detect_fs(struct lxc_storage *bdev, char *type, int len)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage_utils.c:227,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/storage_utils.c:229,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/storage_utils.c:233,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/storage_utils.c:235,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/storage_utils.c:239,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:240,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:242,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/storage_utils.c:243,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 246
      start: 216
    functionDepth: 1
    functionLinenumber: 216
    functionLinenumberEnd: 246
    functionName: do_mkfs_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 0
    functionsReached:
    - malloc
    - TRACE
    - snprintf
    - execlp
    - strlen
    - SYSERROR
    - free
    linkageType: ''
    returnType: int
    signature: int do_mkfs_exec_wrapper(void *args)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:254,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - b
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 258
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 258
    functionName: is_blktype
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 1
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: int is_blktype(struct lxc_storage *b)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: access
      Src: /src/lxc/src/lxc/storage/storage_utils.c:286,1
    - Dst: lxc_file_for_each_line
      Src: /src/lxc/src/lxc/storage/storage_utils.c:289,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:291,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:299,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 3
    argNames:
    - rootfs
    - target
    - options
    argTypes:
    - char*
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 302
      start: 260
    functionDepth: 2
    functionLinenumber: 260
    functionLinenumberEnd: 302
    functionName: mount_unknown_fs
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 4
    functionsReached:
    - ERROR
    - access
    - lxc_file_for_each_line
    linkageType: ''
    returnType: int
    signature: "int mount_unknown_fs(const char *rootfs, const char *target,\n\t\t
      \    const char *options)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/lxc/src/lxc/storage/storage_utils.c:321,1
    - Dst: lxc_char_left_gc
      Src: /src/lxc/src/lxc/storage/storage_utils.c:325,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage_utils.c:325,1
    - Dst: lxc_char_right_gc
      Src: /src/lxc/src/lxc/storage/storage_utils.c:326,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/storage_utils.c:326,1
    - Dst: DEBUG
      Src: /src/lxc/src/lxc/storage/storage_utils.c:328,1
    - Dst: parse_mntopts_legacy
      Src: /src/lxc/src/lxc/storage/storage_utils.c:331,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/storage_utils.c:332,1
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/storage_utils.c:336,1
    - Dst: SYSDEBUG
      Src: /src/lxc/src/lxc/storage/storage_utils.c:337,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/storage_utils.c:338,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/storage_utils.c:342,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/storage_utils.c:344,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 19
    argCount: 2
    argNames:
    - buffer
    - data
    argTypes:
    - char*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 348
      start: 309
    functionDepth: 3
    functionLinenumber: 309
    functionLinenumberEnd: 348
    functionName: find_fstype_cb
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 0
    functionsReached:
    - SYSDEBUG
    - mount
    - lxc_char_left_gc
    - INFO
    - parse_mntopts_legacy
    - strstr
    - strlen
    - lxc_char_right_gc
    - DEBUG
    - free
    linkageType: ''
    returnType: int
    signature: int find_fstype_cb(char *buffer, void *data)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/lxc/src/lxc/storage/storage_utils.c:355,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:357,1
    - Dst: S_ISLNK
      Src: /src/lxc/src/lxc/storage/storage_utils.c:361,1
    - Dst: readlink
      Src: /src/lxc/src/lxc/storage/storage_utils.c:364,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:366,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:369,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 2
    argNames:
    - path
    - dest
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 375
      start: 350
    functionDepth: 1
    functionLinenumber: 350
    functionLinenumberEnd: 375
    functionName: linkderef
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 1
    functionsReached:
    - ERROR
    - stat
    - readlink
    - S_ISLNK
    - SYSERROR
    linkageType: ''
    returnType: char
    signature: char *linkderef(const char *path, char *dest)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:388,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:389,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:390,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:391,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:392,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:401,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:402,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:403,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:404,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:405,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 9
    argCount: 4
    argNames:
    - b
    - t
    - snap
    - maybesnap
    argTypes:
    - struct lxc_storage*
    - char*
    - bool
    - bool
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 409
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 409
    functionName: unpriv_snap_allowed
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 1
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: "bool unpriv_snap_allowed(struct lxc_storage *b, const char *t, bool
      snap,\n\t\t\t bool maybesnap)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:413,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:414,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:415,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:416,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:417,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:418,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:419,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:420,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/storage_utils.c:421,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 4
    argCount: 1
    argNames:
    - type
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 425
      start: 411
    functionDepth: 0
    functionLinenumber: 411
    functionLinenumberEnd: 425
    functionName: lxc_is_valid_storage_type
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 1
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool lxc_is_valid_storage_type(const char *type)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/storage/storage_utils.c:431,1
    - Dst: setgid
      Src: /src/lxc/src/lxc/storage/storage_utils.c:433,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:434,1
    - Dst: setuid
      Src: /src/lxc/src/lxc/storage/storage_utils.c:438,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:439,1
    - Dst: storage_destroy
      Src: /src/lxc/src/lxc/storage/storage_utils.c:443,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/storage_utils.c:444,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 449
      start: 427
    functionDepth: 2
    functionLinenumber: 427
    functionLinenumberEnd: 449
    functionName: storage_destroy_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/storage_utils.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_drop_groups
    - storage_destroy
    - setuid
    - SYSERROR
    - setgid
    linkageType: ''
    returnType: int
    signature: int storage_destroy_wrapper(void *data)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/storage/btrfs.c:50,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/btrfs.c:54,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:56,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/btrfs.c:62,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/btrfs.c:71,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:72,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/storage/btrfs.c:76,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/storage/btrfs.c:77,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/storage/btrfs.c:79,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:81,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:82,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:88,1
    - Dst: strlcat
      Src: /src/lxc/src/lxc/storage/btrfs.c:94,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:96,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:97,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 37
    argCount: 5
    argNames:
    - fd
    - dir_id
    - objid
    - name
    - name_len
    argTypes:
    - int
    - u64
    - u64
    - char*
    - u16
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 103
      start: 42
    functionDepth: 1
    functionLinenumber: 42
    functionLinenumberEnd: 103
    functionName: get_btrfs_subvol_path
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - malloc
    - ERROR
    - strlcat
    - strlcpy
    - INFO
    - strlen
    - ioctl
    - memset
    - SYSERROR
    - free
    linkageType: ''
    returnType: char
    signature: "char *get_btrfs_subvol_path(int fd, u64 dir_id, u64 objid, char *name,\n\t\t\t
      \   u16 name_len)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/lxc/storage/btrfs.c:110,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/btrfs.c:113,1
    - Dst: SYSWARN
      Src: /src/lxc/src/lxc/storage/btrfs.c:115,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 2
    argNames:
    - fd
    - treeid
    argTypes:
    - int
    - u64*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 121
      start: 105
    functionDepth: 1
    functionLinenumber: 105
    functionLinenumberEnd: 121
    functionName: btrfs_list_get_path_rootid
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - memset
    - SYSWARN
    - ioctl
    linkageType: ''
    returnType: int
    signature: int btrfs_list_get_path_rootid(int fd, u64 *treeid)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/storage/btrfs.c:129,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/btrfs.c:135,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:136,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 141
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 141
    functionName: is_btrfs_fs
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 1
    functionsReached:
    - open
    - close
    - ioctl
    linkageType: ''
    returnType: bool
    signature: bool is_btrfs_fs(const char *path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/lxc/src/lxc/storage/btrfs.c:155,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/storage/btrfs.c:159,1
    - Dst: statfs
      Src: /src/lxc/src/lxc/storage/btrfs.c:162,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 167
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 167
    functionName: is_btrfs_subvol
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 1
    functionsReached:
    - stat
    - statfs
    - S_ISDIR
    linkageType: ''
    returnType: int
    signature: int is_btrfs_subvol(const char *path)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/btrfs.c:174,1
    - Dst: is_btrfs_fs
      Src: /src/lxc/src/lxc/storage/btrfs.c:177,1
    - Dst: stat
      Src: /src/lxc/src/lxc/storage/btrfs.c:181,1
    - Dst: S_ISDIR
      Src: /src/lxc/src/lxc/storage/btrfs.c:185,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 189
      start: 169
    functionDepth: 1
    functionLinenumber: 169
    functionLinenumberEnd: 189
    functionName: btrfs_detect
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - is_btrfs_fs
    - stat
    - strncmp
    - S_ISDIR
    linkageType: ''
    returnType: bool
    signature: bool btrfs_detect(const char *path)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/btrfs.c:198,1
    - Dst: parse_mntopts_legacy
      Src: /src/lxc/src/lxc/storage/btrfs.c:204,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:205,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/btrfs.c:209,1
    - Dst: mount
      Src: /src/lxc/src/lxc/storage/btrfs.c:211,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:212,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 214
      start: 191
    functionDepth: 3
    functionLinenumber: 191
    functionLinenumberEnd: 214
    functionName: btrfs_mount
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - mount
    - lxc_storage_get_path
    - parse_mntopts_legacy
    - strcmp
    - free
    linkageType: ''
    returnType: int
    signature: int btrfs_mount(struct lxc_storage *bdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/btrfs.c:218,1
    - Dst: umount
      Src: /src/lxc/src/lxc/storage/btrfs.c:224,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 225
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 225
    functionName: btrfs_umount
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - umount
    - strcmp
    linkageType: ''
    returnType: int
    signature: int btrfs_umount(struct lxc_storage *bdev)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/btrfs.c:235,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/btrfs.c:241,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:243,1
    - Dst: open
      Src: /src/lxc/src/lxc/storage/btrfs.c:249,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:251,1
    - Dst: memset
      Src: /src/lxc/src/lxc/storage/btrfs.c:255,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/storage/btrfs.c:256,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:258,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:259,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/btrfs.c:263,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:266,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:267,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 270
      start: 227
    functionDepth: 1
    functionLinenumber: 227
    functionLinenumberEnd: 270
    functionName: btrfs_subvolume_create
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - open
    - strrchr
    - strlcpy
    - ioctl
    - strdup
    - memset
    - close
    - free
    linkageType: ''
    returnType: int
    signature: int btrfs_subvolume_create(const char *path)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/storage/btrfs.c:277,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:279,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/btrfs.c:283,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:285,1
    - Dst: open
      Src: /src/lxc/src/lxc/storage/btrfs.c:289,1
    - Dst: O_RDONLY::O_RDONLY
      Src: /src/lxc/src/lxc/storage/btrfs.c:289,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:291,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/btrfs.c:296,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:298,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/btrfs.c:302,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:311,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:314,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 39
    argCount: 2
    argNames:
    - orig
    - new
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 317
      start: 272
    functionDepth: 1
    functionLinenumber: 272
    functionLinenumberEnd: 317
    functionName: btrfs_same_fs
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 2
    functionsReached:
    - open
    - O_RDONLY::O_RDONLY
    - ioctl
    - SYSERROR
    - strncmp
    - close
    linkageType: ''
    returnType: int
    signature: int btrfs_same_fs(const char *orig, const char *new)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/btrfs.c:328,1
    - Dst: rmdir
      Src: /src/lxc/src/lxc/storage/btrfs.c:332,1
    - Dst: basename
      Src: /src/lxc/src/lxc/storage/btrfs.c:336,1
    - Dst: open
      Src: /src/lxc/src/lxc/storage/btrfs.c:337,1
    - Dst: dirname
      Src: /src/lxc/src/lxc/storage/btrfs.c:341,1
    - Dst: open
      Src: /src/lxc/src/lxc/storage/btrfs.c:342,1
    - Dst: memset
      Src: /src/lxc/src/lxc/storage/btrfs.c:346,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/storage/btrfs.c:348,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/btrfs.c:352,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:357,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:360,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:362,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 37
    argCount: 2
    argNames:
    - orig
    - new
    argTypes:
    - char*
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 368
      start: 319
    functionDepth: 1
    functionLinenumber: 319
    functionLinenumberEnd: 368
    functionName: btrfs_snapshot
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - open
    - rmdir
    - close
    - strlcpy
    - ioctl
    - strdup
    - memset
    - dirname
    - free
    - basename
    linkageType: ''
    returnType: int
    signature: int btrfs_snapshot(const char *orig, const char *new)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lxc_drop_groups
      Src: /src/lxc/src/lxc/storage/btrfs.c:375,1
    - Dst: setgid
      Src: /src/lxc/src/lxc/storage/btrfs.c:377,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:378,1
    - Dst: setuid
      Src: /src/lxc/src/lxc/storage/btrfs.c:382,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:383,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/btrfs.c:387,1
    - Dst: btrfs_snapshot
      Src: /src/lxc/src/lxc/storage/btrfs.c:388,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 389
      start: 370
    functionDepth: 2
    functionLinenumber: 370
    functionLinenumberEnd: 389
    functionName: btrfs_snapshot_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - ERROR
    - lxc_drop_groups
    - btrfs_snapshot
    - lxc_storage_get_path
    - setuid
    - setgid
    linkageType: ''
    returnType: int
    signature: int btrfs_snapshot_wrapper(void *data)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/btrfs.c:401,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:402,1
    - Dst: lxc_string_join
      Src: /src/lxc/src/lxc/storage/btrfs.c:407,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/btrfs.c:412,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:413,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/btrfs.c:416,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/btrfs.c:416,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/btrfs.c:418,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/btrfs.c:418,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/btrfs.c:419,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:420,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:421,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/btrfs.c:426,1
    - Dst: mntopts::mntopts
      Src: /src/lxc/src/lxc/storage/btrfs.c:427,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:428,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 9
    argNames:
    - orig
    - new
    - oldname
    - cname
    - oldpath
    - lxcpath
    - snap
    - newsize
    - conf
    argTypes:
    - struct lxc_storage*
    - struct lxc_storage*
    - char*
    - char*
    - char*
    - char*
    - int
    - uint64_t
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 435
      start: 391
    functionDepth: 2
    functionLinenumber: 391
    functionLinenumberEnd: 435
    functionName: btrfs_clonepaths
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - mntopts::mntopts
    - ERROR
    - src::src
    - dest::dest
    - lxc_string_join
    - TRACE
    - lxc_storage_get_path
    - strdup
    - strcmp
    linkageType: ''
    returnType: int
    signature: "int btrfs_clonepaths(struct lxc_storage *orig, struct lxc_storage
      *new,\n\t\t     const char *oldname, const char *cname,\n\t\t     const char
      *oldpath, const char *lxcpath, int snap,\n\t\t     uint64_t newsize, struct
      lxc_conf *conf)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: rmdir
      Src: /src/lxc/src/lxc/storage/btrfs.c:444,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:444,1
    - Dst: btrfs_subvolume_create
      Src: /src/lxc/src/lxc/storage/btrfs.c:448,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:448,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:450,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:450,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/btrfs.c:458,1
    - Dst: userns_exec_full
      Src: /src/lxc/src/lxc/storage/btrfs.c:459,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:462,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:463,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/btrfs.c:470,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:473,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:474,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 4
    argNames:
    - conf
    - orig
    - new
    - newsize
    argTypes:
    - struct lxc_conf*
    - struct lxc_storage*
    - struct lxc_storage*
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 479
      start: 437
    functionDepth: 5
    functionLinenumber: 437
    functionLinenumberEnd: 479
    functionName: btrfs_create_clone
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - ERROR
    - run_command
    - btrfs_subvolume_create
    - am_guest_unpriv
    - dest::dest
    - rmdir
    - userns_exec_full
    - SYSERROR
    linkageType: ''
    returnType: bool
    signature: "bool btrfs_create_clone(struct lxc_conf *conf, struct lxc_storage
      *orig,\n\t\t\tstruct lxc_storage *new, uint64_t newsize)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: rmdir
      Src: /src/lxc/src/lxc/storage/btrfs.c:486,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:486,1
    - Dst: am_guest_unpriv
      Src: /src/lxc/src/lxc/storage/btrfs.c:490,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:494,1
    - Dst: userns_exec_1
      Src: /src/lxc/src/lxc/storage/btrfs.c:496,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:499,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/btrfs.c:503,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:503,1
    - Dst: btrfs_snapshot
      Src: /src/lxc/src/lxc/storage/btrfs.c:508,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:508,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:510,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:511,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/btrfs.c:515,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/btrfs.c:515,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 4
    argNames:
    - conf
    - orig
    - new
    - newsize
    argTypes:
    - struct lxc_conf*
    - struct lxc_storage*
    - struct lxc_storage*
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 517
      start: 481
    functionDepth: 5
    functionLinenumber: 481
    functionLinenumberEnd: 517
    functionName: btrfs_create_snapshot
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - ERROR
    - am_guest_unpriv
    - dest::dest
    - rmdir
    - userns_exec_1
    - TRACE
    - btrfs_snapshot
    - SYSERROR
    linkageType: ''
    returnType: bool
    signature: "bool btrfs_create_snapshot(struct lxc_conf *conf, struct lxc_storage
      *orig,\n\t\t\t   struct lxc_storage *new, uint64_t newsize)"
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/btrfs.c:524,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:527,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/btrfs.c:531,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:533,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:534,1
    - Dst: open
      Src: /src/lxc/src/lxc/storage/btrfs.c:539,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:541,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:542,1
    - Dst: memset
      Src: /src/lxc/src/lxc/storage/btrfs.c:546,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/storage/btrfs.c:547,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:549,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:550,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/btrfs.c:554,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/btrfs.c:555,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:557,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:559,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:560,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 32
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 562
      start: 519
    functionDepth: 1
    functionLinenumber: 519
    functionLinenumberEnd: 562
    functionName: btrfs_do_destroy_subvol
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - open
    - strrchr
    - ERROR
    - strlcpy
    - INFO
    - ioctl
    - strdup
    - memset
    - SYSERROR
    - free
    - close
    linkageType: ''
    returnType: int
    signature: int btrfs_do_destroy_subvol(const char *path)
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - tree
    - id
    argTypes:
    - struct my_btrfs_tree*
    - u64
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 576
      start: 564
    functionDepth: 0
    functionLinenumber: 564
    functionLinenumberEnd: 576
    functionName: get_btrfs_tree_idx
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: int get_btrfs_tree_idx(struct my_btrfs_tree *tree, u64 id)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:583,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:587,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:589,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/btrfs.c:595,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:597,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:598,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 3
    argNames:
    - id
    - path
    - name_len
    argTypes:
    - u64
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 605
      start: 578
    functionDepth: 0
    functionLinenumber: 578
    functionLinenumberEnd: 605
    functionName: create_my_btrfs_tree
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - malloc
    - free
    - strdup
    linkageType: ''
    returnType: struct my_btrfs_tree
    signature: "struct my_btrfs_tree *create_my_btrfs_tree(u64 id, const char *path,\n\t\t\t\t\t\t
      \ int name_len)"
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:617,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/storage/btrfs.c:621,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/btrfs.c:627,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:628,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:630,1
    - Dst: strlcpy
      Src: /src/lxc/src/lxc/storage/btrfs.c:634,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 6
    argNames:
    - n
    - id
    - parent
    - name
    - name_len
    - dirname
    argTypes:
    - struct mytree_node*
    - u64
    - u64
    - char*
    - u16
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 638
      start: 607
    functionDepth: 1
    functionLinenumber: 607
    functionLinenumberEnd: 638
    functionName: update_tree_node
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - malloc
    - strlcpy
    - strlen
    - free
    linkageType: ''
    returnType: bool
    signature: "bool update_tree_node(struct mytree_node *n, u64 id, u64 parent,\n\t\t\t
      \    char *name, u16 name_len, char *dirname)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: get_btrfs_tree_idx
      Src: /src/lxc/src/lxc/storage/btrfs.c:645,1
    - Dst: update_tree_node
      Src: /src/lxc/src/lxc/storage/btrfs.c:647,1
    - Dst: realloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:650,1
    - Dst: memset
      Src: /src/lxc/src/lxc/storage/btrfs.c:655,1
    - Dst: update_tree_node
      Src: /src/lxc/src/lxc/storage/btrfs.c:657,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 6
    argNames:
    - tree
    - id
    - parent
    - name
    - name_len
    - dirname
    argTypes:
    - struct my_btrfs_tree*
    - u64
    - u64
    - char*
    - u16
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 663
      start: 640
    functionDepth: 2
    functionLinenumber: 640
    functionLinenumberEnd: 663
    functionName: add_btrfs_tree_node
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - realloc
    - update_tree_node
    - memset
    - get_btrfs_tree_idx
    linkageType: ''
    returnType: bool
    signature: "bool add_btrfs_tree_node(struct my_btrfs_tree *tree, u64 id, u64 parent,\n\t\t\t\tchar
      *name, u16 name_len, char *dirname)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:673,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:674,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:677,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:678,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - tree
    argTypes:
    - struct my_btrfs_tree*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 679
      start: 665
    functionDepth: 0
    functionLinenumber: 665
    functionLinenumberEnd: 679
    functionName: free_btrfs_tree
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void free_btrfs_tree(struct my_btrfs_tree *tree)
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/btrfs.c:695,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/btrfs.c:699,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/btrfs.c:699,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:700,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:702,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/btrfs.c:706,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:708,1
    - Dst: do_remove_btrfs_children
      Src: /src/lxc/src/lxc/storage/btrfs.c:712,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:713,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:714,1
    - Dst: btrfs_do_destroy_subvol
      Src: /src/lxc/src/lxc/storage/btrfs.c:718,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:719,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:720,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/btrfs.c:724,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 32
    argCount: 3
    argNames:
    - tree
    - root_id
    - path
    argTypes:
    - struct my_btrfs_tree*
    - u64
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 729
      start: 685
    functionDepth: 2
    functionLinenumber: 685
    functionLinenumberEnd: 729
    functionName: do_remove_btrfs_children
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 1
    functionsReached:
    - malloc
    - ERROR
    - WARN
    - snprintf
    - btrfs_do_destroy_subvol
    - strlen
    - do_remove_btrfs_children
    - free
    linkageType: ''
    returnType: bool
    signature: "bool do_remove_btrfs_children(struct my_btrfs_tree *tree, u64 root_id,\n\t\t\t\t
      \    const char *path)"
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/lxc/src/lxc/storage/btrfs.c:745,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:747,1
    - Dst: btrfs_list_get_path_rootid
      Src: /src/lxc/src/lxc/storage/btrfs.c:751,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:753,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/btrfs.c:755,1
    - Dst: create_my_btrfs_tree
      Src: /src/lxc/src/lxc/storage/btrfs.c:762,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/btrfs.c:762,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:764,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:765,1
    - Dst: memset
      Src: /src/lxc/src/lxc/storage/btrfs.c:770,1
    - Dst: ioctl
      Src: /src/lxc/src/lxc/storage/btrfs.c:784,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:787,1
    - Dst: free_btrfs_tree
      Src: /src/lxc/src/lxc/storage/btrfs.c:788,1
    - Dst: WARN
      Src: /src/lxc/src/lxc/storage/btrfs.c:790,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:795,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/storage/btrfs.c:804,1
    - Dst: btrfs_stack_root_ref_name_len
      Src: /src/lxc/src/lxc/storage/btrfs.c:817,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:820,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:822,1
    - Dst: free_btrfs_tree
      Src: /src/lxc/src/lxc/storage/btrfs.c:823,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:824,1
    - Dst: memcpy
      Src: /src/lxc/src/lxc/storage/btrfs.c:828,1
    - Dst: btrfs_stack_root_ref_dirid
      Src: /src/lxc/src/lxc/storage/btrfs.c:830,1
    - Dst: get_btrfs_subvol_path
      Src: /src/lxc/src/lxc/storage/btrfs.c:831,1
    - Dst: add_btrfs_tree_node
      Src: /src/lxc/src/lxc/storage/btrfs.c:834,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:837,1
    - Dst: free_btrfs_tree
      Src: /src/lxc/src/lxc/storage/btrfs.c:838,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:839,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/btrfs.c:874,1
    - Dst: do_remove_btrfs_children
      Src: /src/lxc/src/lxc/storage/btrfs.c:877,1
    - Dst: free_btrfs_tree
      Src: /src/lxc/src/lxc/storage/btrfs.c:878,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:879,1
    - Dst: free_btrfs_tree
      Src: /src/lxc/src/lxc/storage/btrfs.c:883,1
    - Dst: btrfs_do_destroy_subvol
      Src: /src/lxc/src/lxc/storage/btrfs.c:887,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 103
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 888
      start: 731
    functionDepth: 3
    functionLinenumber: 731
    functionLinenumberEnd: 888
    functionName: btrfs_lxc_rm_rf
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - open
    - memcpy
    - ERROR
    - malloc
    - btrfs_stack_root_ref_dirid
    - add_btrfs_tree_node
    - btrfs_stack_root_ref_name_len
    - WARN
    - free_btrfs_tree
    - btrfs_list_get_path_rootid
    - memset
    - btrfs_do_destroy_subvol
    - ioctl
    - strlen
    - do_remove_btrfs_children
    - close
    - get_btrfs_subvol_path
    - create_my_btrfs_tree
    linkageType: ''
    returnType: int
    signature: int btrfs_lxc_rm_rf(const char *path)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: btrfs_detect
      Src: /src/lxc/src/lxc/storage/btrfs.c:892,1
    - Dst: btrfs_lxc_rm_rf
      Src: /src/lxc/src/lxc/storage/btrfs.c:895,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 896
      start: 890
    functionDepth: 4
    functionLinenumber: 890
    functionLinenumberEnd: 896
    functionName: btrfs_try_remove_subvol
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 1
    functionsReached:
    - btrfs_detect
    - btrfs_lxc_rm_rf
    linkageType: ''
    returnType: bool
    signature: bool btrfs_try_remove_subvol(const char *path)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/btrfs.c:902,1
    - Dst: btrfs_lxc_rm_rf
      Src: /src/lxc/src/lxc/storage/btrfs.c:904,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 1
    argNames:
    - orig
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 905
      start: 898
    functionDepth: 4
    functionLinenumber: 898
    functionLinenumberEnd: 905
    functionName: btrfs_destroy
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - btrfs_lxc_rm_rf
    - lxc_storage_get_path
    linkageType: ''
    returnType: int
    signature: int btrfs_destroy(struct lxc_storage *orig)
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/btrfs.c:914,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/btrfs.c:918,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:920,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/btrfs.c:924,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:926,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/btrfs.c:930,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:932,1
    - Dst: btrfs_subvolume_create
      Src: /src/lxc/src/lxc/storage/btrfs.c:936,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/btrfs.c:938,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 5
    argNames:
    - bdev
    - dest
    - n
    - specs
    - conf
    argTypes:
    - struct lxc_storage*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 941
      start: 907
    functionDepth: 2
    functionLinenumber: 907
    functionLinenumberEnd: 941
    functionName: btrfs_create
    functionSourceFile: /src/lxc/src/lxc/storage/btrfs.c
    functionUses: 0
    functionsReached:
    - malloc
    - ERROR
    - btrfs_subvolume_create
    - snprintf
    - strdup
    - strlen
    - SYSERROR
    linkageType: ''
    returnType: int
    signature: "int btrfs_create(struct lxc_storage *bdev, const char *dest, const
      char *n,\n\t\t struct bdev_specs *specs, const struct lxc_conf *conf)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setenv
      Src: /src/lxc/src/lxc/storage/lvm.c:44,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/lvm.c:45,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 48
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 48
    functionName: lvm_destroy_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - setenv
    - execlp
    linkageType: ''
    returnType: int
    signature: int lvm_destroy_exec_wrapper(void *data)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: setenv
      Src: /src/lxc/src/lxc/storage/lvm.c:54,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/lvm.c:57,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/lvm.c:60,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/lvm.c:64,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/lvm.c:67,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 71
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 71
    functionName: lvm_create_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - setenv
    - execlp
    linkageType: ''
    returnType: int
    signature: int lvm_create_exec_wrapper(void *data)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setenv
      Src: /src/lxc/src/lxc/storage/lvm.c:77,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/lvm.c:79,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/lvm.c:82,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 86
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 86
    functionName: lvm_snapshot_exec_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - setenv
    - execlp
    linkageType: ''
    returnType: int
    signature: int lvm_snapshot_exec_wrapper(void *data)
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/lvm.c:105,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/storage/lvm.c:107,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/lvm.c:109,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/storage/lvm.c:111,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/lvm.c:113,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/storage/lvm.c:115,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:118,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/lvm.c:120,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/storage/lvm.c:122,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:124,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:127,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:127,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/storage/lvm.c:128,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/lvm.c:130,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/storage/lvm.c:132,1
    - Dst: lvm_is_thin_pool
      Src: /src/lxc/src/lxc/storage/lvm.c:134,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:135,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/storage/lvm.c:137,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:139,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/lvm.c:140,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:143,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:152,1
    - Dst: run_command_status
      Src: /src/lxc/src/lxc/storage/lvm.c:153,1
    - Dst: WIFEXITED
      Src: /src/lxc/src/lxc/storage/lvm.c:159,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/storage/lvm.c:159,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/lvm.c:161,1
    - Dst: log_error
      Src: /src/lxc/src/lxc/storage/lvm.c:166,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:167,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 52
    argCount: 3
    argNames:
    - path
    - size
    - thinpool
    argTypes:
    - char*
    - uint64_t
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 170
      start: 95
    functionDepth: 3
    functionLinenumber: 95
    functionLinenumberEnd: 170
    functionName: do_lvm_create
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - strrchr
    - run_command
    - WIFEXITED
    - lvm_is_thin_pool
    - log_error
    - must_realloc
    - TRACE
    - snprintf
    - WEXITSTATUS
    - strdup
    - strlen
    - free
    - run_command_status
    linkageType: ''
    returnType: int
    signature: int do_lvm_create(const char *path, uint64_t size, const char *thinpool)
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/lvm.c:182,1
    - Dst: stat
      Src: /src/lxc/src/lxc/storage/lvm.c:185,1
    - Dst: S_ISBLK
      Src: /src/lxc/src/lxc/storage/lvm.c:189,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/lvm.c:192,1
    - Dst: major
      Src: /src/lxc/src/lxc/storage/lvm.c:193,1
    - Dst: minor
      Src: /src/lxc/src/lxc/storage/lvm.c:193,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:195,1
    - Dst: open
      Src: /src/lxc/src/lxc/storage/lvm.c:199,1
    - Dst: read
      Src: /src/lxc/src/lxc/storage/lvm.c:203,1
    - Dst: close
      Src: /src/lxc/src/lxc/storage/lvm.c:204,1
    - Dst: strncmp
      Src: /src/lxc/src/lxc/storage/lvm.c:208,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 212
      start: 175
    functionDepth: 1
    functionLinenumber: 175
    functionLinenumberEnd: 212
    functionName: lvm_detect
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - open
    - ERROR
    - read
    - major
    - minor
    - stat
    - S_ISBLK
    - snprintf
    - close
    - strncmp
    linkageType: ''
    returnType: bool
    signature: bool lvm_detect(const char *path)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/lvm.c:218,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/lvm.c:224,1
    - Dst: mount_unknown_fs
      Src: /src/lxc/src/lxc/storage/lvm.c:229,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 230
      start: 214
    functionDepth: 3
    functionLinenumber: 214
    functionLinenumberEnd: 230
    functionName: lvm_mount
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - mount_unknown_fs
    - strcmp
    - lxc_storage_get_path
    linkageType: ''
    returnType: int
    signature: int lvm_mount(struct lxc_storage *bdev)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/lvm.c:234,1
    - Dst: umount
      Src: /src/lxc/src/lxc/storage/lvm.c:240,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - bdev
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 241
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 241
    functionName: lvm_umount
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - umount
    - strcmp
    linkageType: ''
    returnType: int
    signature: int lvm_umount(struct lxc_storage *bdev)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:253,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:253,1
    - Dst: must_realloc
      Src: /src/lxc/src/lxc/storage/lvm.c:254,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/lvm.c:256,1
    - Dst: lxc_popen
      Src: /src/lxc/src/lxc/storage/lvm.c:260,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:262,1
    - Dst: fgets
      Src: /src/lxc/src/lxc/storage/lvm.c:267,1
    - Dst: lxc_pclose
      Src: /src/lxc/src/lxc/storage/lvm.c:270,1
    - Dst: WEXITSTATUS
      Src: /src/lxc/src/lxc/storage/lvm.c:272,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:275,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 3
    argNames:
    - path
    - pos
    - expected
    argTypes:
    - char*
    - int
    - char
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 283
      start: 244
    functionDepth: 2
    functionLinenumber: 244
    functionLinenumberEnd: 283
    functionName: lvm_compare_lv_attr
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - lxc_pclose
    - must_realloc
    - snprintf
    - fgets
    - WEXITSTATUS
    - strlen
    - SYSERROR
    - lxc_popen
    linkageType: ''
    returnType: int
    signature: int lvm_compare_lv_attr(const char *path, int pos, const char expected)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lvm_compare_lv_attr
      Src: /src/lxc/src/lxc/storage/lvm.c:287,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 288
      start: 285
    functionDepth: 3
    functionLinenumber: 285
    functionLinenumberEnd: 288
    functionName: lvm_is_thin_volume
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 1
    functionsReached:
    - lvm_compare_lv_attr
    linkageType: ''
    returnType: int
    signature: int lvm_is_thin_volume(const char *path)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lvm_compare_lv_attr
      Src: /src/lxc/src/lxc/storage/lvm.c:292,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 293
      start: 290
    functionDepth: 3
    functionLinenumber: 290
    functionLinenumberEnd: 293
    functionName: lvm_is_thin_pool
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 1
    functionsReached:
    - lvm_compare_lv_attr
    linkageType: ''
    returnType: int
    signature: int lvm_is_thin_pool(const char *path)
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/lvm.c:297,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/lvm.c:297,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - fstype
    argTypes:
    - char*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 298
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 298
    functionName: fs_needs_new_uuid
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: bool fs_needs_new_uuid(const char *fstype)
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/lvm.c:304,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/lvm.c:305,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/lvm.c:307,1
    - Dst: execlp
      Src: /src/lxc/src/lxc/storage/lvm.c:308,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 311
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 311
    functionName: lvm_snapshot_create_new_uuid_wrapper
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - execlp
    - strcmp
    linkageType: ''
    returnType: int
    signature: int lvm_snapshot_create_new_uuid_wrapper(void *data)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/lvm.c:325,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/lvm.c:327,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/lvm.c:329,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/lvm.c:331,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/lvm.c:333,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/lvm.c:335,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:339,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/lvm.c:345,1
    - Dst: lvm_is_thin_volume
      Src: /src/lxc/src/lxc/storage/lvm.c:346,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:355,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/lvm.c:357,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/lvm.c:360,1
    - Dst: detect_fs
      Src: /src/lxc/src/lxc/storage/lvm.c:363,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/lvm.c:364,1
    - Dst: fs_needs_new_uuid
      Src: /src/lxc/src/lxc/storage/lvm.c:366,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/lvm.c:374,1
    - Dst: log_error_errno
      Src: /src/lxc/src/lxc/storage/lvm.c:377,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 39
    argCount: 3
    argNames:
    - orig
    - path
    - size
    argTypes:
    - struct lxc_storage*
    - char*
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 381
      start: 313
    functionDepth: 4
    functionLinenumber: 313
    functionLinenumberEnd: 381
    functionName: lvm_snapshot
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - strrchr
    - run_command
    - fs_needs_new_uuid
    - lvm_is_thin_volume
    - TRACE
    - snprintf
    - lxc_storage_get_path
    - log_error_errno
    - strdup
    - detect_fs
    linkageType: ''
    returnType: int
    signature: int lvm_snapshot(struct lxc_storage *orig, const char *path, uint64_t
      size)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/lvm.c:394,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:395,1
    - Dst: strcmp
      Src: /src/lxc/src/lxc/storage/lvm.c:400,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/storage/lvm.c:401,1
    - Dst: lxc_string_join
      Src: /src/lxc/src/lxc/storage/lvm.c:402,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/lvm.c:410,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/lvm.c:412,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:414,1
    - Dst: strrchr
      Src: /src/lxc/src/lxc/storage/lvm.c:418,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:420,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/lvm.c:421,1
    - Dst: lxc_string_join
      Src: /src/lxc/src/lxc/storage/lvm.c:427,1
    - Dst: free
      Src: /src/lxc/src/lxc/storage/lvm.c:432,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/lvm.c:434,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:435,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/lvm.c:440,1
    - Dst: mntopts::mntopts
      Src: /src/lxc/src/lxc/storage/lvm.c:441,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:442,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:447,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:447,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:447,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/lvm.c:448,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/lvm.c:449,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:450,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/lvm.c:454,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/lvm.c:454,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:456,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/lvm.c:460,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/lvm.c:460,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:462,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/lvm.c:462,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 56
    argCount: 9
    argNames:
    - orig
    - new
    - oldname
    - cname
    - oldpath
    - lxcpath
    - snap
    - newsize
    - conf
    argTypes:
    - struct lxc_storage*
    - struct lxc_storage*
    - char*
    - char*
    - char*
    - char*
    - int
    - uint64_t
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 467
      start: 383
    functionDepth: 3
    functionLinenumber: 383
    functionLinenumberEnd: 467
    functionName: lvm_clonepaths
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - malloc
    - strrchr
    - ERROR
    - src::src
    - mntopts::mntopts
    - dest::dest
    - lxc_string_join
    - lxc_storage_get_path
    - snprintf
    - strdup
    - strlen
    - lxc_global_config_value
    - SYSERROR
    - strcmp
    - free
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int lvm_clonepaths(struct lxc_storage *orig, struct lxc_storage *new,\n\t\t
      \  const char *oldname, const char *cname, const char *oldpath,\n\t\t   const
      char *lxcpath, int snap, uint64_t newsize,\n\t\t   struct lxc_conf *conf)"
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: is_blktype
      Src: /src/lxc/src/lxc/storage/lvm.c:481,1
    - Dst: blk_getsize
      Src: /src/lxc/src/lxc/storage/lvm.c:483,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:484,1
    - Dst: detect_fs
      Src: /src/lxc/src/lxc/storage/lvm.c:490,1
    - Dst: INFO
      Src: /src/lxc/src/lxc/storage/lvm.c:491,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/lvm.c:498,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/lvm.c:498,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/storage/lvm.c:499,1
    - Dst: do_lvm_create
      Src: /src/lxc/src/lxc/storage/lvm.c:501,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:503,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/lvm.c:509,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:512,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/lvm.c:519,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:522,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/lvm.c:523,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:527,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/lvm.c:527,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 37
    argCount: 4
    argNames:
    - conf
    - orig
    - new
    - newsize
    argTypes:
    - struct lxc_conf*
    - struct lxc_storage*
    - struct lxc_storage*
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 529
      start: 469
    functionDepth: 4
    functionLinenumber: 469
    functionLinenumberEnd: 529
    functionName: lvm_create_clone
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - blk_getsize
    - ERROR
    - src::src
    - is_blktype
    - run_command
    - dest::dest
    - lxc_storage_get_path
    - TRACE
    - do_lvm_create
    - INFO
    - detect_fs
    - lxc_global_config_value
    linkageType: ''
    returnType: bool
    signature: "bool lvm_create_clone(struct lxc_conf *conf, struct lxc_storage *orig,\n\t\t
      \     struct lxc_storage *new, uint64_t newsize)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: is_blktype
      Src: /src/lxc/src/lxc/storage/lvm.c:538,1
    - Dst: blk_getsize
      Src: /src/lxc/src/lxc/storage/lvm.c:539,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:540,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/lvm.c:548,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/lvm.c:548,1
    - Dst: lvm_snapshot
      Src: /src/lxc/src/lxc/storage/lvm.c:550,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:552,1
    - Dst: src::src
      Src: /src/lxc/src/lxc/storage/lvm.c:553,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:557,1
    - Dst: dest::dest
      Src: /src/lxc/src/lxc/storage/lvm.c:557,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 4
    argNames:
    - conf
    - orig
    - new
    - newsize
    argTypes:
    - struct lxc_conf*
    - struct lxc_storage*
    - struct lxc_storage*
    - uint64_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 559
      start: 531
    functionDepth: 5
    functionLinenumber: 531
    functionLinenumberEnd: 559
    functionName: lvm_create_snapshot
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - blk_getsize
    - src::src
    - ERROR
    - is_blktype
    - dest::dest
    - lxc_storage_get_path
    - TRACE
    - lvm_snapshot
    linkageType: ''
    returnType: bool
    signature: "bool lvm_create_snapshot(struct lxc_conf *conf, struct lxc_storage
      *orig,\n\t\t\t struct lxc_storage *new, uint64_t newsize)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/lvm.c:567,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/lvm.c:568,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:571,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:576,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 1
    argNames:
    - orig
    argTypes:
    - struct lxc_storage*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 578
      start: 561
    functionDepth: 3
    functionLinenumber: 561
    functionLinenumberEnd: 578
    functionName: lvm_destroy
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 0
    functionsReached:
    - TRACE
    - run_command
    - ERROR
    - lxc_storage_get_path
    linkageType: ''
    returnType: int
    signature: int lvm_destroy(struct lxc_storage *orig)
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/storage/lvm.c:594,1
    - Dst: lxc_global_config_value
      Src: /src/lxc/src/lxc/storage/lvm.c:598,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:604,1
    - Dst: strlen
      Src: /src/lxc/src/lxc/storage/lvm.c:604,1
    - Dst: malloc
      Src: /src/lxc/src/lxc/storage/lvm.c:605,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:607,1
    - Dst: snprintf
      Src: /src/lxc/src/lxc/storage/lvm.c:611,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:613,1
    - Dst: do_lvm_create
      Src: /src/lxc/src/lxc/storage/lvm.c:622,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:624,1
    - Dst: lxc_storage_get_path
      Src: /src/lxc/src/lxc/storage/lvm.c:634,1
    - Dst: run_command
      Src: /src/lxc/src/lxc/storage/lvm.c:635,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:638,1
    - Dst: strdup
      Src: /src/lxc/src/lxc/storage/lvm.c:643,1
    - Dst: ERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:645,1
    - Dst: lxc_mkdir_p
      Src: /src/lxc/src/lxc/storage/lvm.c:649,1
    - Dst: SYSERROR
      Src: /src/lxc/src/lxc/storage/lvm.c:651,1
    - Dst: TRACE
      Src: /src/lxc/src/lxc/storage/lvm.c:655,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 52
    argCount: 5
    argNames:
    - bdev
    - dest
    - n
    - specs
    - conf
    argTypes:
    - struct lxc_storage*
    - char*
    - char*
    - struct bdev_specs*
    - struct lxc_conf*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 657
      start: 580
    functionDepth: 4
    functionLinenumber: 580
    functionLinenumberEnd: 657
    functionName: lvm_create
    functionSourceFile: /src/lxc/src/lxc/storage/lvm.c
    functionUses: 2
    functionsReached:
    - malloc
    - ERROR
    - run_command
    - snprintf
    - lxc_storage_get_path
    - TRACE
    - do_lvm_create
    - strdup
    - strlen
    - lxc_global_config_value
    - SYSERROR
    - lxc_mkdir_p
    linkageType: ''
    returnType: int
    signature: "int lvm_create(struct lxc_storage *bdev, const char *dest, const char
      *n,\n\t       struct bdev_specs *specs, const struct lxc_conf *conf)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/lxc/src/include/strlcpy.c:12,1
    - Dst: memcpy
      Src: /src/lxc/src/include/strlcpy.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 3
    argNames:
    - dest
    - src
    - size
    argTypes:
    - char*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 21
      start: 10
    functionDepth: 0
    functionLinenumber: 10
    functionLinenumberEnd: 21
    functionName: strlcpy
    functionSourceFile: /src/lxc/src/include/strlcpy.c
    functionUses: 36
    functionsReached:
    - strlen
    - memcpy
    linkageType: ''
    returnType: size_t
    signature: size_t strlcpy(char *dest, const char *src, size_t size)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - code
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 7
      start: 6
    functionDepth: 0
    functionLinenumber: 6
    functionLinenumberEnd: 7
    functionName: BPF_CLASS
    functionSourceFile: /src/lxc/src/include/bpf_common.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_CLASS(code)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - code
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 18
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 18
    functionName: BPF_SIZE
    functionSourceFile: /src/lxc/src/include/bpf_common.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_SIZE(code)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - code
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 23
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 23
    functionName: BPF_MODE
    functionSourceFile: /src/lxc/src/include/bpf_common.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_MODE(code)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - code
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 32
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 32
    functionName: BPF_OP
    functionSourceFile: /src/lxc/src/include/bpf_common.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_OP(code)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - code
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 50
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 50
    functionName: BPF_SRC
    functionSourceFile: /src/lxc/src/include/bpf_common.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_SRC(code)
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: execveat
      Src: /src/lxc/src/include/fexecve.c:30,1
    - Dst: snprintf
      Src: /src/lxc/src/include/fexecve.c:34,1
    - Dst: execve
      Src: /src/lxc/src/include/fexecve.c:40,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 3
    argNames:
    - fd
    - argv
    - envp
    argTypes:
    - int
    - char*[]
    - char*[]
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 42
      start: 20
    functionDepth: 1
    functionLinenumber: 20
    functionLinenumberEnd: 42
    functionName: fexecve
    functionSourceFile: /src/lxc/src/include/fexecve.c
    functionUses: 1
    functionsReached:
    - execveat
    - execve
    - snprintf
    linkageType: ''
    returnType: int
    signature: int fexecve(int fd, char *const argv[], char *const envp[])
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - FN
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3993
      start: 3828
    functionDepth: 0
    functionLinenumber: 3828
    functionLinenumberEnd: 3993
    functionName: __BPF_FUNC_MAPPER
    functionSourceFile: /src/lxc/src/include/bpf.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __BPF_FUNC_MAPPER(FN)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 3998
      start: 3997
    functionDepth: 0
    functionLinenumber: 3997
    functionLinenumberEnd: 3998
    functionName: __BPF_ENUM_FN
    functionSourceFile: /src/lxc/src/include/bpf.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __BPF_ENUM_FN(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - len
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4095
      start: 4092
    functionDepth: 0
    functionLinenumber: 4092
    functionLinenumberEnd: 4095
    functionName: BPF_F_ADJ_ROOM_ENCAP_L2
    functionSourceFile: /src/lxc/src/include/bpf.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_F_ADJ_ROOM_ENCAP_L2(len)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - type
    - ','
    - name
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 4173
      start: 4168
    functionDepth: 0
    functionLinenumber: 4168
    functionLinenumberEnd: 4173
    functionName: __bpf_md_ptr
    functionSourceFile: /src/lxc/src/include/bpf.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __bpf_md_ptr(type, name)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - line_col
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5066
      start: 5065
    functionDepth: 0
    functionLinenumber: 5065
    functionLinenumberEnd: 5066
    functionName: BPF_LINE_INFO_LINE_NUM
    functionSourceFile: /src/lxc/src/include/bpf.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_LINE_INFO_LINE_NUM(line_col)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - line_col
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 5067
      start: 5066
    functionDepth: 0
    functionLinenumber: 5066
    functionLinenumberEnd: 5067
    functionName: BPF_LINE_INFO_LINE_COL
    functionSourceFile: /src/lxc/src/include/bpf.h
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: BPF_LINE_INFO_LINE_COL(line_col)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strnlen
      Src: /src/lxc/src/include/strlcat.c:20,1
    - Dst: strlen
      Src: /src/lxc/src/include/strlcat.c:22,1
    - Dst: strlcpy
      Src: /src/lxc/src/include/strlcat.c:24,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - src
    - append
    - len
    argTypes:
    - char*
    - char*
    - size_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 1
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: strlcat
    functionSourceFile: /src/lxc/src/include/strlcat.c
    functionUses: 8
    functionsReached:
    - strlen
    - strnlen
    - strlcpy
    linkageType: ''
    returnType: size_t
    signature: size_t strlcat(char *src, const char *append, size_t len)
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: abort
      Src: /src/lxc/src/include/strchrnul.c:53,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 38
    argCount: 2
    argNames:
    - s
    - c_in
    argTypes:
    - char*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 139
      start: 9
    functionDepth: 0
    functionLinenumber: 9
    functionLinenumberEnd: 139
    functionName: strchrnul
    functionSourceFile: /src/lxc/src/include/strchrnul.c
    functionUses: 2
    functionsReached:
    - abort
    linkageType: ''
    returnType: char
    signature: char *strchrnul(const char *s, int c_in)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - r
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 29
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 29
    functionName: NETNS_RTA
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 1
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: NETNS_RTA(r)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - len
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 34
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 34
    functionName: __NETLINK_ALIGN
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __NETLINK_ALIGN(len)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - nlh
    - ','
    - end
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 37
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 37
    functionName: __NLMSG_OK
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __NLMSG_OK(nlh, end)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - nlh
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 40
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 40
    functionName: __NLMSG_NEXT
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __NLMSG_NEXT(nlh)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - nlh
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 42
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 42
    functionName: __NLMSG_DATA
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __NLMSG_DATA(nlh)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - nlh
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 44
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 44
    functionName: __NLMSG_DATAEND
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __NLMSG_DATAEND(nlh)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - nlh
    - ','
    - len
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 48
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 48
    functionName: __NLMSG_RTA
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __NLMSG_RTA(nlh, len)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - rta
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 50
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 50
    functionName: __RTA_DATALEN
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __RTA_DATALEN(rta)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - rta
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 53
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 53
    functionName: __RTA_NEXT
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __RTA_NEXT(rta)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - nlh
    - ','
    - end
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 56
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 56
    functionName: __RTA_OK
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __RTA_OK(nlh, end)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - (
    - rta
    - ','
    - nlh
    - )
    argTypes:
    - auto
    - auto
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 58
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 58
    functionName: __NLMSG_RTAOK
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __NLMSG_RTAOK(rta, nlh)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - a
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 61
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 61
    functionName: __IN6_IS_ADDR_LINKLOCAL
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __IN6_IS_ADDR_LINKLOCAL(a)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - a
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 64
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 64
    functionName: __IN6_IS_ADDR_MC_LINKLOCAL
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __IN6_IS_ADDR_MC_LINKLOCAL(a)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - rta
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 66
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 66
    functionName: __RTA_DATA
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: __RTA_DATA(rta)
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: __IN6_IS_ADDR_LINKLOCAL
      Src: /src/lxc/src/include/netns_ifaddrs.c:115,1
    - Dst: __IN6_IS_ADDR_MC_LINKLOCAL
      Src: /src/lxc/src/include/netns_ifaddrs.c:116,1
    - Dst: memcpy
      Src: /src/lxc/src/include/netns_ifaddrs.c:128,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 6
    argNames:
    - r
    - af
    - sa
    - addr
    - addrlen
    - ifindex
    argTypes:
    - struct sockaddr**
    - int
    - union sockany*
    - void*
    - size_t
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 131
      start: 101
    functionDepth: 1
    functionLinenumber: 101
    functionLinenumberEnd: 131
    functionName: copy_addr
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached:
    - __IN6_IS_ADDR_LINKLOCAL
    - memcpy
    - __IN6_IS_ADDR_MC_LINKLOCAL
    linkageType: ''
    returnType: void
    signature: "void copy_addr(struct sockaddr **r, int af, union sockany *sa,\n\t\t
      \     void *addr, size_t addrlen, int ifindex)"
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/include/netns_ifaddrs.c:144,1
    - Dst: copy_addr
      Src: /src/lxc/src/include/netns_ifaddrs.c:149,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 4
    argNames:
    - r
    - af
    - sa
    - prefixlen
    argTypes:
    - struct sockaddr**
    - int
    - union sockany*
    - int
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 150
      start: 133
    functionDepth: 2
    functionLinenumber: 133
    functionLinenumberEnd: 150
    functionName: gen_netmask
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached:
    - memset
    - copy_addr
    linkageType: ''
    returnType: void
    signature: "void gen_netmask(struct sockaddr **r, int af, union sockany *sa,\n\t\t\tint
      prefixlen)"
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/lxc/src/include/netns_ifaddrs.c:163,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 6
    argNames:
    - r
    - sa
    - addr
    - addrlen
    - ifindex
    - hatype
    argTypes:
    - struct sockaddr**
    - union sockany*
    - void*
    - size_t
    - int
    - unsigned short
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 166
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 166
    functionName: copy_lladdr
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached:
    - memcpy
    linkageType: ''
    returnType: void
    signature: "void copy_lladdr(struct sockaddr **r, union sockany *sa, void *addr,\n\t\t\tsize_t
      addrlen, int ifindex, unsigned short hatype)"
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: __NLMSG_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:173,1
    - Dst: __NLMSG_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:174,1
    - Dst: __NLMSG_RTA
      Src: /src/lxc/src/include/netns_ifaddrs.c:180,1
    - Dst: __NLMSG_RTAOK
      Src: /src/lxc/src/include/netns_ifaddrs.c:180,1
    - Dst: __RTA_NEXT
      Src: /src/lxc/src/include/netns_ifaddrs.c:181,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:189,1
    - Dst: calloc
      Src: /src/lxc/src/include/netns_ifaddrs.c:202,1
    - Dst: __NLMSG_RTA
      Src: /src/lxc/src/include/netns_ifaddrs.c:215,1
    - Dst: __NLMSG_RTAOK
      Src: /src/lxc/src/include/netns_ifaddrs.c:215,1
    - Dst: __RTA_NEXT
      Src: /src/lxc/src/include/netns_ifaddrs.c:216,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:219,1
    - Dst: memcpy
      Src: /src/lxc/src/include/netns_ifaddrs.c:220,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:220,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:221,1
    - Dst: copy_lladdr
      Src: /src/lxc/src/include/netns_ifaddrs.c:226,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:227,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:227,1
    - Dst: copy_lladdr
      Src: /src/lxc/src/include/netns_ifaddrs.c:231,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:232,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:232,1
    - Dst: memcpy
      Src: /src/lxc/src/include/netns_ifaddrs.c:242,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:242,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:243,1
    - Dst: memcpy
      Src: /src/lxc/src/include/netns_ifaddrs.c:246,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:246,1
    - Dst: __NLMSG_RTA
      Src: /src/lxc/src/include/netns_ifaddrs.c:266,1
    - Dst: __NLMSG_RTAOK
      Src: /src/lxc/src/include/netns_ifaddrs.c:266,1
    - Dst: __RTA_NEXT
      Src: /src/lxc/src/include/netns_ifaddrs.c:267,1
    - Dst: copy_addr
      Src: /src/lxc/src/include/netns_ifaddrs.c:275,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:277,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:278,1
    - Dst: copy_addr
      Src: /src/lxc/src/include/netns_ifaddrs.c:281,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:283,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:284,1
    - Dst: copy_addr
      Src: /src/lxc/src/include/netns_ifaddrs.c:288,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:290,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:290,1
    - Dst: memset
      Src: /src/lxc/src/include/netns_ifaddrs.c:302,1
    - Dst: copy_addr
      Src: /src/lxc/src/include/netns_ifaddrs.c:305,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:306,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:307,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:310,1
    - Dst: memcpy
      Src: /src/lxc/src/include/netns_ifaddrs.c:311,1
    - Dst: __RTA_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:311,1
    - Dst: __RTA_DATALEN
      Src: /src/lxc/src/include/netns_ifaddrs.c:312,1
    - Dst: gen_netmask
      Src: /src/lxc/src/include/netns_ifaddrs.c:323,1
    - Dst: free
      Src: /src/lxc/src/include/netns_ifaddrs.c:339,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 107
    argCount: 3
    argNames:
    - pctx
    - netnsid_aware
    - h
    argTypes:
    - void*
    - bool*
    - struct nlmsghdr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 343
      start: 168
    functionDepth: 3
    functionLinenumber: 168
    functionLinenumberEnd: 343
    functionName: nl_msg_to_ifaddr
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached:
    - memcpy
    - calloc
    - __RTA_NEXT
    - copy_lladdr
    - __RTA_DATALEN
    - free
    - __NLMSG_RTAOK
    - __NLMSG_RTA
    - __NLMSG_DATA
    - __RTA_DATA
    - memset
    - gen_netmask
    - copy_addr
    linkageType: ''
    returnType: int
    signature: int nl_msg_to_ifaddr(void *pctx, bool *netnsid_aware, struct nlmsghdr
      *h)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/include/netns_ifaddrs.c:360,1
    - Dst: sendmsg
      Src: /src/lxc/src/include/netns_ifaddrs.c:365,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 2
    argNames:
    - fd
    - nlmsghdr
    argTypes:
    - int
    - struct nlmsghdr*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 370
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 370
    functionName: __ifaddrs_netlink_send
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached:
    - memset
    - sendmsg
    linkageType: ''
    returnType: int
    signature: int __ifaddrs_netlink_send(int fd, struct nlmsghdr *nlmsghdr)
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: __NETLINK_ALIGN
      Src: /src/lxc/src/include/netns_ifaddrs.c:391,1
    - Dst: __NETLINK_ALIGN
      Src: /src/lxc/src/include/netns_ifaddrs.c:392,1
    - Dst: __NETLINK_ALIGN
      Src: /src/lxc/src/include/netns_ifaddrs.c:393,1
    - Dst: __NETLINK_ALIGN
      Src: /src/lxc/src/include/netns_ifaddrs.c:394,1
    - Dst: __NETLINK_ALIGN
      Src: /src/lxc/src/include/netns_ifaddrs.c:395,1
    - Dst: __NETLINK_ALIGN
      Src: /src/lxc/src/include/netns_ifaddrs.c:396,1
    - Dst: NLMSG_LENGTH
      Src: /src/lxc/src/include/netns_ifaddrs.c:403,1
    - Dst: __NLMSG_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:405,1
    - Dst: NLMSG_LENGTH
      Src: /src/lxc/src/include/netns_ifaddrs.c:412,1
    - Dst: __NLMSG_DATA
      Src: /src/lxc/src/include/netns_ifaddrs.c:414,1
    - Dst: addattr
      Src: /src/lxc/src/include/netns_ifaddrs.c:430,1
    - Dst: __ifaddrs_netlink_send
      Src: /src/lxc/src/include/netns_ifaddrs.c:432,1
    - Dst: recv
      Src: /src/lxc/src/include/netns_ifaddrs.c:437,1
    - Dst: __NLMSG_OK
      Src: /src/lxc/src/include/netns_ifaddrs.c:443,1
    - Dst: __NLMSG_NEXT
      Src: /src/lxc/src/include/netns_ifaddrs.c:444,1
    - Dst: cb
      Src: /src/lxc/src/include/netns_ifaddrs.c:453,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 45
    argCount: 7
    argNames:
    - fd
    - seq
    - type
    - af
    - netns_id
    - netnsid_aware
    - ctx
    argTypes:
    - int
    - unsigned int
    - int
    - int
    - __s32
    - bool*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 459
      start: 372
    functionDepth: 2
    functionLinenumber: 372
    functionLinenumberEnd: 459
    functionName: __ifaddrs_netlink_recv
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached:
    - __ifaddrs_netlink_send
    - __NLMSG_OK
    - __NLMSG_NEXT
    - NLMSG_LENGTH
    - addattr
    - cb
    - __NLMSG_DATA
    - __NETLINK_ALIGN
    - recv
    linkageType: ''
    returnType: int
    signature: "int __ifaddrs_netlink_recv(int fd, unsigned int seq, int type, int
      af,\n\t\t\t\t  __s32 netns_id, bool *netnsid_aware,\n\t\t\t\t  int (*cb)(void
      *ctx, bool *netnsid_aware,\n\t\t\t\t\t    struct nlmsghdr *h),\n\t\t\t\t  void
      *ctx)"
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/lxc/src/include/netns_ifaddrs.c:469,1
    - Dst: setsockopt
      Src: /src/lxc/src/include/netns_ifaddrs.c:473,1
    - Dst: close
      Src: /src/lxc/src/include/netns_ifaddrs.c:476,1
    - Dst: __ifaddrs_netlink_recv
      Src: /src/lxc/src/include/netns_ifaddrs.c:481,1
    - Dst: __ifaddrs_netlink_recv
      Src: /src/lxc/src/include/netns_ifaddrs.c:484,1
    - Dst: close
      Src: /src/lxc/src/include/netns_ifaddrs.c:488,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 5
    argNames:
    - link_af
    - addr_af
    - netns_id
    - netnsid_aware
    - ctx
    argTypes:
    - int
    - int
    - __s32
    - bool*
    - void*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 497
      start: 461
    functionDepth: 3
    functionLinenumber: 461
    functionLinenumberEnd: 497
    functionName: __rtnl_enumerate
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached:
    - __ifaddrs_netlink_recv
    - close
    - setsockopt
    - socket
    linkageType: ''
    returnType: int
    signature: "int __rtnl_enumerate(int link_af, int addr_af, __s32 netns_id,\n\t\t\t
      \   bool *netnsid_aware,\n\t\t\t    int (*cb)(void *ctx, bool *netnsid_aware,
      struct nlmsghdr *h),\n\t\t\t    void *ctx)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/lxc/src/include/netns_ifaddrs.c:505,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - ifp
    argTypes:
    - struct netns_ifaddrs*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 508
      start: 499
    functionDepth: 0
    functionLinenumber: 499
    functionLinenumberEnd: 508
    functionName: netns_freeifaddrs
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 0
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: void netns_freeifaddrs(struct netns_ifaddrs *ifp)
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/lxc/src/include/netns_ifaddrs.c:517,1
    - Dst: __rtnl_enumerate
      Src: /src/lxc/src/include/netns_ifaddrs.c:519,1
    - Dst: netns_freeifaddrs
      Src: /src/lxc/src/include/netns_ifaddrs.c:523,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 3
    argNames:
    - ifap
    - netns_id
    - netnsid_aware
    argTypes:
    - struct netns_ifaddrs**
    - __s32
    - bool*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 529
      start: 510
    functionDepth: 4
    functionLinenumber: 510
    functionLinenumberEnd: 529
    functionName: netns_getifaddrs
    functionSourceFile: /src/lxc/src/include/netns_ifaddrs.c
    functionUses: 4
    functionsReached:
    - memset
    - __rtnl_enumerate
    - netns_freeifaddrs
    linkageType: ''
    returnType: int
    signature: "int netns_getifaddrs(struct netns_ifaddrs **ifap, __s32 netns_id,\n\t\t
      \    bool *netnsid_aware)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - (
    - x
    - )
    argTypes:
    - auto
    - auto
    - auto
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 58
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 58
    functionName: FIX
    functionSourceFile: /src/lxc/src/include/getgrgid_r.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: auto
    signature: FIX(x)
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - s
    argTypes:
    - char**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 65
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 65
    functionName: atou
    functionSourceFile: /src/lxc/src/include/getgrgid_r.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: unsigned
    signature: unsigned atou(char **s)
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: pthread_setcancelstate
      Src: /src/lxc/src/include/getgrgid_r.c:78,1
    - Dst: getline
      Src: /src/lxc/src/include/getgrgid_r.c:82,1
    - Dst: ferror
      Src: /src/lxc/src/include/getgrgid_r.c:83,1
    - Dst: free
      Src: /src/lxc/src/include/getgrgid_r.c:84,1
    - Dst: strchr
      Src: /src/lxc/src/include/getgrgid_r.c:93,1
    - Dst: strchr
      Src: /src/lxc/src/include/getgrgid_r.c:98,1
    - Dst: atou
      Src: /src/lxc/src/include/getgrgid_r.c:102,1
    - Dst: free
      Src: /src/lxc/src/include/getgrgid_r.c:114,1
    - Dst: calloc
      Src: /src/lxc/src/include/getgrgid_r.c:115,1
    - Dst: free
      Src: /src/lxc/src/include/getgrgid_r.c:118,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 57
    argCount: 7
    argNames:
    - f
    - gr
    - line
    - size
    - mem
    - nmem
    - res
    argTypes:
    - FILE*
    - struct group*
    - char**
    - size_t*
    - char***
    - size_t*
    - struct group**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 143
      start: 67
    functionDepth: 1
    functionLinenumber: 67
    functionLinenumberEnd: 143
    functionName: __getgrent_a
    functionSourceFile: /src/lxc/src/include/getgrgid_r.c
    functionUses: 0
    functionsReached:
    - getline
    - pthread_setcancelstate
    - calloc
    - ferror
    - atou
    - strchr
    - free
    linkageType: ''
    returnType: int
    signature: "int __getgrent_a(FILE *f, struct group *gr, char **line, size_t *size,\n\t\t\tchar
      ***mem, size_t *nmem, struct group **res)"
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 2
    argNames:
    - p
    - x
    argTypes:
    - char*
    - uint32_t
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 155
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 155
    functionName: itoa
    functionSourceFile: /src/lxc/src/include/getgrgid_r.c
    functionUses: 0
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: char *itoa(char *p, uint32_t x)
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strnlen
      Src: /src/lxc/src/include/getgrgid_r.c:169,1
    - Dst: strlen
      Src: /src/lxc/src/include/getgrgid_r.c:172,1
    - Dst: memset
      Src: /src/lxc/src/include/getgrgid_r.c:178,1
    - Dst: socket
      Src: /src/lxc/src/include/getgrgid_r.c:181,1
    - Dst: fdopen
      Src: /src/lxc/src/include/getgrgid_r.c:185,1
    - Dst: close
      Src: /src/lxc/src/include/getgrgid_r.c:186,1
    - Dst: connect
      Src: /src/lxc/src/include/getgrgid_r.c:193,1
    - Dst: sendmsg
      Src: /src/lxc/src/include/getgrgid_r.c:205,1
    - Dst: fread
      Src: /src/lxc/src/include/getgrgid_r.c:208,1
    - Dst: ferror
      Src: /src/lxc/src/include/getgrgid_r.c:214,1
    - Dst: fclose
      Src: /src/lxc/src/include/getgrgid_r.c:217,1
    - Dst: bswap_32
      Src: /src/lxc/src/include/getgrgid_r.c:220,1
    - Dst: bswap_32
      Src: /src/lxc/src/include/getgrgid_r.c:232,1
    - Dst: fclose
      Src: /src/lxc/src/include/getgrgid_r.c:247,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 59
    argCount: 5
    argNames:
    - req
    - key
    - buf
    - len
    - swap
    argTypes:
    - int32_t
    - char*
    - int32_t*
    - size_t
    - int*
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 249
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 249
    functionName: __nscd_query
    functionSourceFile: /src/lxc/src/include/getgrgid_r.c
    functionUses: 0
    functionsReached:
    - fdopen
    - socket
    - sendmsg
    - connect
    - fread
    - ferror
    - memset
    - bswap_32
    - strlen
    - fclose
    - strnlen
    - close
    linkageType: ''
    returnType: FILE
    signature: "FILE *__nscd_query(int32_t req, const char *key, int32_t *buf,\n\t\t\t
      \ size_t len, int *swap)"
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: pthread_setcancelstate
      Src: /src/lxc/src/include/getgrgid_r.c:259,1
    - Dst: fopen
      Src: /src/lxc/src/include/getgrgid_r.c:264,1
    - Dst: __getgrent_a
      Src: /src/lxc/src/include/getgrgid_r.c:270,1
    - Dst: strcmp
      Src: /src/lxc/src/include/getgrgid_r.c:271,1
    - Dst: fclose
      Src: /src/lxc/src/include/getgrgid_r.c:276,1
    - Dst: itoa
      Src: /src/lxc/src/include/getgrgid_r.c:296,1
    - Dst: __nscd_query
      Src: /src/lxc/src/include/getgrgid_r.c:299,1
    - Dst: fread
      Src: /src/lxc/src/include/getgrgid_r.c:324,1
    - Dst: ferror
      Src: /src/lxc/src/include/getgrgid_r.c:325,1
    - Dst: bswap_32
      Src: /src/lxc/src/include/getgrgid_r.c:329,1
    - Dst: realloc
      Src: /src/lxc/src/include/getgrgid_r.c:341,1
    - Dst: fread
      Src: /src/lxc/src/include/getgrgid_r.c:350,1
    - Dst: ferror
      Src: /src/lxc/src/include/getgrgid_r.c:351,1
    - Dst: realloc
      Src: /src/lxc/src/include/getgrgid_r.c:361,1
    - Dst: strcmp
      Src: /src/lxc/src/include/getgrgid_r.c:399,1
    - Dst: fclose
      Src: /src/lxc/src/include/getgrgid_r.c:408,1
    CyclomaticComplexity: 59
    EdgeCount: 59
    ICount: 133
    argCount: 8
    argNames:
    - name
    - gid
    - gr
    - buf
    - size
    - mem
    - nmem
    - res
    argTypes:
    - char*
    - gid_t
    - struct group*
    - char**
    - size_t*
    - char***
    - size_t*
    - struct group**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 421
      start: 251
    functionDepth: 2
    functionLinenumber: 251
    functionLinenumberEnd: 421
    functionName: __getgr_a
    functionSourceFile: /src/lxc/src/include/getgrgid_r.c
    functionUses: 0
    functionsReached:
    - realloc
    - itoa
    - pthread_setcancelstate
    - __getgrent_a
    - fread
    - ferror
    - fopen
    - __nscd_query
    - bswap_32
    - fclose
    - strcmp
    linkageType: ''
    returnType: int
    signature: "int __getgr_a(const char *name, gid_t gid, struct group *gr, char
      **buf,\n\t\t     size_t *size, char ***mem, size_t *nmem, struct group **res)"
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: pthread_setcancelstate
      Src: /src/lxc/src/include/getgrgid_r.c:436,1
    - Dst: __getgr_a
      Src: /src/lxc/src/include/getgrgid_r.c:439,1
    - Dst: memcpy
      Src: /src/lxc/src/include/getgrgid_r.c:448,1
    - Dst: FIX
      Src: /src/lxc/src/include/getgrgid_r.c:449,1
    - Dst: FIX
      Src: /src/lxc/src/include/getgrgid_r.c:450,1
    - Dst: free
      Src: /src/lxc/src/include/getgrgid_r.c:455,1
    - Dst: free
      Src: /src/lxc/src/include/getgrgid_r.c:456,1
    - Dst: pthread_setcancelstate
      Src: /src/lxc/src/include/getgrgid_r.c:459,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 6
    argNames:
    - name
    - gid
    - gr
    - buf
    - size
    - res
    argTypes:
    - char*
    - gid_t
    - struct group*
    - char*
    - size_t
    - struct group**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 465
      start: 423
    functionDepth: 3
    functionLinenumber: 423
    functionLinenumberEnd: 465
    functionName: getgr_r
    functionSourceFile: /src/lxc/src/include/getgrgid_r.c
    functionUses: 0
    functionsReached:
    - memcpy
    - pthread_setcancelstate
    - FIX
    - __getgr_a
    - free
    linkageType: ''
    returnType: int
    signature: "int getgr_r(const char *name, gid_t gid, struct group *gr, char *buf,\n\t\t
      \  size_t size, struct group **res)"
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getgr_r
      Src: /src/lxc/src/include/getgrgid_r.c:469,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 5
    argNames:
    - gid
    - gr
    - buf
    - size
    - res
    argTypes:
    - gid_t
    - struct group*
    - char*
    - size_t
    - struct group**
    assertStmts: []
    constantsTouched: []
    func_position:
      end: 470
      start: 467
    functionDepth: 4
    functionLinenumber: 467
    functionLinenumberEnd: 470
    functionName: getgrgid_r
    functionSourceFile: /src/lxc/src/include/getgrgid_r.c
    functionUses: 2
    functionsReached:
    - getgr_r
    linkageType: ''
    returnType: int
    signature: int getgrgid_r(gid_t gid, struct group *gr, char *buf, size_t size,
      struct group **res)
Fuzzer filename: /src/lxc/src/tests/fuzz-lxc-config-read.c
Fuzzing method: LLVMFuzzerTestOneInput
included-header-files:
- linux/unistd.h
- errno.h
- start.h
- sys/mkdev.h
- include/getsubopt.h
- limits.h
- ../lxc/compiler.h
- commands_utils.h
- linux/limits.h
- sys/epoll.h
- nl.h
- storage/storage_utils.h
- linux/landlock.h
- syslog.h
- idmap_utils.h
- sys/stat.h
- storage/btrfs.h
- assert.h
- lxc/attach_options.h
- af_unix.h
- macro.h
- linux/if_link.h
- syscall_wrappers.h
- nbd.h
- sys/file.h
- terminal.h
- pty.h
- strchrnul.h
- liburing.h
- linux/if_addr.h
- storage/storage.h
- uuid.h
- list.h
- monitor.h
- execinfo.h
- network.h
- stdlib.h
- mount_utils.h
- ../lxc/memory_utils.h
- confile_utils.h
- cgroup2_devices.h
- open_utils.h
- inttypes.h
- rsync.h
- sys/eventfd.h
- strlcpy.h
- file_utils.h
- netns_ifaddrs.h
- sys/personality.h
- cgroups/cgroup2_devices.h
- stddef.h
- sys/sendfile.h
- stdio.h
- ringbuf.h
- string_utils.h
- signal.h
- lsm/lsm.h
- linux/rtnetlink.h
- malloc.h
- sys/syscall.h
- bpf_common.h
- sys/param.h
- linux/if_packet.h
- sys/vfs.h
- getopt.h
- error_utils.h
- strlcat.h
- byteswap.h
- lxccontainer.h
- api_extensions.h
- linux/magic.h
- linux/loop.h
- termios.h
- initutils.h
- loop.h
- include/strlcpy.h
- process_utils.h
- cgroups/cgroup_utils.h
- grp.h
- net/if_arp.h
- string.h
- asm/unistd.h
- sys/ioctl.h
- hlist.h
- seccomp.h
- linux/types.h
- sys/inotify.h
- linux/if.h
- pthread.h
- fcntl.h
- ctype.h
- storage/overlay.h
- lvm.h
- sys/wait.h
- dlog.h
- strings.h
- security/pam_modules.h
- sys/pidfd.h
- sys/un.h
- stdint.h
- sys/prctl.h
- linux/seccomp.h
- attach_options.h
- btrfs.h
- linux/kdev_t.h
- arpa/inet.h
- dbus/dbus.h
- ../lxc/lxc.h
- compiler.h
- sys/statvfs.h
- sys/capability.h
- sys/types.h
- syscall_numbers.h
- lxcseccomp.h
- sys/signalfd.h
- netinet/in.h
- version.h
- unistd.h
- selinux/selinux.h
- sys/sysmacros.h
- lxclock.h
- sys/uio.h
- lxctest.h
- poll.h
- confile.h
- sys/resource.h
- lxc.h
- rexec.h
- cgroup.h
- commands.h
- sync.h
- pwd.h
- dirent.h
- memory_utils.h
- sys/select.h
- overlay.h
- features.h
- setjmp.h
- config.h
- linux/memfd.h
- lsm.h
- attach.h
- regex.h
- storage.h
- rbd.h
- namespace.h
- error.h
- storage_utils.h
- net/if.h
- security/_pam_macros.h
- sys/utsname.h
- semaphore.h
- mntent.h
- stdarg.h
- openssl/evp.h
- sys/mman.h
- state.h
- sys/time.h
- linux/ioctl.h
- log.h
- linux/sockios.h
- time.h
- linux/keyctl.h
- sys/mount.h
- sched.h
- sys/socket.h
- conf.h
- cgroup_utils.h
- sys/reboot.h
- net/ethernet.h
- asm/types.h
- rtnl.h
- arguments.h
- stdbool.h
- mainloop.h
- utils.h
- linux/reboot.h
- zfs.h
- bpf.h
- cgroups/cgroup.h
- criu.h
- libgen.h
- linux/netlink.h
- parse.h
- alloca.h
- caps.h
- lxc/lxccontainer.h
- dir.h
report: name
sources:
- function_names:
  - setns
  - mount_free
  - mount_cmp_dst
  - mount_should_error
  - read_mounts
  - main
  source_file: /src/lxc/hooks/unmount-namespace.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: O_PATH
      pos:
        line_end: 29
        line_start: 28
        source_file: /src/lxc/hooks/unmount-namespace.c
      type_or_value: '010000000'
    structs:
    - fields:
      - name: '*src'
        type: char
      - name: '*dst'
        type: char
      - name: '*fs'
        type: char
      item_type: struct
      name: mount
      pos:
        line_end: 50
        line_start: 46
        source_file: /src/lxc/hooks/unmount-namespace.c
    typedefs: []
    union: []
- function_names:
  - LLVMFuzzerTestOneInput
  source_file: /src/lxc/src/tests/fuzz-lxc-config-read.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/console_log.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_debug_stream
  - lxc_error
  - lxc_debug
  - lxc_test_assert_stringify
  - lxc_test_assert_abort
  - test_error_ret
  source_file: /src/lxc/src/tests/lxctest.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - destroy_container
  - create_container
  - main
  source_file: /src/lxc/src/tests/shortlived.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/tests/shortlived.c
      type_or_value: '"shortlived"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - LLVMFuzzerTestOneInput
  source_file: /src/lxc/src/tests/fuzz-lxc-cgroup-init.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - has_mount_properties
  - rootfs_options
  - main
  source_file: /src/lxc/src/tests/rootfs_options.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - try_to_remove
  - main
  source_file: /src/lxc/src/tests/snapshot.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/tests/snapshot.c
      type_or_value: '"snapxxx1"'
    - item_type: preproc_def
      name: MYNAME2
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/tests/snapshot.c
      type_or_value: '"snapxxx3"'
    - item_type: preproc_def
      name: RESTNAME
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/tests/snapshot.c
      type_or_value: '"snapxxx2"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - TSTERR
  - main
  source_file: /src/lxc/src/tests/lxcpath.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 22
        line_start: 21
        source_file: /src/lxc/src/tests/lxcpath.c
      type_or_value: '"lxctest1"'
    - item_type: preproc_def
      name: CPATH
      pos:
        line_end: 48
        line_start: 47
        source_file: /src/lxc/src/tests/lxcpath.c
      type_or_value: '"/boo"'
    - item_type: preproc_def
      name: FPATH
      pos:
        line_end: 49
        line_start: 48
        source_file: /src/lxc/src/tests/lxcpath.c
      type_or_value: '"/boo/lxctest1/config"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/device_add_remove.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: NAME
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/tests/device_add_remove.c
      type_or_value: '"device_add_remove_test"'
    - item_type: preproc_def
      name: DEVICE
      pos:
        line_end: 22
        line_start: 21
        source_file: /src/lxc/src/tests/device_add_remove.c
      type_or_value: '"/dev/loop-control"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - test_list_func
  - main
  source_file: /src/lxc/src/tests/list.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/criu_check_feature.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - check_oom_score_adj
  - main
  source_file: /src/lxc/src/tests/proc_pid.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: CONTAINER_NAME
      pos:
        line_end: 14
        line_start: 13
        source_file: /src/lxc/src/tests/proc_pid.c
      type_or_value: '"test-proc-pid"'
    - item_type: preproc_def
      name: PROC_INIT_PATH
      pos:
        line_end: 15
        line_start: 14
        source_file: /src/lxc/src/tests/proc_pid.c
      type_or_value: '"/proc/1/oom_score_adj"'
    - item_type: preproc_def
      name: PROC_SELF_PATH
      pos:
        line_end: 16
        line_start: 15
        source_file: /src/lxc/src/tests/proc_pid.c
      type_or_value: '"/proc/self/oom_score_adj"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - set_get_compare_clear_save_load
  - set_and_clear_complete_netdev
  - set_invalid_netdev
  - test_idmap_parser
  - set_get_compare_clear_save_load_network
  source_file: /src/lxc/src/tests/parse_config_file.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: is_valid
        type: bool
      - name: '*idmap'
        type: char
      item_type: struct
      name: idmap_check
      pos:
        line_end: 207
        line_start: 204
        source_file: /src/lxc/src/tests/parse_config_file.c
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/basic.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/clonetest.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/tests/clonetest.c
      type_or_value: '"clonetest1"'
    - item_type: preproc_def
      name: MYNAME2
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/tests/clonetest.c
      type_or_value: '"clonetest2"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/createtest.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/tests/createtest.c
      type_or_value: '"lxctest1"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - check_sysctls
  - main
  source_file: /src/lxc/src/tests/sysctls.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: CONTAINER_NAME
      pos:
        line_end: 14
        line_start: 13
        source_file: /src/lxc/src/tests/sysctls.c
      type_or_value: '"test-proc-sys"'
    - item_type: preproc_def
      name: SYSCTL_PATH
      pos:
        line_end: 15
        line_start: 14
        source_file: /src/lxc/src/tests/sysctls.c
      type_or_value: '"/proc/sys/net/ipv4/ip_forward"'
    - item_type: preproc_def
      name: SYSCTL_CONFIG_KEY
      pos:
        line_end: 16
        line_start: 15
        source_file: /src/lxc/src/tests/sysctls.c
      type_or_value: '"lxc.sysctl.net.ipv4.ip_forward"'
    - item_type: preproc_def
      name: SYSCTL_CONFIG_VALUE
      pos:
        line_end: 17
        line_start: 16
        source_file: /src/lxc/src/tests/sysctls.c
      type_or_value: '"1"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - parse_valid_architectures
  - main
  source_file: /src/lxc/src/tests/arch_parse.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - destroy_container
  - create_container
  - main
  source_file: /src/lxc/src/tests/cve-2019-5736.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 23
        line_start: 22
        source_file: /src/lxc/src/tests/cve-2019-5736.c
      type_or_value: '"shortlived"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - read_file
  - try_to_remove
  - test_attach_write_file
  - do_test_file_open
  - test_aa_policy
  - main
  source_file: /src/lxc/src/tests/aa.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 17
        line_start: 16
        source_file: /src/lxc/src/tests/aa.c
      type_or_value: '"test-aa"'
    - item_type: preproc_def
      name: MYNAME2
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/tests/aa.c
      type_or_value: '"test-aa-o1"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/get_item.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/tests/get_item.c
      type_or_value: '"lxctest1"'
    - item_type: preproc_def
      name: HNAME
      pos:
        line_end: 205
        line_start: 204
        source_file: /src/lxc/src/tests/get_item.c
      type_or_value: '"hostname1"'
    - item_type: preproc_def
      name: LIMIT_STACK
      pos:
        line_end: 296
        line_start: 295
        source_file: /src/lxc/src/tests/get_item.c
      type_or_value: '"lxc.prlimit.stack = unlimited\n"'
    - item_type: preproc_def
      name: ALL_LIMITS
      pos:
        line_end: 297
        line_start: 296
        source_file: /src/lxc/src/tests/get_item.c
      type_or_value: '"lxc.prlimit.nofile = 1234:unlimited\n" LIMIT_STACK'
    - item_type: preproc_def
      name: SYSCTL_SOMAXCONN
      pos:
        line_end: 327
        line_start: 326
        source_file: /src/lxc/src/tests/get_item.c
      type_or_value: '"lxc.sysctl.net.core.somaxconn = 256\n"'
    - item_type: preproc_def
      name: ALL_SYSCTLS
      pos:
        line_end: 328
        line_start: 327
        source_file: /src/lxc/src/tests/get_item.c
      type_or_value: '"lxc.sysctl.net.ipv4.ip_forward = 1\n" SYSCTL_SOMAXCONN'
    - item_type: preproc_def
      name: PROC_OOM_SCORE_ADJ
      pos:
        line_end: 399
        line_start: 398
        source_file: /src/lxc/src/tests/get_item.c
      type_or_value: '"lxc.proc.oom_score_adj = 10\n"'
    - item_type: preproc_def
      name: ALL_PROCS
      pos:
        line_end: 400
        line_start: 399
        source_file: /src/lxc/src/tests/get_item.c
      type_or_value: '"lxc.proc.setgroups = allow\n" PROC_OOM_SCORE_ADJ'
    structs: []
    typedefs: []
    union: []
- function_names:
  - do_reboot
  - test_reboot
  - have_reboot_patch
  - main
  source_file: /src/lxc/src/tests/reboot.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - TSTERR
  - test_console_close_all
  - test_console_running_container
  - test_console
  - main
  source_file: /src/lxc/src/tests/console.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: TTYCNT
      pos:
        line_end: 17
        line_start: 16
        source_file: /src/lxc/src/tests/console.c
      type_or_value: '4'
    - item_type: preproc_def
      name: TTYCNT_STR
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/tests/console.c
      type_or_value: '"4"'
    - item_type: preproc_def
      name: TSTNAME
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/tests/console.c
      type_or_value: '"lxcconsoletest"'
    - item_type: preproc_def
      name: MAXCONSOLES
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/tests/console.c
      type_or_value: '512'
    structs: []
    typedefs: []
    union: []
- function_names:
  - TSTOUT
  - TSTERR
  - test_lsm_detect
  - test_attach_lsm_set_config
  - test_attach_lsm_func_func
  - test_attach_lsm_func
  - test_attach_lsm_cmd
  - test_attach_lsm_set_config
  - test_attach_lsm_func
  - test_attach_lsm_cmd
  - test_attach_func_func
  - test_attach_func
  - test_attach_cmd
  - test_ct_destroy
  - test_ct_create
  - test_attach
  - main
  source_file: /src/lxc/src/tests/attach.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: TSTNAME
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/tests/attach.c
      type_or_value: '"lxc-attach-test"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - usage
  - main
  source_file: /src/lxc/src/tests/may_control.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/api_reboot.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: TSTNAME
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/tests/api_reboot.c
      type_or_value: '"lxc-api-reboot"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - capabilities_allow
  - capabilities_deny
  - run
  - capabilities_init
  - capabilities_exit
  - main
  - main
  source_file: /src/lxc/src/tests/capabilities.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - ns_sharing_wrapper
  - main
  source_file: /src/lxc/src/tests/share_ns.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: TEST_DEFAULT_BUF_SIZE
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/tests/share_ns.c
      type_or_value: '256'
    structs:
    - fields:
      - name: thread_id
        type: int
      - name: success
        type: bool
      - name: init_pid
        type: pid_t
      - name: inherited_ipc_ns[TEST_DEFAULT_BUF_SIZE]
        type: char
      - name: inherited_net_ns[TEST_DEFAULT_BUF_SIZE]
        type: char
      item_type: struct
      name: thread_args
      pos:
        line_end: 32
        line_start: 26
        source_file: /src/lxc/src/tests/share_ns.c
    typedefs: []
    union: []
- function_names:
  - state_wrapper
  - main
  source_file: /src/lxc/src/tests/state_server.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: thread_id
        type: int
      - name: timeout
        type: int
      - name: success
        type: bool
      - name: '*c'
        type: struct lxc_container
      item_type: struct
      name: thread_args
      pos:
        line_end: 29
        line_start: 24
        source_file: /src/lxc/src/tests/state_server.c
    typedefs: []
    union: []
- function_names:
  - test_lxc_path_simplify
  - test_detect_ramfs_rootfs
  - test_lxc_safe_uint
  - test_lxc_safe_int
  - test_lxc_safe_long
  - test_lxc_string_replace
  - test_lxc_string_in_array
  - test_parse_byte_size_string
  - test_lxc_config_net_is_hwaddr
  - test_task_blocks_signal
  - test_is_in_comm
  - main
  source_file: /src/lxc/src/tests/lxc-test-utils.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: __MNTNS_LEN
      pos:
        line_end: 69
        line_start: 68
        source_file: /src/lxc/src/tests/lxc-test-utils.c
      type_or_value: (5 + INTTYPE_TO_STRLEN(pid_t) + 7 + 1)
    structs: []
    typedefs: []
    union: []
- function_names:
  - destroy_container
  - create_container
  - main
  source_file: /src/lxc/src/tests/startone.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/tests/startone.c
      type_or_value: '"lxctest1"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - create_container
  - main
  source_file: /src/lxc/src/tests/saveconfig.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/tests/saveconfig.c
      type_or_value: '"lxctest1"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/config_jump_table.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - is_read_only
  - sys_mixed
  - main
  source_file: /src/lxc/src/tests/sys_mixed.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - test_two_locks
  - main
  source_file: /src/lxc/src/tests/locktests.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: mycontainername
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/tests/locktests.c
      type_or_value: '"lxctest.sem"'
    - item_type: preproc_def
      name: TIMEOUT_SECS
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/tests/locktests.c
      type_or_value: '3'
    structs: []
    typedefs: []
    union: []
- function_names:
  - destroy_busybox
  - create_busybox
  - main
  source_file: /src/lxc/src/tests/containertests.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/tests/containertests.c
      type_or_value: '"lxctest1"'
    - item_type: preproc_def
      name: CONFIGFNAM
      pos:
        line_end: 127
        line_start: 126
        source_file: /src/lxc/src/tests/containertests.c
      type_or_value: LXCPATH "/" MYNAME "/config"
    structs: []
    typedefs: []
    union: []
- function_names:
  - do_function
  - concurrent
  - main
  source_file: /src/lxc/src/tests/concurrent.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: thread_id
        type: int
      - name: return_code
        type: int
      - name: '*mode'
        type: char
      item_type: struct
      name: thread_args
      pos:
        line_end: 58
        line_start: 54
        source_file: /src/lxc/src/tests/concurrent.c
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/lxc_raw_clone.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - comp_field
  - find_in_proc_mounts
  - check_containers_mountinfo
  - perform_container_test
  - do_priv_container_test
  - do_unpriv_container_test
  - lxc_setup_shmount
  - lxc_teardown_shmount
  - main
  source_file: /src/lxc/src/tests/mount_injection.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: NAME
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/tests/mount_injection.c
      type_or_value: '"mount_injection_test-"'
    - item_type: preproc_def
      name: TEMPLATE
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/tests/mount_injection.c
      type_or_value: P_tmpdir"/mount_injection_XXXXXX"
    structs:
    - fields:
      - name: '*mount_root'
        type: char
      - name: '*mount_point'
        type: char
      - name: '*fstype'
        type: char
      - name: '*mount_source'
        type: char
      - name: '*message'
        type: char
      - name: should_be_present
        type: bool
      item_type: struct
      name: mountinfo_data
      pos:
        line_end: 34
        line_start: 27
        source_file: /src/lxc/src/tests/mount_injection.c
    typedefs: []
    union: []
- function_names:
  - create_container
  - main
  source_file: /src/lxc/src/tests/destroytest.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/tests/destroytest.c
      type_or_value: '"lxctest1"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/getkeys.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/tests/getkeys.c
      type_or_value: '"lxctest1"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - LLVMFuzzerTestOneInput
  source_file: /src/lxc/src/tests/fuzz-lxc-define-load.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - TSTERR
  - test_running_container
  - test_container
  - main
  source_file: /src/lxc/src/tests/cgpath.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 32
        line_start: 31
        source_file: /src/lxc/src/tests/cgpath.c
      type_or_value: '"lxctest1"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/tests/shutdowntest.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MYNAME
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/tests/shutdowntest.c
      type_or_value: '"lxctest1"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - parse_idmaps
  - lxc_config_value_empty
  - lxc_network_add
  - lxc_get_netdev_by_idx
  - list_for_each_entry
  - lxc_log_configured_netdevs
  - list_for_each_entry
  - lxc_clear_netdev
  - lxc_free_netdev
  - lxc_remove_nic_by_idx
  - lxc_free_networks
  - lxc_veth_mode_to_flag
  - lxc_veth_flag_to_mode
  - lxc_macvlan_mode_to_flag
  - lxc_macvlan_flag_to_mode
  - lxc_ipvlan_mode_to_flag
  - lxc_ipvlan_flag_to_mode
  - lxc_ipvlan_isolation_to_flag
  - lxc_ipvlan_flag_to_isolation
  - set_config_string_item
  - set_config_string_item_max
  - set_config_path_item
  - set_config_bool_item
  - config_ip_prefix
  - network_ifname
  - lxc_config_net_is_hwaddr
  - rand_complete_hwaddr
  - new_hwaddr
  - lxc_get_conf_str
  - lxc_get_conf_bool
  - lxc_get_conf_int
  - lxc_get_conf_size_t
  - lxc_get_conf_uint64
  - lxc_container_name_to_pid
  - lxc_inherit_namespace
  - sig_num
  - rt_sig_num
  - sig_parse
  source_file: /src/lxc/src/lxc/confile_utils.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: mode
        type: int
      item_type: struct
      name: lxc_veth_mode
      pos:
        line_end: 496
        line_start: 493
        source_file: /src/lxc/src/lxc/confile_utils.c
    - fields:
      - name: '*name'
        type: char
      - name: mode
        type: int
      item_type: struct
      name: lxc_macvlan_mode
      pos:
        line_end: 529
        line_start: 526
        source_file: /src/lxc/src/lxc/confile_utils.c
    - fields:
      - name: '*name'
        type: char
      - name: mode
        type: int
      item_type: struct
      name: lxc_ipvlan_mode
      pos:
        line_end: 564
        line_start: 561
        source_file: /src/lxc/src/lxc/confile_utils.c
    - fields:
      - name: '*name'
        type: char
      - name: flag
        type: int
      item_type: struct
      name: lxc_ipvlan_isolation
      pos:
        line_end: 598
        line_start: 595
        source_file: /src/lxc/src/lxc/confile_utils.c
    - fields:
      - name: num
        type: int
      - name: '*name'
        type: char
      item_type: struct
      name: signame
      pos:
        line_end: 936
        line_start: 933
        source_file: /src/lxc/src/lxc/confile_utils.c
    typedefs: []
    union: []
- function_names:
  - lxc_init_list
  - lxc_list_for_each
  - lxc_list_for_each_safe
  - lxc_list_init
  - lxc_list_add_elem
  - lxc_list_first_elem
  - lxc_list_last_elem
  - lxc_list_empty
  - __lxc_list_add
  - lxc_list_add
  - lxc_list_add_tail
  - lxc_list_del
  - lxc_list_len
  - lxc_list_for_each
  - lxc_list_new
  source_file: /src/lxc/src/lxc/list.h
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*elem'
        type: void
      - name: '*next'
        type: struct lxc_list
      - name: '*prev'
        type: struct lxc_list
      item_type: struct
      name: lxc_list
      pos:
        line_end: 15
        line_start: 11
        source_file: /src/lxc/src/lxc/list.h
    typedefs: []
    union: []
- function_names:
  - lxc_namespace_2_cloneflag
  - lxc_namespace_2_ns_idx
  - lxc_namespace_2_std_identifiers
  - lxc_fill_namespace_flags
  source_file: /src/lxc/src/lxc/namespace.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_ringbuf_create
  - lxc_ringbuf_move_read_addr
  - lxc_ringbuf_write
  - lxc_ringbuf_read
  source_file: /src/lxc/src/lxc/ringbuf.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/uuid.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: _GNU_SOURCE
      pos:
        line_end: 7
        line_start: 6
        source_file: /src/lxc/src/lxc/uuid.h
      type_or_value: '1'
    structs: []
    typedefs:
    - item_type: typedef
      name: lxc_id128_t
      pos:
        line_end: 13
        line_start: 13
        source_file: /src/lxc/src/lxc/uuid.h
      type: lxc_id128
    union:
    - fields:
      - name: bytes[16]
        type: uint8_t
      - name: qwords[2]
        type: uint64_t
      item_type: union
      name: lxc_id128
      pos:
        line_end: 18
        line_start: 15
        source_file: /src/lxc/src/lxc/uuid.h
- function_names: []
  source_file: /src/lxc/src/lxc/criu.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_cmd_init
  - lxc_cmd_data
  source_file: /src/lxc/src/lxc/commands.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_CMD_REAP_CLIENT_FD
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/commands.h
      type_or_value: '1'
    - item_type: preproc_def
      name: LXC_CMD_KEEP_CLIENT_FD
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/commands.h
      type_or_value: '2'
    - item_type: preproc_def
      name: ENCODE_INTO_PTR_LEN
      pos:
        line_end: 65
        line_start: 64
        source_file: /src/lxc/src/lxc/commands.h
      type_or_value: '0'
    structs:
    - fields:
      - name: cmd
        type: lxc_cmd_t
      - name: datalen
        type: int
      - name: '*data'
        type: void
      item_type: struct
      name: lxc_cmd_req
      pos:
        line_end: 62
        line_start: 58
        source_file: /src/lxc/src/lxc/commands.h
    - fields:
      - name: ret
        type: int
      - name: datalen
        type: int
      - name: '*data'
        type: void
      item_type: struct
      name: lxc_cmd_rsp
      pos:
        line_end: 70
        line_start: 66
        source_file: /src/lxc/src/lxc/commands.h
    - fields:
      - name: req
        type: struct lxc_cmd_req
      - name: rsp
        type: struct lxc_cmd_rsp
      item_type: struct
      name: lxc_cmd_rr
      pos:
        line_end: 75
        line_start: 72
        source_file: /src/lxc/src/lxc/commands.h
    - fields:
      - name: ptxfd
        type: int
      - name: ttynum
        type: int
      item_type: struct
      name: lxc_cmd_tty_rsp_data
      pos:
        line_end: 94
        line_start: 91
        source_file: /src/lxc/src/lxc/commands.h
    - fields:
      - name: clear
        type: bool
      - name: read
        type: bool
      - name: read_max
        type: uint64_t
      - name: write_logfile
        type: bool
      item_type: struct
      name: lxc_cmd_console_log
      pos:
        line_end: 102
        line_start: 96
        source_file: /src/lxc/src/lxc/commands.h
    typedefs: []
    union: []
- function_names:
  - lxc_ringbuf_release
  - lxc_ringbuf_clear
  - lxc_ringbuf_used
  - lxc_ringbuf_free
  - lxc_ringbuf_get_read_addr
  - lxc_ringbuf_get_write_addr
  - lxc_ringbuf_move_write_addr
  source_file: /src/lxc/src/lxc/ringbuf.h
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*addr'
        type: char
      - name: size
        type: uint64_t
      - name: r_off
        type: uint64_t
      - name: w_off
        type: uint64_t
      item_type: struct
      name: lxc_ringbuf
      pos:
        line_end: 28
        line_start: 23
        source_file: /src/lxc/src/lxc/ringbuf.h
    typedefs: []
    union: []
- function_names:
  - do_freeze_thaw
  - lxc_freeze
  - lxc_unfreeze
  source_file: /src/lxc/src/lxc/freezer.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/commands_utils.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_log_priority_is_enabled
  - lxc_log_priority_to_string
  - lxc_syslog_priority_to_string
  - lxc_log_priority_to_int
  - lxc_syslog_priority_to_int
  - __lxc_log_append
  - __lxc_log
  - lxc_log_priority_define
  - lxc_log_category_define
  - lxc_log_define
  - lxc_log_category_priority
  - TRACE
  - DEBUG
  - INFO
  - NOTICE
  - WARN
  - ERROR
  - CRIT
  - ALERT
  - FATAL
  - SYSTRACE
  - SYSTRACE
  - SYSDEBUG
  - SYSDEBUG
  - SYSINFO
  - SYSINFO
  - SYSNOTICE
  - SYSNOTICE
  - SYSWARN
  - SYSWARN
  - SYSERROR
  - SYSERROR
  - CMD_SYSERROR
  - CMD_SYSERROR
  - CMD_SYSINFO
  - CMD_SYSINFO
  - log_error_errno
  - log_error
  - log_trace_errno
  - log_trace
  - log_warn_errno
  - log_warn
  - log_debug_errno
  - log_debug
  - log_info_errno
  - log_info
  - syserror
  - syserror_set
  - syserror_ret
  - error_ret
  - syswarn
  - syswarn_set
  - syswarn_ret
  - sysinfo
  - sysinfo_set
  - sysinfo_ret
  - sysdebug
  - sysdebug_set
  - sysdebug_ret
  - systrace
  - systrace_set
  - systrace_ret
  - lxc_log_trace
  source_file: /src/lxc/src/lxc/log.h
  types:
    enum:
    - enumerators:
      - name: LXC_LOG_LEVEL_TRACE
      - name: LXC_LOG_LEVEL_DEBUG
      - name: LXC_LOG_LEVEL_NOTICE
      - name: LXC_LOG_LEVEL_WARN
      - name: LXC_LOG_LEVEL_INFO
      - name: LXC_LOG_LEVEL_ERROR
      - name: LXC_LOG_LEVEL_CRIT
      - name: LXC_LOG_LEVEL_ALERT
      - name: LXC_LOG_LEVEL_FATAL
      - name: LXC_LOG_LEVEL_NOTSET
      item_type: enum
      name: lxc_loglevel
      pos:
        line_end: 43
        line_start: 32
        source_file: /src/lxc/src/lxc/log.h
    preproc_defs:
    - item_type: preproc_def
      name: O_CLOEXEC
      pos:
        line_end: 22
        line_start: 21
        source_file: /src/lxc/src/lxc/log.h
      type_or_value: '02000000'
    - item_type: preproc_def
      name: F_DUPFD_CLOEXEC
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/log.h
      type_or_value: '1030'
    - item_type: preproc_def
      name: LXC_LOG_PREFIX_SIZE
      pos:
        line_end: 29
        line_start: 28
        source_file: /src/lxc/src/lxc/log.h
      type_or_value: '32'
    - item_type: preproc_def
      name: LXC_LOG_BUFFER_SIZE
      pos:
        line_end: 30
        line_start: 29
        source_file: /src/lxc/src/lxc/log.h
      type_or_value: '4096'
    - item_type: preproc_def
      name: LXC_LOG_LOCINFO_INIT
      pos:
        line_end: 54
        line_start: 52
        source_file: /src/lxc/src/lxc/log.h
      type_or_value: "{ .file = __FILE__, .func = __func__, .line = __LINE__\t}"
    - item_type: preproc_def
      name: lxc_log_strerror_r
      pos:
        line_end: 323
        line_start: 313
        source_file: /src/lxc/src/lxc/log.h
      type_or_value: "char errno_buf[PATH_MAX / 2] = {\"Failed to get errno string\"};
        \  \\\n\t\t\tchar *ptr = NULL;                                                \\\n\t\t\t{
        \                                                               \\\n\t\t\t\tint
        __saved_errno = errno;\t\t\t\t \\\n\t\t\t\tptr = strerror_r(errno, errno_buf,
        sizeof(errno_buf));   \\\n\t\t\t\terrno = __saved_errno;\t\t\t\t\t \\\n\t\t\t\tif
        (!ptr)                                                \\\n\t\t\t\t\tptr =
        errno_buf;                                 \\\n\t\t\t}"
    - item_type: preproc_def
      name: lxc_log_strerror_r
      pos:
        line_end: 332
        line_start: 324
        source_file: /src/lxc/src/lxc/log.h
      type_or_value: "char errno_buf[PATH_MAX / 2] = {\"Failed to get errno string\"};
        \  \\\n\t\t\tchar *ptr = errno_buf;                                           \\\n\t\t\t{
        \                                                               \\\n\t\t\t\tint
        __saved_errno = errno;\t\t\t\t \\\n\t\t\t\t(void)strerror_r(errno, errno_buf,
        sizeof(errno_buf));   \\\n\t\t\t\terrno = __saved_errno;\t\t\t\t\t \\\n\t\t\t}"
    - item_type: preproc_def
      name: lxc_log_strerror_r
      pos:
        line_end: 341
        line_start: 336
        source_file: /src/lxc/src/lxc/log.h
      type_or_value: "char *ptr = NULL;              \t\t\t\t\t\t \\\n\t\t{                              \t\t\t\t\t\t
        \\\n\t\t\tptr = strerror(errno); \t\t\t\t\t\t \\\n\t\t}"
    structs:
    - fields:
      - name: '*file'
        type: char
      - name: '*func'
        type: char
      - name: line
        type: int
      item_type: struct
      name: lxc_log_locinfo
      pos:
        line_end: 50
        line_start: 46
        source_file: /src/lxc/src/lxc/log.h
    - fields:
      - name: '*category'
        type: char
      - name: priority
        type: int
      - name: timestamp
        type: struct timespec
      - name: '*locinfo'
        type: struct lxc_log_locinfo
      - name: '*fmt'
        type: char
      - name: '*vap'
        type: va_list
      item_type: struct
      name: lxc_log_event
      pos:
        line_end: 63
        line_start: 56
        source_file: /src/lxc/src/lxc/log.h
    - fields:
      - name: '*name'
        type: char
      - name: (*append)(const struct lxc_log_appender *, struct lxc_log_event *)
        type: int
      - name: '*next'
        type: struct lxc_log_appender
      item_type: struct
      name: lxc_log_appender
      pos:
        line_end: 74
        line_start: 66
        source_file: /src/lxc/src/lxc/log.h
    - fields:
      - name: '*name'
        type: char
      - name: priority
        type: int
      - name: '*appender'
        type: struct lxc_log_appender
      - name: '*parent'
        type: struct lxc_log_category
      item_type: struct
      name: lxc_log_category
      pos:
        line_end: 82
        line_start: 77
        source_file: /src/lxc/src/lxc/log.h
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/network.h
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: addr
        type: struct in_addr
      - name: bcast
        type: struct in_addr
      - name: prefix
        type: unsigned int
      - name: head
        type: struct list_head
      item_type: struct
      name: lxc_inetdev
      pos:
        line_end: 44
        line_start: 39
        source_file: /src/lxc/src/lxc/network.h
    - fields:
      - name: addr
        type: struct in6_addr
      - name: mcast
        type: struct in6_addr
      - name: acast
        type: struct in6_addr
      - name: prefix
        type: unsigned int
      - name: head
        type: struct list_head
      item_type: struct
      name: lxc_inet6dev
      pos:
        line_end: 59
        line_start: 53
        source_file: /src/lxc/src/lxc/network.h
    - fields:
      - name: pair[IFNAMSIZ]
        type: char
      - name: veth1[IFNAMSIZ]
        type: char
      - name: ifindex
        type: int
      - name: ipv4_routes
        type: struct list_head
      - name: ipv6_routes
        type: struct list_head
      - name: mode
        type: int
      - name: n_rxqueues
        type: int
      - name: n_txqueues
        type: int
      - name: vlan_id
        type: short
      - name: vlan_id_set
        type: bool
      - name: vlan_tagged_ids
        type: struct lxc_list
      item_type: struct
      name: ifla_veth
      pos:
        line_end: 84
        line_start: 72
        source_file: /src/lxc/src/lxc/network.h
    - fields:
      - name: flags
        type: unsigned int
      - name: fmask
        type: unsigned int
      - name: vid
        type: unsigned short
      - name: pad
        type: unsigned short
      item_type: struct
      name: ifla_vlan
      pos:
        line_end: 91
        line_start: 86
        source_file: /src/lxc/src/lxc/network.h
    - fields:
      - name: mode
        type: int
      item_type: struct
      name: ifla_macvlan
      pos:
        line_end: 95
        line_start: 93
        source_file: /src/lxc/src/lxc/network.h
    - fields:
      - name: mode
        type: int
      - name: isolation
        type: int
      item_type: struct
      name: ifla_ipvlan
      pos:
        line_end: 100
        line_start: 97
        source_file: /src/lxc/src/lxc/network.h
    - fields:
      - name: ifindex
        type: int
      - name: '**altnames'
        type: char
      - name: mtu
        type: int
      item_type: struct
      name: ifla_phys
      pos:
        line_end: 110
        line_start: 106
        source_file: /src/lxc/src/lxc/network.h
    - fields:
      - name: idx
        type: ssize_t
      - name: ifindex
        type: int
      - name: type
        type: int
      - name: flags
        type: int
      - name: link[IFNAMSIZ]
        type: char
      - name: l2proxy
        type: bool
      - name: name[IFNAMSIZ]
        type: char
      - name: created_name[IFNAMSIZ]
        type: char
      - name: transient_name[IFNAMSIZ]
        type: char
      - name: '*hwaddr'
        type: char
      - name: '*mtu'
        type: char
      - name: priv
        type: union netdev_p
      - name: ipv4_addresses
        type: struct list_head
      - name: ipv6_addresses
        type: struct list_head
      - name: ipv4_gateway_auto
        type: bool
      - name: ipv4_gateway_dev
        type: bool
      - name: '*ipv4_gateway'
        type: struct in_addr
      - name: ipv6_gateway_auto
        type: bool
      - name: ipv6_gateway_dev
        type: bool
      - name: '*ipv6_gateway'
        type: struct in6_addr
      - name: '*upscript'
        type: char
      - name: '*downscript'
        type: char
      - name: head
        type: struct list_head
      item_type: struct
      name: lxc_netdev
      pos:
        line_end: 183
        line_start: 159
        source_file: /src/lxc/src/lxc/network.h
    typedefs: []
    union:
    - fields:
      - name: macvlan_attr
        type: struct ifla_macvlan
      - name: ipvlan_attr
        type: struct ifla_ipvlan
      - name: phys_attr
        type: struct ifla_phys
      - name: veth_attr
        type: struct ifla_veth
      - name: vlan_attr
        type: struct ifla_vlan
      item_type: union
      name: netdev_p
      pos:
        line_end: 118
        line_start: 112
        source_file: /src/lxc/src/lxc/network.h
- function_names:
  - lxc_error_set_and_log
  source_file: /src/lxc/src/lxc/error.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - push_vargs
  - parse_argv
  - is_memfd
  - lxc_rexec_as_memfd
  - lxc_rexec
  - liblxc_rexec
  source_file: /src/lxc/src/lxc/rexec.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_MEMFD_REXEC_SEALS
      pos:
        line_end: 23
        line_start: 21
        source_file: /src/lxc/src/lxc/rexec.c
      type_or_value: (F_SEAL_SEAL | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE)
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_state2str
  - lxc_str2state
  - lxc_getstate
  - fillwaitedstates
  - lxc_wait
  source_file: /src/lxc/src/lxc/state.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - RTNLMSG_DATA
  source_file: /src/lxc/src/lxc/rtnl.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: RTNLMSG_GOOD_SIZE
      pos:
        line_end: 13
        line_start: 12
        source_file: /src/lxc/src/lxc/rtnl.h
      type_or_value: NLMSG_GOOD_SIZE
    structs:
    - fields:
      - name: nlh
        type: struct nl_handler
      item_type: struct
      name: rtnl_handler
      pos:
        line_end: 23
        line_start: 21
        source_file: /src/lxc/src/lxc/rtnl.h
    - fields:
      - name: nlmsghdr
        type: struct nlmsghdr
      item_type: struct
      name: rtnlmsg
      pos:
        line_end: 35
        line_start: 33
        source_file: /src/lxc/src/lxc/rtnl.h
    typedefs: []
    union: []
- function_names:
  - lxc_cmd_sock_rcv_state
  - lxc_cmd_sock_get_state
  - lxc_make_abstract_socket_name
  - lxc_cmd_connect
  - lxc_add_state_client
  - lxc_cmd_notify_state_listeners
  source_file: /src/lxc/src/lxc/commands_utils.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - make_v4_uuid
  - get_random_bytes
  - lxc_id128_randomize
  - hexchar
  - id128_to_uuid_string
  - lxc_id128_write_fd
  - lxc_id128_write
  source_file: /src/lxc/src/lxc/uuid.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_set_cloexec
  - __auto_lxc_pclose__
  - am_guest_unpriv
  - am_host_unpriv
  - switch_to_ns
  - lxc_getpagesize
  - uid_valid
  - gid_valid
  - copy_struct_from_client
  - copy_struct_to_client
  - is_in_comm
  source_file: /src/lxc/src/lxc/utils.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: __do_lxc_pclose
      pos:
        line_end: 69
        line_start: 68
        source_file: /src/lxc/src/lxc/utils.h
      type_or_value: __attribute__((__cleanup__(__auto_lxc_pclose__)))
    - item_type: preproc_def
      name: FNV1A_64_INIT
      pos:
        line_end: 130
        line_start: 129
        source_file: /src/lxc/src/lxc/utils.h
      type_or_value: ((uint64_t)0xcbf29ce484222325ULL)
    structs:
    - fields:
      - name: pipe
        type: int
      - name: '*f'
        type: FILE
      - name: child_pid
        type: pid_t
      item_type: struct
      name: lxc_popen_FILE
      pos:
        line_end: 45
        line_start: 41
        source_file: /src/lxc/src/lxc/utils.h
    typedefs: []
    union: []
- function_names:
  - rtnetlink_open
  - rtnetlink_close
  - rtnetlink_rcv
  - rtnetlink_send
  - rtnetlink_transaction
  - rtnlmsg_alloc
  - rtnlmsg_free
  source_file: /src/lxc/src/lxc/rtnl.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/syscall_numbers.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '288'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '250'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 30
        line_start: 29
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '311'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 32
        line_start: 31
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '311'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 34
        line_start: 33
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '280'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '271'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 38
        line_start: 37
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '219'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 40
        line_start: 39
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '283'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 42
        line_start: 41
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (249 + 1024)
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 45
        line_start: 44
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4282'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 48
        line_start: 47
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6245'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 51
        line_start: 50
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5241'
    - item_type: preproc_def
      name: __NR_keyctl
      pos:
        line_end: 54
        line_start: 53
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '219'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 62
        line_start: 61
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '356'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 64
        line_start: 63
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '319'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 66
        line_start: 65
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '385'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 68
        line_start: 67
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '279'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 70
        line_start: 69
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '350'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 72
        line_start: 71
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '360'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 74
        line_start: 73
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '279'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 76
        line_start: 75
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '348'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 78
        line_start: 77
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '390'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 80
        line_start: 79
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '1340'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 83
        line_start: 82
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4354'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 86
        line_start: 85
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6318'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 89
        line_start: 88
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5314'
    - item_type: preproc_def
      name: __NR_memfd_create
      pos:
        line_end: 92
        line_start: 91
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '279'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 100
        line_start: 99
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '217'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 102
        line_start: 101
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '155'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 104
        line_start: 103
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '218'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 106
        line_start: 105
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '218'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 108
        line_start: 107
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '217'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 110
        line_start: 109
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '203'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 112
        line_start: 111
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '41'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 114
        line_start: 113
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '146'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 116
        line_start: 115
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (183 + 1024)
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 119
        line_start: 118
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4216'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 122
        line_start: 121
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6151'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 125
        line_start: 124
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5151'
    - item_type: preproc_def
      name: __NR_pivot_root
      pos:
        line_end: 128
        line_start: 127
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '41'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 136
        line_start: 135
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '346'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 138
        line_start: 137
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '308'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 140
        line_start: 139
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '375'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 142
        line_start: 141
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '375'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 144
        line_start: 143
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '339'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 146
        line_start: 145
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '350'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 148
        line_start: 147
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '268'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 150
        line_start: 149
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '337'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 152
        line_start: 151
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (306 + 1024)
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 155
        line_start: 154
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4344'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 158
        line_start: 157
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6308'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 161
        line_start: 160
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5303'
    - item_type: preproc_def
      name: __NR_setns
      pos:
        line_end: 164
        line_start: 163
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '268'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 172
        line_start: 171
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '74'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 174
        line_start: 173
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '170'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 176
        line_start: 175
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '74'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 178
        line_start: 177
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '74'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 180
        line_start: 179
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '74'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 182
        line_start: 181
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '74'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 184
        line_start: 183
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '161'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 186
        line_start: 185
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '88'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 188
        line_start: 187
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (59 + 1024)
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 191
        line_start: 190
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '474'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 194
        line_start: 193
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6165'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 197
        line_start: 196
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5165'
    - item_type: preproc_def
      name: __NR_sethostname
      pos:
        line_end: 200
        line_start: 199
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '161'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 208
        line_start: 207
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '321'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 210
        line_start: 209
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '282'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 212
        line_start: 211
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '349'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 214
        line_start: 213
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '349'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 216
        line_start: 215
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '316'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 218
        line_start: 217
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '305'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 220
        line_start: 219
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '74'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 222
        line_start: 221
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '311'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 224
        line_start: 223
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (283 + 1024)
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 227
        line_start: 226
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4317'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 230
        line_start: 229
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6280'
    - item_type: preproc_def
      name: __NR_signalfd
      pos:
        line_end: 233
        line_start: 232
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5276'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 240
        line_start: 239
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '327'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 242
        line_start: 241
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '289'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 244
        line_start: 243
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '355'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 246
        line_start: 245
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '355'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 248
        line_start: 247
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '322'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 250
        line_start: 249
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '313'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 252
        line_start: 251
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '74'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 254
        line_start: 253
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '317'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 256
        line_start: 255
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (289 + 1024)
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 259
        line_start: 258
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4324'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 262
        line_start: 261
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6287'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 265
        line_start: 264
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5283'
    - item_type: preproc_def
      name: __NR_signalfd4
      pos:
        line_end: 268
        line_start: 267
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '74'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 276
        line_start: 275
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '310'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 278
        line_start: 277
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '272'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 280
        line_start: 279
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '337'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 282
        line_start: 281
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '337'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 284
        line_start: 283
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '303'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 286
        line_start: 285
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '282'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 288
        line_start: 287
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '97'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 290
        line_start: 289
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '299'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 292
        line_start: 291
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (272 + 1024)
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 295
        line_start: 294
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4303'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 298
        line_start: 297
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6266'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 301
        line_start: 300
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5262'
    - item_type: preproc_def
      name: __NR_unshare
      pos:
        line_end: 304
        line_start: 303
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '97'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 312
        line_start: 311
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '357'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 314
        line_start: 313
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '321'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 316
        line_start: 315
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '386'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 318
        line_start: 317
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '386'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 320
        line_start: 319
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '351'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 322
        line_start: 321
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '361'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 324
        line_start: 323
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '280'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 326
        line_start: 325
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '349'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 328
        line_start: 327
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (317 + 1024)
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 331
        line_start: 330
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4355'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 334
        line_start: 333
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6319'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 337
        line_start: 336
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5315'
    - item_type: preproc_def
      name: __NR_bpf
      pos:
        line_end: 340
        line_start: 339
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '280'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 348
        line_start: 347
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '307'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 350
        line_start: 349
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '269'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 352
        line_start: 351
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '334'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 354
        line_start: 353
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '334'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 356
        line_start: 355
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '300'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 358
        line_start: 357
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '298'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 360
        line_start: 359
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '48'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 362
        line_start: 361
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '296'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 364
        line_start: 363
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (269 + 1024)
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 367
        line_start: 366
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4300'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 370
        line_start: 369
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6263'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 373
        line_start: 372
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5259'
    - item_type: preproc_def
      name: __NR_faccessat
      pos:
        line_end: 376
        line_start: 375
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '48'
    - item_type: preproc_def
      name: __NR_pidfd_send_signal
      pos:
        line_end: 384
        line_start: 383
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '534'
    - item_type: preproc_def
      name: __NR_pidfd_send_signal
      pos:
        line_end: 387
        line_start: 386
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4424'
    - item_type: preproc_def
      name: __NR_pidfd_send_signal
      pos:
        line_end: 390
        line_start: 389
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6424'
    - item_type: preproc_def
      name: __NR_pidfd_send_signal
      pos:
        line_end: 393
        line_start: 392
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5424'
    - item_type: preproc_def
      name: __NR_pidfd_send_signal
      pos:
        line_end: 396
        line_start: 395
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (424 + 1024)
    - item_type: preproc_def
      name: __NR_pidfd_send_signal
      pos:
        line_end: 398
        line_start: 397
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '424'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 404
        line_start: 403
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '354'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 406
        line_start: 405
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '317'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 408
        line_start: 407
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '383'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 410
        line_start: 409
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '383'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 412
        line_start: 411
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '348'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 414
        line_start: 413
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '358'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 416
        line_start: 415
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '277'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 418
        line_start: 417
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '346'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 420
        line_start: 419
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (329 + 1024)
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 423
        line_start: 422
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4352'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 426
        line_start: 425
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6316'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 429
        line_start: 428
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5312'
    - item_type: preproc_def
      name: __NR_seccomp
      pos:
        line_end: 432
        line_start: 431
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '277'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 440
        line_start: 439
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '224'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 442
        line_start: 441
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '186'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 444
        line_start: 443
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '224'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 446
        line_start: 445
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '224'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 448
        line_start: 447
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '236'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 450
        line_start: 449
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '207'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 452
        line_start: 451
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '178'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 454
        line_start: 453
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '143'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 456
        line_start: 455
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (81 + 1024)
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 459
        line_start: 458
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4222'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 462
        line_start: 461
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6178'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 465
        line_start: 464
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5178'
    - item_type: preproc_def
      name: __NR_gettid
      pos:
        line_end: 468
        line_start: 467
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '178'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 476
        line_start: 475
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '358'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 479
        line_start: 478
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '545'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 481
        line_start: 480
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '322'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 484
        line_start: 483
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '387'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 486
        line_start: 485
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '387'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 488
        line_start: 487
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '354'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 490
        line_start: 489
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '362'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 492
        line_start: 491
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '281'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 494
        line_start: 493
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '350'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 496
        line_start: 495
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (318 + 1024)
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 499
        line_start: 498
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4356'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 502
        line_start: 501
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6320'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 505
        line_start: 504
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5316'
    - item_type: preproc_def
      name: __NR_execveat
      pos:
        line_end: 508
        line_start: 507
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '281'
    - item_type: preproc_def
      name: __NR_move_mount
      pos:
        line_end: 516
        line_start: 515
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '539'
    - item_type: preproc_def
      name: __NR_move_mount
      pos:
        line_end: 519
        line_start: 518
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4429'
    - item_type: preproc_def
      name: __NR_move_mount
      pos:
        line_end: 522
        line_start: 521
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6429'
    - item_type: preproc_def
      name: __NR_move_mount
      pos:
        line_end: 525
        line_start: 524
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5429'
    - item_type: preproc_def
      name: __NR_move_mount
      pos:
        line_end: 528
        line_start: 527
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (428 + 1024)
    - item_type: preproc_def
      name: __NR_move_mount
      pos:
        line_end: 530
        line_start: 529
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '429'
    - item_type: preproc_def
      name: __NR_open_tree
      pos:
        line_end: 536
        line_start: 535
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '538'
    - item_type: preproc_def
      name: __NR_open_tree
      pos:
        line_end: 539
        line_start: 538
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4428'
    - item_type: preproc_def
      name: __NR_open_tree
      pos:
        line_end: 542
        line_start: 541
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6428'
    - item_type: preproc_def
      name: __NR_open_tree
      pos:
        line_end: 545
        line_start: 544
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5428'
    - item_type: preproc_def
      name: __NR_open_tree
      pos:
        line_end: 548
        line_start: 547
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (428 + 1024)
    - item_type: preproc_def
      name: __NR_open_tree
      pos:
        line_end: 550
        line_start: 549
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '428'
    - item_type: preproc_def
      name: __NR_clone3
      pos:
        line_end: 556
        line_start: 555
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '545'
    - item_type: preproc_def
      name: __NR_clone3
      pos:
        line_end: 559
        line_start: 558
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4435'
    - item_type: preproc_def
      name: __NR_clone3
      pos:
        line_end: 562
        line_start: 561
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6435'
    - item_type: preproc_def
      name: __NR_clone3
      pos:
        line_end: 565
        line_start: 564
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5435'
    - item_type: preproc_def
      name: __NR_clone3
      pos:
        line_end: 568
        line_start: 567
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (435 + 1024)
    - item_type: preproc_def
      name: __NR_clone3
      pos:
        line_end: 570
        line_start: 569
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '435'
    - item_type: preproc_def
      name: __NR_fsopen
      pos:
        line_end: 576
        line_start: 575
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '540'
    - item_type: preproc_def
      name: __NR_fsopen
      pos:
        line_end: 579
        line_start: 578
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4430'
    - item_type: preproc_def
      name: __NR_fsopen
      pos:
        line_end: 582
        line_start: 581
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6430'
    - item_type: preproc_def
      name: __NR_fsopen
      pos:
        line_end: 585
        line_start: 584
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5430'
    - item_type: preproc_def
      name: __NR_fsopen
      pos:
        line_end: 588
        line_start: 587
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (430 + 1024)
    - item_type: preproc_def
      name: __NR_fsopen
      pos:
        line_end: 590
        line_start: 589
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '430'
    - item_type: preproc_def
      name: __NR_fspick
      pos:
        line_end: 596
        line_start: 595
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '543'
    - item_type: preproc_def
      name: __NR_fspick
      pos:
        line_end: 599
        line_start: 598
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4433'
    - item_type: preproc_def
      name: __NR_fspick
      pos:
        line_end: 602
        line_start: 601
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6433'
    - item_type: preproc_def
      name: __NR_fspick
      pos:
        line_end: 605
        line_start: 604
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5433'
    - item_type: preproc_def
      name: __NR_fspick
      pos:
        line_end: 608
        line_start: 607
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (433 + 1024)
    - item_type: preproc_def
      name: __NR_fspick
      pos:
        line_end: 610
        line_start: 609
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '433'
    - item_type: preproc_def
      name: __NR_fsconfig
      pos:
        line_end: 616
        line_start: 615
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '541'
    - item_type: preproc_def
      name: __NR_fsconfig
      pos:
        line_end: 619
        line_start: 618
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4431'
    - item_type: preproc_def
      name: __NR_fsconfig
      pos:
        line_end: 622
        line_start: 621
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6431'
    - item_type: preproc_def
      name: __NR_fsconfig
      pos:
        line_end: 625
        line_start: 624
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5431'
    - item_type: preproc_def
      name: __NR_fsconfig
      pos:
        line_end: 628
        line_start: 627
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (431 + 1024)
    - item_type: preproc_def
      name: __NR_fsconfig
      pos:
        line_end: 630
        line_start: 629
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '431'
    - item_type: preproc_def
      name: __NR_fsmount
      pos:
        line_end: 636
        line_start: 635
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '542'
    - item_type: preproc_def
      name: __NR_fsmount
      pos:
        line_end: 639
        line_start: 638
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4432'
    - item_type: preproc_def
      name: __NR_fsmount
      pos:
        line_end: 642
        line_start: 641
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6432'
    - item_type: preproc_def
      name: __NR_fsmount
      pos:
        line_end: 645
        line_start: 644
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5432'
    - item_type: preproc_def
      name: __NR_fsmount
      pos:
        line_end: 648
        line_start: 647
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (432 + 1024)
    - item_type: preproc_def
      name: __NR_fsmount
      pos:
        line_end: 650
        line_start: 649
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '432'
    - item_type: preproc_def
      name: __NR_openat2
      pos:
        line_end: 656
        line_start: 655
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '547'
    - item_type: preproc_def
      name: __NR_openat2
      pos:
        line_end: 659
        line_start: 658
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '4437'
    - item_type: preproc_def
      name: __NR_openat2
      pos:
        line_end: 662
        line_start: 661
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '6437'
    - item_type: preproc_def
      name: __NR_openat2
      pos:
        line_end: 665
        line_start: 664
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '5437'
    - item_type: preproc_def
      name: __NR_openat2
      pos:
        line_end: 668
        line_start: 667
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (437 + 1024)
    - item_type: preproc_def
      name: __NR_openat2
      pos:
        line_end: 670
        line_start: 669
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '437'
    - item_type: preproc_def
      name: __NR_close_range
      pos:
        line_end: 676
        line_start: 675
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '546'
    - item_type: preproc_def
      name: __NR_close_range
      pos:
        line_end: 679
        line_start: 678
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (436 + 4000)
    - item_type: preproc_def
      name: __NR_close_range
      pos:
        line_end: 682
        line_start: 681
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (436 + 6000)
    - item_type: preproc_def
      name: __NR_close_range
      pos:
        line_end: 685
        line_start: 684
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (436 + 5000)
    - item_type: preproc_def
      name: __NR_close_range
      pos:
        line_end: 688
        line_start: 687
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (436 + 1024)
    - item_type: preproc_def
      name: __NR_close_range
      pos:
        line_end: 690
        line_start: 689
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '436'
    - item_type: preproc_def
      name: __NR_mount_setattr
      pos:
        line_end: 696
        line_start: 695
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '552'
    - item_type: preproc_def
      name: __NR_mount_setattr
      pos:
        line_end: 699
        line_start: 698
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (442 + 4000)
    - item_type: preproc_def
      name: __NR_mount_setattr
      pos:
        line_end: 702
        line_start: 701
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (442 + 6000)
    - item_type: preproc_def
      name: __NR_mount_setattr
      pos:
        line_end: 705
        line_start: 704
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (442 + 5000)
    - item_type: preproc_def
      name: __NR_mount_setattr
      pos:
        line_end: 708
        line_start: 707
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (442 + 1024)
    - item_type: preproc_def
      name: __NR_mount_setattr
      pos:
        line_end: 710
        line_start: 709
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '442'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 716
        line_start: 715
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '324'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 718
        line_start: 717
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '136'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 720
        line_start: 719
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '136'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 722
        line_start: 721
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '135'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 724
        line_start: 723
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '136'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 726
        line_start: 725
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '92'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 728
        line_start: 727
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '136'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 730
        line_start: 729
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '136'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 732
        line_start: 731
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '-1'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 734
        line_start: 733
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '191'
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 736
        line_start: 735
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (116 + 1024)
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 739
        line_start: 738
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (136 + 4000)
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 742
        line_start: 741
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (132 + 6000)
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 745
        line_start: 744
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: (132 + 5000)
    - item_type: preproc_def
      name: __NR_personality
      pos:
        line_end: 748
        line_start: 747
        source_file: /src/lxc/src/lxc/syscall_numbers.h
      type_or_value: '92'
    structs: []
    typedefs: []
    union: []
- function_names:
  - __seccomp
  - parse_config_v1
  - get_action_name
  - get_v2_default_action
  - get_v2_action
  - parse_v2_rule_op
  - get_seccomp_arg_value
  - parse_v2_rules
  - get_hostarch
  - get_new_ctx
  - do_resolve_add_rule
  - is_denylist
  - is_allowlist
  - parse_config_v2
  - parse_config_v2
  - parse_config
  - use_seccomp
  - lxc_read_seccomp_config
  - lxc_seccomp_load
  - lxc_seccomp_free
  - seccomp_notify_reconnect
  - seccomp_notify_default_answer
  - seccomp_notify_cleanup_handler
  - seccomp_notify_handler
  - seccomp_conf_init
  - lxc_seccomp_setup_proxy
  - lxc_seccomp_send_notifier_fd
  - lxc_seccomp_recv_notifier_fd
  - lxc_seccomp_add_notifier
  source_file: /src/lxc/src/lxc/seccomp.c
  types:
    enum:
    - enumerators:
      - name: lxc_seccomp_arch_all
        value: '0'
      - name: lxc_seccomp_arch_x32
      - name: lxc_seccomp_arch_ppc64
      - name: lxc_seccomp_arch_mips64
      - name: lxc_seccomp_arch_mipsel64n32
      - name: lxc_seccomp_arch_unknown
        value: '999'
      - name: lxc_seccomp_arch_i386
      - name: lxc_seccomp_arch_arm64
      - name: lxc_seccomp_arch_mips
      - name: lxc_seccomp_arch_mipsel64
      - name: lxc_seccomp_arch_loongarch64
      - name: lxc_seccomp_arch_native
      - name: lxc_seccomp_arch_arm
      - name: lxc_seccomp_arch_ppc
      - name: lxc_seccomp_arch_mipsel
      - name: lxc_seccomp_arch_s390
      - name: lxc_seccomp_arch_amd64
      - name: lxc_seccomp_arch_ppc64le
      - name: lxc_seccomp_arch_s390x
      - name: lxc_seccomp_arch_mips64n32
      item_type: enum
      name: lxc_hostarch_t
      pos:
        line_end: 319
        line_start: 298
        source_file: /src/lxc/src/lxc/seccomp.c
    - enumerators:
      - name: lxc_seccomp_rule_added
        value: '0'
      - name: lxc_seccomp_rule_undefined_syscall
      - name: lxc_seccomp_rule_err
      - name: lxc_seccomp_rule_unsupported_arch
      item_type: enum
      name: lxc_seccomp_rule_status_t
      pos:
        line_end: 501
        line_start: 496
        source_file: /src/lxc/src/lxc/seccomp.c
    preproc_defs:
    - item_type: preproc_def
      name: MIPS_ARCH_O32
      pos:
        line_end: 24
        line_start: 23
        source_file: /src/lxc/src/lxc/seccomp.c
      type_or_value: lxc_seccomp_arch_mipsel
    - item_type: preproc_def
      name: MIPS_ARCH_N64
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/seccomp.c
      type_or_value: lxc_seccomp_arch_mipsel64
    - item_type: preproc_def
      name: MIPS_ARCH_O32
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/lxc/seccomp.c
      type_or_value: lxc_seccomp_arch_mips
    - item_type: preproc_def
      name: MIPS_ARCH_N64
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/lxc/seccomp.c
      type_or_value: lxc_seccomp_arch_mips64
    - item_type: preproc_def
      name: SECCOMP_GET_NOTIF_SIZES
      pos:
        line_end: 32
        line_start: 31
        source_file: /src/lxc/src/lxc/seccomp.c
      type_or_value: '3'
    - item_type: preproc_def
      name: BACKWARDCOMPAT_TERMINOLOGY_DENYLIST
      pos:
        line_end: 592
        line_start: 591
        source_file: /src/lxc/src/lxc/seccomp.c
      type_or_value: '"blacklist"'
    - item_type: preproc_def
      name: BACKWARDCOMPAT_TERMINOLOGY_ALLOWLIST
      pos:
        line_end: 593
        line_start: 592
        source_file: /src/lxc/src/lxc/seccomp.c
      type_or_value: '"whitelist"'
    structs:
    - fields:
      - name: index
        type: uint32_t
      - name: value
        type: uint64_t
      - name: mask
        type: uint64_t
      - name: op
        type: enum scmp_compare
      item_type: struct
      name: seccomp_v2_rule_args
      pos:
        line_end: 162
        line_start: 157
        source_file: /src/lxc/src/lxc/seccomp.c
    - fields:
      - name: action
        type: uint32_t
      - name: args_num
        type: uint32_t
      - name: args_value[6]
        type: struct seccomp_v2_rule_args
      item_type: struct
      name: seccomp_v2_rule
      pos:
        line_end: 168
        line_start: 164
        source_file: /src/lxc/src/lxc/seccomp.c
    - fields:
      - name: architectures[3]
        type: uint32_t
      - name: contexts[3]
        type: scmp_filter_ctx
      - name: needs_merge[3]
        type: bool
      item_type: struct
      name: scmp_ctx_info
      pos:
        line_end: 634
        line_start: 630
        source_file: /src/lxc/src/lxc/seccomp.c
    typedefs: []
    union: []
- function_names:
  - nlmsg_len
  - nlmsg_data
  - nla_put
  - nla_put_buffer
  - nla_put_string
  - nla_put_u32
  - nla_put_u16
  - nla_put_attr
  - nla_begin_nested
  - nla_end_nested
  - nlmsg_alloc
  - nlmsg_reserve
  - nlmsg_alloc_reserve
  - nlmsg_free
  - __netlink_recv
  - netlink_rcv
  - __netlink_send
  - netlink_send
  - __netlink_transaction
  - netlink_transaction
  - netlink_open
  - netlink_close
  - addattr
  source_file: /src/lxc/src/lxc/nl.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_va_arg_list_to_argv
  - lxc_va_arg_list_to_argv_const
  - lxc_string_replace
  - lxc_string_in_array
  - lxc_string_join
  - lxc_path_simplify
  - lxc_append_paths
  - lxc_string_in_list
  - lxc_string_split
  - lxc_iterate_parts
  - complete_word
  - lxc_string_split_quoted
  - lxc_string_split_and_trim
  - lxc_iterate_parts
  - lxc_free_array
  - lxc_grow_array
  - lxc_array_len
  - lxc_append_null_to_array
  - lxc_append_null_to_list
  - lxc_append_string
  - lxc_safe_uint
  - lxc_safe_ulong
  - lxc_safe_uint64
  - lxc_safe_int64_residual
  - lxc_safe_int
  - lxc_safe_long
  - lxc_safe_long_long
  - must_concat
  - must_make_path
  - must_append_path
  - must_copy_string
  - must_realloc
  - parse_byte_size_string
  - remove_trailing_newlines
  - lxc_char_left_gc
  - lxc_char_right_gc
  - lxc_trim_whitespace_in_place
  - lxc_is_line_empty
  - remove_trailing_slashes
  source_file: /src/lxc/src/lxc/string_utils.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - move_mount_lxc
  - open_tree_lxc
  - fsopen_lxc
  - fspick_lxc
  - fsconfig_lxc
  - fsmount_lxc
  - mount_setattr
  - fs_mount
  - fd_mount_idmapped
  - fd_bind_mount
  - mount_fd
  source_file: /src/lxc/src/lxc/mount_utils.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: AT_RECURSIVE
      pos:
        line_end: 22
        line_start: 21
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x8000 '
    - item_type: preproc_def
      name: OPEN_TREE_CLONE
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '1'
    - item_type: preproc_def
      name: OPEN_TREE_CLOEXEC
      pos:
        line_end: 30
        line_start: 29
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: O_CLOEXEC
    - item_type: preproc_def
      name: MOVE_MOUNT_F_SYMLINKS
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000001 '
    - item_type: preproc_def
      name: MOVE_MOUNT_F_AUTOMOUNTS
      pos:
        line_end: 39
        line_start: 38
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000002 '
    - item_type: preproc_def
      name: MOVE_MOUNT_F_EMPTY_PATH
      pos:
        line_end: 43
        line_start: 42
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000004 '
    - item_type: preproc_def
      name: MOVE_MOUNT_T_SYMLINKS
      pos:
        line_end: 47
        line_start: 46
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000010 '
    - item_type: preproc_def
      name: MOVE_MOUNT_T_AUTOMOUNTS
      pos:
        line_end: 51
        line_start: 50
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000020 '
    - item_type: preproc_def
      name: MOVE_MOUNT_T_EMPTY_PATH
      pos:
        line_end: 55
        line_start: 54
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000040 '
    - item_type: preproc_def
      name: MOVE_MOUNT__MASK
      pos:
        line_end: 59
        line_start: 58
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000077'
    - item_type: preproc_def
      name: FSOPEN_CLOEXEC
      pos:
        line_end: 64
        line_start: 63
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000001'
    - item_type: preproc_def
      name: FSPICK_CLOEXEC
      pos:
        line_end: 69
        line_start: 68
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000001'
    - item_type: preproc_def
      name: FSPICK_SYMLINK_NOFOLLOW
      pos:
        line_end: 73
        line_start: 72
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000002'
    - item_type: preproc_def
      name: FSPICK_NO_AUTOMOUNT
      pos:
        line_end: 77
        line_start: 76
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000004'
    - item_type: preproc_def
      name: FSPICK_EMPTY_PATH
      pos:
        line_end: 81
        line_start: 80
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000008'
    - item_type: preproc_def
      name: FSCONFIG_SET_FLAG
      pos:
        line_end: 87
        line_start: 86
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0 '
    - item_type: preproc_def
      name: FSCONFIG_SET_STRING
      pos:
        line_end: 93
        line_start: 92
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '1 '
    - item_type: preproc_def
      name: FSCONFIG_SET_BINARY
      pos:
        line_end: 99
        line_start: 98
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '2 '
    - item_type: preproc_def
      name: FSCONFIG_SET_PATH
      pos:
        line_end: 105
        line_start: 104
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '3 '
    - item_type: preproc_def
      name: FSCONFIG_SET_PATH_EMPTY
      pos:
        line_end: 111
        line_start: 110
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '4 '
    - item_type: preproc_def
      name: FSCONFIG_SET_FD
      pos:
        line_end: 117
        line_start: 116
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '5 '
    - item_type: preproc_def
      name: FSCONFIG_CMD_CREATE
      pos:
        line_end: 123
        line_start: 122
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '6 '
    - item_type: preproc_def
      name: FSCONFIG_CMD_RECONFIGURE
      pos:
        line_end: 129
        line_start: 128
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: "7\t"
    - item_type: preproc_def
      name: FSMOUNT_CLOEXEC
      pos:
        line_end: 135
        line_start: 134
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000001'
    - item_type: preproc_def
      name: MOUNT_ATTR_RDONLY
      pos:
        line_end: 140
        line_start: 139
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000001 '
    - item_type: preproc_def
      name: MOUNT_ATTR_NOSUID
      pos:
        line_end: 144
        line_start: 143
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000002 '
    - item_type: preproc_def
      name: MOUNT_ATTR_NODEV
      pos:
        line_end: 148
        line_start: 147
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000004 '
    - item_type: preproc_def
      name: MOUNT_ATTR_NOEXEC
      pos:
        line_end: 152
        line_start: 151
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000008 '
    - item_type: preproc_def
      name: MOUNT_ATTR__ATIME
      pos:
        line_end: 156
        line_start: 155
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000070 '
    - item_type: preproc_def
      name: MOUNT_ATTR_RELATIME
      pos:
        line_end: 160
        line_start: 159
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000000 '
    - item_type: preproc_def
      name: MOUNT_ATTR_NOATIME
      pos:
        line_end: 164
        line_start: 163
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000010 '
    - item_type: preproc_def
      name: MOUNT_ATTR_STRICTATIME
      pos:
        line_end: 168
        line_start: 167
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000020 '
    - item_type: preproc_def
      name: MOUNT_ATTR_NODIRATIME
      pos:
        line_end: 172
        line_start: 171
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00000080 '
    - item_type: preproc_def
      name: MOUNT_ATTR_IDMAP
      pos:
        line_end: 176
        line_start: 175
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00100000'
    - item_type: preproc_def
      name: MOUNT_ATTR_NOSYMFOLLOW
      pos:
        line_end: 180
        line_start: 179
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: '0x00200000 '
    - item_type: preproc_def
      name: move_mount
      pos:
        line_end: 191
        line_start: 190
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: move_mount_lxc
    - item_type: preproc_def
      name: open_tree
      pos:
        line_end: 202
        line_start: 201
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: open_tree_lxc
    - item_type: preproc_def
      name: fsopen
      pos:
        line_end: 212
        line_start: 211
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: fsopen_lxc
    - item_type: preproc_def
      name: fspick
      pos:
        line_end: 222
        line_start: 221
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: fspick_lxc
    - item_type: preproc_def
      name: fsconfig
      pos:
        line_end: 232
        line_start: 231
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: fsconfig_lxc
    - item_type: preproc_def
      name: fsmount
      pos:
        line_end: 242
        line_start: 241
        source_file: /src/lxc/src/lxc/mount_utils.h
      type_or_value: fsmount_lxc
    structs:
    - fields:
      - name: attr_set
        type: __u64
      - name: attr_clr
        type: __u64
      - name: propagation
        type: __u64
      - name: userns_fd
        type: __u64
      item_type: struct
      name: mount_attr
      pos:
        line_end: 255
        line_start: 250
        source_file: /src/lxc/src/lxc/mount_utils.h
    typedefs: []
    union: []
- function_names:
  - lxc_read_string_nointr
  - fd_to_fd
  - dup_cloexec
  source_file: /src/lxc/src/lxc/file_utils.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs:
    - item_type: typedef
      name: (((struct statfs *)NULL)->f_type)
      pos:
        line_end: 84
        line_start: 84
        source_file: /src/lxc/src/lxc/file_utils.h
      type: __typeof__
    union: []
- function_names:
  - execute_start
  - execute_post_start
  - lxc_execute
  source_file: /src/lxc/src/lxc/execute.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/attach.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/attach_options.h
  types:
    enum:
    - enumerators:
      - name: LXC_ATTACH_KEEP_ENV
        value: '0'
      - name: LXC_ATTACH_CLEAR_ENV
        value: '1'
      item_type: enum
      name: lxc_attach_env_policy_t
      pos:
        line_end: 20
        line_start: 14
        source_file: /src/lxc/src/lxc/attach_options.h
    preproc_defs:
    - item_type: preproc_def
      name: LXC_ATTACH_LSM
      pos:
        line_end: 68
        line_start: 67
        source_file: /src/lxc/src/lxc/attach_options.h
      type_or_value: (LXC_ATTACH_LSM_EXEC | LXC_ATTACH_LSM_NOW | LXC_ATTACH_LSM_LABEL)
    - item_type: preproc_def
      name: LXC_ATTACH_DETECT_PERSONALITY
      pos:
        line_end: 85
        line_start: 84
        source_file: /src/lxc/src/lxc/attach_options.h
      type_or_value: ~0L
    - item_type: preproc_def
      name: LXC_ATTACH_OPTIONS_DEFAULT
      pos:
        line_end: 178
        line_start: 160
        source_file: /src/lxc/src/lxc/attach_options.h
      type_or_value: "{                                               \t\t\\\n\t\t.attach_flags\t=
        LXC_ATTACH_DEFAULT,   \t\t\\\n\t\t.namespaces\t= -1,\t\t\t\t\t\\\n\t\t.personality\t=
        LXC_ATTACH_DETECT_PERSONALITY,\t\\\n\t\t.initial_cwd\t= NULL,\t\t\t\t\t\\\n\t\t.uid\t\t=
        (uid_t)-1,            \t\t\\\n\t\t.gid\t\t= (gid_t)-1,            \t\t\\\n\t\t.env_policy\t=
        LXC_ATTACH_KEEP_ENV,  \t\t\\\n\t\t.extra_env_vars = NULL,                 \t\t\\\n\t\t.extra_keep_env
        = NULL,                 \t\t\\\n\t\t.stdin_fd\t= 0,                    \t\t\\\n\t\t.stdout_fd\t=
        1,                    \t\t\\\n\t\t.stderr_fd\t= 2,                    \t\t\\\n\t\t.log_fd\t\t=
        -EBADF,               \t\t\\\n\t\t.lsm_label\t= NULL,\t\t\t\t\t\\\n\t\t.groups\t\t=
        {},\t\t\t\t\t\\\n\t}"
    structs:
    - fields:
      - name: size
        type: size_t
      - name: '*list'
        type: gid_t
      item_type: struct
      name: lxc_groups_t
      pos:
        line_end: 82
        line_start: 79
        source_file: /src/lxc/src/lxc/attach_options.h
    - fields:
      - name: attach_flags
        type: int
      - name: namespaces
        type: int
      - name: personality
        type: long
      - name: '*initial_cwd'
        type: char
      - name: uid
        type: uid_t
      - name: gid
        type: gid_t
      - name: env_policy
        type: lxc_attach_env_policy_t
      - name: '**extra_env_vars'
        type: char
      - name: '**extra_keep_env'
        type: char
      - name: stdin_fd
        type: int
      - name: stdout_fd
        type: int
      - name: stderr_fd
        type: int
      - name: log_fd
        type: int
      - name: '*lsm_label'
        type: char
      - name: groups
        type: lxc_groups_t
      item_type: struct
      name: lxc_attach_options_t
      pos:
        line_end: 157
        line_start: 89
        source_file: /src/lxc/src/lxc/attach_options.h
    - fields:
      - name: '*program'
        type: char
      - name: '**argv'
        type: char
      item_type: struct
      name: lxc_attach_command_t
      pos:
        line_end: 185
        line_start: 182
        source_file: /src/lxc/src/lxc/attach_options.h
    typedefs:
    - item_type: typedef
      name: (*lxc_attach_exec_t)(void* payload)
      pos:
        line_end: 77
        line_start: 77
        source_file: /src/lxc/src/lxc/attach_options.h
      type: int
    union: []
- function_names:
  - lxc_strmmap
  - lxc_strmunmap
  - lxc_file_for_each_line_mmap
  - lxc_file_for_each_line
  source_file: /src/lxc/src/lxc/parse.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/sync.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/lxclock.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: F_OFD_GETLK
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/lxc/lxclock.h
      type_or_value: '36'
    - item_type: preproc_def
      name: F_OFD_SETLK
      pos:
        line_end: 23
        line_start: 22
        source_file: /src/lxc/src/lxc/lxclock.h
      type_or_value: '37'
    - item_type: preproc_def
      name: F_OFD_SETLKW
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/lxc/lxclock.h
      type_or_value: '38'
    - item_type: preproc_def
      name: LXC_LOCK_ANON_SEM
      pos:
        line_end: 30
        line_start: 29
        source_file: /src/lxc/src/lxc/lxclock.h
      type_or_value: '1 '
    - item_type: preproc_def
      name: LXC_LOCK_FLOCK
      pos:
        line_end: 31
        line_start: 30
        source_file: /src/lxc/src/lxc/lxclock.h
      type_or_value: '2 '
    structs:
    - fields:
      - name: type
        type: short
      - name: u
        type: "union {\n\t\tsem_t *sem; /*!< Anonymous semaphore (LXC_LOCK_ANON_SEM)
          */\n\t\t/*! LXC_LOCK_FLOCK details */\n\t\tstruct {\n\t\t\tint   fd; /*!<
          fd on which a lock is held (if not -1) */\n\t\t\tchar *fname; /*!< Name
          of lock */\n\t\t} f;\n\t}"
      item_type: struct
      name: lxc_lock
      pos:
        line_end: 47
        line_start: 36
        source_file: /src/lxc/src/lxc/lxclock.h
    typedefs: []
    union: []
- function_names:
  - default_cleanup_handler
  source_file: /src/lxc/src/lxc/mainloop.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_MAINLOOP_ERROR
      pos:
        line_end: 14
        line_start: 13
        source_file: /src/lxc/src/lxc/mainloop.h
      type_or_value: '-1'
    - item_type: preproc_def
      name: LXC_MAINLOOP_CONTINUE
      pos:
        line_end: 15
        line_start: 14
        source_file: /src/lxc/src/lxc/mainloop.h
      type_or_value: '0'
    - item_type: preproc_def
      name: LXC_MAINLOOP_CLOSE
      pos:
        line_end: 16
        line_start: 15
        source_file: /src/lxc/src/lxc/mainloop.h
      type_or_value: '1'
    - item_type: preproc_def
      name: LXC_MAINLOOP_DISARM
      pos:
        line_end: 17
        line_start: 16
        source_file: /src/lxc/src/lxc/mainloop.h
      type_or_value: '2'
    structs:
    - fields:
      - name: type
        type: async_descr_t
      - name: handlers
        type: struct list_head
      item_type: struct
      name: lxc_async_descr
      pos:
        line_end: 32
        line_start: 23
        source_file: /src/lxc/src/lxc/mainloop.h
    typedefs:
    - item_type: typedef
      name: "(*lxc_mainloop_callback_t)(int fd, uint32_t event, void *data,\n\t\t\t\t
        \      struct lxc_async_descr *descr)"
      pos:
        line_end: 40
        line_start: 39
        source_file: /src/lxc/src/lxc/mainloop.h
      type: int
    - item_type: typedef
      name: (*lxc_mainloop_cleanup_t)(int fd, void *data)
      pos:
        line_end: 42
        line_start: 42
        source_file: /src/lxc/src/lxc/mainloop.h
      type: int
    union: []
- function_names:
  - openat2
  source_file: /src/lxc/src/lxc/open_utils.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: RESOLVE_NO_XDEV
      pos:
        line_end: 35
        line_start: 33
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: '0x01 '
    - item_type: preproc_def
      name: RESOLVE_NO_MAGICLINKS
      pos:
        line_end: 40
        line_start: 38
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: '0x02 '
    - item_type: preproc_def
      name: RESOLVE_NO_SYMLINKS
      pos:
        line_end: 45
        line_start: 43
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: '0x04 '
    - item_type: preproc_def
      name: RESOLVE_BENEATH
      pos:
        line_end: 51
        line_start: 48
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: '0x08 '
    - item_type: preproc_def
      name: RESOLVE_IN_ROOT
      pos:
        line_end: 57
        line_start: 54
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: '0x10 '
    - item_type: preproc_def
      name: PROTECT_LOOKUP_BENEATH
      pos:
        line_end: 60
        line_start: 59
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (RESOLVE_BENEATH | RESOLVE_NO_XDEV | RESOLVE_NO_MAGICLINKS |
        RESOLVE_NO_SYMLINKS)
    - item_type: preproc_def
      name: PROTECT_LOOKUP_BENEATH_WITH_SYMLINKS
      pos:
        line_end: 61
        line_start: 60
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_LOOKUP_BENEATH & ~RESOLVE_NO_SYMLINKS)
    - item_type: preproc_def
      name: PROTECT_LOOKUP_BENEATH_WITH_MAGICLINKS
      pos:
        line_end: 62
        line_start: 61
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_LOOKUP_BENEATH & ~(RESOLVE_NO_SYMLINKS | RESOLVE_NO_MAGICLINKS))
    - item_type: preproc_def
      name: PROTECT_LOOKUP_BENEATH_XDEV
      pos:
        line_end: 63
        line_start: 62
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_LOOKUP_BENEATH & ~RESOLVE_NO_XDEV)
    - item_type: preproc_def
      name: PROTECT_LOOKUP_ABSOLUTE
      pos:
        line_end: 65
        line_start: 64
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_LOOKUP_BENEATH & ~RESOLVE_BENEATH)
    - item_type: preproc_def
      name: PROTECT_LOOKUP_ABSOLUTE_WITH_SYMLINKS
      pos:
        line_end: 66
        line_start: 65
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_LOOKUP_ABSOLUTE & ~RESOLVE_NO_SYMLINKS)
    - item_type: preproc_def
      name: PROTECT_LOOKUP_ABSOLUTE_WITH_MAGICLINKS
      pos:
        line_end: 67
        line_start: 66
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_LOOKUP_ABSOLUTE & ~(RESOLVE_NO_SYMLINKS | RESOLVE_NO_MAGICLINKS))
    - item_type: preproc_def
      name: PROTECT_LOOKUP_ABSOLUTE_XDEV
      pos:
        line_end: 68
        line_start: 67
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_LOOKUP_ABSOLUTE & ~RESOLVE_NO_XDEV)
    - item_type: preproc_def
      name: PROTECT_LOOKUP_ABSOLUTE_XDEV_SYMLINKS
      pos:
        line_end: 69
        line_start: 68
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_LOOKUP_ABSOLUTE_WITH_SYMLINKS & ~RESOLVE_NO_XDEV)
    - item_type: preproc_def
      name: PROTECT_OPATH_FILE
      pos:
        line_end: 71
        line_start: 70
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (O_NOFOLLOW | O_PATH | O_CLOEXEC)
    - item_type: preproc_def
      name: PROTECT_OPATH_DIRECTORY
      pos:
        line_end: 72
        line_start: 71
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_OPATH_FILE | O_DIRECTORY)
    - item_type: preproc_def
      name: PROTECT_OPEN_WITH_TRAILING_SYMLINKS
      pos:
        line_end: 74
        line_start: 73
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (O_CLOEXEC | O_NOCTTY | O_RDONLY)
    - item_type: preproc_def
      name: PROTECT_OPEN
      pos:
        line_end: 75
        line_start: 74
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_OPEN_WITH_TRAILING_SYMLINKS | O_NOFOLLOW)
    - item_type: preproc_def
      name: PROTECT_OPEN_W_WITH_TRAILING_SYMLINKS
      pos:
        line_end: 77
        line_start: 76
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (O_CLOEXEC | O_NOCTTY | O_WRONLY)
    - item_type: preproc_def
      name: PROTECT_OPEN_W
      pos:
        line_end: 78
        line_start: 77
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (PROTECT_OPEN_W_WITH_TRAILING_SYMLINKS | O_NOFOLLOW)
    - item_type: preproc_def
      name: PROTECT_OPEN_RW
      pos:
        line_end: 79
        line_start: 78
        source_file: /src/lxc/src/lxc/open_utils.h
      type_or_value: (O_CLOEXEC | O_NOCTTY | O_RDWR | O_NOFOLLOW)
    structs:
    - fields:
      - name: flags
        type: __u64
      - name: mode
        type: __u64
      - name: resolve
        type: __u64
      item_type: struct
      name: open_how
      pos:
        line_end: 26
        line_start: 22
        source_file: /src/lxc/src/lxc/open_utils.h
    typedefs: []
    union: []
- function_names:
  - likely
  - unlikely
  - __must_check::__must_check_overflow
  - is_signed_type
  - __type_half_max
  - type_max
  - type_min
  - is_non_negative
  - is_negative
  - check_add_overflow
  - check_sub_overflow
  - check_mul_overflow
  - __unsigned_add_overflow
  - __unsigned_sub_overflow
  - __unsigned_mul_overflow
  - __signed_add_overflow
  - __signed_sub_overflow
  - __signed_mul_overflow
  - check_add_overflow
  - check_sub_overflow
  - check_mul_overflow
  - __access_r
  - __access_r_nosize
  - __access_w
  - __access_rw
  - __same_type
  - __compiletime_assert
  - _compiletime_assert
  - compiletime_assert
  - BUILD_BUG_ON_MSG
  source_file: /src/lxc/src/lxc/compiler.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: thread_local
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: _Thread_local
    - item_type: preproc_def
      name: thread_local
      pos:
        line_end: 23
        line_start: 22
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: __thread
    - item_type: preproc_def
      name: __fallthrough
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: __attribute__((__fallthrough__))
    - item_type: preproc_def
      name: COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: '1'
    - item_type: preproc_def
      name: __must_check
      pos:
        line_end: 41
        line_start: 40
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: __attribute__((__warn_unused_result__))
    - item_type: preproc_def
      name: __noreturn
      pos:
        line_end: 225
        line_start: 224
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: _Noreturn
    - item_type: preproc_def
      name: __noreturn
      pos:
        line_end: 227
        line_start: 226
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: __attribute__((noreturn))
    - item_type: preproc_def
      name: __hot
      pos:
        line_end: 232
        line_start: 231
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: __attribute__((hot))
    - item_type: preproc_def
      name: __returns_twice
      pos:
        line_end: 236
        line_start: 235
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: __attribute__((returns_twice))
    - item_type: preproc_def
      name: __lxc_unused
      pos:
        line_end: 241
        line_start: 240
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: __attribute__ ((unused))
    - item_type: preproc_def
      name: __hidden
      pos:
        line_end: 274
        line_start: 273
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: __attribute__((visibility("hidden")))
    - item_type: preproc_def
      name: __public
      pos:
        line_end: 278
        line_start: 277
        source_file: /src/lxc/src/lxc/compiler.h
      type_or_value: __attribute__((visibility("default")))
    structs: []
    typedefs: []
    union: []
- function_names:
  - IS_ERR_VALUE
  - ERR_PTR
  - PTR_ERR
  - IS_ERR
  - IS_ERR_OR_NULL
  - ERR_CAST
  - PTR_RET
  - ERRNO_IS_NOT_SUPPORTED
  source_file: /src/lxc/src/lxc/error_utils.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MAX_ERRNO
      pos:
        line_end: 12
        line_start: 11
        source_file: /src/lxc/src/lxc/error_utils.h
      type_or_value: '4095'
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/confile.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_CONFIG_MEMBERS
      pos:
        line_end: 41
        line_start: 35
        source_file: /src/lxc/src/lxc/confile.h
      type_or_value: "char *name;        \\\n\tbool strict;       \\\n\tconfig_set_cb
        set; \\\n\tconfig_get_cb get; \\\n\tconfig_clr_cb clr"
    - item_type: preproc_def
      name: LXC_ARCH_UNCHANGED
      pos:
        line_end: 86
        line_start: 85
        source_file: /src/lxc/src/lxc/confile.h
      type_or_value: 0xffffffffL
    structs:
    - fields: []
      item_type: struct
      name: lxc_config_t
      pos:
        line_end: 44
        line_start: 42
        source_file: /src/lxc/src/lxc/confile.h
    - fields:
      - name: '*key'
        type: char
      - name: '*val'
        type: char
      item_type: struct
      name: new_config_item
      pos:
        line_end: 49
        line_start: 46
        source_file: /src/lxc/src/lxc/confile.h
    typedefs:
    - item_type: typedef
      name: "(*config_set_cb)(const char *key, const char *value,\n\t\t\t     struct
        lxc_conf *conf, void *data)"
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/lxc/confile.h
      type: int
    - item_type: typedef
      name: "(*config_get_cb)(const char *key, char *value, int inlen,\n\t\t\t     struct
        lxc_conf *conf, void *data)"
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/lxc/confile.h
      type: int
    - item_type: typedef
      name: "(*config_clr_cb)(const char *key, struct lxc_conf *conf,\n\t\t\t     void
        *data)"
      pos:
        line_end: 33
        line_start: 32
        source_file: /src/lxc/src/lxc/confile.h
      type: int
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/idmap_utils.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - _recursive_rmdir
  - is_native_overlayfs
  - lxc_rmdir_onedev
  - get_u16
  - lxc_mkdir_p
  - get_rundir
  - wait_for_pid
  - wait_for_pidfd
  - lxc_wait_for_pid_status
  - wait_exited
  - do_sha1_hash
  - sha1sum_file
  - lxc_popen
  - lxc_pclose
  - run_buffer
  - run_script_argv
  - run_script
  - randseed
  - get_ns_uid
  - get_ns_gid
  - dir_exists
  - fnv_64a_buf
  - is_shared_mountpoint
  - detect_shared_rootfs
  - try_switch_to_ns
  - detect_ramfs_rootfs
  - on_path
  - get_template_path
  - get_nextpath
  - is_subdir
  - check_symlink
  - open_if_safe
  - open_without_symlink
  - __safe_mount_beneath_at
  - safe_mount_beneath
  - safe_mount_beneath_at
  - safe_mount
  - open_devnull
  - set_stdfds
  - null_stdfds
  - task_blocks_signal
  - lxc_preserve_ns
  - lxc_switch_uid_gid
  - lxc_drop_groups
  - lxc_setgroups
  - lxc_get_unused_loop_dev_legacy
  - lxc_get_unused_loop_dev
  - lxc_prepare_loop_dev
  - lxc_unstack_mountpoint
  - run_command_internal
  - run_command
  - run_command_status
  - lxc_nic_exists
  - lxc_find_next_power2
  - process_dead
  - lxc_set_death_signal
  - lxc_rm_rf
  - lxc_can_use_pidfd
  - fix_stdio_permissions
  - print_r
  - get_fssize
  source_file: /src/lxc/src/lxc/utils.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: _GNU_SOURCE
      pos:
        line_end: 4
        line_start: 3
        source_file: /src/lxc/src/lxc/utils.c
      type_or_value: '1'
    - item_type: preproc_def
      name: O_PATH
      pos:
        line_end: 50
        line_start: 49
        source_file: /src/lxc/src/lxc/utils.c
      type_or_value: '010000000'
    - item_type: preproc_def
      name: O_NOFOLLOW
      pos:
        line_end: 54
        line_start: 53
        source_file: /src/lxc/src/lxc/utils.c
      type_or_value: '00400000'
    - item_type: preproc_def
      name: __PROC_STATUS_LEN
      pos:
        line_end: 1386
        line_start: 1385
        source_file: /src/lxc/src/lxc/utils.c
      type_or_value: (6 + INTTYPE_TO_STRLEN(pid_t) + 7 + 1)
    - item_type: preproc_def
      name: __NS_PATH_LEN
      pos:
        line_end: 1429
        line_start: 1428
        source_file: /src/lxc/src/lxc/utils.c
      type_or_value: '50'
    - item_type: preproc_def
      name: __LXC_SYS_CLASS_NET_LEN
      pos:
        line_end: 1756
        line_start: 1755
        source_file: /src/lxc/src/lxc/utils.c
      type_or_value: 15 + IFNAMSIZ + 1
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/parse.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs:
    - item_type: typedef
      name: "(*lxc_dir_cb)(const char *name, const char *directory,\n\t\t\t  const
        char *file, void *data)"
      pos:
        line_end: 13
        line_start: 12
        source_file: /src/lxc/src/lxc/parse.h
      type: int
    - item_type: typedef
      name: (*lxc_file_cb)(char *buffer, void *data)
      pos:
        line_end: 15
        line_start: 15
        source_file: /src/lxc/src/lxc/parse.h
      type: int
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/initutils.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: DEFAULT_VG
      pos:
        line_end: 24
        line_start: 23
        source_file: /src/lxc/src/lxc/initutils.h
      type_or_value: '"lxc"'
    - item_type: preproc_def
      name: DEFAULT_THIN_POOL
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/initutils.h
      type_or_value: '"lxc"'
    - item_type: preproc_def
      name: DEFAULT_ZFSROOT
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/initutils.h
      type_or_value: '"lxc"'
    - item_type: preproc_def
      name: DEFAULT_RBDPOOL
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/lxc/initutils.h
      type_or_value: '"lxc"'
    - item_type: preproc_def
      name: DEFAULT_RBDUSER
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/lxc/initutils.h
      type_or_value: 'NULL'
    - item_type: preproc_def
      name: PR_SET_MM
      pos:
        line_end: 31
        line_start: 30
        source_file: /src/lxc/src/lxc/initutils.h
      type_or_value: '35'
    - item_type: preproc_def
      name: PR_SET_MM_MAP
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/lxc/initutils.h
      type_or_value: '14'
    structs:
    - fields:
      - name: start_code
        type: uint64_t
      - name: end_code
        type: uint64_t
      - name: start_data
        type: uint64_t
      - name: end_data
        type: uint64_t
      - name: start_brk
        type: uint64_t
      - name: brk
        type: uint64_t
      - name: start_stack
        type: uint64_t
      - name: arg_start
        type: uint64_t
      - name: arg_end
        type: uint64_t
      - name: env_start
        type: uint64_t
      - name: env_end
        type: uint64_t
      - name: '*auxv'
        type: uint64_t
      - name: auxv_size
        type: uint32_t
      - name: exe_fd
        type: uint32_t
      item_type: struct
      name: prctl_mm_map
      pos:
        line_end: 51
        line_start: 36
        source_file: /src/lxc/src/lxc/initutils.h
    typedefs: []
    union: []
- function_names:
  - NLMSG_TAIL
  - NLA_DATA
  - NLA_NEXT_ATTR
  source_file: /src/lxc/src/lxc/nl.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: PAGE_SIZE
      pos:
        line_end: 17
        line_start: 16
        source_file: /src/lxc/src/lxc/nl.h
      type_or_value: '4096'
    - item_type: preproc_def
      name: NLMSG_GOOD_SIZE
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/lxc/nl.h
      type_or_value: (2*PAGE_SIZE)
    - item_type: preproc_def
      name: NL_HANDLER_INIT
      pos:
        line_end: 41
        line_start: 40
        source_file: /src/lxc/src/lxc/nl.h
      type_or_value: '{ .fd = -EBADF }'
    structs:
    - fields:
      - name: fd
        type: int
      - name: seq
        type: int
      - name: local
        type: struct sockaddr_nl
      - name: peer
        type: struct sockaddr_nl
      item_type: struct
      name: nl_handler
      pos:
        line_end: 38
        line_start: 33
        source_file: /src/lxc/src/lxc/nl.h
    - fields:
      - name: '*nlmsghdr'
        type: struct nlmsghdr
      - name: cap
        type: ssize_t
      item_type: struct
      name: nlmsg
      pos:
        line_end: 53
        line_start: 50
        source_file: /src/lxc/src/lxc/nl.h
    typedefs: []
    union: []
- function_names:
  - disarm_handler
  - delete_handler
  - cleanup_handler
  - __lxc_mainloop_io_uring
  - __io_uring_arm
  - __io_uring_disarm
  - __io_uring_open
  - __io_uring_open
  - __io_uring_arm
  - __io_uring_disarm
  - msec_to_ts
  - __lxc_mainloop_io_uring
  - __lxc_mainloop_epoll
  - lxc_mainloop
  - __lxc_mainloop_add_handler_events
  - lxc_mainloop_add_handler_events
  - lxc_mainloop_add_handler
  - lxc_mainloop_add_oneshot_handler
  - lxc_mainloop_del_handler
  - __epoll_open
  - lxc_mainloop_open
  - lxc_mainloop_close
  source_file: /src/lxc/src/lxc/mainloop.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: CANCEL_RECEIVED
      pos:
        line_end: 24
        line_start: 23
        source_file: /src/lxc/src/lxc/mainloop.c
      type_or_value: (1 << 0)
    - item_type: preproc_def
      name: CANCEL_SUCCESS
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/mainloop.c
      type_or_value: (1 << 1)
    - item_type: preproc_def
      name: MAX_EVENTS
      pos:
        line_end: 37
        line_start: 36
        source_file: /src/lxc/src/lxc/mainloop.c
      type_or_value: '10'
    structs:
    - fields:
      - name: fd
        type: int
      - name: '*data'
        type: void
      - name: callback
        type: lxc_mainloop_callback_t
      - name: cleanup
        type: lxc_mainloop_cleanup_t
      - name: '*name'
        type: char
      - name: flags
        type: unsigned int
      - name: head
        type: struct list_head
      item_type: struct
      name: mainloop_handler
      pos:
        line_end: 34
        line_start: 26
        source_file: /src/lxc/src/lxc/mainloop.c
    typedefs: []
    union: []
- function_names:
  - lxc_caps_down
  - lxc_caps_up
  - lxc_ambient_caps_up
  - lxc_ambient_caps_down
  - lxc_caps_init
  - __caps_last_cap
  - lxc_caps_last_cap
  - lxc_cap_is_set
  - lxc_file_cap_is_set
  - lxc_proc_cap_is_set
  source_file: /src/lxc/src/lxc/caps.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - define_cleanup_function
  - call_cleaner
  - close_prot_errno_disarm
  - close_prot_errno_move
  - close_prot_errno_disarm_function
  - free_disarm
  - free_disarm_function
  - free_string_list
  - memdup
  - zalloc
  - free_move_ptr
  - close_move_fd
  - close_equal
  - free_equal
  source_file: /src/lxc/src/lxc/memory_utils.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: __do_close
      pos:
        line_end: 49
        line_start: 48
        source_file: /src/lxc/src/lxc/memory_utils.h
      type_or_value: call_cleaner(close_prot_errno_disarm)
    - item_type: preproc_def
      name: __do_fclose
      pos:
        line_end: 52
        line_start: 51
        source_file: /src/lxc/src/lxc/memory_utils.h
      type_or_value: call_cleaner(fclose)
    - item_type: preproc_def
      name: __do_closedir
      pos:
        line_end: 55
        line_start: 54
        source_file: /src/lxc/src/lxc/memory_utils.h
      type_or_value: call_cleaner(closedir)
    - item_type: preproc_def
      name: __do_free
      pos:
        line_end: 69
        line_start: 68
        source_file: /src/lxc/src/lxc/memory_utils.h
      type_or_value: call_cleaner(free_disarm)
    - item_type: preproc_def
      name: __do_free_string_list
      pos:
        line_end: 80
        line_start: 79
        source_file: /src/lxc/src/lxc/memory_utils.h
      type_or_value: call_cleaner(free_string_list)
    structs: []
    typedefs: []
    union: []
- function_names:
  - do_lxcapi_get_config_path
  - config_file_exists
  - ongoing_create
  - create_partial
  - remove_partial
  - lxc_container_free
  - lxc_container_get
  - lxc_container_put
  - do_lxcapi_is_defined
  - WRAP_API
  - WRAP_API_1
  - WRAP_API_2
  - WRAP_API_3
  - WRAP_API_5
  - WRAP_API_6
  - do_lxcapi_state
  - is_stopped
  - do_lxcapi_is_running
  - do_lxcapi_freeze
  - do_lxcapi_unfreeze
  - do_lxcapi_console_getfd
  - lxcapi_console
  - do_lxcapi_console_log
  - do_lxcapi_init_pid
  - do_lxcapi_init_pidfd
  - do_lxcapi_devpts_fd
  - load_config_locked
  - do_lxcapi_load_config
  - do_lxcapi_want_daemonize
  - do_lxcapi_want_close_all_fds
  - do_lxcapi_wait
  - am_single_threaded
  - free_init_cmd
  - lxc_rcv_status
  - wait_on_daemonized_start
  - do_lxcapi_start
  - lxcapi_start
  - lxcapi_startl
  - do_lxcapi_stop
  - do_create_container_dir
  - create_container_dir
  - do_storage_create
  - lxctemplatefilename
  - create_run_template
  - prepend_lxc_header
  - lxcapi_clear_config
  - do_lxcapi_clear_config
  - __lxcapi_create
  - do_lxcapi_create
  - do_lxcapi_reboot
  - do_lxcapi_reboot2
  - do_lxcapi_shutdown
  - lxcapi_createl
  - do_clear_unexp_config_line
  - do_lxcapi_clear_config_item
  - enter_net_ns
  - string_cmp
  - container_cmp
  - add_to_array
  - add_to_clist
  - get_from_array
  - array_contains
  - do_lxcapi_get_interfaces
  - do_lxcapi_get_ips
  - do_lxcapi_get_config_item
  - do_lxcapi_get_running_config_item
  - do_lxcapi_get_keys
  - do_lxcapi_save_config
  - mod_rdep
  - mod_all_rdeps
  - has_fs_snapshots
  - has_snapshots
  - do_destroy_container
  - lxc_rmdir_onedev_wrapper
  - lxc_unlink_exec_wrapper
  - container_destroy
  - do_lxcapi_destroy
  - do_lxcapi_destroy_with_snapshots
  - lxc_set_config_item_locked
  - do_set_config_item_locked
  - do_lxcapi_set_config_item
  - lxcapi_config_file_name
  - lxcapi_get_config_path
  - set_config_filename
  - do_lxcapi_set_config_path
  - do_lxcapi_set_cgroup_item
  - do_lxcapi_get_cgroup_item
  - lxc_get_global_config_item
  - lxc_get_version
  - copy_file
  - copyhooks
  - copy_fstab
  - copy_rdepends
  - add_rdepends
  - should_default_to_snapshot
  - copy_storage
  - clone_update_rootfs
  - clone_update_rootfs_wrapper
  - create_file_dirname
  - do_lxcapi_clone
  - lxcapi_clone
  - do_lxcapi_rename
  - lxcapi_attach
  - do_lxcapi_attach_run_wait
  - lxcapi_attach_run_wait
  - get_next_index
  - get_snappath_dir
  - do_lxcapi_snapshot
  - lxcsnap_free
  - get_snapcomment_path
  - get_timestamp
  - do_lxcapi_snapshot_list
  - do_lxcapi_snapshot_restore
  - do_snapshot_destroy
  - remove_all_snapshots
  - do_lxcapi_snapshot_destroy
  - do_lxcapi_snapshot_destroy_all
  - do_lxcapi_may_control
  - do_add_remove_node
  - add_remove_device_node
  - do_lxcapi_add_device_node
  - do_lxcapi_remove_device_node
  - do_lxcapi_attach_interface
  - do_lxcapi_detach_interface
  - do_lxcapi_migrate
  - do_lxcapi_checkpoint
  - do_lxcapi_restore
  - create_mount_target
  - do_lxcapi_mount
  - do_lxcapi_umount
  - lxcapi_attach_run_waitl
  - do_lxcapi_seccomp_notify_fd
  - do_lxcapi_seccomp_notify_fd_active
  - do_lxcapi_set_timeout
  - lxc_container_new
  - lxc_get_wait_states
  - list_defined_containers
  - list_active_containers
  - list_all_containers
  - lxc_config_item_is_supported
  - lxc_has_api_extension
  source_file: /src/lxc/src/lxc/lxccontainer.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*c0'
        type: struct lxc_container
      - name: '*c1'
        type: struct lxc_container
      - name: flags
        type: int
      - name: '**hookargs'
        type: char
      item_type: struct
      name: clone_update_data
      pos:
        line_end: 3584
        line_start: 3579
        source_file: /src/lxc/src/lxc/lxccontainer.c
    typedefs: []
    union: []
- function_names:
  - inherit_fds
  - container_uses_namespace
  source_file: /src/lxc/src/lxc/start.h
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: sigfd
        type: int
      - name: nsfd[LXC_NS_MAX]
        type: int
      - name: data_sock[2]
        type: int
      - name: state_socket_pair[2]
        type: int
      - name: sync_sock[2]
        type: int
      - name: '*name'
        type: char
      - name: '*lxcpath'
        type: char
      - name: am_root
        type: bool
      - name: daemonize
        type: bool
      - name: pid
        type: pid_t
      - name: pidfd
        type: int
      - name: transient_pid
        type: pid_t
      - name: monitor_pid
        type: pid_t
      - name: monitor_status_fd
        type: int
      - name: init_died
        type: bool
      - name: oldmask
        type: sigset_t
      - name: '*conf'
        type: struct lxc_conf
      - name: '*ops'
        type: struct lxc_operations
      - name: '*cgroup_data'
        type: void
      - name: '*data'
        type: void
      - name: state
        type: lxc_state_t
      - name: exit_status
        type: int
      - name: '*cgroup_ops'
        type: struct cgroup_ops
      - name: keep_fds[3]
        type: int
      - name: '*lsm_ops'
        type: struct lsm_ops
      - name: nsfd_paths[LXC_NS_MAX + 1][LXC_EXPOSE_NAMESPACE_LEN]
        type: char
      - name: hook_argc
        type: lxc_namespace_t
      - name: '*hook_argv[LXC_NS_MAX + 1]'
        type: char
      item_type: struct
      name: lxc_handler
      pos:
        line_end: 136
        line_start: 20
        source_file: /src/lxc/src/lxc/start.h
    - fields:
      - name: '*const *argv'
        type: char
      - name: quiet
        type: int
      item_type: struct
      name: execute_args
      pos:
        line_end: 141
        line_start: 138
        source_file: /src/lxc/src/lxc/start.h
    - fields:
      - name: (*start)(struct lxc_handler *, void *)
        type: int
      - name: (*post_start)(struct lxc_handler *, void *)
        type: int
      item_type: struct
      name: lxc_operations
      pos:
        line_end: 146
        line_start: 143
        source_file: /src/lxc/src/lxc/start.h
    typedefs: []
    union: []
- function_names:
  - write_id_mapping
  - idmaptool_on_path_and_privileged
  - lxc_map_ids_exec_wrapper
  - lxc_map_ids
  - list_for_each_entry
  - list_for_each_entry
  - mapped_hostid
  - find_unmapped_nsid
  - find_mapped_nsid_entry
  - mapped_nsid_add
  - find_mapped_hostid_entry
  - list_for_each_entry
  - mapped_hostid_add
  source_file: /src/lxc/src/lxc/idmap_utils.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_storage_prepare
  - lxc_storage_put
  - lxc_rootfs_init
  - lxc_rootfs_prepare_parent
  - add_shmount_to_list
  - lxc_mount_auto_mounts
  - setup_utsname
  - lxc_setup_dev_symlinks
  - append_ttyname
  - open_ttymnt_at
  - lxc_setup_ttys
  - lxc_allocate_ttys
  - lxc_delete_tty
  - __lxc_send_ttys_to_parent
  - lxc_create_ttys
  - lxc_send_ttys_to_parent
  - mount_autodev
  - lxc_fill_autodev
  - lxc_mount_rootfs
  - lxc_rootfs_overmounted
  - lxc_chroot
  - lxc_pivot_root
  - lxc_setup_rootfs_switch_root
  - lxc_recv_devpts_from_child
  - lxc_setup_devpts_child
  - lxc_finish_devpts_child
  - lxc_send_devpts_to_parent
  - setup_personality
  - bind_mount_console
  - lxc_setup_dev_console
  - lxc_setup_ttydir_console
  - lxc_setup_console
  - parse_mntopt
  - parse_mntopts_legacy
  - parse_vfs_attr
  - parse_mount_attrs
  - null_endofword
  - get_field
  - mount_entry
  - parse_lxc_mount_attrs
  - mount_entry_create_dir_file
  - mount_entry_on_generic
  - mount_entry_on_systemfs
  - mount_entry_on_absolute_rootfs
  - mount_entry_on_relative_rootfs
  - mount_file_entries
  - __auto_endmntent__
  - setup_mount_fstab
  - make_anonymous_mount_file
  - list_for_each_entry
  - setup_mount_entries
  - __lxc_idmapped_mounts_child
  - lxc_idmapped_mounts_child
  - parse_cap
  - has_cap
  - capabilities_deny
  - capabilities_allow
  - parse_resource
  - setup_resource_limits
  - setup_sysctl_parameters
  - setup_proc_filesystem
  - lxc_conf_init
  - get_mapped_rootid
  - lxc_transient_proc
  - lxc_create_tmp_proc_mount
  - tmp_proc_unmount
  - turn_into_dependent_mounts
  - lxc_setup_rootfs_prepare_root
  - verify_start_hooks
  - lxc_setup_boot_id
  - lxc_setup_keyring
  - lxc_rootfs_prepare_child
  - lxc_idmapped_mounts_parent
  - lxc_recv_ttys_from_child
  - lxc_send_console_to_parent
  - lxc_recv_console_from_child
  - lxc_sync_fds_parent
  - lxc_sync_fds_child
  - setup_capabilities
  - make_shmount_dependent_mount
  - lxc_setup
  - run_lxc_hooks
  - lxc_clear_config_caps
  - lxc_free_idmap
  - list_for_each_entry_safe
  - __lxc_free_idmap
  - lxc_clear_idmaps
  - lxc_clear_namespace
  - lxc_clear_cgroups
  - list_for_each_entry_safe
  - lxc_clear_cgroups_devices
  - lxc_clear_limits
  - lxc_clear_sysctls
  - lxc_clear_procs
  - lxc_clear_groups
  - lxc_clear_environment
  - list_for_each_entry_safe
  - lxc_clear_mount_entries
  - lxc_clear_automounts
  - lxc_clear_hooks
  - lxc_clear_apparmor_raw
  - lxc_conf_free
  - run_userns_fn
  - get_minimal_idmap
  - userns_exec_1
  - userns_exec_minimal
  - userns_exec_full
  - add_idmap_entry
  - userns_exec_mapped_root
  - getuname
  - getgname
  - suggest_default_idmap
  - lxc_set_environment
  - list_for_each_entry
  source_file: /src/lxc/src/lxc/conf.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: __do_endmntent
      pos:
        line_end: 2460
        line_start: 2459
        source_file: /src/lxc/src/lxc/conf.c
      type_or_value: __attribute__((__cleanup__(__auto_endmntent__)))
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: clear
        type: int
      - name: recursive
        type: bool
      - name: flag
        type: __u64
      - name: legacy_flag
        type: int
      item_type: struct
      name: mount_opt
      pos:
        line_end: 119
        line_start: 113
        source_file: /src/lxc/src/lxc/conf.c
    - fields:
      - name: '*name'
        type: char
      - name: value
        type: __u32
      item_type: struct
      name: caps_opt
      pos:
        line_end: 124
        line_start: 121
        source_file: /src/lxc/src/lxc/conf.c
    - fields:
      - name: '*name'
        type: char
      - name: value
        type: int
      item_type: struct
      name: limit_opt
      pos:
        line_end: 129
        line_start: 126
        source_file: /src/lxc/src/lxc/conf.c
    - fields:
      - name: match_mask
        type: int
      - name: match_flag
        type: int
      - name: '*source'
        type: char
      - name: '*destination'
        type: char
      - name: '*fstype'
        type: char
      - name: flags
        type: unsigned long
      - name: '*options'
        type: char
      - name: requires_cap_net_admin
        type: bool
      item_type: struct
      name: "default_mounts[] = {\n\t\t/* Read-only bind-mounting... In older kernels,
        doing that\n\t\t * required to do one MS_BIND mount and then\n\t\t * MS_REMOUNT|MS_RDONLY
        the same one. According to mount(2)\n\t\t * manpage, MS_BIND honors MS_RDONLY
        from kernel 2.6.26\n\t\t * onwards. However, this apparently does not work
        on kernel\n\t\t * 3.8. Unfortunately, on that very same kernel, doing the
        same\n\t\t * trick as above doesn't seem to work either, there one needs\n\t\t
        * to ALSO specify MS_BIND for the remount, otherwise the\n\t\t * entire fs
        is remounted read-only or the mount fails because\n\t\t * it's busy...  MS_REMOUNT|MS_BIND|MS_RDONLY
        seems to work for\n\t\t * kernels as low as 2.6.32...\n\t\t */\n\t\t{ LXC_AUTO_PROC_MASK,
        LXC_AUTO_PROC_MIXED, \"proc\",                                           \"%r/proc\",
        \                   \"proc\",  MS_NODEV|MS_NOEXEC|MS_NOSUID,                    NULL,
        false },\n\t\t/* proc/tty is used as a temporary placeholder for proc/sys/net
        which we'll move back in a few steps */\n\t\t{ LXC_AUTO_PROC_MASK, LXC_AUTO_PROC_MIXED,
        \"%r/proc/sys/net\",                                \"%r/proc/tty\",                NULL,
        \   MS_BIND,                                         NULL, true, },\n\t\t{
        LXC_AUTO_PROC_MASK, LXC_AUTO_PROC_MIXED, \"%r/proc/sys\",                                    \"%r/proc/sys\",
        \               NULL,    MS_BIND,                                         NULL,
        false },\n\t\t{ LXC_AUTO_PROC_MASK, LXC_AUTO_PROC_MIXED, NULL,                                             \"%r/proc/sys\",
        \               NULL,    MS_REMOUNT|MS_BIND|MS_RDONLY,                    NULL,
        false },\n\t\t{ LXC_AUTO_PROC_MASK, LXC_AUTO_PROC_MIXED, \"%r/proc/tty\",
        \                                   \"%r/proc/sys/net\",            NULL,
        \   MS_MOVE,                                         NULL, true  },\n\t\t{
        LXC_AUTO_PROC_MASK, LXC_AUTO_PROC_MIXED, \"%r/proc/sysrq-trigger\",                          \"%r/proc/sysrq-trigger\",
        \     NULL,    MS_BIND,                                         NULL, false
        },\n\t\t{ LXC_AUTO_PROC_MASK, LXC_AUTO_PROC_MIXED, NULL,                                             \"%r/proc/sysrq-trigger\",
        \     NULL,    MS_REMOUNT|MS_BIND|MS_RDONLY,                    NULL, false
        },\n\t\t{ LXC_AUTO_PROC_MASK, LXC_AUTO_PROC_RW,    \"proc\",                                           \"%r/proc\",
        \                   \"proc\",  MS_NODEV|MS_NOEXEC|MS_NOSUID,                    NULL,
        false },\n\t\t{ LXC_AUTO_SYS_MASK,  LXC_AUTO_SYS_RW,     \"sysfs\",                                          \"%r/sys\",
        \                    \"sysfs\", 0,                                               NULL,
        false },\n\t\t{ LXC_AUTO_SYS_MASK,  LXC_AUTO_SYS_RO,     \"sysfs\",                                          \"%r/sys\",
        \                    \"sysfs\", MS_RDONLY,                                       NULL,
        false },\n\t\t/* /proc/sys is used as a temporary staging directory for the
        read-write sysfs mount and unmounted after binding net */\n\t\t{ LXC_AUTO_SYS_MASK,
        \ LXC_AUTO_SYS_MIXED,  \"sysfs\",                                          \"%r/proc/sys\",
        \               \"sysfs\", MS_NOSUID|MS_NODEV|MS_NOEXEC,                    NULL,
        false },\n\t\t{ LXC_AUTO_SYS_MASK,  LXC_AUTO_SYS_MIXED,  \"sysfs\",                                          \"%r/sys\",
        \                    \"sysfs\", MS_RDONLY|MS_NOSUID|MS_NODEV|MS_NOEXEC,          NULL,
        false },\n\t\t{ LXC_AUTO_SYS_MASK,  LXC_AUTO_SYS_MIXED,  \"%r/proc/sys/devices/virtual/net\",
        \               \"%r/sys/devices/virtual/net\", NULL,    MS_BIND,                                         NULL,
        false },\n\t\t{ LXC_AUTO_SYS_MASK,  LXC_AUTO_SYS_MIXED,  \"%r/proc/sys\",
        \                                   NULL,                         NULL,    0,
        \                                              NULL, false },\n\t\t{ 0,                  0,
        \                  NULL,                                             NULL,
        \                        NULL,    0,                                               NULL,
        false }\n\t}"
      pos:
        line_end: 482
        line_start: 473
        source_file: /src/lxc/src/lxc/conf.c
    - fields:
      - name: '*oldpath'
        type: char
      - name: '*name'
        type: char
      item_type: struct
      name: dev_symlinks
      pos:
        line_end: 678
        line_start: 675
        source_file: /src/lxc/src/lxc/conf.c
    - fields:
      - name: '*name'
        type: char
      - name: mode
        type: mode_t
      - name: maj
        type: int
      - name: min
        type: int
      item_type: struct
      name: lxc_device_node
      pos:
        line_end: 1055
        line_start: 1050
        source_file: /src/lxc/src/lxc/conf.c
    - fields:
      - name: (*fn)(void *)
        type: int
      - name: '*fn_name'
        type: char
      - name: '*arg'
        type: void
      - name: p[2]
        type: int
      item_type: struct
      name: userns_fn_data
      pos:
        line_end: 4290
        line_start: 4285
        source_file: /src/lxc/src/lxc/conf.c
    typedefs: []
    union: []
- function_names:
  - lxc_log_priority_to_syslog
  - lxc_log_get_container_name
  - lxc_log_get_fd
  - lxc_log_get_va_msg
  - log_append_syslog
  - log_append_stderr
  - lxc_unix_epoch_to_utc
  - log_append_logfile
  - log_append_dlog
  - build_dir
  - log_open
  - build_log_path
  - __lxc_log_set_file
  - _lxc_log_set_file
  - lxc_log_init
  - lxc_log_close
  - lxc_log_syslog
  - lxc_log_syslog_enable
  - lxc_log_syslog_disable
  - lxc_log_set_level
  - lxc_log_get_level
  - lxc_log_has_valid_level
  - lxc_log_set_file
  - lxc_log_get_file
  - lxc_log_set_prefix
  - lxc_log_get_prefix
  - lxc_log_options_no_override
  source_file: /src/lxc/src/lxc/log.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LOG_TAG
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/lxc/log.c
      type_or_value: '"LXC"'
    - item_type: preproc_def
      name: LXC_LOG_TIME_SIZE
      pos:
        line_end: 42
        line_start: 41
        source_file: /src/lxc/src/lxc/log.c
      type_or_value: ((INTTYPE_TO_STRLEN(uint64_t)) * 2)
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_abstract_unix_send_two_fds
  - lxc_abstract_unix_recv_two_fds
  - put_unix_fds
  source_file: /src/lxc/src/lxc/af_unix.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: KERNEL_SCM_MAX_FD
      pos:
        line_end: 17
        line_start: 16
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: '253'
    - item_type: preproc_def
      name: UNIX_FDS_ACCEPT_EXACT
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: '((__u32)(1 << 0)) '
    - item_type: preproc_def
      name: UNIX_FDS_ACCEPT_LESS
      pos:
        line_end: 32
        line_start: 31
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: ((__u32)(1 << 1))
    - item_type: preproc_def
      name: UNIX_FDS_ACCEPT_MORE
      pos:
        line_end: 40
        line_start: 39
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: '((__u32)(1 << 2)) '
    - item_type: preproc_def
      name: UNIX_FDS_ACCEPT_NONE
      pos:
        line_end: 46
        line_start: 45
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: ((__u32)(1 << 3))
    - item_type: preproc_def
      name: UNIX_FDS_ACCEPT_MASK
      pos:
        line_end: 49
        line_start: 48
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: (UNIX_FDS_ACCEPT_EXACT | UNIX_FDS_ACCEPT_LESS | UNIX_FDS_ACCEPT_MORE
        | UNIX_FDS_ACCEPT_NONE)
    - item_type: preproc_def
      name: UNIX_FDS_RECEIVED_EXACT
      pos:
        line_end: 54
        line_start: 53
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: ((__u32)(1 << 16))
    - item_type: preproc_def
      name: UNIX_FDS_RECEIVED_LESS
      pos:
        line_end: 60
        line_start: 59
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: ((__u32)(1 << 17))
    - item_type: preproc_def
      name: UNIX_FDS_RECEIVED_MORE
      pos:
        line_end: 66
        line_start: 65
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: ((__u32)(1 << 18))
    - item_type: preproc_def
      name: UNIX_FDS_RECEIVED_NONE
      pos:
        line_end: 69
        line_start: 68
        source_file: /src/lxc/src/lxc/af_unix.h
      type_or_value: ((__u32)(1 << 19))
    structs:
    - fields:
      - name: fd_count_max
        type: __u32
      - name: fd_count_ret
        type: __u32
      - name: flags
        type: __u32
      - name: fd[KERNEL_SCM_MAX_FD]
        type: __s32
      item_type: struct
      name: unix_fds
      pos:
        line_end: 99
        line_start: 94
        source_file: /src/lxc/src/lxc/af_unix.h
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/error.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_CLONE_ERROR
      pos:
        line_end: 6
        line_start: 5
        source_file: /src/lxc/src/lxc/error.h
      type_or_value: '"Failed to clone a new set of namespaces"'
    - item_type: preproc_def
      name: LXC_UNPRIV_EOPNOTSUPP
      pos:
        line_end: 7
        line_start: 6
        source_file: /src/lxc/src/lxc/error.h
      type_or_value: '"the requested function %s is not currently supported with unprivileged
        containers"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - ptr_to_u64
  - u64_to_ptr
  - lxc_clone3
  - execveat
  - lxc_raw_getpid
  - lxc_raw_gettid
  - signal_name
  source_file: /src/lxc/src/lxc/process_utils.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: CSIGNAL
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x000000ff '
    - item_type: preproc_def
      name: CLONE_VM
      pos:
        line_end: 29
        line_start: 28
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00000100 '
    - item_type: preproc_def
      name: CLONE_FS
      pos:
        line_end: 33
        line_start: 32
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00000200 '
    - item_type: preproc_def
      name: CLONE_FILES
      pos:
        line_end: 37
        line_start: 36
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00000400 '
    - item_type: preproc_def
      name: CLONE_SIGHAND
      pos:
        line_end: 41
        line_start: 40
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00000800 '
    - item_type: preproc_def
      name: CLONE_PIDFD
      pos:
        line_end: 45
        line_start: 44
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00001000 '
    - item_type: preproc_def
      name: CLONE_PTRACE
      pos:
        line_end: 49
        line_start: 48
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00002000 '
    - item_type: preproc_def
      name: CLONE_VFORK
      pos:
        line_end: 53
        line_start: 52
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00004000 '
    - item_type: preproc_def
      name: CLONE_PARENT
      pos:
        line_end: 57
        line_start: 56
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00008000 '
    - item_type: preproc_def
      name: CLONE_THREAD
      pos:
        line_end: 61
        line_start: 60
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00010000 '
    - item_type: preproc_def
      name: CLONE_NEWNS
      pos:
        line_end: 65
        line_start: 64
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00020000 '
    - item_type: preproc_def
      name: CLONE_SYSVSEM
      pos:
        line_end: 69
        line_start: 68
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00040000 '
    - item_type: preproc_def
      name: CLONE_SETTLS
      pos:
        line_end: 73
        line_start: 72
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00080000 '
    - item_type: preproc_def
      name: CLONE_PARENT_SETTID
      pos:
        line_end: 77
        line_start: 76
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00100000 '
    - item_type: preproc_def
      name: CLONE_CHILD_CLEARTID
      pos:
        line_end: 81
        line_start: 80
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00200000 '
    - item_type: preproc_def
      name: CLONE_DETACHED
      pos:
        line_end: 85
        line_start: 84
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00400000 '
    - item_type: preproc_def
      name: CLONE_UNTRACED
      pos:
        line_end: 89
        line_start: 88
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00800000 '
    - item_type: preproc_def
      name: CLONE_CHILD_SETTID
      pos:
        line_end: 93
        line_start: 92
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x01000000 '
    - item_type: preproc_def
      name: CLONE_NEWCGROUP
      pos:
        line_end: 97
        line_start: 96
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x02000000 '
    - item_type: preproc_def
      name: CLONE_NEWUTS
      pos:
        line_end: 101
        line_start: 100
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x04000000 '
    - item_type: preproc_def
      name: CLONE_NEWIPC
      pos:
        line_end: 105
        line_start: 104
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x08000000 '
    - item_type: preproc_def
      name: CLONE_NEWUSER
      pos:
        line_end: 109
        line_start: 108
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x10000000 '
    - item_type: preproc_def
      name: CLONE_NEWPID
      pos:
        line_end: 113
        line_start: 112
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x20000000 '
    - item_type: preproc_def
      name: CLONE_NEWNET
      pos:
        line_end: 117
        line_start: 116
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x40000000 '
    - item_type: preproc_def
      name: CLONE_IO
      pos:
        line_end: 121
        line_start: 120
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x80000000 '
    - item_type: preproc_def
      name: CLONE_CLEAR_SIGHAND
      pos:
        line_end: 126
        line_start: 125
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x100000000ULL '
    - item_type: preproc_def
      name: CLONE_INTO_CGROUP
      pos:
        line_end: 130
        line_start: 129
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x200000000ULL '
    - item_type: preproc_def
      name: CLONE_NEWTIME
      pos:
        line_end: 138
        line_start: 137
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '0x00000080 '
    - item_type: preproc_def
      name: P_PIDFD
      pos:
        line_end: 144
        line_start: 143
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '3'
    - item_type: preproc_def
      name: CLONE_ARGS_SIZE_VER0
      pos:
        line_end: 149
        line_start: 148
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '64 '
    - item_type: preproc_def
      name: CLONE_ARGS_SIZE_VER1
      pos:
        line_end: 153
        line_start: 152
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '80 '
    - item_type: preproc_def
      name: CLONE_ARGS_SIZE_VER2
      pos:
        line_end: 157
        line_start: 156
        source_file: /src/lxc/src/lxc/process_utils.h
      type_or_value: '88 '
    structs:
    - fields:
      - name: flags
        type: __aligned_u64
      - name: pidfd
        type: __aligned_u64
      - name: child_tid
        type: __aligned_u64
      - name: parent_tid
        type: __aligned_u64
      - name: exit_signal
        type: __aligned_u64
      - name: stack
        type: __aligned_u64
      - name: stack_size
        type: __aligned_u64
      - name: tls
        type: __aligned_u64
      - name: set_tid
        type: __aligned_u64
      - name: set_tid_size
        type: __aligned_u64
      - name: cgroup
        type: __aligned_u64
      item_type: struct
      name: clone_args
      pos:
        line_end: 179
        line_start: 167
        source_file: /src/lxc/src/lxc/process_utils.h
    typedefs: []
    union: []
- function_names:
  - sync_wait
  - sync_wake
  - __sync_barrier
  - start_sync_to_string
  - lxc_sync_barrier_parent
  - lxc_sync_barrier_child
  - lxc_sync_wake_parent
  - lxc_sync_wait_parent
  - lxc_sync_wait_child
  - lxc_sync_wake_child
  - lxc_sync_init
  - lxc_sync_fini_child
  - lxc_sync_fini_parent
  - lxc_sync_fini
  source_file: /src/lxc/src/lxc/sync.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - pidfd_get_pid
  - sync_wake_pid
  - sync_wait_pid
  - sync_wake_fd
  - sync_wait_fd
  - attach_lsm
  - alloc_attach_context
  - get_personality
  - userns_setup_ids
  - userns_target_ids
  - parse_init_status
  - pidfd_setns_supported
  - get_attach_context
  - same_nsfd
  - same_ns
  - __prepare_namespaces_pidfd
  - __prepare_namespaces_nsfd
  - prepare_namespaces
  - put_namespaces
  - __attach_namespaces_pidfd
  - __attach_namespaces_nsfd
  - attach_namespaces
  - put_attach_context
  - attach_context_security_barrier
  - lxc_attach_remount_sys_proc
  - drop_capabilities
  - lxc_attach_set_environment
  - lxc_attach_getpwshell
  - fetch_seccomp
  - no_new_privs
  - put_attach_payload
  - do_attach
  - lxc_attach_terminal
  - lxc_attach_terminal_mainloop_init
  - lxc_attach_terminal_close_ptx
  - lxc_attach_terminal_close_pts
  - lxc_attach_terminal_close_peer
  - lxc_attach_terminal_close_log
  - lxc_attach
  - lxc_attach_run_command
  - lxc_attach_run_shell
  source_file: /src/lxc/src/lxc/attach.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: ns_clone_flags
        type: unsigned int
      - name: attach_flags
        type: unsigned int
      - name: init_pid
        type: int
      - name: init_pidfd
        type: int
      - name: dfd_init_pid
        type: int
      - name: dfd_self_pid
        type: int
      - name: setup_ns_uid
        type: uid_t
      - name: setup_ns_gid
        type: gid_t
      - name: target_ns_uid
        type: uid_t
      - name: target_ns_gid
        type: gid_t
      - name: target_host_uid
        type: uid_t
      - name: target_host_gid
        type: uid_t
      - name: '*lsm_label'
        type: char
      - name: '*container'
        type: struct lxc_container
      - name: personality
        type: personality_t
      - name: capability_mask
        type: unsigned long long
      - name: ns_inherited
        type: int
      - name: ns_fd[LXC_NS_MAX]
        type: int
      - name: '*lsm_ops'
        type: struct lsm_ops
      - name: core_sched_cookie
        type: __u64
      item_type: struct
      name: attach_context
      pos:
        line_end: 104
        line_start: 83
        source_file: /src/lxc/src/lxc/attach.c
    - fields:
      - name: ipc_socket
        type: int
      - name: terminal_pts_fd
        type: int
      - name: '*options'
        type: lxc_attach_options_t
      - name: '*ctx'
        type: struct attach_context
      - name: exec_function
        type: lxc_attach_exec_t
      - name: '*exec_payload'
        type: void
      item_type: struct
      name: attach_payload
      pos:
        line_end: 1121
        line_start: 1114
        source_file: /src/lxc/src/lxc/attach.c
    typedefs: []
    union: []
- function_names:
  - dump_stacktrace
  - dump_stacktrace
  - lock_mutex
  - unlock_mutex
  - lxclock_name
  - lxc_new_unnamed_sem
  - lxc_newlock
  - lxclock
  - lxcunlock
  - lxc_putlock
  - process_lock
  - process_unlock
  - container_mem_lock
  - container_mem_unlock
  - container_disk_lock
  - container_disk_unlock
  source_file: /src/lxc/src/lxc/lxclock.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MAX_STACKDEPTH
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/lxclock.c
      type_or_value: '25'
    structs: []
    typedefs: []
    union: []
- function_names:
  - __S_ISTYPE
  - INTTYPE_TO_STRLEN
  - BUILD_BUG_ON
  - BUILD_BUG_ON
  - prctl_arg
  - PTR_TO_INT
  - INT_TO_PTR
  - PTR_TO_PID
  - PID_TO_PTR
  - PTR_TO_UINT64
  - PTR_TO_U64
  - UINT_TO_PTR
  - PTR_TO_USHORT
  - STRLITERALLEN
  - STRARRAYLEN
  - move_ptr
  - move_fd
  - ret_set_errno
  - ret_errno
  - ARRAY_SIZE
  - swap
  - min
  - BUILD_BUG_ON_ZERO
  - __const_hweight8
  - __const_hweight16
  - __const_hweight32
  - __const_hweight64
  - hweight8
  - hweight16
  - hweight32
  - hweight64
  - BITS_PER_TYPE
  - LAST_BIT_PER_TYPE
  - has_exact_flags
  - container_of
  - DIV_ROUND_UP
  - BITS_TO_LONGS
  - set_bit
  - clear_bit
  - is_set
  - BIT
  source_file: /src/lxc/src/lxc/macro.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: PATH_MAX
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '4096'
    - item_type: preproc_def
      name: MAX_GRBUF_SIZE
      pos:
        line_end: 30
        line_start: 29
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2097152'
    - item_type: preproc_def
      name: INT64_FMT
      pos:
        line_end: 33
        line_start: 32
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '"%" PRId64'
    - item_type: preproc_def
      name: IORING_POLL_ADD_MULTI
      pos:
        line_end: 49
        line_start: 48
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (1U << 0)
    - item_type: preproc_def
      name: IORING_CQE_F_MORE
      pos:
        line_end: 58
        line_start: 57
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (1U << 1)
    - item_type: preproc_def
      name: CAP_CHOWN
      pos:
        line_end: 63
        line_start: 62
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0'
    - item_type: preproc_def
      name: CAP_DAC_OVERRIDE
      pos:
        line_end: 67
        line_start: 66
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: CAP_DAC_READ_SEARCH
      pos:
        line_end: 71
        line_start: 70
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2'
    - item_type: preproc_def
      name: CAP_FOWNER
      pos:
        line_end: 75
        line_start: 74
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '3'
    - item_type: preproc_def
      name: CAP_FSETID
      pos:
        line_end: 79
        line_start: 78
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '4'
    - item_type: preproc_def
      name: CAP_KILL
      pos:
        line_end: 83
        line_start: 82
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '5'
    - item_type: preproc_def
      name: CAP_SETGID
      pos:
        line_end: 87
        line_start: 86
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '6'
    - item_type: preproc_def
      name: CAP_SETUID
      pos:
        line_end: 91
        line_start: 90
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '7'
    - item_type: preproc_def
      name: CAP_SETPCAP
      pos:
        line_end: 95
        line_start: 94
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '8'
    - item_type: preproc_def
      name: CAP_LINUX_IMMUTABLE
      pos:
        line_end: 99
        line_start: 98
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '9'
    - item_type: preproc_def
      name: CAP_NET_BIND_SERVICE
      pos:
        line_end: 103
        line_start: 102
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '10'
    - item_type: preproc_def
      name: CAP_NET_BROADCAST
      pos:
        line_end: 107
        line_start: 106
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '11'
    - item_type: preproc_def
      name: CAP_NET_ADMIN
      pos:
        line_end: 111
        line_start: 110
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '12'
    - item_type: preproc_def
      name: CAP_NET_RAW
      pos:
        line_end: 115
        line_start: 114
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '13'
    - item_type: preproc_def
      name: CAP_IPC_LOCK
      pos:
        line_end: 119
        line_start: 118
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '14'
    - item_type: preproc_def
      name: CAP_IPC_OWNER
      pos:
        line_end: 123
        line_start: 122
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '15'
    - item_type: preproc_def
      name: CAP_SYS_MODULE
      pos:
        line_end: 127
        line_start: 126
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '16'
    - item_type: preproc_def
      name: CAP_SYS_RAWIO
      pos:
        line_end: 131
        line_start: 130
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '17'
    - item_type: preproc_def
      name: CAP_SYS_CHROOT
      pos:
        line_end: 135
        line_start: 134
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '18'
    - item_type: preproc_def
      name: CAP_SYS_PTRACE
      pos:
        line_end: 139
        line_start: 138
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '19'
    - item_type: preproc_def
      name: CAP_SYS_PACCT
      pos:
        line_end: 143
        line_start: 142
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '20'
    - item_type: preproc_def
      name: CAP_SYS_ADMIN
      pos:
        line_end: 147
        line_start: 146
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '21'
    - item_type: preproc_def
      name: CAP_SYS_BOOT
      pos:
        line_end: 151
        line_start: 150
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '22'
    - item_type: preproc_def
      name: CAP_SYS_NICE
      pos:
        line_end: 155
        line_start: 154
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '23'
    - item_type: preproc_def
      name: CAP_SYS_RESOURCE
      pos:
        line_end: 159
        line_start: 158
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '24'
    - item_type: preproc_def
      name: CAP_SYS_TIME
      pos:
        line_end: 163
        line_start: 162
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '25'
    - item_type: preproc_def
      name: CAP_SYS_TTY_CONFIG
      pos:
        line_end: 167
        line_start: 166
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '26'
    - item_type: preproc_def
      name: CAP_MKNOD
      pos:
        line_end: 171
        line_start: 170
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '27'
    - item_type: preproc_def
      name: CAP_LEASE
      pos:
        line_end: 175
        line_start: 174
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '28'
    - item_type: preproc_def
      name: CAP_AUDIT_WRITE
      pos:
        line_end: 179
        line_start: 178
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '29'
    - item_type: preproc_def
      name: CAP_AUDIT_CONTROL
      pos:
        line_end: 183
        line_start: 182
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '30'
    - item_type: preproc_def
      name: CAP_SETFCAP
      pos:
        line_end: 187
        line_start: 186
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '31'
    - item_type: preproc_def
      name: CAP_MAC_OVERRIDE
      pos:
        line_end: 191
        line_start: 190
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '32'
    - item_type: preproc_def
      name: CAP_MAC_ADMIN
      pos:
        line_end: 195
        line_start: 194
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '33'
    - item_type: preproc_def
      name: CAP_SYSLOG
      pos:
        line_end: 199
        line_start: 198
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '34'
    - item_type: preproc_def
      name: CAP_WAKE_ALARM
      pos:
        line_end: 203
        line_start: 202
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '35'
    - item_type: preproc_def
      name: CAP_BLOCK_SUSPEND
      pos:
        line_end: 207
        line_start: 206
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '36'
    - item_type: preproc_def
      name: CAP_AUDIT_READ
      pos:
        line_end: 211
        line_start: 210
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '37'
    - item_type: preproc_def
      name: CAP_PERFMON
      pos:
        line_end: 215
        line_start: 214
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '38'
    - item_type: preproc_def
      name: CAP_BPF
      pos:
        line_end: 219
        line_start: 218
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '39'
    - item_type: preproc_def
      name: CAP_CHECKPOINT_RESTORE
      pos:
        line_end: 223
        line_start: 222
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '40'
    - item_type: preproc_def
      name: PR_CAPBSET_READ
      pos:
        line_end: 228
        line_start: 227
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '23'
    - item_type: preproc_def
      name: PR_CAPBSET_DROP
      pos:
        line_end: 232
        line_start: 231
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '24'
    - item_type: preproc_def
      name: PR_CAP_AMBIENT
      pos:
        line_end: 237
        line_start: 236
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '47'
    - item_type: preproc_def
      name: PR_CAP_AMBIENT_IS_SET
      pos:
        line_end: 241
        line_start: 240
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: PR_CAP_AMBIENT_RAISE
      pos:
        line_end: 245
        line_start: 244
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2'
    - item_type: preproc_def
      name: PR_CAP_AMBIENT_LOWER
      pos:
        line_end: 249
        line_start: 248
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '3'
    - item_type: preproc_def
      name: PR_CAP_AMBIENT_CLEAR_ALL
      pos:
        line_end: 253
        line_start: 252
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '4'
    - item_type: preproc_def
      name: PR_SET_NO_NEW_PRIVS
      pos:
        line_end: 257
        line_start: 256
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '38'
    - item_type: preproc_def
      name: PR_GET_NO_NEW_PRIVS
      pos:
        line_end: 261
        line_start: 260
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '39'
    - item_type: preproc_def
      name: CGROUP_SUPER_MAGIC
      pos:
        line_end: 266
        line_start: 265
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x27e0eb'
    - item_type: preproc_def
      name: CGROUP2_SUPER_MAGIC
      pos:
        line_end: 270
        line_start: 269
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x63677270'
    - item_type: preproc_def
      name: NSFS_MAGIC
      pos:
        line_end: 274
        line_start: 273
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x6e736673'
    - item_type: preproc_def
      name: OVERLAY_SUPER_MAGIC
      pos:
        line_end: 279
        line_start: 278
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x794c7630'
    - item_type: preproc_def
      name: OVERLAYFS_SUPER_MAGIC
      pos:
        line_end: 284
        line_start: 283
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x794c764f'
    - item_type: preproc_def
      name: LXC_LINELEN
      pos:
        line_end: 303
        line_start: 302
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '4096'
    - item_type: preproc_def
      name: LXC_IDMAPLEN
      pos:
        line_end: 304
        line_start: 303
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '4096'
    - item_type: preproc_def
      name: LXC_MAX_BUFFER
      pos:
        line_end: 305
        line_start: 304
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '4096'
    - item_type: preproc_def
      name: LXC_NAMESPACE_NAME_MAX
      pos:
        line_end: 306
        line_start: 305
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '256'
    - item_type: preproc_def
      name: LXC_PROC_PID_LEN
      pos:
        line_end: 319
        line_start: 317
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (6 + INTTYPE_TO_STRLEN(pid_t) + 1)
    - item_type: preproc_def
      name: LXC_PROC_PID_FD_LEN
      pos:
        line_end: 332
        line_start: 330
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (6 + INTTYPE_TO_STRLEN(pid_t) + 4 + INTTYPE_TO_STRLEN(int) +
        1)
    - item_type: preproc_def
      name: LXC_PROC_SELF_FD_LEN
      pos:
        line_end: 340
        line_start: 339
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (14 + INTTYPE_TO_STRLEN(int) + 1)
    - item_type: preproc_def
      name: LXC_PROC_STATUS_LEN
      pos:
        line_end: 350
        line_start: 349
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (6 + INTTYPE_TO_STRLEN(pid_t) + 7 + 1)
    - item_type: preproc_def
      name: LXC_LSMATTRLEN
      pos:
        line_end: 364
        line_start: 363
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (6 + INTTYPE_TO_STRLEN(pid_t) + 6 + 10 + 8 + 1)
    - item_type: preproc_def
      name: LXC_EXPOSE_NAMESPACE_LEN
      pos:
        line_end: 382
        line_start: 379
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: "(MAX_NS_PROC_NAME + 1 + 6 + INTTYPE_TO_STRLEN(pid_t) + 4 + \\\n\t
        INTTYPE_TO_STRLEN(int) + 1)"
    - item_type: preproc_def
      name: LXC_CMD_DATA_MAX
      pos:
        line_end: 384
        line_start: 383
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (PATH_MAX * 2)
    - item_type: preproc_def
      name: LO_FLAGS_AUTOCLEAR
      pos:
        line_end: 388
        line_start: 387
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '4'
    - item_type: preproc_def
      name: LOOP_CTL_GET_FREE
      pos:
        line_end: 392
        line_start: 391
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x4C82'
    - item_type: preproc_def
      name: MFD_CLOEXEC
      pos:
        line_end: 397
        line_start: 396
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: 0x0001U
    - item_type: preproc_def
      name: MFD_ALLOW_SEALING
      pos:
        line_end: 401
        line_start: 400
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: 0x0002U
    - item_type: preproc_def
      name: MFD_NOEXEC_SEAL
      pos:
        line_end: 405
        line_start: 404
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: 0x0008U
    - item_type: preproc_def
      name: MFD_EXEC
      pos:
        line_end: 409
        line_start: 408
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: 0x0010U
    - item_type: preproc_def
      name: NETLINK_GET_STRICT_CHK
      pos:
        line_end: 443
        line_start: 442
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '12'
    - item_type: preproc_def
      name: SOL_NETLINK
      pos:
        line_end: 447
        line_start: 446
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '270'
    - item_type: preproc_def
      name: IFLA_LINKMODE
      pos:
        line_end: 451
        line_start: 450
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '17'
    - item_type: preproc_def
      name: IFLA_LINKINFO
      pos:
        line_end: 455
        line_start: 454
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '18'
    - item_type: preproc_def
      name: IFLA_NET_NS_PID
      pos:
        line_end: 459
        line_start: 458
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '19'
    - item_type: preproc_def
      name: IFLA_NET_NS_FD
      pos:
        line_end: 463
        line_start: 462
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '28'
    - item_type: preproc_def
      name: IFLA_PROP_LIST
      pos:
        line_end: 467
        line_start: 466
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '52'
    - item_type: preproc_def
      name: IFLA_ALT_IFNAME
      pos:
        line_end: 471
        line_start: 470
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '53'
    - item_type: preproc_def
      name: IFLA_INFO_KIND
      pos:
        line_end: 475
        line_start: 474
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: IFLA_VLAN_ID
      pos:
        line_end: 479
        line_start: 478
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: IFLA_INFO_DATA
      pos:
        line_end: 483
        line_start: 482
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2'
    - item_type: preproc_def
      name: VETH_INFO_PEER
      pos:
        line_end: 487
        line_start: 486
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: VETH_MODE_BRIDGE
      pos:
        line_end: 491
        line_start: 490
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: VETH_MODE_ROUTER
      pos:
        line_end: 495
        line_start: 494
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2'
    - item_type: preproc_def
      name: IFLA_MACVLAN_MODE
      pos:
        line_end: 499
        line_start: 498
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: IFLA_IPVLAN_MODE
      pos:
        line_end: 503
        line_start: 502
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: IFLA_IPVLAN_ISOLATION
      pos:
        line_end: 507
        line_start: 506
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2'
    - item_type: preproc_def
      name: IFLA_NEW_NETNSID
      pos:
        line_end: 511
        line_start: 510
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '45'
    - item_type: preproc_def
      name: IFLA_TARGET_NETNSID
      pos:
        line_end: 516
        line_start: 515
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: = IFLA_IF_NETNSID
    - item_type: preproc_def
      name: IFLA_IF_NETNSID
      pos:
        line_end: 519
        line_start: 518
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '46'
    - item_type: preproc_def
      name: IFLA_TARGET_NETNSID
      pos:
        line_end: 520
        line_start: 519
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '46'
    - item_type: preproc_def
      name: IFA_TARGET_NETNSID
      pos:
        line_end: 524
        line_start: 523
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '10'
    - item_type: preproc_def
      name: IFLA_STATS
      pos:
        line_end: 528
        line_start: 527
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '7'
    - item_type: preproc_def
      name: IFLA_STATS64
      pos:
        line_end: 532
        line_start: 531
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '23'
    - item_type: preproc_def
      name: RTM_NEWNSID
      pos:
        line_end: 536
        line_start: 535
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '88'
    - item_type: preproc_def
      name: RTM_GETNSID
      pos:
        line_end: 540
        line_start: 539
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '90'
    - item_type: preproc_def
      name: RTM_NEWLINKPROP
      pos:
        line_end: 544
        line_start: 543
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '108'
    - item_type: preproc_def
      name: RTM_DELLINKPROP
      pos:
        line_end: 548
        line_start: 547
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '109'
    - item_type: preproc_def
      name: NLMSG_ERROR
      pos:
        line_end: 552
        line_start: 551
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x2'
    - item_type: preproc_def
      name: MACVLAN_MODE_PRIVATE
      pos:
        line_end: 556
        line_start: 555
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: MACVLAN_MODE_VEPA
      pos:
        line_end: 560
        line_start: 559
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2'
    - item_type: preproc_def
      name: MACVLAN_MODE_BRIDGE
      pos:
        line_end: 564
        line_start: 563
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '4'
    - item_type: preproc_def
      name: MACVLAN_MODE_PASSTHRU
      pos:
        line_end: 568
        line_start: 567
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '8'
    - item_type: preproc_def
      name: IPVLAN_MODE_L2
      pos:
        line_end: 572
        line_start: 571
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0'
    - item_type: preproc_def
      name: IPVLAN_MODE_L3
      pos:
        line_end: 576
        line_start: 575
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: IPVLAN_MODE_L3S
      pos:
        line_end: 580
        line_start: 579
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2'
    - item_type: preproc_def
      name: IPVLAN_ISOLATION_BRIDGE
      pos:
        line_end: 584
        line_start: 583
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0'
    - item_type: preproc_def
      name: IPVLAN_ISOLATION_PRIVATE
      pos:
        line_end: 588
        line_start: 587
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1'
    - item_type: preproc_def
      name: IPVLAN_ISOLATION_VEPA
      pos:
        line_end: 592
        line_start: 591
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2'
    - item_type: preproc_def
      name: BRIDGE_VLAN_NONE
      pos:
        line_end: 596
        line_start: 595
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '-1 '
    - item_type: preproc_def
      name: BRIDGE_VLAN_ID_MAX
      pos:
        line_end: 600
        line_start: 599
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '4094 '
    - item_type: preproc_def
      name: BRIDGE_FLAGS_MASTER
      pos:
        line_end: 604
        line_start: 603
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '1 '
    - item_type: preproc_def
      name: BRIDGE_VLAN_INFO_PVID
      pos:
        line_end: 608
        line_start: 607
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '(1<<1) '
    - item_type: preproc_def
      name: BRIDGE_VLAN_INFO_UNTAGGED
      pos:
        line_end: 612
        line_start: 611
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '(1<<2) '
    - item_type: preproc_def
      name: IFLA_BRIDGE_FLAGS
      pos:
        line_end: 616
        line_start: 615
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0'
    - item_type: preproc_def
      name: IFLA_BRIDGE_VLAN_INFO
      pos:
        line_end: 620
        line_start: 619
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '2'
    - item_type: preproc_def
      name: LXC_AUDS_ADDR_LEN
      pos:
        line_end: 634
        line_start: 633
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: sizeof(((struct sockaddr_un *)0)->sun_path)
    - item_type: preproc_def
      name: MS_PRIVATE
      pos:
        line_end: 638
        line_start: 637
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (1<<18)
    - item_type: preproc_def
      name: MS_SLAVE
      pos:
        line_end: 642
        line_start: 641
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (1 << 19)
    - item_type: preproc_def
      name: MS_LAZYTIME
      pos:
        line_end: 646
        line_start: 645
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: (1<<25)
    - item_type: preproc_def
      name: MS_REC
      pos:
        line_end: 650
        line_start: 649
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '16384'
    - item_type: preproc_def
      name: MS_NOSYMFOLLOW
      pos:
        line_end: 654
        line_start: 653
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '256     '
    - item_type: preproc_def
      name: O_PATH
      pos:
        line_end: 659
        line_start: 658
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '010000000'
    - item_type: preproc_def
      name: O_NOFOLLOW
      pos:
        line_end: 663
        line_start: 662
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '00400000'
    - item_type: preproc_def
      name: SOCK_CLOEXEC
      pos:
        line_end: 668
        line_start: 667
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '02000000'
    - item_type: preproc_def
      name: LXC_INVALID_UID
      pos:
        line_end: 684
        line_start: 683
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: ((uid_t)-1)
    - item_type: preproc_def
      name: LXC_INVALID_GID
      pos:
        line_end: 685
        line_start: 684
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: ((gid_t)-1)
    - item_type: preproc_def
      name: LXC_SENDFILE_MAX
      pos:
        line_end: 691
        line_start: 690
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x7ffff000'
    - item_type: preproc_def
      name: LXC_CONFIG_FNAME
      pos:
        line_end: 721
        line_start: 720
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '"config"'
    - item_type: preproc_def
      name: LXC_PARTIAL_FNAME
      pos:
        line_end: 722
        line_start: 721
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '"partial"'
    - item_type: preproc_def
      name: LXC_ROOTFS_DNAME
      pos:
        line_end: 723
        line_start: 722
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '"rootfs"'
    - item_type: preproc_def
      name: LXC_TIMESTAMP_FNAME
      pos:
        line_end: 724
        line_start: 723
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '"ts"'
    - item_type: preproc_def
      name: LXC_COMMENT_FNAME
      pos:
        line_end: 725
        line_start: 724
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '"comment"'
    - item_type: preproc_def
      name: TIOCGPTPEER
      pos:
        line_end: 734
        line_start: 733
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: _IO('t', 137)
    - item_type: preproc_def
      name: TIOCGPTPEER
      pos:
        line_end: 736
        line_start: 735
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: _IO('T', 0x41)
    - item_type: preproc_def
      name: ENOCGROUP2
      pos:
        line_end: 740
        line_start: 739
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: ENOMEDIUM
    - item_type: preproc_def
      name: MAX_FILENO
      pos:
        line_end: 742
        line_start: 741
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: ~0U
    - item_type: preproc_def
      name: __aligned_u64
      pos:
        line_end: 785
        line_start: 784
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: __u64 __attribute__((aligned(8)))
    - item_type: preproc_def
      name: BITS_PER_BYTE
      pos:
        line_end: 788
        line_start: 787
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '8'
    - item_type: preproc_def
      name: PER_LINUX
      pos:
        line_end: 793
        line_start: 792
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x0000'
    - item_type: preproc_def
      name: PER_LINUX32
      pos:
        line_end: 794
        line_start: 793
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x0008'
    - item_type: preproc_def
      name: NBITS
      pos:
        line_end: 819
        line_start: 818
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '32 '
    - item_type: preproc_def
      name: FS_IOC_GETFLAGS
      pos:
        line_end: 841
        line_start: 840
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: _IOR('f', 1, long)
    - item_type: preproc_def
      name: FS_IOC_SETFLAGS
      pos:
        line_end: 845
        line_start: 844
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: _IOW('f', 2, long)
    - item_type: preproc_def
      name: FS_IMMUTABLE_FL
      pos:
        line_end: 849
        line_start: 848
        source_file: /src/lxc/src/lxc/macro.h
      type_or_value: '0x00000010 '
    structs: []
    typedefs:
    - item_type: typedef
      name: llu
      pos:
        line_end: 815
        line_start: 815
        source_file: /src/lxc/src/lxc/macro.h
      type: long long unsigned int
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/lxccontainer.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_CLONE_KEEPNAME
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '(1 << 0) '
    - item_type: preproc_def
      name: LXC_CLONE_KEEPMACADDR
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '(1 << 1) '
    - item_type: preproc_def
      name: LXC_CLONE_SNAPSHOT
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '(1 << 2) '
    - item_type: preproc_def
      name: LXC_CLONE_KEEPBDEVTYPE
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '(1 << 3) '
    - item_type: preproc_def
      name: LXC_CLONE_MAYBE_SNAPSHOT
      pos:
        line_end: 22
        line_start: 21
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '(1 << 4) '
    - item_type: preproc_def
      name: LXC_CLONE_MAXFLAGS
      pos:
        line_end: 23
        line_start: 22
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '(1 << 5) '
    - item_type: preproc_def
      name: LXC_CLONE_ALLOW_RUNNING
      pos:
        line_end: 24
        line_start: 23
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '(1 << 6) '
    - item_type: preproc_def
      name: LXC_CREATE_QUIET
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '(1 << 0) '
    - item_type: preproc_def
      name: LXC_CREATE_MAXFLAGS
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '(1 << 1) '
    - item_type: preproc_def
      name: LXC_MOUNT_API_V1
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: '1'
    - item_type: preproc_def
      name: FEATURE_MEM_TRACK
      pos:
        line_end: 956
        line_start: 955
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: (1ULL << 0)
    - item_type: preproc_def
      name: FEATURE_LAZY_PAGES
      pos:
        line_end: 957
        line_start: 956
        source_file: /src/lxc/src/lxc/lxccontainer.h
      type_or_value: (1ULL << 1)
    structs:
    - fields:
      - name: version
        type: int
      item_type: struct
      name: lxc_mount
      pos:
        line_end: 40
        line_start: 38
        source_file: /src/lxc/src/lxc/lxccontainer.h
    - fields:
      - name: '*name'
        type: char
      - name: '*configfile'
        type: char
      - name: '*pidfile'
        type: char
      - name: '*slock'
        type: struct lxc_lock
      - name: '*privlock'
        type: struct lxc_lock
      - name: numthreads
        type: int
      - name: '*lxc_conf'
        type: struct lxc_conf
      - name: '*error_string'
        type: char
      - name: error_num
        type: int
      - name: daemonize
        type: bool
      - name: '*config_path'
        type: char
      - name: (*is_defined)(struct lxc_container *c)
        type: bool
      - name: '*(*state)(struct lxc_container *c)'
        type: char
      - name: (*is_running)(struct lxc_container *c)
        type: bool
      - name: (*freeze)(struct lxc_container *c)
        type: bool
      - name: (*unfreeze)(struct lxc_container *c)
        type: bool
      - name: (*init_pid)(struct lxc_container *c)
        type: pid_t
      - name: (*load_config)(struct lxc_container *c, const char *alt_file)
        type: bool
      - name: (*start)(struct lxc_container *c, int useinit, char * const argv[])
        type: bool
      - name: (*startl)(struct lxc_container *c, int useinit, ...)
        type: bool
      - name: (*stop)(struct lxc_container *c)
        type: bool
      - name: (*want_daemonize)(struct lxc_container *c, bool state)
        type: bool
      - name: (*want_close_all_fds)(struct lxc_container *c, bool state)
        type: bool
      - name: '*(*config_file_name)(struct lxc_container *c)'
        type: char
      - name: (*wait)(struct lxc_container *c, const char *state, int timeout)
        type: bool
      - name: (*set_config_item)(struct lxc_container *c, const char *key, const char
          *value)
        type: bool
      - name: (*destroy)(struct lxc_container *c)
        type: bool
      - name: (*save_config)(struct lxc_container *c, const char *alt_file)
        type: bool
      - name: "(*create)(struct lxc_container *c, const char *t, const char *bdevtype,\n\t\t\tstruct
          bdev_specs *specs, int flags, char *const argv[])"
        type: bool
      - name: "(*createl)(struct lxc_container *c, const char *t, const char *bdevtype,\n\t\t\tstruct
          bdev_specs *specs, int flags, ...)"
        type: bool
      - name: (*rename)(struct lxc_container *c, const char *newname)
        type: bool
      - name: (*reboot)(struct lxc_container *c)
        type: bool
      - name: (*shutdown)(struct lxc_container *c, int timeout)
        type: bool
      - name: (*clear_config)(struct lxc_container *c)
        type: void
      - name: (*clear_config_item)(struct lxc_container *c, const char *key)
        type: bool
      - name: (*get_config_item)(struct lxc_container *c, const char *key, char *retv,
          int inlen)
        type: int
      - name: '* (*get_running_config_item)(struct lxc_container *c, const char *key)'
        type: char
      - name: (*get_keys)(struct lxc_container *c, const char *key, char *retv, int
          inlen)
        type: int
      - name: '** (*get_interfaces)(struct lxc_container *c)'
        type: char
      - name: '** (*get_ips)(struct lxc_container *c, const char* interface, const
          char* family, int scope)'
        type: char
      - name: (*get_cgroup_item)(struct lxc_container *c, const char *subsys, char
          *retv, int inlen)
        type: int
      - name: (*set_cgroup_item)(struct lxc_container *c, const char *subsys, const
          char *value)
        type: bool
      - name: '*(*get_config_path)(struct lxc_container *c)'
        type: char
      - name: (*set_config_path)(struct lxc_container *c, const char *path)
        type: bool
      - name: "*(*clone)(struct lxc_container *c, const char *newname,\n\t\t\tconst
          char *lxcpath, int flags, const char *bdevtype,\n\t\t\tconst char *bdevdata,
          uint64_t newsize, char **hookargs)"
        type: struct lxc_container
      - name: (*console_getfd)(struct lxc_container *c, int *ttynum, int *ptxfd)
        type: int
      - name: "(*console)(struct lxc_container *c, int ttynum,\n\t\t\tint stdinfd,
          int stdoutfd, int stderrfd, int escape)"
        type: int
      - name: "(*attach)(struct lxc_container *c, lxc_attach_exec_t exec_function,\n\t\t\tvoid
          *exec_payload, lxc_attach_options_t *options, pid_t *attached_process)"
        type: int
      - name: (*attach_run_wait)(struct lxc_container *c, lxc_attach_options_t *options,
          const char *program, const char * const argv[])
        type: int
      - name: (*attach_run_waitl)(struct lxc_container *c, lxc_attach_options_t *options,
          const char *program, const char *arg, ...)
        type: int
      - name: (*snapshot)(struct lxc_container *c, const char *commentfile)
        type: int
      - name: (*snapshot_list)(struct lxc_container *c, struct lxc_snapshot **snapshots)
        type: int
      - name: (*snapshot_restore)(struct lxc_container *c, const char *snapname, const
          char *newname)
        type: bool
      - name: (*snapshot_destroy)(struct lxc_container *c, const char *snapname)
        type: bool
      - name: (*may_control)(struct lxc_container *c)
        type: bool
      - name: (*add_device_node)(struct lxc_container *c, const char *src_path, const
          char *dest_path)
        type: bool
      - name: (*remove_device_node)(struct lxc_container *c, const char *src_path,
          const char *dest_path)
        type: bool
      - name: (*attach_interface)(struct lxc_container *c, const char *dev, const
          char *dst_dev)
        type: bool
      - name: (*detach_interface)(struct lxc_container *c, const char *dev, const
          char *dst_dev)
        type: bool
      - name: (*checkpoint)(struct lxc_container *c, char *directory, bool stop, bool
          verbose)
        type: bool
      - name: (*restore)(struct lxc_container *c, char *directory, bool verbose)
        type: bool
      - name: (*destroy_with_snapshots)(struct lxc_container *c)
        type: bool
      - name: (*snapshot_destroy_all)(struct lxc_container *c)
        type: bool
      - name: (*migrate)(struct lxc_container *c, unsigned int cmd, struct migrate_opts
          *opts, unsigned int size)
        type: int
      - name: (*console_log)(struct lxc_container *c, struct lxc_console_log *log)
        type: int
      - name: (*reboot2)(struct lxc_container *c, int timeout)
        type: bool
      - name: "(*mount)(struct lxc_container *c, const char *source,\n\t\t     const
          char *target, const char *filesystemtype,\n\t\t     unsigned long mountflags,
          const void *data,\n\t\t     struct lxc_mount *mnt)"
        type: int
      - name: "(*umount)(struct lxc_container *c, const char *target,\n\t\t      unsigned
          long mountflags, struct lxc_mount *mnt)"
        type: int
      - name: (*seccomp_notify_fd)(struct lxc_container *c)
        type: int
      - name: (*seccomp_notify_fd_active)(struct lxc_container *c)
        type: int
      - name: (*init_pidfd)(struct lxc_container *c)
        type: int
      - name: (*devpts_fd)(struct lxc_container *c)
        type: int
      - name: rcv_timeout
        type: int
      - name: (*set_timeout)(struct lxc_container *c, int timeout)
        type: bool
      item_type: struct
      name: lxc_container
      pos:
        line_end: 901
        line_start: 49
        source_file: /src/lxc/src/lxc/lxccontainer.h
    - fields:
      - name: '*name'
        type: char
      - name: '*comment_pathname'
        type: char
      - name: '*timestamp'
        type: char
      - name: '*lxcpath'
        type: char
      - name: (*free)(struct lxc_snapshot *s)
        type: void
      item_type: struct
      name: lxc_snapshot
      pos:
        line_end: 917
        line_start: 906
        source_file: /src/lxc/src/lxc/lxccontainer.h
    - fields:
      - name: '*fstype'
        type: char
      - name: fssize
        type: uint64_t
      - name: zfs
        type: "struct {\n\t\tchar *zfsroot; /*!< ZFS root path */\n\t}"
      - name: lvm
        type: "struct {\n\t\tchar *vg; /*!< LVM Volume Group name */\n\t\tchar *lv;
          /*!< LVM Logical Volume name */\n\t\tchar *thinpool; /*!< LVM thin pool
          to use, if any */\n\t}"
      - name: '*dir'
        type: char
      - name: rbd
        type: "struct {\n\t\tchar *rbdname; /*!< RBD image name */\n\t\tchar *rbdpool;
          /*!< Ceph pool name */\n\t\tchar *rbduser; /*!< Ceph user name*/\n\t}"
      item_type: struct
      name: bdev_specs
      pos:
        line_end: 940
        line_start: 923
        source_file: /src/lxc/src/lxc/lxccontainer.h
    - fields:
      - name: '*directory'
        type: char
      - name: verbose
        type: bool
      - name: stop
        type: bool
      - name: '*predump_dir'
        type: char
      - name: '*pageserver_address'
        type: char
      - name: '*pageserver_port'
        type: char
      - name: preserves_inodes
        type: bool
      - name: '*action_script'
        type: char
      - name: disable_skip_in_flight
        type: bool
      - name: ghost_limit
        type: uint64_t
      - name: features_to_check
        type: uint64_t
      item_type: struct
      name: migrate_opts
      pos:
        line_end: 1001
        line_start: 961
        source_file: /src/lxc/src/lxc/lxccontainer.h
    - fields:
      - name: clear
        type: bool
      - name: read
        type: bool
      - name: '*read_max'
        type: uint64_t
      - name: '*data'
        type: char
      item_type: struct
      name: lxc_console_log
      pos:
        line_end: 1023
        line_start: 1003
        source_file: /src/lxc/src/lxc/lxccontainer.h
    - fields:
      - name: '*name'
        type: char
      - name: '*lxcpath'
        type: char
      - name: '*file'
        type: char
      - name: '*level'
        type: char
      - name: '*prefix'
        type: char
      - name: quiet
        type: bool
      item_type: struct
      name: lxc_log
      pos:
        line_end: 1139
        line_start: 1132
        source_file: /src/lxc/src/lxc/lxccontainer.h
    typedefs: []
    union: []
- function_names:
  - put_lxc_container
  source_file: /src/lxc/src/lxc/lxc.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: __put_lxc_container
      pos:
        line_end: 109
        line_start: 108
        source_file: /src/lxc/src/lxc/lxc.h
      type_or_value: call_cleaner(put_lxc_container)
    structs: []
    typedefs: []
    union: []
- function_names:
  - __keyctl
  - memfd_create_lxc
  - pivot_root
  - sethostname
  - setns
  - signalfd
  - unshare
  - faccessat
  - close_range
  - personality
  - core_scheduling_cookie_valid
  - core_scheduling_cookie_get
  - core_scheduling_cookie_create_threadgroup
  - core_scheduling_cookie_share_with
  source_file: /src/lxc/src/lxc/syscall_wrappers.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: keyctl
      pos:
        line_end: 41
        line_start: 40
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: __keyctl
    - item_type: preproc_def
      name: F_LINUX_SPECIFIC_BASE
      pos:
        line_end: 45
        line_start: 44
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '1024'
    - item_type: preproc_def
      name: F_ADD_SEALS
      pos:
        line_end: 48
        line_start: 47
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: (F_LINUX_SPECIFIC_BASE + 9)
    - item_type: preproc_def
      name: F_GET_SEALS
      pos:
        line_end: 49
        line_start: 48
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: (F_LINUX_SPECIFIC_BASE + 10)
    - item_type: preproc_def
      name: F_SEAL_SEAL
      pos:
        line_end: 52
        line_start: 51
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '0x0001'
    - item_type: preproc_def
      name: F_SEAL_SHRINK
      pos:
        line_end: 53
        line_start: 52
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '0x0002'
    - item_type: preproc_def
      name: F_SEAL_GROW
      pos:
        line_end: 54
        line_start: 53
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '0x0004'
    - item_type: preproc_def
      name: F_SEAL_WRITE
      pos:
        line_end: 55
        line_start: 54
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '0x0008'
    - item_type: preproc_def
      name: memfd_create
      pos:
        line_end: 63
        line_start: 62
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: memfd_create_lxc
    - item_type: preproc_def
      name: CLOSE_RANGE_UNSHARE
      pos:
        line_end: 147
        line_start: 146
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: (1U << 1)
    - item_type: preproc_def
      name: CLOSE_RANGE_CLOEXEC
      pos:
        line_end: 151
        line_start: 150
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: (1U << 2)
    - item_type: preproc_def
      name: PR_SCHED_CORE
      pos:
        line_end: 170
        line_start: 169
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '62'
    - item_type: preproc_def
      name: PR_SCHED_CORE_GET
      pos:
        line_end: 175
        line_start: 174
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '0'
    - item_type: preproc_def
      name: PR_SCHED_CORE_CREATE
      pos:
        line_end: 179
        line_start: 178
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '1 '
    - item_type: preproc_def
      name: PR_SCHED_CORE_SHARE_TO
      pos:
        line_end: 183
        line_start: 182
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '2 '
    - item_type: preproc_def
      name: PR_SCHED_CORE_SHARE_FROM
      pos:
        line_end: 187
        line_start: 186
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '3 '
    - item_type: preproc_def
      name: PR_SCHED_CORE_MAX
      pos:
        line_end: 191
        line_start: 190
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '4'
    - item_type: preproc_def
      name: PR_SCHED_CORE_SCOPE_THREAD
      pos:
        line_end: 196
        line_start: 195
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '0'
    - item_type: preproc_def
      name: PR_SCHED_CORE_SCOPE_THREAD_GROUP
      pos:
        line_end: 200
        line_start: 199
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '1'
    - item_type: preproc_def
      name: PR_SCHED_CORE_SCOPE_PROCESS_GROUP
      pos:
        line_end: 204
        line_start: 203
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: '2'
    - item_type: preproc_def
      name: INVALID_SCHED_CORE_COOKIE
      pos:
        line_end: 207
        line_start: 206
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type_or_value: ((__u64)-1)
    structs:
    - fields:
      - name: ssi_signo
        type: uint32_t
      - name: ssi_errno
        type: int32_t
      - name: ssi_code
        type: int32_t
      - name: ssi_pid
        type: uint32_t
      - name: ssi_uid
        type: uint32_t
      - name: ssi_fd
        type: int32_t
      - name: ssi_tid
        type: uint32_t
      - name: ssi_band
        type: uint32_t
      - name: ssi_overrun
        type: uint32_t
      - name: ssi_trapno
        type: uint32_t
      - name: ssi_status
        type: int32_t
      - name: ssi_int
        type: int32_t
      - name: ssi_ptr
        type: uint64_t
      - name: ssi_utime
        type: uint64_t
      - name: ssi_stime
        type: uint64_t
      - name: ssi_addr
        type: uint64_t
      - name: __pad[48]
        type: uint8_t
      item_type: struct
      name: signalfd_siginfo
      pos:
        line_end: 111
        line_start: 93
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
    typedefs:
    - item_type: typedef
      name: key_serial_t
      pos:
        line_end: 32
        line_start: 32
        source_file: /src/lxc/src/lxc/syscall_wrappers.h
      type: int32_t
    union: []
- function_names:
  - lxc_caps_down
  - lxc_caps_up
  - lxc_ambient_caps_up
  - lxc_ambient_caps_down
  - lxc_caps_init
  - lxc_caps_last_cap
  - lxc_proc_cap_is_set
  - lxc_file_cap_is_set
  - lxc_priv
  - lxc_unpriv
  source_file: /src/lxc/src/lxc/caps.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs:
    - item_type: typedef
      name: cap_value_t
      pos:
        line_end: 54
        line_start: 54
        source_file: /src/lxc/src/lxc/caps.h
      type: int
    - item_type: typedef
      name: cap_flag_t
      pos:
        line_end: 55
        line_start: 55
        source_file: /src/lxc/src/lxc/caps.h
      type: int
    union: []
- function_names:
  - lxc_open_dirfd
  - lxc_readat
  - lxc_writeat
  - lxc_write_openat
  - lxc_write_to_file
  - lxc_read_from_file
  - lxc_read_try_buf_at
  - __lxc_wait_for_io_ready
  - lxc_write_all
  - lxc_write_nointr
  - lxc_pwrite_nointr
  - lxc_send_nointr
  - lxc_read_nointr
  - lxc_recv_nointr
  - lxc_recvmsg_nointr_iov
  - lxc_read_nointr_expect
  - lxc_read_file_expect
  - file_exists
  - print_to_file
  - lxc_is_dir
  - lxc_count_file_lines
  - lxc_make_tmpfile
  - lxc_is_fs_type
  - has_fs_type
  - fhas_fs_type
  - fopen_cloexec
  - lxc_sendfile_nointr
  - __fd_to_fd
  - fd_to_buf
  - file_to_buf
  - fopen_cached
  - fdopen_cached
  - lxc_fd_cloexec
  - fdopen_at
  - timens_offset_write
  - exists_dir_at
  - exists_file_at
  - open_at
  - open_at_same
  - fd_make_blocking
  - fd_make_nonblocking
  - batch_realloc
  - append_line
  - read_file_at
  - same_file_lax
  - same_device
  - open_beneath
  source_file: /src/lxc/src/lxc/file_utils.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: BATCH_SIZE
      pos:
        line_end: 801
        line_start: 800
        source_file: /src/lxc/src/lxc/file_utils.c
      type_or_value: '50'
    structs: []
    typedefs: []
    union: []
- function_names:
  - ns_info
  source_file: /src/lxc/src/lxc/namespace.h
  types:
    enum:
    - enumerators:
      - name: LXC_NS_USER
        value: '0'
      - name: LXC_NS_MNT
        value: '1'
      - name: LXC_NS_IPC
        value: '4'
      - name: LXC_NS_PID
        value: '2'
      - name: LXC_NS_UTS
        value: '3'
      - name: LXC_NS_NET
        value: '5'
      - name: LXC_NS_CGROUP
        value: '6'
      - name: LXC_NS_TIME
        value: '7'
      - name: LXC_NS_MAX
        value: '8'
      item_type: enum
      name: lxc_namespace_t
      pos:
        line_end: 23
        line_start: 13
        source_file: /src/lxc/src/lxc/namespace.h
    preproc_defs:
    - item_type: preproc_def
      name: MAX_NS_PROC_NAME
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/lxc/namespace.h
      type_or_value: '6'
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_net_type_to_str
  - lxc_ifname_alnum_case_sensitive
  - lxc_ip_route_dest
  - lxc_ipv4_dest_add
  - lxc_ipv6_dest_add
  - lxc_ipv4_dest_del
  - lxc_ipv6_dest_del
  - setup_ipv4_routes
  - setup_ipv6_routes
  - setup_ipv4_addr_routes
  - setup_ipv6_addr_routes
  - lxc_ip_neigh_proxy
  - lxc_is_ip_forwarding_enabled
  - lxc_bridge_vlan
  - lxc_bridge_vlan_add
  - lxc_bridge_vlan_del
  - lxc_bridge_vlan_add_tagged
  - lxc_list_for_each
  - validate_veth
  - setup_veth_native_bridge_vlan
  - free_ovs_veth_vlan_args
  - lxc_ovs_setup_bridge_vlan_exec
  - setup_veth_ovs_bridge_vlan
  - netdev_configure_server_veth
  - netdev_configure_server_macvlan
  - lxc_ipvlan_create
  - netdev_configure_server_ipvlan
  - netdev_configure_server_vlan
  - lxc_netdev_get_altnames
  - lxc_netdev_mod_altname
  - lxc_netdev_add_altname
  - lxc_netdev_delete_altname
  - lxc_netdev_keep_altnames
  - lxc_netdev_restore_altnames
  - netdev_configure_server_phys
  - netdev_configure_server_empty
  - netdev_configure_server_none
  - __netdev_configure_container_common
  - netdev_configure_container_veth
  - netdev_configure_container_macvlan
  - netdev_configure_container_ipvlan
  - netdev_configure_container_vlan
  - netdev_configure_container_phys
  - netdev_configure_container_empty
  - netdev_configure_container_none
  - netdev_shutdown_server_veth
  - netdev_shutdown_server_macvlan
  - netdev_shutdown_server_ipvlan
  - netdev_shutdown_server_vlan
  - netdev_shutdown_server_phys
  - netdev_shutdown_server_empty
  - netdev_shutdown_server_none
  - lxc_netdev_move_by_index_fd
  - lxc_netdev_move_by_index
  - is_wlan
  - lxc_netdev_rename_by_name_in_netns
  - lxc_netdev_move_wlan
  - lxc_netdev_move_by_name
  - lxc_netdev_delete_by_index
  - lxc_netdev_delete_by_name
  - lxc_netdev_rename_by_index
  - lxc_netdev_rename_by_name
  - netdev_set_flag
  - netdev_get_flag
  - lxc_netdev_isup
  - netdev_get_mtu
  - lxc_netdev_set_mtu
  - lxc_netdev_up
  - lxc_netdev_down
  - lxc_veth_create
  - lxc_vlan_create
  - lxc_macvlan_create
  - proc_sys_net_write
  - ip_forwarding_set
  - lxc_ip_forwarding_on
  - lxc_ip_forwarding_off
  - neigh_proxy_set
  - lxc_is_ip_neigh_proxy_enabled
  - lxc_neigh_proxy_on
  - lxc_neigh_proxy_off
  - lxc_convert_mac
  - ip_addr_add
  - lxc_ipv6_addr_add
  - lxc_ipv4_addr_add
  - ifa_get_local_ip
  - ip_addr_get
  - lxc_ipv6_addr_get
  - lxc_ipv4_addr_get
  - ip_gateway_add
  - lxc_ipv4_gateway_add
  - lxc_ipv6_gateway_add
  - is_ovs_bridge
  - lxc_ovs_delete_port_exec
  - lxc_ovs_delete_port
  - lxc_ovs_attach_bridge_exec
  - lxc_ovs_attach_bridge
  - lxc_bridge_attach
  - setup_private_host_hw_addr
  - lxc_find_gateway_addresses
  - lxc_create_network_unpriv_exec
  - lxc_delete_network_unpriv_exec
  - lxc_delete_network_unpriv
  - lxc_setup_l2proxy
  - lxc_delete_ipv4_l2proxy
  - lxc_delete_ipv6_l2proxy
  - lxc_delete_l2proxy
  - lxc_create_network_priv
  - create_transient_name
  - netdev_requires_move
  - lxc_network_move_created_netdev_priv
  - network_requires_advanced_setup
  - lxc_create_network_unpriv
  - lxc_delete_network_priv
  - lxc_requests_empty_network
  - list_for_each_entry
  - lxc_restore_phys_nics_to_netns
  - setup_hw_addr
  - setup_ipv4_addr
  - setup_ipv6_addr
  - lxc_network_setup_in_child_namespaces_common
  - lxc_setup_network_in_child_namespaces
  - list_for_each_entry
  - list_for_each_entry
  - lxc_network_send_to_child
  - lxc_network_recv_from_parent
  - lxc_network_send_name_and_ifindex_to_parent
  - list_for_each_entry
  - lxc_network_recv_name_and_ifindex_from_child
  - lxc_delete_network
  - lxc_netns_set_nsid
  - parse_rtattr
  - rta_getattr_s32
  - NETNS_RTA
  - lxc_netns_get_nsid
  - lxc_create_network
  source_file: /src/lxc/src/lxc/network.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: PHYSNAME
      pos:
        line_end: 1871
        line_start: 1870
        source_file: /src/lxc/src/lxc/network.c
      type_or_value: '"/sys/class/net/%s/phy80211/name"'
    - item_type: preproc_def
      name: LXC_USERNIC_PATH
      pos:
        line_end: 3208
        line_start: 3207
        source_file: /src/lxc/src/lxc/network.c
      type_or_value: LIBEXECDIR "/lxc/lxc-user-nic"
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: template[IFNAMSIZ]
        type: char
      - name: template_len
        type: size_t
      item_type: struct
      name: lxc_network_info
      pos:
        line_end: 55
        line_start: 51
        source_file: /src/lxc/src/lxc/network.c
    - fields:
      - name: flags
        type: __u16
      - name: vid
        type: __u16
      item_type: struct
      name: bridge_vlan_info
      pos:
        line_end: 321
        line_start: 318
        source_file: /src/lxc/src/lxc/network.c
    - fields:
      - name: '*nic'
        type: char
      - name: '*vlan_mode'
        type: char
      - name: vlan_id
        type: short
      - name: '*trunks'
        type: char
      item_type: struct
      name: ovs_veth_vlan_args
      pos:
        line_end: 500
        line_start: 495
        source_file: /src/lxc/src/lxc/network.c
    - fields:
      - name: '*bridge'
        type: char
      - name: '*nic'
        type: char
      item_type: struct
      name: ovs_veth_args
      pos:
        line_end: 3057
        line_start: 3054
        source_file: /src/lxc/src/lxc/network.c
    typedefs:
    - item_type: typedef
      name: (*netdev_configure_server_cb)(struct lxc_handler *, struct lxc_netdev
        *)
      pos:
        line_end: 47
        line_start: 47
        source_file: /src/lxc/src/lxc/network.c
      type: int
    - item_type: typedef
      name: (*netdev_configure_container_cb)(struct lxc_netdev *)
      pos:
        line_end: 48
        line_start: 48
        source_file: /src/lxc/src/lxc/network.c
      type: int
    - item_type: typedef
      name: (*netdev_shutdown_server_cb)(struct lxc_handler *, struct lxc_netdev *)
      pos:
        line_end: 49
        line_start: 49
        source_file: /src/lxc/src/lxc/network.c
      type: int
    union: []
- function_names:
  - copy_global_config_value
  - lxc_global_config_value
  - setproctitle
  - prevent_forking
  - kill_children
  - remove_self
  - interrupt_handler
  - close_inherited
  - lxc_container_init
  source_file: /src/lxc/src/lxc/initutils.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_seccomp_close_notifier_fd
  - lxc_seccomp_get_notify_fd
  - lxc_seccomp_load
  - lxc_read_seccomp_config
  - lxc_seccomp_free
  - seccomp_notify_handler
  - seccomp_notify_cleanup_handler
  - seccomp_conf_init
  - lxc_seccomp_setup_proxy
  - lxc_seccomp_send_notifier_fd
  - lxc_seccomp_recv_notifier_fd
  - lxc_seccomp_add_notifier
  - lxc_seccomp_get_notify_fd
  - lxc_seccomp_close_notifier_fd
  source_file: /src/lxc/src/lxc/lxcseccomp.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: SECCOMP_FILTER_FLAG_NEW_LISTENER
      pos:
        line_end: 29
        line_start: 28
        source_file: /src/lxc/src/lxc/lxcseccomp.h
      type_or_value: (1UL << 3)
    structs:
    - fields:
      - name: seccomp_notif
        type: __u16
      - name: seccomp_notif_resp
        type: __u16
      - name: seccomp_data
        type: __u16
      item_type: struct
      name: seccomp_notif_sizes
      pos:
        line_end: 41
        line_start: 37
        source_file: /src/lxc/src/lxc/lxcseccomp.h
    - fields:
      - name: __reserved
        type: uint64_t
      - name: monitor_pid
        type: pid_t
      - name: init_pid
        type: pid_t
      - name: sizes
        type: struct seccomp_notif_sizes
      - name: cookie_len
        type: uint64_t
      item_type: struct
      name: seccomp_notify_proxy_msg
      pos:
        line_end: 51
        line_start: 44
        source_file: /src/lxc/src/lxc/lxcseccomp.h
    - fields:
      - name: wants_supervision
        type: bool
      - name: notify_fd
        type: int
      - name: proxy_fd
        type: int
      - name: proxy_addr
        type: struct sockaddr_un
      - name: sizes
        type: struct seccomp_notif_sizes
      - name: '*req_buf'
        type: struct seccomp_notif
      - name: '*rsp_buf'
        type: struct seccomp_notif_resp
      - name: '*cookie'
        type: char
      item_type: struct
      name: seccomp_notify
      pos:
        line_end: 62
        line_start: 53
        source_file: /src/lxc/src/lxc/lxcseccomp.h
    - fields:
      - name: '*seccomp'
        type: char
      item_type: struct
      name: lxc_seccomp
      pos:
        line_end: 76
        line_start: 66
        source_file: /src/lxc/src/lxc/lxcseccomp.h
    - fields:
      - name: '*seccomp'
        type: char
      item_type: struct
      name: lxc_seccomp
      pos:
        line_end: 114
        line_start: 112
        source_file: /src/lxc/src/lxc/lxcseccomp.h
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/monitor.h
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: type
        type: lxc_msg_type_t
      - name: name[NAME_MAX + 1]
        type: char
      - name: value
        type: int
      item_type: struct
      name: lxc_msg
      pos:
        line_end: 24
        line_start: 20
        source_file: /src/lxc/src/lxc/monitor.h
    typedefs: []
    union: []
- function_names:
  - LIST_HEAD_INIT
  - LIST_HEAD
  - INIT_LIST_HEAD
  - __list_add
  - list_add
  - list_add_tail
  - __list_del
  - __list_del_entry
  - list_del
  - list_replace
  - list_replace_init
  - list_swap
  - list_del_init
  - list_move
  - list_move_tail
  - list_bulk_move_tail
  - list_is_first
  - list_is_last
  - list_empty
  - list_rotate_left
  - list_rotate_to_front
  - list_is_singular
  - __list_cut_position
  - list_cut_position
  - list_cut_before
  - __list_splice
  - list_splice
  - list_splice_tail
  - list_splice_init
  - list_splice_tail_init
  - list_entry
  - list_first_entry
  - list_last_entry
  - list_first_entry_or_null
  - list_next_entry
  - list_prev_entry
  - list_for_each
  - list_for_each_continue
  - list_for_each_prev
  - list_for_each_safe
  - list_for_each_prev_safe
  - list_entry_is_head
  - list_for_each_entry
  - list_for_each_entry_reverse
  - list_prepare_entry
  - list_for_each_entry_continue
  - list_for_each_entry_continue_reverse
  - list_for_each_entry_from
  - list_for_each_entry_from_reverse
  - list_for_each_entry_safe
  - list_for_each_entry_safe_continue
  - list_for_each_entry_safe_from
  - list_for_each_entry_safe_reverse
  - list_safe_reset_next
  - HLIST_HEAD
  - INIT_HLIST_HEAD
  - INIT_HLIST_NODE
  - hlist_unhashed
  - hlist_unhashed_lockless
  - hlist_empty
  - __hlist_del
  - hlist_del
  - hlist_del_init
  - hlist_add_head
  - hlist_add_before
  - hlist_add_behind
  - hlist_add_fake
  - hlist_fake
  - hlist_is_singular_node
  - hlist_move_list
  - hlist_entry
  - hlist_for_each
  - hlist_for_each_safe
  - hlist_entry_safe
  - hlist_for_each_entry
  - hlist_for_each_entry_continue
  - hlist_for_each_entry_from
  - hlist_for_each_entry_safe
  - list_len
  source_file: /src/lxc/src/lxc/hlist.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LIST_POISON1
      pos:
        line_end: 23
        line_start: 22
        source_file: /src/lxc/src/lxc/hlist.h
      type_or_value: ((void *) 0x100)
    - item_type: preproc_def
      name: LIST_POISON2
      pos:
        line_end: 24
        line_start: 23
        source_file: /src/lxc/src/lxc/hlist.h
      type_or_value: ((void *) 0x122)
    - item_type: preproc_def
      name: HLIST_HEAD_INIT
      pos:
        line_end: 729
        line_start: 728
        source_file: /src/lxc/src/lxc/hlist.h
      type_or_value: '{ .first = NULL }'
    structs:
    - fields:
      - name: '*next'
        type: struct list_head
      item_type: struct
      name: list_head
      pos:
        line_end: 7
        line_start: 5
        source_file: /src/lxc/src/lxc/hlist.h
    - fields:
      - name: '*first'
        type: struct hlist_node
      item_type: struct
      name: hlist_head
      pos:
        line_end: 11
        line_start: 9
        source_file: /src/lxc/src/lxc/hlist.h
    - fields:
      - name: '*next'
        type: struct hlist_node
      item_type: struct
      name: hlist_node
      pos:
        line_end: 15
        line_start: 13
        source_file: /src/lxc/src/lxc/hlist.h
    typedefs: []
    union: []
- function_names:
  - lxc_monitor_fifo_name
  - lxc_monitor_fifo_send
  - lxc_monitor_send_state
  - lxc_monitor_send_exit_code
  - lxc_monitor_close
  - lxc_monitor_sock_name
  - lxc_monitor_open
  - lxc_monitor_read_fdset
  - lxc_monitor_read_timeout
  - lxc_monitor_read
  - lxc_monitord_spawn
  source_file: /src/lxc/src/lxc/monitor.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_MONITORD_PATH
      pos:
        line_end: 269
        line_start: 268
        source_file: /src/lxc/src/lxc/monitor.c
      type_or_value: LIBEXECDIR "/lxc/lxc-monitord"
    structs: []
    typedefs: []
    union: []
- function_names:
  - load_tty_major_minor
  - cmp_version
  - put_criu_exec_args
  - exec_criu
  - DECLARE_ARG
  - __criu_check_feature
  - criu_version_ok
  - criu_ok
  - restore_net_info
  - do_restore
  - save_tty_major_minor
  - do_dump
  - __criu_pre_dump
  - __criu_dump
  - __criu_restore
  source_file: /src/lxc/src/lxc/criu.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: CRIU_VERSION
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/lxc/criu.c
      type_or_value: '"2.0"'
    - item_type: preproc_def
      name: CRIU_GITID_VERSION
      pos:
        line_end: 38
        line_start: 37
        source_file: /src/lxc/src/lxc/criu.c
      type_or_value: '"2.0"'
    - item_type: preproc_def
      name: CRIU_GITID_PATCHLEVEL
      pos:
        line_end: 39
        line_start: 38
        source_file: /src/lxc/src/lxc/criu.c
      type_or_value: '0'
    - item_type: preproc_def
      name: CRIU_IN_FLIGHT_SUPPORT
      pos:
        line_end: 41
        line_start: 40
        source_file: /src/lxc/src/lxc/criu.c
      type_or_value: '"2.4"'
    - item_type: preproc_def
      name: CRIU_EXTERNAL_NOT_VETH
      pos:
        line_end: 42
        line_start: 41
        source_file: /src/lxc/src/lxc/criu.c
      type_or_value: '"2.8"'
    - item_type: preproc_def
      name: CRIU_EXTERNAL_NETDEV
      pos:
        line_end: 43
        line_start: 42
        source_file: /src/lxc/src/lxc/criu.c
      type_or_value: '"3.15"'
    structs:
    - fields:
      - name: pipefd
        type: int
      - name: '*action'
        type: char
      - name: '*user'
        type: struct migrate_opts
      - name: '*c'
        type: struct lxc_container
      - name: tty_id[32]
        type: char
      - name: '*handler'
        type: struct lxc_handler
      - name: console_fd
        type: int
      - name: '*console_name'
        type: char
      - name: '*criu_version'
        type: char
      item_type: struct
      name: criu_opts
      pos:
        line_end: 74
        line_start: 46
        source_file: /src/lxc/src/lxc/criu.c
    - fields:
      - name: argc
        type: int
      - name: '*argv[]'
        type: char
      item_type: struct
      name: criu_exec_args
      pos:
        line_end: 145
        line_start: 142
        source_file: /src/lxc/src/lxc/criu.c
    typedefs: []
    union: []
- function_names:
  - lxc_terminal_winsz
  - lxc_terminal_winch
  - lxc_terminal_signalfd_cb
  - lxc_terminal_signal_init
  - lxc_terminal_signal_sigmask_safe_blocked
  - lxc_terminal_signal_fini
  - lxc_terminal_truncate_log_file
  - lxc_terminal_rotate_log_file
  - lxc_terminal_write_log_file
  - lxc_terminal_ptx_io
  - lxc_terminal_peer_io
  - lxc_terminal_ptx_io_handler
  - lxc_terminal_peer_io_handler
  - lxc_terminal_mainloop_add_peer
  - lxc_terminal_mainloop_add
  - lxc_setup_tios
  - lxc_terminal_peer_proxy_free
  - lxc_terminal_peer_proxy_alloc
  - lxc_terminal_allocate
  - lxc_terminal_free
  - lxc_terminal_peer_default
  - lxc_terminal_write_ringbuffer
  - lxc_terminal_delete
  - lxc_terminal_create_ringbuf
  - lxc_terminal_create_log_file
  - lxc_terminal_map_ids
  - lxc_terminal_create_foreign
  - lxc_devpts_terminal
  - lxc_terminal_parent
  - lxc_terminal_create_native
  - lxc_terminal_create
  - lxc_terminal_setup
  - __terminal_dup2
  - lxc_terminal_set_stdfds
  - lxc_terminal_stdin_cb
  - lxc_terminal_ptx_cb
  - lxc_terminal_getfd
  - lxc_console
  - lxc_make_controlling_terminal
  - lxc_terminal_prepare_login
  - lxc_terminal_info_init
  - lxc_terminal_init
  - lxc_terminal_conf_free
  source_file: /src/lxc/src/lxc/terminal.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_TERMINAL_BUFFER_SIZE
      pos:
        line_end: 33
        line_start: 32
        source_file: /src/lxc/src/lxc/terminal.c
      type_or_value: '1024'
    structs: []
    typedefs: []
    union: []
- function_names:
  - wants_console
  source_file: /src/lxc/src/lxc/terminal.h
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: name[PATH_MAX]
        type: char
      - name: ptx
        type: int
      - name: pty
        type: int
      - name: busy
        type: int
      - name: pty_nr
        type: int
      item_type: struct
      name: lxc_terminal_info
      pos:
        line_end: 34
        line_start: 19
        source_file: /src/lxc/src/lxc/terminal.h
    - fields:
      - name: stdinfd
        type: int
      - name: stdoutfd
        type: int
      - name: ptxfd
        type: int
      - name: escape
        type: int
      - name: saw_escape
        type: int
      - name: sigfd
        type: int
      - name: oldmask
        type: sigset_t
      item_type: struct
      name: lxc_terminal_state
      pos:
        line_end: 61
        line_start: 36
        source_file: /src/lxc/src/lxc/terminal.h
    - fields:
      - name: pty_nr
        type: int
      - name: pty
        type: int
      - name: ptx
        type: int
      - name: peer
        type: int
      - name: proxy
        type: struct lxc_terminal_info
      - name: '*descr'
        type: struct lxc_async_descr
      - name: '*path'
        type: char
      - name: name[PATH_MAX]
        type: char
      - name: '*tios'
        type: struct termios
      - name: '*tty_state'
        type: struct lxc_terminal_state
      item_type: struct
      name: lxc_terminal
      pos:
        line_end: 96
        line_start: 63
        source_file: /src/lxc/src/lxc/terminal.h
    typedefs: []
    union: []
- function_names:
  - strprint
  source_file: /src/lxc/src/lxc/confile_utils.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - free_lxc_cgroup
  - free_lxc_limit
  - free_lxc_sysctl
  - free_lxc_proc
  - lxc_wants_cap
  - chown_mapped_root
  - get_rootfs_mnt
  - put_lxc_mount_options
  - put_lxc_rootfs
  - lxc_clear_cgroup2_devices
  - lxc_personality
  source_file: /src/lxc/src/lxc/conf.h
  types:
    enum:
    - enumerators:
      - name: ID_TYPE_UID
      - name: ID_TYPE_GID
      item_type: enum
      name: idtype
      pos:
        line_end: 133
        line_start: 130
        source_file: /src/lxc/src/lxc/conf.h
    - enumerators:
      - name: LXC_MOUNT_CREATE_DIR
        value: '0'
      - name: LXC_MOUNT_IDMAP
        value: '4'
      - name: LXC_MOUNT_RELATIVE
        value: '3'
      - name: LXC_MOUNT_OPTIONAL
        value: '2'
      - name: LXC_MOUNT_CREATE_FILE
        value: '1'
      - name: LXC_MOUNT_MAX
        value: '5'
      item_type: enum
      name: lxc_mount_options_t
      pos:
        line_end: 211
        line_start: 204
        source_file: /src/lxc/src/lxc/conf.h
    - enumerators:
      - name: LXCHOOK_PRESTART
      - name: LXCHOOK_AUTODEV
      - name: LXCHOOK_START
      - name: LXCHOOK_PREMOUNT
      - name: LXCHOOK_MOUNT
      - name: LXCHOOK_STOP
      - name: LXCHOOK_POSTSTOP
      - name: LXCHOOK_CLONE
      - name: LXCHOOK_DESTROY
      - name: LXCHOOK_START_HOST
      - name: NUM_LXC_HOOKS
      item_type: enum
      name: lxchooks
      pos:
        line_end: 349
        line_start: 337
        source_file: /src/lxc/src/lxc/conf.h
    - enumerators:
      - name: LXC_BPF_DEVICE_CGROUP_ALLOWLIST
        value: '0'
      - name: LXC_BPF_DEVICE_CGROUP_DENYLIST
        value: '1'
      item_type: enum
      name: lxc_bpf_devices_rule_t
      pos:
        line_end: 362
        line_start: 359
        source_file: /src/lxc/src/lxc/conf.h
    preproc_defs:
    - item_type: preproc_def
      name: subuidfile
      pos:
        line_end: 46
        line_start: 45
        source_file: /src/lxc/src/lxc/conf.h
      type_or_value: '"/etc/subuid"'
    - item_type: preproc_def
      name: subgidfile
      pos:
        line_end: 47
        line_start: 46
        source_file: /src/lxc/src/lxc/conf.h
      type_or_value: '"/etc/subgid"'
    - item_type: preproc_def
      name: RLIM_INFINITY
      pos:
        line_end: 103
        line_start: 102
        source_file: /src/lxc/src/lxc/conf.h
      type_or_value: ((unsigned long)-1)
    structs:
    - fields:
      - name: head
        type: struct list_head
      item_type: struct
      name: lxc_cgroup
      pos:
        line_end: 89
        line_start: 60
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: rlim_cur
        type: unsigned long
      - name: rlim_max
        type: unsigned long
      - name: head
        type: struct list_head
      item_type: struct
      name: rlimit
      pos:
        line_end: 107
        line_start: 103
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: '*resource'
        type: char
      - name: limit
        type: struct rlimit
      - name: head
        type: struct list_head
      item_type: struct
      name: lxc_limit
      pos:
        line_end: 119
        line_start: 115
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: '*key'
        type: char
      - name: '*value'
        type: char
      - name: head
        type: struct list_head
      item_type: struct
      name: lxc_sysctl
      pos:
        line_end: 144
        line_start: 140
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: '*filename'
        type: char
      - name: '*value'
        type: char
      - name: head
        type: struct list_head
      item_type: struct
      name: lxc_proc
      pos:
        line_end: 165
        line_start: 161
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: idtype
        type: enum idtype
      - name: hostid
        type: unsigned long
      - name: head
        type: struct list_head
      item_type: struct
      name: id_map
      pos:
        line_end: 191
        line_start: 187
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: max
        type: size_t
      - name: '*dir'
        type: char
      - name: '*tty_names'
        type: char
      - name: '*tty'
        type: struct lxc_terminal_info
      item_type: struct
      name: lxc_tty_info
      pos:
        line_end: 202
        line_start: 197
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: create_dir
        type: unsigned int
      - name: create_file
        type: unsigned int
      - name: optional
        type: unsigned int
      - name: relative
        type: unsigned int
      - name: bind_recursively
        type: unsigned int
      - name: propagate_recursively
        type: unsigned int
      - name: bind
        type: unsigned int
      - name: userns_path[PATH_MAX]
        type: char
      - name: mnt_flags
        type: unsigned long
      - name: prop_flags
        type: unsigned long
      - name: '*data'
        type: char
      - name: attr
        type: struct mount_attr
      - name: '*raw_options'
        type: char
      item_type: struct
      name: lxc_mount_options
      pos:
        line_end: 229
        line_start: 215
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: dfd_host
        type: int
      - name: '*path'
        type: char
      - name: fd_path_pin
        type: int
      - name: dfd_idmapped
        type: int
      - name: dfd_mnt
        type: int
      - name: '*mount'
        type: char
      - name: dfd_dev
        type: int
      - name: buf[PATH_MAX]
        type: char
      - name: '*__bdev_type'
        type: char
      - name: managed
        type: bool
      - name: mnt_opts
        type: struct lxc_mount_options
      - name: '*storage'
        type: struct lxc_storage
      item_type: struct
      name: lxc_rootfs
      pos:
        line_end: 258
        line_start: 241
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: clientfd
        type: int
      - name: states[MAX_STATE]
        type: lxc_state_t
      - name: head
        type: struct list_head
      item_type: struct
      name: lxc_state_client
      pos:
        line_end: 357
        line_start: 353
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: type
        type: char
      - name: major
        type: int
      - name: minor
        type: int
      - name: access[4]
        type: char
      - name: allow
        type: int
      - name: head
        type: struct list_head
      item_type: struct
      name: device_item
      pos:
        line_end: 371
        line_start: 364
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: list_type
        type: lxc_bpf_devices_rule_t
      - name: devices
        type: struct list_head
      item_type: struct
      name: bpf_devices
      pos:
        line_end: 376
        line_start: 373
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: s_boot
        type: int64_t
      - name: ns_boot
        type: int64_t
      - name: s_monotonic
        type: int64_t
      - name: ns_monotonic
        type: int64_t
      item_type: struct
      name: timens_offsets
      pos:
        line_end: 386
        line_start: 378
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: '*key'
        type: char
      - name: '*val'
        type: char
      - name: head
        type: struct list_head
      item_type: struct
      name: environment_entry
      pos:
        line_end: 392
        line_start: 388
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: '*cap_name'
        type: char
      - name: cap
        type: __u32
      - name: head
        type: struct list_head
      item_type: struct
      name: cap_entry
      pos:
        line_end: 398
        line_start: 394
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: keep
        type: int
      - name: list
        type: struct list_head
      item_type: struct
      name: caps
      pos:
        line_end: 403
        line_start: 400
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: '*val'
        type: char
      - name: head
        type: struct list_head
      item_type: struct
      name: string_entry
      pos:
        line_end: 408
        line_start: 405
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: '*name'
        type: char
      - name: is_execute
        type: bool
      - name: reboot
        type: int
      - name: personality
        type: personality_t
      - name: '*utsname'
        type: struct utsname
      - name: netdevs
        type: struct list_head
      - name: caps
        type: struct caps
      - name: ttys
        type: struct lxc_tty_info
      - name: console
        type: struct lxc_terminal
      - name: pty_max
        type: size_t
      - name: devpts_fd
        type: int
      - name: rootfs_setup
        type: bool
      - name: rootfs
        type: struct lxc_rootfs
      - name: close_all_fds
        type: bool
      - name: '*lsm_aa_profile'
        type: char
      - name: '*lsm_aa_profile_computed'
        type: char
      - name: lsm_aa_profile_created
        type: bool
      - name: lsm_aa_allow_nesting
        type: unsigned int
      - name: lsm_aa_allow_incomplete
        type: unsigned int
      - name: lsm_aa_raw
        type: struct list_head
      - name: '*lsm_se_context'
        type: char
      - name: '*lsm_se_keyring_context'
        type: char
      - name: keyring_disable_session
        type: bool
      - name: transient_procfs_mnt
        type: bool
      - name: seccomp
        type: struct lxc_seccomp
      - name: maincmd_fd
        type: int
      - name: autodev
        type: unsigned int
      - name: autodevtmpfssize
        type: int
      - name: haltsignal
        type: int
      - name: rebootsignal
        type: int
      - name: stopsignal
        type: int
      - name: '*rcfile'
        type: char
      - name: '*logfile'
        type: char
      - name: loglevel
        type: int
      - name: logfd
        type: int
      - name: start_auto
        type: unsigned int
      - name: start_delay
        type: unsigned int
      - name: start_order
        type: int
      - name: groups
        type: struct list_head
      - name: nbd_idx
        type: int
      - name: monitor_unshare
        type: unsigned int
      - name: monitor_signal_pdeath
        type: unsigned int
      - name: environment
        type: struct list_head
      - name: environment_runtime
        type: struct list_head
      - name: environment_hooks
        type: struct list_head
      - name: '*unexpanded_config'
        type: char
      - name: unexpanded_len
        type: size_t
      - name: unexpanded_alloced
        type: size_t
      - name: '*execute_cmd'
        type: char
      - name: '*init_cmd'
        type: char
      - name: init_uid
        type: uid_t
      - name: init_gid
        type: gid_t
      - name: init_groups
        type: lxc_groups_t
      - name: ephemeral
        type: unsigned int
      - name: '*syslog'
        type: char
      - name: no_new_privs
        type: bool
      - name: limits
        type: struct list_head
      - name: cgroup_meta
        type: struct lxc_cgroup
      - name: '*init_cwd'
        type: char
      - name: state_clients
        type: struct list_head
      - name: sysctls
        type: struct list_head
      - name: procs
        type: struct list_head
      - name: shmount
        type: "struct shmount {\n\t\t/* Absolute path to the shared mount point on
          the host */\n\t\tchar *path_host;\n\t\t/* Absolute path (in the container)
          to the shared mount point */\n\t\tchar *path_cont;\n\t}"
      - name: timens
        type: struct timens_offsets
      - name: sched_core
        type: bool
      - name: sched_core_cookie
        type: __u64
      item_type: struct
      name: lxc_conf
      pos:
        line_end: 585
        line_start: 410
        source_file: /src/lxc/src/lxc/conf.h
    - fields:
      - name: '*path_host'
        type: char
      - name: '*path_cont'
        type: char
      item_type: struct
      name: shmount
      pos:
        line_end: 579
        line_start: 574
        source_file: /src/lxc/src/lxc/conf.h
    typedefs:
    - item_type: typedef
      name: '* scmp_filter_ctx'
      pos:
        line_end: 39
        line_start: 39
        source_file: /src/lxc/src/lxc/conf.h
      type: void
    - item_type: typedef
      name: personality_t
      pos:
        line_end: 42
        line_start: 42
        source_file: /src/lxc/src/lxc/conf.h
      type: signed long
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/api_extensions.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - must_make_path_relative
  - is_empty_string
  - maybe_empty
  - safe_strlcat
  - strnequal
  - strequal
  - dotdot
  - abspath
  - deabs
  - strnprintf
  - proc_self_fd
  - fdstr
  - lxc_iterate_parts
  source_file: /src/lxc/src/lxc/string_utils.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs:
    - item_type: typedef
      name: (*lxc_free_fn)(void *)
      pos:
        line_end: 53
        line_start: 53
        source_file: /src/lxc/src/lxc/string_utils.h
      type: void
    - item_type: typedef
      name: '*(*lxc_dup_fn)(void *)'
      pos:
        line_end: 54
        line_start: 54
        source_file: /src/lxc/src/lxc/string_utils.h
      type: void
    union: []
- function_names:
  - set_atime
  - mnt_attributes_new
  - mnt_attributes_old
  - __fs_prepare
  - fs_prepare
  - fs_set_property
  - fs_set_flag
  - fs_attach
  - create_detached_idmapped_mount
  - move_detached_mount
  - __fd_bind_mount
  - calc_remount_flags_new
  - calc_remount_flags_old
  - add_required_remount_flags
  - can_use_mount_api
  - can_use_bind_mounts
  - mount_at
  source_file: /src/lxc/src/lxc/mount_utils.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - landlock_create_ruleset
  - landlock_restrict_self
  - landlock_add_rule
  - print_top_failing_dir
  - lxc_put_nsfds
  - lxc_try_preserve_namespace
  - lxc_try_preserve_namespaces
  - match_stdfds
  - match_dlog_fds
  - get_listen_fds_max
  - lxc_check_inherited
  - setup_signal_fd
  - signal_handler
  - lxc_serve_state_clients
  - lxc_serve_state_socket_pair
  - lxc_set_state
  - lxc_mainloop_protect
  - lxc_handler_mainloop_thread_fn
  - lxc_handler_mainloop
  - lxc_poll
  - lxc_put_handler
  - lxc_init_handler
  - lxc_init
  - lxc_expose_namespace_environment
  - lxc_end
  - lxc_abort
  - do_start
  - resolve_clone_flags
  - do_share_ns
  - core_scheduling
  - inherits_namespaces
  - resolve_cgroup_clone_flags
  - lxc_spawn
  - lxc_inherit_namespaces
  - __lxc_start
  - start
  - post_start
  - lxc_start
  - lxc_destroy_container_on_signal
  - lxc_rmdir_onedev_wrapper
  - do_destroy_container
  source_file: /src/lxc/src/lxc/start.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*const *argv'
        type: char
      item_type: struct
      name: start_args
      pos:
        line_end: 2368
        line_start: 2366
        source_file: /src/lxc/src/lxc/start.c
    typedefs: []
    union: []
- function_names:
  - lxc_raw_legacy_clone
  - lxc_raw_clone
  - lxc_raw_clone_cb
  - lxc_raw_pidfd_send_signal
  - lxc_clone
  source_file: /src/lxc/src/lxc/process_utils.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: __LXC_STACK_SIZE
      pos:
        line_end: 144
        line_start: 143
        source_file: /src/lxc/src/lxc/process_utils.c
      type_or_value: (8 * 1024 * 1024)
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/state.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MAX_STATE_LENGTH
      pos:
        line_end: 10
        line_start: 9
        source_file: /src/lxc/src/lxc/state.h
      type_or_value: (8 + 1)
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_config_define
  - set_config_unsupported_key
  - get_config_unsupported_key
  - clr_config_unsupported_key
  - lxc_get_config_exact
  - match_config_item
  - lxc_get_config
  - match_config_net_item
  - lxc_get_config_net
  - set_config_net
  - set_config_net_type
  - set_config_net_flags
  - create_matched_ifnames
  - set_config_net_link
  - set_config_net_l2proxy
  - set_config_net_name
  - set_config_net_veth_mode
  - set_config_net_veth_n_rxqueues
  - set_config_net_veth_n_txqueues
  - set_config_net_veth_pair
  - set_config_net_veth_vlan_id
  - set_config_net_veth_vlan_tagged_id
  - set_config_net_macvlan_mode
  - set_config_net_ipvlan_mode
  - set_config_net_ipvlan_isolation
  - set_config_net_hwaddr
  - set_config_net_vlan_id
  - set_config_net_mtu
  - set_config_net_ipv4_address
  - set_config_net_ipv4_gateway
  - set_config_net_veth_ipv4_route
  - set_config_net_ipv6_address
  - set_config_net_ipv6_gateway
  - set_config_net_veth_ipv6_route
  - set_config_net_script_up
  - set_config_net_script_down
  - add_hook
  - set_config_seccomp_allow_nesting
  - set_config_seccomp_notify_cookie
  - set_config_seccomp_notify_proxy
  - set_config_seccomp_profile
  - set_config_execute_cmd
  - set_config_init_cmd
  - set_config_init_cwd
  - set_config_init_uid
  - set_config_init_gid
  - set_config_init_groups
  - set_config_hooks
  - set_config_hooks_version
  - set_config_personality
  - set_config_pty_max
  - set_config_start
  - set_config_monitor
  - set_config_monitor_signal_pdeath
  - set_config_group
  - set_config_environment_impl
  - set_config_environment
  - set_config_environment_runtime
  - set_config_environment_hooks
  - set_config_tty_max
  - set_config_tty_dir
  - set_config_apparmor_profile
  - set_config_apparmor_allow_incomplete
  - set_config_apparmor_allow_nesting
  - set_config_apparmor_raw
  - set_config_selinux_context
  - set_config_selinux_context_keyring
  - set_config_keyring_session
  - set_config_log_file
  - set_config_log_level
  - set_config_autodev
  - set_config_autodev_tmpfs_size
  - set_config_signal_halt
  - set_config_signal_reboot
  - set_config_signal_stop
  - __set_config_cgroup_controller
  - set_config_cgroup2_controller
  - set_config_cgroup_dir
  - set_config_cgroup_monitor_dir
  - set_config_cgroup_monitor_pivot_dir
  - set_config_cgroup_container_dir
  - set_config_cgroup_container_inner_dir
  - set_config_cgroup_relative
  - parse_limit_value
  - set_config_prlimit
  - set_config_sysctl
  - set_config_proc
  - set_config_idmaps
  - set_config_mount_fstab
  - set_config_mount_auto
  - set_config_mount
  - add_elem_to_mount_list
  - add_cap_entry
  - set_config_cap_keep
  - set_config_cap_drop
  - set_config_console_path
  - set_config_console_rotate
  - set_config_console_logfile
  - set_config_console_buffer_size
  - set_config_console_size
  - update_hwaddr
  - append_unexp_config_line
  - do_includedir
  - set_config_includefiles
  - set_config_rootfs_path
  - set_config_rootfs_managed
  - set_config_rootfs_mount
  - set_config_rootfs_options
  - set_config_uts_name
  - set_config_namespace_clone
  - set_config_namespace_keep
  - set_config_time_offset_boot
  - set_config_time_offset_monotonic
  - set_config_namespace_share
  - parse_line
  - parse_new_conf_line
  - lxc_config_read
  - lxc_config_define_add
  - lxc_config_define_load
  - lxc_list_for_each
  - lxc_config_define_free
  - lxc_list_for_each_safe
  - lxc_config_parse_arch
  - write_config
  - do_append_unexp_config_line
  - clear_unexp_config_line
  - clone_update_unexp_ovl_paths
  - clone_update_unexp_hooks
  - DO
  - network_new_hwaddrs
  - set_config_ephemeral
  - set_config_log_syslog
  - set_config_no_new_privs
  - get_config_personality
  - get_config_pty_max
  - get_config_tty_max
  - get_config_tty_dir
  - get_config_apparmor_profile
  - get_config_apparmor_allow_incomplete
  - get_config_apparmor_allow_nesting
  - get_config_apparmor_raw
  - get_config_selinux_context
  - get_config_selinux_context_keyring
  - get_config_keyring_session
  - __get_config_cgroup_controller
  - list_for_each_entry
  - get_config_cgroup2_controller
  - get_config_cgroup_dir
  - get_config_cgroup_monitor_dir
  - get_config_cgroup_monitor_pivot_dir
  - get_config_cgroup_container_dir
  - get_config_cgroup_container_inner_dir
  - get_config_cgroup_relative
  - get_config_idmaps
  - get_config_log_level
  - get_config_log_file
  - get_config_mount_fstab
  - get_config_mount_auto
  - get_config_mount
  - get_config_rootfs_path
  - get_config_rootfs_managed
  - get_config_rootfs_mount
  - get_config_rootfs_options
  - get_config_uts_name
  - get_config_hooks
  - get_config_hooks_version
  - get_config_net
  - get_config_cap_drop
  - get_config_cap_keep
  - get_config_console_path
  - get_config_console_logfile
  - get_config_console_rotate
  - get_config_console_buffer_size
  - get_config_console_size
  - get_config_seccomp_allow_nesting
  - get_config_seccomp_notify_cookie
  - get_config_seccomp_notify_proxy
  - get_config_seccomp_profile
  - get_config_autodev
  - get_config_autodev_tmpfs_size
  - get_config_signal_halt
  - get_config_signal_reboot
  - get_config_signal_stop
  - get_config_start
  - get_config_log_syslog
  - get_config_monitor
  - get_config_monitor_signal_pdeath
  - get_config_group
  - get_config_environment_impl
  - list_for_each_entry
  - get_config_environment
  - get_config_environment_runtime
  - get_config_environment_hooks
  - get_config_execute_cmd
  - get_config_init_cmd
  - get_config_init_cwd
  - get_config_init_uid
  - get_config_init_gid
  - get_config_init_groups
  - get_config_ephemeral
  - get_config_no_new_privs
  - get_config_prlimit
  - get_config_sysctl
  - get_config_proc
  - get_config_namespace_clone
  - get_config_namespace_keep
  - get_config_time_offset_boot
  - get_config_time_offset_monotonic
  - get_config_namespace_share
  - clr_config_personality
  - clr_config_pty_max
  - clr_config_tty_max
  - clr_config_tty_dir
  - clr_config_apparmor_profile
  - clr_config_apparmor_allow_incomplete
  - clr_config_apparmor_allow_nesting
  - clr_config_apparmor_raw
  - clr_config_selinux_context
  - clr_config_selinux_context_keyring
  - clr_config_keyring_session
  - clr_config_cgroup2_controller
  - clr_config_cgroup_dir
  - clr_config_cgroup_monitor_dir
  - clr_config_cgroup_monitor_pivot_dir
  - clr_config_cgroup_container_dir
  - clr_config_cgroup_container_inner_dir
  - clr_config_cgroup_relative
  - clr_config_idmaps
  - clr_config_log_level
  - clr_config_log_file
  - clr_config_mount
  - clr_config_mount_auto
  - clr_config_mount_fstab
  - clr_config_rootfs_path
  - clr_config_rootfs_managed
  - clr_config_rootfs_mount
  - clr_config_rootfs_options
  - clr_config_uts_name
  - clr_config_hooks
  - clr_config_hooks_version
  - clr_config_net
  - clr_config_cap_drop
  - clr_config_cap_keep
  - clr_config_console_path
  - clr_config_console_logfile
  - clr_config_console_rotate
  - clr_config_console_buffer_size
  - clr_config_console_size
  - clr_config_seccomp_allow_nesting
  - clr_config_seccomp_notify_cookie
  - clr_config_seccomp_notify_proxy
  - clr_config_seccomp_profile
  - clr_config_autodev
  - clr_config_autodev_tmpfs_size
  - clr_config_signal_halt
  - clr_config_signal_reboot
  - clr_config_signal_stop
  - clr_config_start
  - clr_config_log_syslog
  - clr_config_monitor
  - clr_config_monitor_signal_pdeath
  - clr_config_group
  - clr_config_environment
  - clr_config_environment_runtime
  - clr_config_environment_hooks
  - clr_config_execute_cmd
  - clr_config_init_cmd
  - clr_config_init_cwd
  - clr_config_init_uid
  - clr_config_init_gid
  - clr_config_init_groups
  - clr_config_ephemeral
  - clr_config_no_new_privs
  - clr_config_prlimit
  - clr_config_sysctl
  - clr_config_proc
  - clr_config_includefiles
  - clr_config_namespace_clone
  - clr_config_namespace_keep
  - clr_config_time_offset_boot
  - clr_config_time_offset_monotonic
  - clr_config_namespace_share
  - get_config_includefiles
  - get_network_config_ops
  - set_config_jump_table_net
  - clr_config_jump_table_net
  - clr_config_net_type
  - clr_config_net_name
  - clr_config_net_flags
  - clr_config_net_link
  - clr_config_net_l2proxy
  - clr_config_net_macvlan_mode
  - clr_config_net_ipvlan_mode
  - clr_config_net_ipvlan_isolation
  - clr_config_net_veth_mode
  - clr_config_net_veth_n_rxqueues
  - clr_config_net_veth_n_txqueues
  - clr_config_net_veth_pair
  - clr_config_net_veth_vlan_id
  - clr_config_net_veth_vlan_tagged_id
  - clr_config_net_script_up
  - clr_config_net_script_down
  - clr_config_net_hwaddr
  - clr_config_net_mtu
  - clr_config_net_vlan_id
  - clr_config_net_ipv4_gateway
  - clr_config_net_ipv4_address
  - clr_config_net_veth_ipv4_route
  - clr_config_net_ipv6_gateway
  - clr_config_net_ipv6_address
  - clr_config_net_veth_ipv6_route
  - get_config_jump_table_net
  - get_config_net_type
  - get_config_net_flags
  - get_config_net_link
  - get_config_net_l2proxy
  - get_config_net_name
  - get_config_net_macvlan_mode
  - get_config_net_ipvlan_mode
  - get_config_net_ipvlan_isolation
  - get_config_net_veth_mode
  - get_config_net_veth_n_rxqueues
  - get_config_net_veth_n_txqueues
  - get_config_net_veth_pair
  - get_config_net_veth_vlan_id
  - get_config_net_veth_vlan_tagged_id
  - get_config_net_script_up
  - get_config_net_script_down
  - get_config_net_hwaddr
  - get_config_net_mtu
  - get_config_net_vlan_id
  - get_config_net_ipv4_gateway
  - get_config_net_ipv4_address
  - get_config_net_veth_ipv4_route
  - get_config_net_ipv6_gateway
  - get_config_net_ipv6_address
  - get_config_net_veth_ipv6_route
  - lxc_list_config_items
  - lxc_list_subkeys
  - lxc_list_net
  - set_config_sched_core
  - get_config_sched_core
  - clr_config_sched_core
  source_file: /src/lxc/src/lxc/confile.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_SUBKEY_LEN_MAX
      pos:
        line_end: 343
        line_start: 342
        source_file: /src/lxc/src/lxc/confile.c
      type_or_value: '256'
    - item_type: preproc_def
      name: __LXC_IDMAP_STR_BUF
      pos:
        line_end: 4045
        line_start: 4044
        source_file: /src/lxc/src/lxc/confile.c
      type_or_value: (3 * INTTYPE_TO_STRLEN(uint32_t) + 3 + 1 + 1)
    structs:
    - fields: []
      item_type: struct
      name: lxc_config_net_t
      pos:
        line_end: 290
        line_start: 288
        source_file: /src/lxc/src/lxc/confile.c
    - fields:
      - name: '*token'
        type: char
      - name: mask
        type: int
      - name: flag
        type: int
      item_type: struct
      name: "allowed_auto_mounts[] = {\n\t\t{ \"proc\",\t\t\tLXC_AUTO_PROC_MASK,\tLXC_AUTO_PROC_MIXED\t\t\t\t\t},\n\t\t{
        \"proc:mixed\",\t\t\tLXC_AUTO_PROC_MASK,\tLXC_AUTO_PROC_MIXED\t\t\t\t\t},\n\t\t{
        \"proc:rw\",\t\t\tLXC_AUTO_PROC_MASK,\tLXC_AUTO_PROC_RW\t\t\t\t\t},\n\t\t{
        \"sys\",\t\t\tLXC_AUTO_SYS_MASK,\tLXC_AUTO_SYS_MIXED\t\t\t\t\t},\n\t\t{ \"sys:ro\",\t\t\tLXC_AUTO_SYS_MASK,\tLXC_AUTO_SYS_RO\t\t\t\t\t\t},\n\t\t{
        \"sys:mixed\",\t\t\tLXC_AUTO_SYS_MASK,\tLXC_AUTO_SYS_MIXED\t\t\t\t\t},\n\t\t{
        \"sys:rw\",\t\t\tLXC_AUTO_SYS_MASK,\tLXC_AUTO_SYS_RW\t\t\t\t\t\t},\n\t\t{
        \"cgroup2\",\t\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP2_RW | LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{
        \"cgroup2:ro\",\t\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP2_RO | LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{
        \"cgroup2:force\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP2_RW | LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{
        \"cgroup2:ro:force\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP2_RO | LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{
        \"cgroup\",\t\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_NOSPEC\t\t\t\t\t},\n\t\t{
        \"cgroup:mixed\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_MIXED\t\t\t\t\t},\n\t\t{
        \"cgroup:ro\",\t\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_RO\t\t\t\t\t},\n\t\t{
        \"cgroup:rw\",\t\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_RW\t\t\t\t\t},\n\t\t{
        \"cgroup:force\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_NOSPEC | LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{
        \"cgroup:mixed:force\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_MIXED |
        LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{ \"cgroup:ro:force\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_RO
        | LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{ \"cgroup:rw:force\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_RW
        | LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{ \"cgroup-full\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_FULL_NOSPEC\t\t\t\t},\n\t\t{
        \"cgroup-full:mixed\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_FULL_MIXED\t\t\t\t},\n\t\t{
        \"cgroup-full:ro\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_FULL_RO\t\t\t\t\t},\n\t\t{
        \"cgroup-full:rw\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_FULL_RW\t\t\t\t\t},\n\t\t{
        \"cgroup-full:force\",\t\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_FULL_NOSPEC
        | LXC_AUTO_CGROUP_FORCE\t},\n\t\t{ \"cgroup-full:mixed:force\",\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_FULL_MIXED
        | LXC_AUTO_CGROUP_FORCE\t},\n\t\t{ \"cgroup-full:ro:force\",\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_FULL_RO
        | LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{ \"cgroup-full:rw:force\",\tLXC_AUTO_CGROUP_MASK,\tLXC_AUTO_CGROUP_FULL_RW
        | LXC_AUTO_CGROUP_FORCE\t\t},\n\t\t{ \"shmounts:\",\t\t\tLXC_AUTO_SHMOUNTS_MASK,\tLXC_AUTO_SHMOUNTS\t\t\t\t\t},\n\t\t/*\n\t\t
        * For adding anything that is just a single on/off, but has no\n\t\t * options:
        keep mask and flag identical and just define the\n\t\t * enum value as an
        unused bit so far\n\t\t */\n\t\t{ NULL,\t\t\t\t0,\t\t\t0\t\t\t\t\t\t\t}\n\t}"
      pos:
        line_end: 2326
        line_start: 2322
        source_file: /src/lxc/src/lxc/confile.c
    - fields:
      - name: '*conf'
        type: struct lxc_conf
      - name: from_include
        type: bool
      item_type: struct
      name: parse_line_conf
      pos:
        line_end: 3056
        line_start: 3053
        source_file: /src/lxc/src/lxc/confile.c
    - fields:
      - name: '*name'
        type: char
      - name: per
        type: unsigned long
      item_type: struct
      name: per_name
      pos:
        line_end: 3262
        line_start: 3259
        source_file: /src/lxc/src/lxc/confile.c
    - fields:
      - name: buf[NETWORK_SUBKEY_SIZE_MAX]
        type: char
      - name: '*subkey'
        type: char
      - name: '*ops'
        type: struct lxc_config_net_t
      - name: '*netdev'
        type: struct lxc_netdev
      item_type: struct
      name: config_net_info
      pos:
        line_end: 5382
        line_start: 5377
        source_file: /src/lxc/src/lxc/confile.c
    typedefs: []
    union: []
- function_names:
  - lxc_abstract_unix_set_sockaddr
  - lxc_abstract_unix_open
  - lxc_abstract_unix_close
  - lxc_abstract_unix_connect
  - lxc_abstract_unix_send_fds_iov
  - lxc_abstract_unix_send_fds
  - lxc_unix_send_fds
  - __lxc_abstract_unix_send_two_fds
  - lxc_abstract_unix_recv_fds_iov
  - lxc_abstract_unix_recv_fds
  - lxc_abstract_unix_recv_one_fd
  - __lxc_abstract_unix_recv_two_fds
  - lxc_abstract_unix_send_credential
  - lxc_abstract_unix_rcv_credential
  - lxc_unix_sockaddr
  - lxc_unix_connect_type
  - lxc_unix_connect
  - lxc_socket_set_timeout
  source_file: /src/lxc/src/lxc/af_unix.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/rexec.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_cmd_str
  - __transfer_cgroup_ctx_fds
  - __transfer_cgroup_fd
  - lxc_cmd_rsp_recv_fds
  - lxc_cmd_rsp_recv
  - __lxc_cmd_rsp_send
  - lxc_cmd_rsp_send_reap
  - lxc_cmd_rsp_send_keep
  - rsp_one_fd_reap
  - rsp_one_fd_keep
  - rsp_many_fds_reap
  - lxc_cmd_send
  - lxc_cmd_timeout
  - lxc_cmd
  - lxc_try_cmd
  - validate_string_request
  - lxc_cmd_get_init_pid
  - lxc_cmd_get_init_pid_callback
  - lxc_cmd_get_init_pidfd
  - lxc_cmd_get_init_pidfd_callback
  - lxc_cmd_get_devpts_fd
  - lxc_cmd_get_devpts_fd_callback
  - lxc_cmd_get_seccomp_notify_fd
  - lxc_cmd_get_seccomp_notify_fd_callback
  - lxc_cmd_get_cgroup_ctx
  - lxc_cmd_get_cgroup_ctx_callback
  - lxc_cmd_get_clone_flags
  - lxc_cmd_get_clone_flags_callback
  - lxc_cmd_get_cgroup_path_callback
  - lxc_cmd_get_cgroup_path
  - lxc_cmd_get_limit_cgroup_path
  - __lxc_cmd_get_cgroup_callback
  - lxc_cmd_get_cgroup_callback
  - lxc_cmd_get_limit_cgroup_callback
  - lxc_cmd_get_config_item
  - lxc_cmd_get_config_item_callback
  - lxc_cmd_get_state
  - lxc_cmd_get_state_callback
  - lxc_cmd_stop
  - lxc_cmd_stop_callback
  - lxc_cmd_terminal_winch
  - lxc_cmd_terminal_winch_callback
  - lxc_cmd_get_tty_fd
  - lxc_cmd_get_tty_fd_callback
  - lxc_cmd_get_name
  - lxc_cmd_get_name_callback
  - lxc_cmd_get_lxcpath
  - lxc_cmd_get_lxcpath_callback
  - lxc_cmd_get_systemd_scope
  - lxc_cmd_get_systemd_scope_callback
  - lxc_cmd_add_state_client
  - lxc_cmd_add_state_client_callback
  - lxc_cmd_add_bpf_device_cgroup
  - lxc_cmd_add_bpf_device_cgroup_callback
  - lxc_cmd_console_log
  - lxc_cmd_console_log_callback
  - lxc_cmd_serve_state_clients
  - lxc_cmd_serve_state_clients_callback
  - lxc_cmd_seccomp_notify_add_listener
  - lxc_cmd_seccomp_notify_add_listener_callback
  - lxc_cmd_freeze
  - lxc_cmd_freeze_callback
  - lxc_cmd_unfreeze
  - lxc_cmd_unfreeze_callback
  - lxc_cmd_get_cgroup_fd
  - lxc_cmd_get_limit_cgroup_fd
  - __lxc_cmd_get_cgroup_fd_callback
  - lxc_cmd_get_cgroup_fd_callback
  - lxc_cmd_get_limit_cgroup_fd_callback
  - lxc_cmd_get_cgroup2_fd
  - lxc_cmd_get_limit_cgroup2_fd
  - __lxc_cmd_get_cgroup2_fd_callback
  - lxc_cmd_get_cgroup2_fd_callback
  - lxc_cmd_get_limit_cgroup2_fd_callback
  - lxc_cmd_rsp_send_enosys
  - lxc_cmd_process
  - lxc_cmd_fd_cleanup
  - lxc_cmd_cleanup_handler
  - lxc_cmd_handler
  - lxc_cmd_accept
  - lxc_server_init
  - lxc_cmd_mainloop_add
  source_file: /src/lxc/src/lxc/commands.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs:
    - item_type: typedef
      name: "(*callback)(int, struct lxc_cmd_req *, struct lxc_handler *,\n\t\t\t\tstruct
        lxc_async_descr *)"
      pos:
        line_end: 1940
        line_start: 1939
        source_file: /src/lxc/src/lxc/commands.c
      type: int
    union: []
- function_names:
  - my_parser
  - create_helpfn
  - validate_bdev_args
  - lxc_create_main
  source_file: /src/lxc/src/lxc/tools/lxc_create.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - my_parser
  - etoc
  - lxc_console_main
  source_file: /src/lxc/src/lxc/tools/lxc_console.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_info
  - lxc_error
  - lxc_sys_error
  source_file: /src/lxc/src/lxc/tools/arguments.h
  types:
    enum:
    - enumerators:
      - name: CLONE
      - name: RESTORE
      - name: LIST
      - name: DESTROY
      - name: SNAP
      - name: RENAME
      item_type: enum
      name: task
      pos:
        line_end: 96
        line_start: 89
        source_file: /src/lxc/src/lxc/tools/arguments.h
    preproc_defs:
    - item_type: preproc_def
      name: LXC_COMMON_OPTIONS
      pos:
        line_end: 148
        line_start: 136
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type_or_value: "{ \"name\",        required_argument, 0, 'n'         },              \\\n\t
        \   { \"help\",        no_argument,       0, 'h'         },              \\\n\t
        \   { \"help\",        no_argument,       0, '?'         },              \\\n\t
        \   { \"usage\",       no_argument,       0, OPT_USAGE   },              \\\n\t
        \   { \"version\",     no_argument,       0, OPT_VERSION },              \\\n\t
        \   { \"quiet\",       no_argument,       0, 'q'         },              \\\n\t
        \   { \"logfile\",     required_argument, 0, 'o'         },              \\\n\t
        \   { \"logpriority\", required_argument, 0, 'l'         },              \\\n\t
        \   { \"lxcpath\",     required_argument, 0, 'P'         },              \\\n\t
        \   { \"rcfile\",      required_argument, 0, OPT_RCFILE  },              \\\n\t
        \   { 0,             0,                 0, 0           }"
    - item_type: preproc_def
      name: OPT_USAGE
      pos:
        line_end: 151
        line_start: 150
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type_or_value: '0x1000'
    - item_type: preproc_def
      name: OPT_VERSION
      pos:
        line_end: 152
        line_start: 151
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type_or_value: OPT_USAGE - 1
    - item_type: preproc_def
      name: OPT_RCFILE
      pos:
        line_end: 153
        line_start: 152
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type_or_value: OPT_USAGE - 2
    - item_type: preproc_def
      name: OPT_SHARE_NET
      pos:
        line_end: 154
        line_start: 153
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type_or_value: OPT_USAGE - 3
    - item_type: preproc_def
      name: OPT_SHARE_IPC
      pos:
        line_end: 155
        line_start: 154
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type_or_value: OPT_USAGE - 4
    - item_type: preproc_def
      name: OPT_SHARE_UTS
      pos:
        line_end: 156
        line_start: 155
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type_or_value: OPT_USAGE - 5
    - item_type: preproc_def
      name: OPT_SHARE_PID
      pos:
        line_end: 157
        line_start: 156
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type_or_value: OPT_USAGE - 6
    structs:
    - fields:
      - name: '*help'
        type: char
      - name: (*helpfn)(const struct lxc_arguments *)
        type: void
      - name: '*progname'
        type: char
      - name: '*options'
        type: struct option
      - name: parser
        type: lxc_arguments_parser_t
      - name: checker
        type: lxc_arguments_checker_t
      - name: '*name'
        type: char
      - name: '*log_file'
        type: char
      - name: '*log_priority'
        type: char
      - name: quiet
        type: int
      - name: daemonize
        type: int
      - name: '*rcfile'
        type: char
      - name: '*console'
        type: char
      - name: '*console_log'
        type: char
      - name: '*pidfile'
        type: char
      - name: '**lxcpath'
        type: char
      - name: lxcpath_cnt
        type: int
      - name: lxcpath_additional
        type: int
      - name: '*share_ns[32]'
        type: char
      - name: ttynum
        type: unsigned int
      - name: escape
        type: char
      - name: '*states'
        type: char
      - name: timeout
        type: long
      - name: shutdown
        type: int
      - name: hardstop
        type: int
      - name: nokill
        type: int
      - name: nolock
        type: int
      - name: nowait
        type: int
      - name: reboot
        type: int
      - name: force
        type: int
      - name: close_all_fds
        type: bool
      - name: '*bdevtype'
        type: char
      - name: '*fstype'
        type: char
      - name: fssize
        type: uint64_t
      - name: '*lvname'
        type: char
      - name: '*rbdname'
        type: char
      - name: '*zfsroot'
        type: char
      - name: uid
        type: uid_t
      - name: gid
        type: gid_t
      - name: all
        type: int
      - name: ignore_auto
        type: int
      - name: list
        type: int
      - name: '*groups'
        type: char
      - name: task
        type: "enum task {\n\t\tCLONE,\n\t\tDESTROY,\n\t\tLIST,\n\t\tRESTORE,\n\t\tSNAP,\n\t\tRENAME,\n\t}"
      - name: print_comments
        type: int
      - name: '*commentfile'
        type: char
      - name: '*newname'
        type: char
      - name: '*newpath'
        type: char
      - name: '*snapname'
        type: char
      - name: keepdata
        type: int
      - name: keepname
        type: int
      - name: keepmac
        type: int
      - name: allowrunning
        type: int
      - name: '*ls_fancy_format'
        type: char
      - name: '*ls_filter'
        type: char
      - name: ls_nesting
        type: unsigned int
      - name: ls_active
        type: bool
      - name: ls_fancy
        type: bool
      - name: ls_frozen
        type: bool
      - name: ls_line
        type: bool
      - name: ls_running
        type: bool
      - name: ls_stopped
        type: bool
      - name: ls_defined
        type: bool
      - name: tmpfs
        type: bool
      - name: flags
        type: int
      - name: want_default_mounts
        type: int
      - name: '*want_hostname'
        type: char
      - name: setuid
        type: bool
      - name: '*const *argv'
        type: char
      - name: argc
        type: int
      - name: '*data'
        type: void
      item_type: struct
      name: lxc_arguments
      pos:
        line_end: 134
        line_start: 21
        source_file: /src/lxc/src/lxc/tools/arguments.h
    typedefs:
    - item_type: typedef
      name: (*lxc_arguments_parser_t)(struct lxc_arguments *, int, char *)
      pos:
        line_end: 18
        line_start: 18
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type: int
    - item_type: typedef
      name: (*lxc_arguments_checker_t)(const struct lxc_arguments *)
      pos:
        line_end: 19
        line_start: 19
        source_file: /src/lxc/src/lxc/tools/arguments.h
      type: int
    union: []
- function_names:
  - main
  source_file: /src/lxc/src/lxc/tools/lxc_multicall.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: PREFIX
      pos:
        line_end: 6
        line_start: 5
        source_file: /src/lxc/src/lxc/tools/lxc_multicall.c
      type_or_value: '"lxc-"'
    structs:
    - fields:
      - name: '*cmd'
        type: char
      - name: (*main)(int argc, char *argv[])
        type: int
      item_type: struct
      name: "applets[] = {\n\t{ \"attach\", lxc_attach_main },\n\t{ \"autostart\",
        lxc_autostart_main },\n\t{ \"cgroup\", lxc_cgroup_main },\n\t{ \"checkpoint\",
        lxc_checkpoint_main },\n\t{ \"config\", lxc_config_main },\n\t{ \"console\",
        lxc_console_main },\n\t{ \"copy\", lxc_copy_main },\n\t{ \"create\", lxc_create_main
        },\n\t{ \"destroy\", lxc_destroy_main },\n\t{ \"device\", lxc_device_main
        },\n\t{ \"execute\", lxc_execute_main },\n\t{ \"freeze\", lxc_freeze_main
        },\n\t{ \"info\", lxc_info_main },\n\t{ \"ls\", lxc_ls_main },\n\t{ \"monitor\",
        lxc_monitor_main },\n\t{ \"snapshot\", lxc_snapshot_main },\n\t{ \"start\",
        lxc_start_main },\n\t{ \"stop\", lxc_stop_main },\n\t{ \"top\", lxc_top_main
        },\n\t{ \"unfreeze\", lxc_unfreeze_main },\n\t{ \"unshare\", lxc_unshare_main
        },\n\t{ \"wait\", lxc_wait_main }\n}"
      pos:
        line_end: 33
        line_start: 30
        source_file: /src/lxc/src/lxc/tools/lxc_multicall.c
    typedefs: []
    union: []
- function_names:
  - my_parser
  - close_fds
  - lxc_tool_check_inherited
  - lxc_tool_monitord_spawn
  - lxc_monitor_main
  source_file: /src/lxc/src/lxc/tools/lxc_monitor.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_MONITORD_PATH
      pos:
        line_end: 34
        line_start: 33
        source_file: /src/lxc/src/lxc/tools/lxc_monitor.c
      type_or_value: LIBEXECDIR "/lxc/lxc-monitord"
    structs: []
    typedefs: []
    union: []
- function_names:
  - my_parser
  - do_destroy
  - do_destroy_with_snapshots
  - lxc_destroy_main
  source_file: /src/lxc/src/lxc/tools/lxc_destroy.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - my_parser
  - get_namespace_flags
  - lookup_user
  - mount_fs
  - lxc_setup_fs
  - do_start
  - free_ifname_list
  - lxc_unshare_main
  source_file: /src/lxc/src/lxc/tools/lxc_unshare.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*const *args'
        type: char
      - name: flags
        type: int
      - name: uid
        type: uid_t
      - name: setuid
        type: bool
      - name: want_default_mounts
        type: int
      - name: wait_fd
        type: int
      - name: '*want_hostname'
        type: char
      item_type: struct
      name: start_arg
      pos:
        line_end: 41
        line_start: 33
        source_file: /src/lxc/src/lxc/tools/lxc_unshare.c
    typedefs: []
    union: []
- function_names:
  - my_parser
  - str_chomp
  - size_humanize
  - str_size_humanize
  - print_net_stats
  - cg2_stat_iter
  - cg1_cpu_usage
  - cg2_cpu_usage_iter
  - cg2_cpu_usage
  - search_array
  - cg2_mem_usage_iter
  - cg2_mem_usage
  - cg1_mem_usage
  - print_stats
  - print_info_msg_int
  - print_info_msg_str
  - print_info
  - lxc_info_main
  source_file: /src/lxc/src/lxc/tools/lxc_info.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: user
        type: unsigned long long
      item_type: struct
      name: cg2_mem_usage_s
      pos:
        line_end: 281
        line_start: 279
        source_file: /src/lxc/src/lxc/tools/lxc_info.c
    - fields:
      - name: '*file'
        type: char
      - name: '*target'
        type: char
      item_type: struct
      name: "lxstat[] = {\n\t\t{ \"memory.usage_in_bytes\", user },\n\t\t{ \"memory.kmem.usage_in_bytes\",
        kernel },\n\t}"
      pos:
        line_end: 324
        line_start: 321
        source_file: /src/lxc/src/lxc/tools/lxc_info.c
    typedefs: []
    union: []
- function_names:
  - my_parser
  - lxc_stop_main
  source_file: /src/lxc/src/lxc/tools/lxc_stop.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: OPT_NO_LOCK
      pos:
        line_end: 17
        line_start: 16
        source_file: /src/lxc/src/lxc/tools/lxc_stop.c
      type_or_value: (OPT_USAGE + 1)
    - item_type: preproc_def
      name: OPT_NO_KILL
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/lxc/tools/lxc_stop.c
      type_or_value: (OPT_USAGE + 2)
    structs: []
    typedefs: []
    union: []
- function_names:
  - is_interface
  - lxc_device_main
  source_file: /src/lxc/src/lxc/tools/lxc_device.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - my_parser
  - stdin_tios_restore
  - stdin_tios_setup
  - stdin_tios_rows
  - sig_handler
  - size_humanize
  - stat_get_int
  - stat_match_get_int
  - cg1_get_blk_stats
  - cg2_get_blk_stats
  - cg1_mem_stats
  - cg2_mem_stats
  - cg1_cpu_stats
  - cg2_cpu_stats
  - stats_get
  - stats_print_header
  - stats_print
  - cmp_name
  - cmp_cpuuse
  - cmp_blkio
  - cmp_memory
  - cmp_memorysw
  - cmp_kmemory
  - ct_sort
  - ct_free
  - ct_realloc
  - stdin_handler
  - lxc_top_main
  source_file: /src/lxc/src/lxc/tools/lxc_top.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: ESC
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
      type_or_value: '"\033"'
    - item_type: preproc_def
      name: TERMCLEAR
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
      type_or_value: ESC "[H" ESC "[J"
    - item_type: preproc_def
      name: TERMNORM
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
      type_or_value: ESC "[0m"
    - item_type: preproc_def
      name: TERMBOLD
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
      type_or_value: ESC "[1m"
    - item_type: preproc_def
      name: TERMRVRS
      pos:
        line_end: 29
        line_start: 28
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
      type_or_value: ESC "[7m"
    structs:
    - fields:
      - name: read
        type: uint64_t
      - name: write
        type: uint64_t
      - name: total
        type: uint64_t
      item_type: struct
      name: blkio_stats
      pos:
        line_end: 34
        line_start: 30
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
    - fields:
      - name: use_nanos
        type: uint64_t
      - name: use_user
        type: uint64_t
      - name: use_sys
        type: uint64_t
      item_type: struct
      name: cpu_stats
      pos:
        line_end: 40
        line_start: 36
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
    - fields:
      - name: used
        type: uint64_t
      - name: limit
        type: uint64_t
      - name: kmem_used
        type: uint64_t
      - name: kmem_limit
        type: uint64_t
      item_type: struct
      name: mem_stats
      pos:
        line_end: 57
        line_start: 42
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
    - fields:
      - name: mem
        type: struct mem_stats
      - name: cpu
        type: struct cpu_stats
      - name: io_service_bytes
        type: struct blkio_stats
      - name: io_serviced
        type: struct blkio_stats
      item_type: struct
      name: stats
      pos:
        line_end: 64
        line_start: 59
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
    - fields:
      - name: '*c'
        type: struct lxc_container
      - name: '*stats'
        type: struct stats
      item_type: struct
      name: container_stats
      pos:
        line_end: 69
        line_start: 66
        source_file: /src/lxc/src/lxc/tools/lxc_top.c
    typedefs: []
    union: []
- function_names:
  - my_checker
  - lxc_cgroup_main
  source_file: /src/lxc/src/lxc/tools/lxc_cgroup.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - build_shortopts
  - print_usage_exit
  - print_version_exit
  - print_help_exit
  - lxc_arguments_lxcpath_add
  - lxc_arguments_parse
  - lxc_arguments_str_to_int
  - lxc_setup_shared_ns
  source_file: /src/lxc/src/lxc/tools/arguments.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_snapshot_main
  - do_snapshot_task
  - my_parser
  - do_snapshot
  - do_snapshot_destroy
  - do_snapshot_list
  - do_snapshot_restore
  - print_file
  source_file: /src/lxc/src/lxc/tools/lxc_snapshot.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_ls_main
  - ls_free
  - ls_get_config_item
  - ls_free_arr
  - ls_get
  - ls_get_cgroup_item
  - ls_get_groups
  - ls_get_ips
  - ls_get_interface
  - ls_get_swap
  - ls_get_term_width
  - ls_has_all_grps
  - ls_new
  - ls_print_names
  - ls_print_fancy_format
  - ls_print_table
  - my_parser
  - ls_get_wrapper
  - ls_remove_lock
  - ls_send_str
  - ls_serialize
  - ls_recv_str
  - ls_deserialize
  - ls_field_width
  source_file: /src/lxc/src/lxc/tools/lxc_ls.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MAX_NESTLVL
      pos:
        line_end: 31
        line_start: 30
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
      type_or_value: '5'
    - item_type: preproc_def
      name: LS_FROZEN
      pos:
        line_end: 33
        line_start: 32
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
      type_or_value: '1'
    - item_type: preproc_def
      name: LS_STOPPED
      pos:
        line_end: 34
        line_start: 33
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
      type_or_value: '2'
    - item_type: preproc_def
      name: LS_ACTIVE
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
      type_or_value: '3'
    - item_type: preproc_def
      name: LS_RUNNING
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
      type_or_value: '4'
    - item_type: preproc_def
      name: LS_NESTING
      pos:
        line_end: 37
        line_start: 36
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
      type_or_value: '5'
    - item_type: preproc_def
      name: LS_FILTER
      pos:
        line_end: 38
        line_start: 37
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
      type_or_value: '6'
    - item_type: preproc_def
      name: LS_DEFINED
      pos:
        line_end: 39
        line_start: 38
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
      type_or_value: '7'
    - item_type: preproc_def
      name: SOCK_CLOEXEC
      pos:
        line_end: 42
        line_start: 41
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
      type_or_value: '02000000'
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: '*state'
        type: char
      - name: '*groups'
        type: char
      - name: '*interface'
        type: char
      - name: '*ipv4'
        type: char
      - name: '*ipv6'
        type: char
      - name: nestlvl
        type: unsigned int
      - name: init
        type: pid_t
      - name: ram
        type: double
      - name: swap
        type: double
      - name: autostart
        type: bool
      - name: running
        type: bool
      - name: unprivileged
        type: bool
      item_type: struct
      name: ls
      pos:
        line_end: 59
        line_start: 45
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
    - fields:
      - name: name_length
        type: unsigned int
      - name: state_length
        type: unsigned int
      - name: groups_length
        type: unsigned int
      - name: interface_length
        type: unsigned int
      - name: ipv4_length
        type: unsigned int
      - name: ipv6_length
        type: unsigned int
      - name: init_length
        type: unsigned int
      - name: ram_length
        type: unsigned int
      - name: swap_length
        type: unsigned int
      - name: autostart_length
        type: unsigned int
      - name: unprivileged_length
        type: unsigned int
      item_type: struct
      name: lengths
      pos:
        line_end: 74
        line_start: 62
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
    - fields:
      - name: '*args'
        type: struct lxc_arguments
      - name: '**grps_must'
        type: char
      - name: grps_must_len
        type: size_t
      - name: pipefd[2]
        type: int
      - name: '*size'
        type: size_t
      - name: '*parent'
        type: char
      - name: nestlvl
        type: unsigned int
      item_type: struct
      name: wrapargs
      pos:
        line_end: 101
        line_start: 93
        source_file: /src/lxc/src/lxc/tools/lxc_ls.c
    typedefs: []
    union: []
- function_names:
  - lxc_attach_rexec
  - my_parser
  - lxc_fill_elevated_privileges
  - add_to_simple_array
  - stdfd_is_pty
  - lxc_attach_create_log_file
  - lxc_attach_main
  source_file: /src/lxc/src/lxc/tools/lxc_attach.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*token'
        type: char
      - name: flag
        type: int
      item_type: struct
      name: "all_privs[] = {\n\t\t{ \"CGROUP\", LXC_ATTACH_MOVE_TO_CGROUP    },\n\t\t{
        \"CAP\",    LXC_ATTACH_DROP_CAPABILITIES },\n\t\t{ \"LSM\",    LXC_ATTACH_LSM_EXEC
        \         },\n\t\t{ NULL,     0                            }\n\t}"
      pos:
        line_end: 223
        line_start: 220
        source_file: /src/lxc/src/lxc/tools/lxc_attach.c
    typedefs: []
    union: []
- function_names:
  - my_parser
  - set_argv
  - lxc_execute_main
  source_file: /src/lxc/src/lxc/tools/lxc_execute.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - my_parser
  - my_checker
  - checkpoint
  - restore_finalize
  - restore
  - lxc_checkpoint_main
  source_file: /src/lxc/src/lxc/tools/lxc_checkpoint.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: OPT_PREDUMP_DIR
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/lxc/tools/lxc_checkpoint.c
      type_or_value: (OPT_USAGE + 1)
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_unfreeze_main
  source_file: /src/lxc/src/lxc/tools/lxc_unfreeze.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - my_parser
  - list_contains_entry
  - lxc_list_for_each
  - accumulate_list
  - get_list
  - lxc_iterate_parts
  - get_config_list
  - get_config_integer
  - cmporder
  - cmporder_reverse
  - toss_list
  - lxc_list_for_each_safe
  - lxc_autostart_main
  - lxc_list_for_each
  source_file: /src/lxc/src/lxc/tools/lxc_autostart.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - usage
  - list_config_items
  - lxc_config_main
  source_file: /src/lxc/src/lxc/tools/lxc_config.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*name'
        type: char
      item_type: struct
      name: lxc_config_items
      pos:
        line_end: 11
        line_start: 9
        source_file: /src/lxc/src/lxc/tools/lxc_config.c
    typedefs: []
    union: []
- function_names:
  - lxc_copy_main
  - add_mnt
  - mk_rand_ovl_dirs
  - lxc_normalize_path
  - construct_path
  - set_mnt_entry
  - do_clone
  - do_clone_ephemeral
  - do_clone_rename
  - do_clone_task
  - free_mnts
  - my_parser
  - parse_bind_mnt
  - parse_mntsubopts
  - parse_ovl_mnt
  - mount_tmpfs
  source_file: /src/lxc/src/lxc/tools/lxc_copy.c
  types:
    enum:
    - enumerators:
      - name: LXC_MNT_BIND
      - name: LXC_MNT_OVL
      item_type: enum
      name: mnttype
      pos:
        line_end: 35
        line_start: 32
        source_file: /src/lxc/src/lxc/tools/lxc_copy.c
    preproc_defs: []
    structs:
    - fields:
      - name: mnt_type
        type: enum mnttype
      - name: '*src'
        type: char
      - name: '*dest'
        type: char
      - name: '*options'
        type: char
      - name: '*upper'
        type: char
      - name: '*workdir'
        type: char
      - name: '*lower'
        type: char
      item_type: struct
      name: mnts
      pos:
        line_end: 45
        line_start: 37
        source_file: /src/lxc/src/lxc/tools/lxc_copy.c
    typedefs: []
    union: []
- function_names:
  - my_parser
  - ensure_path
  - lxc_start_main
  source_file: /src/lxc/src/lxc/tools/lxc_start.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_freeze_main
  source_file: /src/lxc/src/lxc/tools/lxc_freeze.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - my_parser
  - my_checker
  - lxc_wait_main
  source_file: /src/lxc/src/lxc/tools/lxc_wait.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/tools/include/getsubopt.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - getsubopt
  source_file: /src/lxc/src/lxc/tools/include/getsubopt.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_monitord_fifo_create
  - lxc_monitord_fifo_delete
  - lxc_monitord_sockfd_remove
  - lxc_monitord_sock_handler
  - lxc_monitord_sock_accept
  - lxc_monitord_sock_create
  - lxc_monitord_sock_delete
  - lxc_monitord_create
  - lxc_monitord_delete
  - lxc_monitord_fifo_handler
  - lxc_monitord_mainloop_add
  - lxc_monitord_sig_handler
  - main
  source_file: /src/lxc/src/lxc/cmd/lxc_monitord.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: CLIENTFDS_CHUNK
      pos:
        line_end: 32
        line_start: 31
        source_file: /src/lxc/src/lxc/cmd/lxc_monitord.c
      type_or_value: '64'
    structs:
    - fields:
      - name: '*lxcpath'
        type: char
      - name: fifofd
        type: int
      - name: listenfd
        type: int
      - name: '*clientfds'
        type: int
      - name: clientfds_size
        type: int
      - name: clientfds_cnt
        type: int
      - name: descr
        type: struct lxc_async_descr
      item_type: struct
      name: lxc_monitor
      pos:
        line_end: 55
        line_start: 47
        source_file: /src/lxc/src/lxc/cmd/lxc_monitord.c
    typedefs: []
    union: []
- function_names:
  - usernic_debug_stream
  - usernic_error
  - cmd_error_errno
  - usage
  - open_and_lock
  - get_username
  - get_groupnames
  - name_is_in_groupnames
  - append_alloted
  - free_alloted
  - get_alloted
  - get_eol
  - get_eow
  - same_word
  - find_line
  - instantiate_veth
  - get_mtu
  - create_nic
  - cull_entries
  - count_entries
  - get_nic_if_avail
  - create_db_dir
  - lxc_secure_rename_in_ns
  - may_access_netns
  - is_privileged_over_netns
  - validate_args
  - main
  source_file: /src/lxc/src/lxc/cmd/lxc_user_nic.c
  types:
    enum:
    - enumerators:
      - name: LXC_USERNIC_CREATE
        value: '0'
      - name: LXC_USERNIC_DELETE
        value: '1'
      item_type: enum
      name: lxc_user_nic_command
      pos:
        line_end: 1001
        line_start: 998
        source_file: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    preproc_defs:
    - item_type: preproc_def
      name: NETDEV_MTU_DEFAULT
      pos:
        line_end: 534
        line_start: 533
        source_file: /src/lxc/src/lxc/cmd/lxc_user_nic.c
      type_or_value: '1500'
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: allowed
        type: int
      - name: '*next'
        type: struct alloted_s
      item_type: struct
      name: alloted_s
      pos:
        line_end: 234
        line_start: 230
        source_file: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    - fields:
      - name: '*start'
        type: char
      - name: len
        type: int
      - name: keep
        type: bool
      item_type: struct
      name: entry_line
      pos:
        line_end: 617
        line_start: 613
        source_file: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    - fields:
      - name: '*cmd'
        type: char
      - name: '*lxc_path'
        type: char
      - name: '*lxc_name'
        type: char
      - name: '*pid'
        type: char
      - name: '*type'
        type: char
      - name: '*link'
        type: char
      - name: '*veth_name'
        type: char
      item_type: struct
      name: user_nic_args
      pos:
        line_end: 996
        line_start: 988
        source_file: /src/lxc/src/lxc/cmd/lxc_user_nic.c
    typedefs: []
    union: []
- function_names:
  - QUOTE
  - QUOTEVAL
  - print_usage_exit
  - print_version_exit
  - print_help
  - arguments_parse
  - main
  source_file: /src/lxc/src/lxc/cmd/lxc_init.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: OPT_USAGE
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/lxc/cmd/lxc_init.c
      type_or_value: '0x1000'
    - item_type: preproc_def
      name: OPT_VERSION
      pos:
        line_end: 29
        line_start: 28
        source_file: /src/lxc/src/lxc/cmd/lxc_init.c
      type_or_value: (OPT_USAGE - 1)
    structs:
    - fields:
      - name: '*options'
        type: struct option
      - name: '*shortopts'
        type: char
      - name: '*name'
        type: char
      - name: quiet
        type: bool
      - name: '*lxcpath'
        type: char
      - name: '*const *argv'
        type: char
      - name: argc
        type: int
      item_type: struct
      name: arguments
      pos:
        line_end: 55
        line_start: 44
        source_file: /src/lxc/src/lxc/cmd/lxc_init.c
    typedefs: []
    union: []
- function_names:
  - usage
  - opentty
  - do_child
  - add_map_entry
  - parse_map
  - read_default_map
  - find_default_map
  - is_in_ns_range
  - do_map_self
  - main
  source_file: /src/lxc/src/lxc/cmd/lxc_usernsexec.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - nop_process_label_get
  - nop_process_label_get_at
  - nop_process_label_set
  - nop_enabled
  - nop_keyring_label_set
  - nop_prepare
  - nop_cleanup
  - nop_process_label_fd_get
  - nop_process_label_set_at
  - lsm_nop_ops_init
  source_file: /src/lxc/src/lxc/lsm/nop.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lsm_init_static
  source_file: /src/lxc/src/lxc/lsm/lsm.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - load_mount_features_enabled
  - apparmor_enabled
  - __apparmor_process_label_open
  - apparmor_process_label_get
  - apparmor_process_label_get_at
  - apparmor_am_unconfined
  - aa_needs_transition
  - uint64hex
  - shorten_apparmor_name
  - sanitize_path
  - apparmor_dir
  - apparmor_profile_full
  - apparmor_namespace
  - check_apparmor_parser_version
  - file_is_yes
  - apparmor_can_stack
  - must_append_sized_full
  - must_append_sized
  - is_privileged
  - append_remount_rule
  - append_all_remount_rules
  - get_apparmor_profile_content
  - make_apparmor_profile_path
  - make_apparmor_namespace
  - remove_apparmor_namespace
  - apparmor_parser_exec
  - run_apparmor_parser
  - remove_apparmor_profile
  - load_apparmor_profile
  - apparmor_cleanup
  - apparmor_prepare
  - apparmor_keyring_label_set
  - apparmor_process_label_fd_get
  - apparmor_process_label_set_at
  - apparmor_process_label_set
  - lsm_apparmor_ops_init
  source_file: /src/lxc/src/lxc/lsm/apparmor.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: AA_DEF_PROFILE
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
      type_or_value: '"lxc-container-default"'
    - item_type: preproc_def
      name: AA_DEF_PROFILE_CGNS
      pos:
        line_end: 29
        line_start: 28
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
      type_or_value: '"lxc-container-default-cgns"'
    - item_type: preproc_def
      name: AA_MOUNT_RESTR
      pos:
        line_end: 30
        line_start: 29
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
      type_or_value: '"/sys/kernel/security/apparmor/features/mount/mask"'
    - item_type: preproc_def
      name: AA_ENABLED_FILE
      pos:
        line_end: 31
        line_start: 30
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
      type_or_value: '"/sys/module/apparmor/parameters/enabled"'
    - item_type: preproc_def
      name: AA_UNCHANGED
      pos:
        line_end: 32
        line_start: 31
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
      type_or_value: '"unchanged"'
    - item_type: preproc_def
      name: AA_GENERATED
      pos:
        line_end: 33
        line_start: 32
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
      type_or_value: '"generated"'
    - item_type: preproc_def
      name: AA_CMD_LOAD
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
      type_or_value: '''r'''
    - item_type: preproc_def
      name: AA_CMD_UNLOAD
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
      type_or_value: '''R'''
    - item_type: preproc_def
      name: AA_CMD_PARSE
      pos:
        line_end: 37
        line_start: 36
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
      type_or_value: '''Q'''
    structs:
    - fields:
      - name: '*opt'
        type: char
      - name: len
        type: size_t
      item_type: struct
      name: mntopt_t
      pos:
        line_end: 721
        line_start: 718
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
    - fields:
      - name: cmd
        type: char
      - name: '*file'
        type: char
      item_type: struct
      name: apparmor_parser_args
      pos:
        line_end: 927
        line_start: 924
        source_file: /src/lxc/src/lxc/lsm/apparmor.c
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/lsm/lsm.h
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: aa_enabled
        type: int
      - name: aa_parser_available
        type: int
      - name: aa_supports_unix
        type: int
      - name: aa_can_stack
        type: int
      - name: aa_is_stacked
        type: int
      - name: aa_admin
        type: int
      - name: aa_mount_features_enabled
        type: int
      - name: (*enabled)(struct lsm_ops *ops)
        type: int
      - name: '*(*process_label_get)(struct lsm_ops *ops, pid_t pid)'
        type: char
      - name: (*process_label_set)(struct lsm_ops *ops, const char *label, struct
          lxc_conf *conf, bool on_exec)
        type: int
      - name: (*keyring_label_set)(struct lsm_ops *ops, const char *label)
        type: int
      - name: (*prepare)(struct lsm_ops *ops, struct lxc_conf *conf, const char *lxcpath)
        type: int
      - name: (*cleanup)(struct lsm_ops *ops, struct lxc_conf *conf, const char *lxcpath)
        type: void
      - name: (*process_label_fd_get)(struct lsm_ops *ops, pid_t pid, bool on_exec)
        type: int
      - name: '*(*process_label_get_at)(struct lsm_ops *ops, int fd_pid)'
        type: char
      - name: (*process_label_set_at)(struct lsm_ops *ops, int label_fd, const char
          *label, bool on_exec)
        type: int
      item_type: struct
      name: lsm_ops
      pos:
        line_end: 36
        line_start: 15
        source_file: /src/lxc/src/lxc/lsm/lsm.h
    typedefs: []
    union: []
- function_names:
  - selinux_process_label_get
  - selinux_process_label_get_at
  - selinux_process_label_set
  - selinux_keyring_label_set
  - selinux_prepare
  - selinux_cleanup
  - selinux_process_label_fd_get
  - selinux_process_label_set_at
  - selinux_enabled
  - lsm_selinux_ops_init
  source_file: /src/lxc/src/lxc/lsm/selinux.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: DEFAULT_LABEL
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/lxc/lsm/selinux.c
      type_or_value: '"unconfined_t"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - bpf_lxc
  - bpf_program_free
  source_file: /src/lxc/src/lxc/cgroups/cgroup2_devices.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: bpf
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/lxc/cgroups/cgroup2_devices.h
      type_or_value: bpf_lxc
    - item_type: preproc_def
      name: __do_bpf_program_free
      pos:
        line_end: 82
        line_start: 81
        source_file: /src/lxc/src/lxc/cgroups/cgroup2_devices.h
      type_or_value: call_cleaner(bpf_program_free)
    structs:
    - fields:
      - name: device_list_type
        type: int
      - name: kernel_fd
        type: int
      - name: prog_type
        type: __u32
      - name: n_instructions
        type: size_t
      - name: '*instructions'
        type: struct bpf_insn
      - name: fd_cgroup
        type: int
      - name: attached_type
        type: int
      - name: attached_flags
        type: __u32
      item_type: struct
      name: bpf_program
      pos:
        line_end: 49
        line_start: 38
        source_file: /src/lxc/src/lxc/cgroups/cgroup2_devices.h
    typedefs: []
    union: []
- function_names:
  - cgroup_init
  - cgroup_exit
  source_file: /src/lxc/src/lxc/cgroups/cgroup.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - cgroup_layout_name
  - cgroup_hierarchy_name
  - device_utility_controller
  - freezer_utility_controller
  - pure_unified_layout
  - cgroup_unified_fd
  - make_cgroup_path
  - put_cgroup_ctx
  - prepare_cgroup_ctx
  source_file: /src/lxc/src/lxc/cgroups/cgroup.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: DEFAULT_CGROUP_MOUNTPOINT_RELATIVE
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '"sys/fs/cgroup"'
    - item_type: preproc_def
      name: DEFAULT_CGROUP_MOUNTPOINT
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '"/sys/fs/cgroup"'
    - item_type: preproc_def
      name: DEFAULT_PAYLOAD_CGROUP_PREFIX
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '"lxc.payload."'
    - item_type: preproc_def
      name: DEFAULT_MONITOR_CGROUP_PREFIX
      pos:
        line_end: 22
        line_start: 21
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '"lxc.monitor."'
    - item_type: preproc_def
      name: DEFAULT_PAYLOAD_CGROUP
      pos:
        line_end: 23
        line_start: 22
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '"payload"'
    - item_type: preproc_def
      name: DEFAULT_MONITOR_CGROUP
      pos:
        line_end: 24
        line_start: 23
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '"monitor"'
    - item_type: preproc_def
      name: CGROUP_CREATE_RETRY
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '"-NNNN"'
    - item_type: preproc_def
      name: CGROUP_CREATE_RETRY_LEN
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: (STRLITERALLEN(CGROUP_CREATE_RETRY))
    - item_type: preproc_def
      name: CGROUP_PIVOT
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '"lxc.pivot"'
    - item_type: preproc_def
      name: DEVICES_CONTROLLER
      pos:
        line_end: 72
        line_start: 71
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: (1U << 0)
    - item_type: preproc_def
      name: FREEZER_CONTROLLER
      pos:
        line_end: 73
        line_start: 72
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: (1U << 1)
    - item_type: preproc_def
      name: MAX_CGROUP_ROOT_NAMELEN
      pos:
        line_end: 79
        line_start: 78
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '64'
    - item_type: preproc_def
      name: CGROUP_CTX_MAX_FD
      pos:
        line_end: 82
        line_start: 81
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: '20'
    - item_type: preproc_def
      name: __cleanup_cgroup_ops
      pos:
        line_end: 282
        line_start: 281
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
      type_or_value: call_cleaner(cgroup_exit)
    structs:
    - fields:
      - name: layout
        type: __s32
      - name: utilities
        type: __u32
      - name: type
        type: __s32
      - name: fd
        type: __s32
      - name: controller[MAX_CGROUP_ROOT_NAMELEN]
        type: char
      item_type: struct
      name: cgroup_fd
      pos:
        line_end: 89
        line_start: 83
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
    - fields:
      - name: layout
        type: __s32
      - name: utilities
        type: __u32
      - name: fd_len
        type: __u32
      - name: fd[CGROUP_CTX_MAX_FD]
        type: __s32
      item_type: struct
      name: cgroup_ctx
      pos:
        line_end: 96
        line_start: 91
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
    - fields:
      - name: fs_type
        type: cgroupfs_type_magic_t
      - name: dfd_con
        type: int
      - name: '*path_con'
        type: char
      - name: dfd_lim
        type: int
      - name: '*path_lim'
        type: char
      - name: dfd_mon
        type: int
      - name: dfd_mnt
        type: int
      - name: '*at_mnt'
        type: char
      - name: dfd_base
        type: int
      - name: '*at_base'
        type: char
      - name: '**controllers'
        type: char
      item_type: struct
      name: hierarchy
      pos:
        line_end: 168
        line_start: 136
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
    - fields:
      - name: '*driver'
        type: char
      - name: '*version'
        type: char
      - name: dfd_mnt
        type: int
      - name: '**cgroup_use'
        type: char
      - name: '*cgroup_pattern'
        type: char
      - name: '*container_cgroup'
        type: char
      - name: '*container_limit_cgroup'
        type: char
      - name: '*monitor_cgroup'
        type: char
      - name: '**hierarchies'
        type: struct hierarchy
      - name: '*unified'
        type: struct hierarchy
      - name: '*cgroup2_devices'
        type: struct bpf_program
      - name: cgroup_layout
        type: cgroup_layout_t
      - name: (*data_init)(struct cgroup_ops *ops)
        type: int
      - name: (*payload_destroy)(struct cgroup_ops *ops, struct lxc_handler *handler)
        type: void
      - name: (*monitor_destroy)(struct cgroup_ops *ops, struct lxc_handler *handler)
        type: void
      - name: (*monitor_create)(struct cgroup_ops *ops, struct lxc_handler *handler)
        type: bool
      - name: (*monitor_enter)(struct cgroup_ops *ops, struct lxc_handler *handler)
        type: bool
      - name: (*payload_create)(struct cgroup_ops *ops, struct lxc_handler *handler)
        type: bool
      - name: (*payload_enter)(struct cgroup_ops *ops, struct lxc_handler *handler)
        type: bool
      - name: '*(*get_cgroup)(struct cgroup_ops *ops, const char *controller)'
        type: char
      - name: (*criu_escape)(const struct cgroup_ops *ops, struct lxc_conf *conf)
        type: bool
      - name: (*criu_num_hierarchies)(struct cgroup_ops *ops)
        type: int
      - name: (*criu_get_hierarchies)(struct cgroup_ops *ops, int n, char ***out)
        type: bool
      - name: "(*set)(struct cgroup_ops *ops, const char *filename,\n\t\t   const
          char *value, const char *name, const char *lxcpath)"
        type: int
      - name: "(*get)(struct cgroup_ops *ops, const char *filename, char *value,\n\t\t
          \  size_t len, const char *name, const char *lxcpath)"
        type: int
      - name: (*freeze)(struct cgroup_ops *ops, int timeout)
        type: int
      - name: (*unfreeze)(struct cgroup_ops *ops, int timeout)
        type: int
      - name: (*setup_limits)(struct cgroup_ops *ops, struct lxc_handler *handler)
        type: bool
      - name: (*chown)(struct cgroup_ops *ops, struct lxc_conf *conf)
        type: bool
      - name: "(*attach)(struct cgroup_ops *ops, const struct lxc_conf *conf,\n\t\t
          \      const char *name, const char *lxcpath, pid_t pid)"
        type: bool
      - name: (*mount)(struct cgroup_ops *ops, struct lxc_handler *handler, int type)
        type: bool
      - name: "(*devices_activate)(struct cgroup_ops *ops,\n\t\t\t\t struct lxc_handler
          *handler)"
        type: bool
      - name: (*monitor_delegate_controllers)(struct cgroup_ops *ops)
        type: bool
      - name: (*payload_delegate_controllers)(struct cgroup_ops *ops)
        type: bool
      - name: (*finalize)(struct cgroup_ops *ops)
        type: void
      - name: '*(*get_limit_cgroup)(struct cgroup_ops *ops, const char *controller)'
        type: char
      item_type: struct
      name: cgroup_ops
      pos:
        line_end: 275
        line_start: 184
        source_file: /src/lxc/src/lxc/cgroups/cgroup.h
    typedefs: []
    union: []
- function_names:
  - cgns_supported
  source_file: /src/lxc/src/lxc/cgroups/cgroup_utils.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - cg_list_add
  - string_in_list
  - get_hierarchy
  - prepare_cgroup_fd
  - is_unified_hierarchy
  - controller_available
  - controllers_available
  - list_new
  - list_add_string
  - list_add_controllers
  - unified_controllers
  - skip_hierarchy
  - cgroup_hierarchy_add
  - cgroup_tree_remove
  - cgroup_tree_remove_wrapper
  - cgfsng_payload_destroy
  - __cgroup_tree_create
  - cgroup_tree_create
  - cgroup_tree_prune_leaf
  - cgfsng_monitor_destroy
  - check_cgroup_dir_config
  - _dbus_connection_free
  - _dbus_message_free
  - systemd_cgroup_scope_ready
  - open_dbus_container
  - close_dbus_container
  - abandon_dbus_container
  - dbus_append_array
  - sd_boilerplate
  - start_scope
  - open_systemd
  - enter_scope
  - string_pure_unified_system
  - enable_controllers_delegation
  - get_current_unified_cgroup
  - pure_unified_system
  - move_and_delegate_unified
  - unpriv_systemd_create_scope
  - unpriv_systemd_create_scope
  - cgroup_relpath
  - cgfsng_monitor_create
  - cgfsng_payload_create
  - cgfsng_monitor_enter
  - cgfsng_payload_enter
  - fchowmodat
  - chown_cgroup_wrapper
  - cgfsng_chown
  - cgfsng_finalize
  - __cgroupfs_mount
  - cgroupfs_mount
  - cgfsng_mount
  - cgfsng_criu_escape
  - cgfsng_criu_num_hierarchies
  - cgfsng_criu_get_hierarchies
  - freezer_cgroup_events_cb
  - cg_unified_freeze_do
  - cg_unified_freeze
  - cgfsng_freeze
  - cg_unified_unfreeze
  - cgfsng_unfreeze
  - cgfsng_get_cgroup_do
  - cgfsng_get_cgroup
  - cgfsng_get_limit_cgroup
  - build_full_cgpath_from_monitorpath
  - cgroup_attach_leaf
  - cgroup_attach_create_leaf
  - cgroup_attach_move_into_leaf
  - cgroup_unified_attach_child_wrapper
  - cgroup_unified_attach_parent_wrapper
  - __cg_unified_attach
  - cgfsng_attach
  - cgfsng_get
  - device_cgroup_parse_access
  - device_cgroup_rule_parse
  - cgfsng_set
  - device_cgroup_rule_parse_devpath
  - bpf_device_cgroup_prepare
  - cgfsng_setup_limits
  - list_for_each_entry
  - cgfsng_devices_activate
  - __cgfsng_delegate_controllers
  - cgfsng_monitor_delegate_controllers
  - cgfsng_payload_delegate_controllers
  - unified_cgroup
  - current_unified_cgroup
  - unprefix
  - __list_cgroup_delegate
  - unified_hierarchy_delegated
  - legacy_hierarchy_delegated
  - stable_order
  - __initialize_cgroups
  - initialize_cgroups
  - cgfsng_data_init
  - cgroup_ops_init
  - __unified_attach_fd
  - __cgroup_attach_many
  - __cgroup_attach_unified
  - cgroup_attach
  - cgroup_get
  - cgroup_set
  - do_cgroup_freeze
  - __cgroup_freeze
  - cgroup_freeze
  - __cgroup_unfreeze
  - cgroup_unfreeze
  source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
  types:
    enum:
    - enumerators:
      - name: SYSTEMD_SCOPE_RET_OK
      - name: SYSTEMD_SCOPE_RET_IGNORE
      - name: SYSTEMD_SCOPE_RET_ERROR
      item_type: enum
      name: systemd_scope_ret
      pos:
        line_end: 730
        line_start: 726
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
    preproc_defs:
    - item_type: preproc_def
      name: SYSTEMD_SCOPE_FAILED
      pos:
        line_end: 701
        line_start: 700
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
      type_or_value: '2'
    - item_type: preproc_def
      name: SYSTEMD_SCOPE_UNSUPP
      pos:
        line_end: 702
        line_start: 701
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
      type_or_value: '1'
    - item_type: preproc_def
      name: SYSTEMD_SCOPE_SUCCESS
      pos:
        line_end: 703
        line_start: 702
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
      type_or_value: '0'
    - item_type: preproc_def
      name: DESTINATION
      pos:
        line_end: 706
        line_start: 705
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
      type_or_value: '"org.freedesktop.systemd1"'
    - item_type: preproc_def
      name: PATH
      pos:
        line_end: 707
        line_start: 706
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
      type_or_value: '"/org/freedesktop/systemd1"'
    - item_type: preproc_def
      name: INTERFACE
      pos:
        line_end: 708
        line_start: 707
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
      type_or_value: '"org.freedesktop.systemd1.Manager"'
    - item_type: preproc_def
      name: JOBREMOVED_RULE
      pos:
        line_end: 1251
        line_start: 1248
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
      type_or_value: "\"type='signal',sender='\" DESTINATION \"',path='\" PATH \\\n\t\"',interface='\"
        INTERFACE \"',member='JobRemoved'\""
    - item_type: preproc_def
      name: CGFSNG_LAYOUT_LEGACY
      pos:
        line_end: 3238
        line_start: 3237
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
      type_or_value: BIT(0)
    - item_type: preproc_def
      name: CGFSNG_LAYOUT_UNIFIED
      pos:
        line_end: 3239
        line_start: 3238
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
      type_or_value: BIT(1)
    structs:
    - fields:
      - name: '**hierarchies'
        type: struct hierarchy
      - name: '*path_prune'
        type: char
      - name: '*conf'
        type: struct lxc_conf
      - name: origuid
        type: uid_t
      - name: '*path'
        type: char
      item_type: struct
      name: generic_userns_exec_data
      pos:
        line_end: 372
        line_start: 366
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
    - fields:
      - name: iter
        type: DBusMessageIter
      - name: '*parent'
        type: DBusMessageIter
      - name: set
        type: bool
      item_type: struct
      name: dbus_iter
      pos:
        line_end: 781
        line_start: 777
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
    - fields:
      - name: '*conf'
        type: struct lxc_conf
      - name: '*lxcpath'
        type: char
      - name: unified_fd
        type: int
      - name: sk_pair[2]
        type: int
      - name: pid
        type: pid_t
      - name: unprivileged
        type: bool
      item_type: struct
      name: userns_exec_unified_attach_data
      pos:
        line_end: 2447
        line_start: 2440
        source_file: /src/lxc/src/lxc/cgroups/cgfsng.c
    typedefs: []
    union: []
- function_names:
  - unified_cgroup_fd
  - cgroup_tree_prune
  - prune_init_scope
  source_file: /src/lxc/src/lxc/cgroups/cgroup_utils.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: INIT_SCOPE
      pos:
        line_end: 96
        line_start: 95
        source_file: /src/lxc/src/lxc/cgroups/cgroup_utils.c
      type_or_value: '"/init.scope"'
    structs: []
    typedefs: []
    union: []
- function_names:
  - bpf_program_add_instructions
  - BPF_LDX_MEM
  - BPF_ALU32_IMM
  - BPF_MOV64_IMM
  - BPF_MOV32_REG
  - BPF_JMP_REG
  - BPF_JMP_IMM
  - BPF_EXIT_INSN
  - bpf_access_mask
  - bpf_device_type
  - bpf_device_all_access
  - bpf_program_new
  - bpf_program_init
  - bpf_program_append_device
  - bpf_program_finalize
  - bpf_program_load_kernel
  - bpf_program_cgroup_attach
  - bpf_program_cgroup_detach
  - bpf_device_program_free
  - bpf_device_list_block_all
  - bpf_device_add
  - bpf_list_add_device
  - bpf_devices_cgroup_supported
  - __bpf_cgroup_devices
  - bpf_cgroup_devices_attach
  - bpf_cgroup_devices_update
  source_file: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: BPF_LOG_BUF_SIZE
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
      type_or_value: '(1 << 23) '
    - item_type: preproc_def
      name: BPF_LOG_LEVEL1
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
      type_or_value: '1'
    - item_type: preproc_def
      name: BPF_LOG_LEVEL2
      pos:
        line_end: 31
        line_start: 30
        source_file: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
      type_or_value: '2'
    - item_type: preproc_def
      name: BPF_LOG_LEVEL
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/lxc/cgroups/cgroup2_devices.c
      type_or_value: (BPF_LOG_LEVEL1 | BPF_LOG_LEVEL2)
    structs: []
    typedefs: []
    union: []
- function_names:
  - pam_cgfs_debug_stream
  - pam_cgfs_error
  - pam_cgfs_debug
  - pam_cgfs_debug
  - do_mkdir
  - lxc_mkdir_parent
  - mysyslog
  - batch_realloc
  - append_line
  - read_file
  - append_null_to_list
  - must_append_string
  - trim
  - copy_to_eol
  - is_lxcfs
  - is_cgv1
  - is_cgv2
  - string_in_list
  - make_string_list
  - string_list_length
  - write_int
  - recursive_rmdir
  - must_add_to_list
  - get_mountpoint
  - cgv1_get_controllers
  - cgv2_get_current_cgroup
  - cgv1_controller_lists_intersect
  - cgv1_controller_list_is_dup
  - cgv1_mark_to_make_rw
  - cgv2_mark_to_make_rw
  - cg_mark_to_make_rw
  - cgv1_must_prefix_named
  - must_append_controller
  - cgv1_get_proc_mountinfo_controllers
  - cgv1_controller_in_clist
  - cgv1_get_current_cgroup
  - cg_systemd_prune_init_scope
  - cgv1_add_controller
  - cgv2_add_controller
  - cg_systemd_under_user_slice_1
  - cg_systemd_under_user_slice_2
  - cg_systemd_created_user_slice
  - cg_systemd_chown_existing_cgroup
  - cgv1_init
  - cg_get_version_of_mntpt
  - cgv2_init
  - cg_init
  - cgv1_enter
  - cgv2_enter
  - cg_enter
  - cgv1_escape
  - cgv2_escape
  - cg_escape
  - get_uid_gid
  - cg_belongs_to_uid_gid
  - cg_cpumask
  - string_join
  - cg_cpumask_to_cpulist
  - cg_get_max_cpus
  - cg_filter_and_set_cpus
  - cg_copy_parent_file
  - cgv1_handle_root_cpuset_hierarchy
  - cgv1_handle_cpuset_hierarchy
  - cgv1_create_one
  - cgv1_remove_one
  - cgv2_remove
  - cgv1_create
  - cgv2_create
  - handle_login
  - cgv1_prune_empty_cgroups
  - cgv2_prune_empty_cgroups
  - cg_prune_empty_cgroups
  - cgv1_free_hierarchies
  - cgv2_free_hierarchies
  - cg_exit
  - pam_sm_open_session
  - pam_sm_close_session
  source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
  types:
    enum:
    - enumerators:
      - name: CGROUP_UNKNOWN
        value: '-1'
      - name: CGROUP_PURE_V2
        value: '2'
      - name: CGROUP_PURE_V1
        value: '1'
      - name: CGROUP_UNINITIALIZED
        value: '3'
      - name: CGROUP_MIXED
        value: '0'
      item_type: enum
      name: cg_mount_mode
      pos:
        line_end: 63
        line_start: 57
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
    preproc_defs:
    - item_type: preproc_def
      name: BATCH_SIZE
      pos:
        line_end: 260
        line_start: 259
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
      type_or_value: '50'
    - item_type: preproc_def
      name: __PIDLEN
      pos:
        line_end: 607
        line_start: 607
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
      type_or_value: '5 + '
    - item_type: preproc_def
      name: INIT_SCOPE
      pos:
        line_end: 841
        line_start: 840
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
      type_or_value: '"/init.scope"'
    - item_type: preproc_def
      name: __IN_TO_STR_LEN
      pos:
        line_end: 1612
        line_start: 1611
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
      type_or_value: '21'
    - item_type: preproc_def
      name: __ISOL_CPUS
      pos:
        line_end: 1669
        line_start: 1668
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
      type_or_value: '"/sys/devices/system/cpu/isolated"'
    - item_type: preproc_def
      name: __PAM_CGFS_USER
      pos:
        line_end: 1984
        line_start: 1983
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
      type_or_value: '"/user/"'
    - item_type: preproc_def
      name: __PAM_CGFS_USER_LEN
      pos:
        line_end: 1985
        line_start: 1984
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
      type_or_value: '6'
    structs:
    - fields:
      - name: '**controllers'
        type: char
      - name: '*mountpoint'
        type: char
      - name: '*base_cgroup'
        type: char
      - name: '*fullcgpath'
        type: char
      - name: '*init_cgroup'
        type: char
      - name: create_rw_cgroup
        type: bool
      - name: systemd_user_slice
        type: bool
      item_type: struct
      name: cgv1_hierarchy
      pos:
        line_end: 123
        line_start: 115
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
    - fields:
      - name: '**controllers'
        type: char
      - name: '*mountpoint'
        type: char
      - name: '*base_cgroup'
        type: char
      - name: '*fullcgpath'
        type: char
      - name: '*init_cgroup'
        type: char
      - name: create_rw_cgroup
        type: bool
      - name: systemd_user_slice
        type: bool
      item_type: struct
      name: cgv2_hierarchy
      pos:
        line_end: 162
        line_start: 154
        source_file: /src/lxc/src/lxc/pam/pam_cgfs.c
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/storage_utils.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LXC_OVERLAY_PRIVATE_DIR
      pos:
        line_end: 17
        line_start: 16
        source_file: /src/lxc/src/lxc/storage/storage_utils.h
      type_or_value: '"overlay"'
    - item_type: preproc_def
      name: LXC_OVERLAY_DELTA_DIR
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/lxc/storage/storage_utils.h
      type_or_value: '"delta"'
    - item_type: preproc_def
      name: LXC_OVERLAY_WORK_DIR
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/lxc/storage/storage_utils.h
      type_or_value: '"work"'
    - item_type: preproc_def
      name: LXC_OVERLAY_DELTA_PATH
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/lxc/storage/storage_utils.h
      type_or_value: LXC_OVERLAY_PRIVATE_DIR "/" LXC_OVERLAY_DELTA_DIR
    - item_type: preproc_def
      name: LXC_OVERLAY_WORK_PATH
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/lxc/storage/storage_utils.h
      type_or_value: LXC_OVERLAY_PRIVATE_DIR "/" LXC_OVERLAY_WORK_DIR
    - item_type: preproc_def
      name: LXC_OVERLAY_PATH_LEN
      pos:
        line_end: 23
        line_start: 21
        source_file: /src/lxc/src/lxc/storage/storage_utils.h
      type_or_value: (STRLITERALLEN(LXC_OVERLAY_PRIVATE_DIR) + STRLITERALLEN("/")
        + 256 + 1)
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/overlay.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - dir_clonepaths
  - dir_create
  - dir_destroy
  - dir_detect
  - dir_mount
  - dir_umount
  source_file: /src/lxc/src/lxc/storage/dir.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - attach_nbd
  - detach_nbd_idx
  - nbd_clonepaths
  - nbd_create
  - nbd_destroy
  - nbd_detect
  - nbd_mount
  - nbd_umount
  - requires_nbd
  - do_attach_nbd
  - clone_attach_nbd
  - nbd_busy
  - nbd_detach
  - nbd_get_partition
  - wait_for_partition
  source_file: /src/lxc/src/lxc/storage/nbd.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*nbd'
        type: char
      - name: '*path'
        type: char
      item_type: struct
      name: nbd_attach_data
      pos:
        line_end: 30
        line_start: 27
        source_file: /src/lxc/src/lxc/storage/nbd.c
    typedefs: []
    union: []
- function_names:
  - cpu_to_le64
  - le64_to_cpu
  - cpu_to_le32
  - le32_to_cpu
  - cpu_to_le16
  - le16_to_cpu
  - cpu_to_le64
  - le64_to_cpu
  - cpu_to_le32
  - le32_to_cpu
  - cpu_to_le16
  - le16_to_cpu
  - BTRFS_SETGET_STACK_FUNCS
  source_file: /src/lxc/src/lxc/storage/btrfs.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: BTRFS_SUPER_MAGIC
      pos:
        line_end: 16
        line_start: 15
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '0x9123683E'
    - item_type: preproc_def
      name: BTRFS_IOCTL_MAGIC
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '0x94'
    - item_type: preproc_def
      name: BTRFS_IOC_SUBVOL_GETFLAGS
      pos:
        line_end: 37
        line_start: 36
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: _IOR(BTRFS_IOCTL_MAGIC, 25, unsigned long long)
    - item_type: preproc_def
      name: BTRFS_IOC_SPACE_INFO
      pos:
        line_end: 38
        line_start: 37
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: _IOWR(BTRFS_IOCTL_MAGIC, 20, struct btrfs_ioctl_space_args)
    - item_type: preproc_def
      name: BTRFS_FSID_SIZE
      pos:
        line_end: 40
        line_start: 39
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '16'
    - item_type: preproc_def
      name: BTRFS_IOC_FS_INFO
      pos:
        line_end: 48
        line_start: 47
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: _IOR(BTRFS_IOCTL_MAGIC, 31, struct btrfs_ioctl_fs_info_args)
    - item_type: preproc_def
      name: BTRFS_SUBVOL_NAME_MAX
      pos:
        line_end: 50
        line_start: 49
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '4039'
    - item_type: preproc_def
      name: BTRFS_PATH_NAME_MAX
      pos:
        line_end: 51
        line_start: 50
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '4087'
    - item_type: preproc_def
      name: BTRFS_IOCTL_MAGIC
      pos:
        line_end: 58
        line_start: 57
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '0x94'
    - item_type: preproc_def
      name: BTRFS_IOC_SUBVOL_CREATE_V2
      pos:
        line_end: 59
        line_start: 58
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: _IOW(BTRFS_IOCTL_MAGIC, 24, struct btrfs_ioctl_vol_args_v2)
    - item_type: preproc_def
      name: BTRFS_IOC_SNAP_CREATE_V2
      pos:
        line_end: 60
        line_start: 59
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: _IOW(BTRFS_IOCTL_MAGIC, 23, struct btrfs_ioctl_vol_args_v2)
    - item_type: preproc_def
      name: BTRFS_IOC_SUBVOL_CREATE
      pos:
        line_end: 61
        line_start: 60
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: _IOW(BTRFS_IOCTL_MAGIC, 14, struct btrfs_ioctl_vol_args)
    - item_type: preproc_def
      name: BTRFS_IOC_SNAP_DESTROY
      pos:
        line_end: 62
        line_start: 61
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: _IOW(BTRFS_IOCTL_MAGIC, 15, struct btrfs_ioctl_vol_args)
    - item_type: preproc_def
      name: BTRFS_QGROUP_INHERIT_SET_LIMITS
      pos:
        line_end: 64
        line_start: 63
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: (1ULL << 0)
    - item_type: preproc_def
      name: BTRFS_ROOT_BACKREF_KEY
      pos:
        line_end: 85
        line_start: 84
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '144'
    - item_type: preproc_def
      name: BTRFS_ROOT_ITEM_KEY
      pos:
        line_end: 91
        line_start: 90
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '132'
    - item_type: preproc_def
      name: BTRFS_ROOT_REF_KEY
      pos:
        line_end: 98
        line_start: 97
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '156'
    - item_type: preproc_def
      name: BTRFS_ROOT_TREE_DIR_OBJECTID
      pos:
        line_end: 100
        line_start: 99
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: 6ULL
    - item_type: preproc_def
      name: BTRFS_DIR_ITEM_KEY
      pos:
        line_end: 101
        line_start: 100
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '84'
    - item_type: preproc_def
      name: BTRFS_IOCTL_MAGIC
      pos:
        line_end: 126
        line_start: 125
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '0x94'
    - item_type: preproc_def
      name: BTRFS_VOL_NAME_MAX
      pos:
        line_end: 127
        line_start: 126
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '255'
    - item_type: preproc_def
      name: BTRFS_PATH_NAME_MAX
      pos:
        line_end: 128
        line_start: 127
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '4087'
    - item_type: preproc_def
      name: BTRFS_SEARCH_ARGS_BUFSIZE
      pos:
        line_end: 174
        line_start: 173
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: (4096 - sizeof(struct btrfs_ioctl_search_key))
    - item_type: preproc_def
      name: BTRFS_IOC_TREE_SEARCH
      pos:
        line_end: 185
        line_start: 184
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: _IOWR(BTRFS_IOCTL_MAGIC, 17, struct btrfs_ioctl_search_args)
    - item_type: preproc_def
      name: BTRFS_UUID_SIZE
      pos:
        line_end: 186
        line_start: 185
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '16'
    - item_type: preproc_def
      name: BTRFS_IOC_INO_LOOKUP
      pos:
        line_end: 282
        line_start: 281
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: _IOWR(BTRFS_IOCTL_MAGIC, 18, struct btrfs_ioctl_ino_lookup_args)
    - item_type: preproc_def
      name: BTRFS_INO_LOOKUP_PATH_MAX
      pos:
        line_end: 284
        line_start: 283
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: '4080'
    - item_type: preproc_def
      name: BTRFS_FIRST_FREE_OBJECTID
      pos:
        line_end: 294
        line_start: 293
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: 256ULL
    - item_type: preproc_def
      name: BTRFS_LAST_FREE_OBJECTID
      pos:
        line_end: 295
        line_start: 294
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: -256ULL
    - item_type: preproc_def
      name: BTRFS_FIRST_CHUNK_TREE_OBJECTID
      pos:
        line_end: 296
        line_start: 295
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: 256ULL
    - item_type: preproc_def
      name: __force
      pos:
        line_end: 304
        line_start: 303
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type_or_value: __attribute__((force))
    structs:
    - fields:
      - name: flags
        type: unsigned long long
      - name: total_bytes
        type: unsigned long long
      - name: used_bytes
        type: unsigned long long
      item_type: struct
      name: btrfs_ioctl_space_info
      pos:
        line_end: 27
        line_start: 23
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: space_slots
        type: unsigned long long
      - name: total_spaces
        type: unsigned long long
      - name: spaces[]
        type: struct btrfs_ioctl_space_info
      item_type: struct
      name: btrfs_ioctl_space_args
      pos:
        line_end: 33
        line_start: 29
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: max_id
        type: unsigned long long
      - name: num_devices
        type: unsigned long long
      - name: fsid[BTRFS_FSID_SIZE]
        type: char
      - name: reserved[124]
        type: unsigned long long
      item_type: struct
      name: btrfs_ioctl_fs_info_args
      pos:
        line_end: 45
        line_start: 40
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: fd
        type: signed long long
      - name: name[BTRFS_PATH_NAME_MAX + 1]
        type: char
      item_type: struct
      name: btrfs_ioctl_vol_args
      pos:
        line_end: 55
        line_start: 52
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: fd
        type: signed long long
      - name: transid
        type: unsigned long long
      - name: flags
        type: unsigned long long
      - name: name[BTRFS_SUBVOL_NAME_MAX + 1]
        type: char
      item_type: struct
      name: btrfs_ioctl_vol_args_v2
      pos:
        line_end: 78
        line_start: 65
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: dirid
        type: __le64
      - name: sequence
        type: __le64
      - name: name_len
        type: __le16
      item_type: struct
      name: btrfs_root_ref
      pos:
        line_end: 109
        line_start: 105
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: objectid
        type: __le64
      - name: type
        type: u8
      - name: offset
        type: __le64
      item_type: struct
      name: btrfs_disk_key
      pos:
        line_end: 115
        line_start: 111
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: location
        type: struct btrfs_disk_key
      - name: transid
        type: __le64
      - name: data_len
        type: __le16
      - name: name_len
        type: __le16
      - name: type
        type: u8
      item_type: struct
      name: btrfs_dir_item
      pos:
        line_end: 123
        line_start: 117
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: tree_id
        type: __u64
      - name: min_objectid
        type: __u64
      - name: max_objectid
        type: __u64
      - name: min_offset
        type: __u64
      - name: max_offset
        type: __u64
      - name: min_transid
        type: __u64
      - name: max_transid
        type: __u64
      - name: min_type
        type: __u32
      - name: max_type
        type: __u32
      - name: nr_items
        type: __u32
      - name: unused
        type: __u32
      - name: unused1
        type: __u64
      - name: unused2
        type: __u64
      - name: unused3
        type: __u64
      - name: unused4
        type: __u64
      item_type: struct
      name: btrfs_ioctl_search_key
      pos:
        line_end: 163
        line_start: 129
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: transid
        type: __u64
      - name: objectid
        type: __u64
      - name: offset
        type: __u64
      - name: type
        type: __u32
      - name: len
        type: __u32
      item_type: struct
      name: btrfs_ioctl_search_header
      pos:
        line_end: 171
        line_start: 165
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: key
        type: struct btrfs_ioctl_search_key
      - name: buf[BTRFS_SEARCH_ARGS_BUFSIZE]
        type: char
      item_type: struct
      name: btrfs_ioctl_search_args
      pos:
        line_end: 182
        line_start: 179
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: sec
        type: __le64
      - name: nsec
        type: __le32
      item_type: struct
      name: btrfs_timespec
      pos:
        line_end: 190
        line_start: 187
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: generation
        type: __le64
      - name: transid
        type: __le64
      - name: size
        type: __le64
      - name: nbytes
        type: __le64
      - name: block_group
        type: __le64
      - name: nlink
        type: __le32
      - name: uid
        type: __le32
      - name: gid
        type: __le32
      - name: mode
        type: __le32
      - name: rdev
        type: __le64
      - name: flags
        type: __le64
      - name: sequence
        type: __le64
      - name: reserved[4]
        type: __le64
      - name: atime
        type: struct btrfs_timespec
      - name: ctime
        type: struct btrfs_timespec
      - name: mtime
        type: struct btrfs_timespec
      - name: otime
        type: struct btrfs_timespec
      item_type: struct
      name: btrfs_inode_item
      pos:
        line_end: 219
        line_start: 192
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: inode
        type: struct btrfs_inode_item
      - name: generation
        type: __le64
      - name: root_dirid
        type: __le64
      - name: bytenr
        type: __le64
      - name: byte_limit
        type: __le64
      - name: bytes_used
        type: __le64
      - name: last_snapshot
        type: __le64
      - name: flags
        type: __le64
      - name: refs
        type: __le32
      - name: drop_progress
        type: struct btrfs_disk_key
      - name: drop_level
        type: u8
      - name: level
        type: u8
      item_type: struct
      name: btrfs_root_item_v0
      pos:
        line_end: 234
        line_start: 221
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: inode
        type: struct btrfs_inode_item
      - name: generation
        type: __le64
      - name: root_dirid
        type: __le64
      - name: bytenr
        type: __le64
      - name: byte_limit
        type: __le64
      - name: bytes_used
        type: __le64
      - name: last_snapshot
        type: __le64
      - name: flags
        type: __le64
      - name: refs
        type: __le32
      - name: drop_progress
        type: struct btrfs_disk_key
      - name: drop_level
        type: u8
      - name: level
        type: u8
      - name: generation_v2
        type: __le64
      - name: uuid[BTRFS_UUID_SIZE]
        type: u8
      - name: parent_uuid[BTRFS_UUID_SIZE]
        type: u8
      - name: received_uuid[BTRFS_UUID_SIZE]
        type: u8
      - name: ctransid
        type: __le64
      - name: otransid
        type: __le64
      - name: stransid
        type: __le64
      - name: rtransid
        type: __le64
      - name: ctime
        type: struct btrfs_timespec
      - name: otime
        type: struct btrfs_timespec
      - name: stime
        type: struct btrfs_timespec
      - name: rtime
        type: struct btrfs_timespec
      - name: reserved[8]
        type: __le64
      item_type: struct
      name: btrfs_root_item
      pos:
        line_end: 279
        line_start: 236
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: treeid
        type: __u64
      - name: objectid
        type: __u64
      - name: name[BTRFS_INO_LOOKUP_PATH_MAX]
        type: char
      item_type: struct
      name: btrfs_ioctl_ino_lookup_args
      pos:
        line_end: 288
        line_start: 284
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: objid
        type: u64
      - name: parentid
        type: u64
      - name: '*name'
        type: char
      - name: '*dirname'
        type: char
      item_type: struct
      name: mytree_node
      pos:
        line_end: 352
        line_start: 347
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    - fields:
      - name: '*nodes'
        type: struct mytree_node
      - name: num
        type: int
      item_type: struct
      name: my_btrfs_tree
      pos:
        line_end: 357
        line_start: 354
        source_file: /src/lxc/src/lxc/storage/btrfs.h
    typedefs:
    - item_type: typedef
      name: u8
      pos:
        line_end: 18
        line_start: 18
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type: uint8_t
    - item_type: typedef
      name: u16
      pos:
        line_end: 19
        line_start: 19
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type: uint16_t
    - item_type: typedef
      name: u32
      pos:
        line_end: 20
        line_start: 20
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type: uint32_t
    - item_type: typedef
      name: u64
      pos:
        line_end: 21
        line_start: 21
        source_file: /src/lxc/src/lxc/storage/btrfs.h
      type: uint64_t
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/rbd.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - ovl_clonepaths
  - ovl_create
  - ovl_destroy
  - ovl_detect
  - ovl_mount
  - ovl_umount
  - ovl_get_lower
  - ovl_get_rootfs
  - ovl_mkdir
  - ovl_update_abs_paths
  - ovl_remount_on_enodev
  - ovl_detect_name
  - ovl_do_rsync
  source_file: /src/lxc/src/lxc/storage/overlay.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - zfs_detect_exec_wrapper
  - zfs_create_exec_wrapper
  - zfs_delete_exec_wrapper
  - zfs_snapshot_exec_wrapper
  - zfs_clone_exec_wrapper
  - zfs_get_parent_snapshot_exec_wrapper
  - zfs_list_entry
  - zfs_detect
  - zfs_mount
  - zfs_umount
  - zfs_copy
  - zfs_snapshot
  - zfs_clonepaths
  - zfs_destroy
  - zfs_create
  source_file: /src/lxc/src/lxc/storage/zfs.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*dataset'
        type: char
      - name: '*snapshot'
        type: char
      - name: '*options'
        type: char
      - name: '*argv'
        type: void
      item_type: struct
      name: zfs_args
      pos:
        line_end: 26
        line_start: 21
        source_file: /src/lxc/src/lxc/storage/zfs.c
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/zfs.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - get_storage_by_name
  - storage_query
  - storage_get
  - do_storage_create
  - storage_can_backup
  - storage_copy
  - storage_create
  - storage_destroy
  - storage_init
  - storage_lxc_is_dir
  - storage_put
  - rootfs_is_blockdev
  - lxc_storage_get_path
  source_file: /src/lxc/src/lxc/storage/storage.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: BLKGETSIZE64
      pos:
        line_end: 48
        line_start: 47
        source_file: /src/lxc/src/lxc/storage/storage.c
      type_or_value: _IOR(0x12, 114, size_t)
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: '*ops'
        type: struct lxc_storage_ops
      item_type: struct
      name: lxc_storage_type
      pos:
        line_end: 167
        line_start: 164
        source_file: /src/lxc/src/lxc/storage/storage.c
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/rsync.h
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*orig'
        type: struct lxc_storage
      - name: '*new'
        type: struct lxc_storage
      item_type: struct
      name: rsync_data
      pos:
        line_end: 14
        line_start: 11
        source_file: /src/lxc/src/lxc/storage/rsync.h
    - fields:
      - name: '*src'
        type: char
      - name: '*dest'
        type: char
      item_type: struct
      name: rsync_data_char
      pos:
        line_end: 19
        line_start: 16
        source_file: /src/lxc/src/lxc/storage/rsync.h
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/lvm.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/dir.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/nbd.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lxc_storage_rsync_exec_wrapper
  - lxc_rsync_exec_wrapper
  - lxc_rsync_exec
  - lxc_rsync
  source_file: /src/lxc/src/lxc/storage/rsync.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - loop_clonepaths
  - loop_create
  - loop_destroy
  - loop_detect
  - loop_mount
  - loop_umount
  - do_loop_create
  source_file: /src/lxc/src/lxc/storage/loop.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - rbd_create_wrapper
  - rbd_map_wrapper
  - rbd_unmap_wrapper
  - rbd_delete_wrapper
  - rbd_clonepaths
  - rbd_create
  - rbd_destroy
  - rbd_detect
  - rbd_mount
  - rbd_umount
  source_file: /src/lxc/src/lxc/storage/rbd.c
  types:
    enum: []
    preproc_defs: []
    structs:
    - fields:
      - name: '*osd_pool_name'
        type: char
      - name: '*rbd_user'
        type: char
      - name: '*rbd_name'
        type: char
      - name: '*size'
        type: char
      item_type: struct
      name: rbd_args
      pos:
        line_end: 27
        line_start: 22
        source_file: /src/lxc/src/lxc/storage/rbd.c
    typedefs: []
    union: []
- function_names:
  - attach_block_device
  - blk_getsize
  - detach_block_device
  - detect_fs
  - do_mkfs_exec_wrapper
  - is_blktype
  - mount_unknown_fs
  - find_fstype_cb
  - linkderef
  - unpriv_snap_allowed
  - lxc_is_valid_storage_type
  - storage_destroy_wrapper
  source_file: /src/lxc/src/lxc/storage/storage_utils.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: BLKGETSIZE64
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/lxc/storage/storage_utils.c
      type_or_value: _IOR(0x12, 114, size_t)
    structs:
    - fields:
      - name: '*rootfs'
        type: char
      - name: '*target'
        type: char
      - name: '*options'
        type: char
      item_type: struct
      name: cbarg
      pos:
        line_end: 268
        line_start: 264
        source_file: /src/lxc/src/lxc/storage/storage_utils.c
    - fields:
      - name: '*rootfs'
        type: char
      - name: '*target'
        type: char
      - name: '*options'
        type: char
      item_type: struct
      name: cbarg
      pos:
        line_end: 314
        line_start: 310
        source_file: /src/lxc/src/lxc/storage/storage_utils.c
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/loop.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - get_btrfs_subvol_path
  - btrfs_list_get_path_rootid
  - is_btrfs_fs
  - is_btrfs_subvol
  - btrfs_detect
  - btrfs_mount
  - btrfs_umount
  - btrfs_subvolume_create
  - btrfs_same_fs
  - btrfs_snapshot
  - btrfs_snapshot_wrapper
  - btrfs_clonepaths
  - btrfs_create_clone
  - btrfs_create_snapshot
  - btrfs_do_destroy_subvol
  - get_btrfs_tree_idx
  - create_my_btrfs_tree
  - update_tree_node
  - add_btrfs_tree_node
  - free_btrfs_tree
  - do_remove_btrfs_children
  - btrfs_lxc_rm_rf
  - btrfs_try_remove_subvol
  - btrfs_destroy
  - btrfs_create
  source_file: /src/lxc/src/lxc/storage/btrfs.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - lvm_destroy_exec_wrapper
  - lvm_create_exec_wrapper
  - lvm_snapshot_exec_wrapper
  - do_lvm_create
  - lvm_detect
  - lvm_mount
  - lvm_umount
  - lvm_compare_lv_attr
  - lvm_is_thin_volume
  - lvm_is_thin_pool
  - fs_needs_new_uuid
  - lvm_snapshot_create_new_uuid_wrapper
  - lvm_snapshot
  - lvm_clonepaths
  - lvm_create_clone
  - lvm_create_snapshot
  - lvm_destroy
  - lvm_create
  source_file: /src/lxc/src/lxc/storage/lvm.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: __LVSCMD
      pos:
        line_end: 243
        line_start: 242
        source_file: /src/lxc/src/lxc/storage/lvm.c
      type_or_value: '"lvs --unbuffered --noheadings -o lv_attr %s 2>/dev/null"'
    structs:
    - fields:
      - name: '*size'
        type: char
      - name: '*vg'
        type: char
      - name: '*lv'
        type: char
      - name: '*thinpool'
        type: char
      - name: '*fstype'
        type: char
      - name: sigwipe
        type: bool
      - name: '*source_lv'
        type: char
      item_type: struct
      name: lvcreate_args
      pos:
        line_end: 37
        line_start: 27
        source_file: /src/lxc/src/lxc/storage/lvm.c
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/lxc/storage/storage.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: MS_DIRSYNC
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/lxc/storage/storage.h
      type_or_value: '128'
    - item_type: preproc_def
      name: MS_REC
      pos:
        line_end: 22
        line_start: 21
        source_file: /src/lxc/src/lxc/storage/storage.h
      type_or_value: '16384'
    - item_type: preproc_def
      name: MNT_DETACH
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/lxc/storage/storage.h
      type_or_value: '2'
    - item_type: preproc_def
      name: MS_SLAVE
      pos:
        line_end: 30
        line_start: 29
        source_file: /src/lxc/src/lxc/storage/storage.h
      type_or_value: (1 << 19)
    - item_type: preproc_def
      name: MS_RELATIME
      pos:
        line_end: 34
        line_start: 33
        source_file: /src/lxc/src/lxc/storage/storage.h
      type_or_value: (1 << 21)
    - item_type: preproc_def
      name: MS_STRICTATIME
      pos:
        line_end: 38
        line_start: 37
        source_file: /src/lxc/src/lxc/storage/storage.h
      type_or_value: (1 << 24)
    - item_type: preproc_def
      name: DEFAULT_FS_SIZE
      pos:
        line_end: 41
        line_start: 40
        source_file: /src/lxc/src/lxc/storage/storage.h
      type_or_value: '1073741824'
    - item_type: preproc_def
      name: DEFAULT_FSTYPE
      pos:
        line_end: 42
        line_start: 41
        source_file: /src/lxc/src/lxc/storage/storage.h
      type_or_value: '"ext4"'
    - item_type: preproc_def
      name: LXC_STORAGE_INTERNAL_OVERLAY_RESTORE
      pos:
        line_end: 44
        line_start: 43
        source_file: /src/lxc/src/lxc/storage/storage.h
      type_or_value: (1 << 6)
    structs:
    - fields:
      - name: (*detect)(const char *path)
        type: bool
      - name: (*mount)(struct lxc_storage *bdev)
        type: int
      - name: (*umount)(struct lxc_storage *bdev)
        type: int
      - name: (*destroy)(struct lxc_storage *bdev)
        type: int
      - name: "(*create)(struct lxc_storage *bdev, const char *dest, const char *n,\n\t\t
          \     struct bdev_specs *specs, const struct lxc_conf *conf)"
        type: int
      - name: "(*clone_paths)(struct lxc_storage *orig, struct lxc_storage *new,\n\t\t\t
          \  const char *oldname, const char *cname,\n\t\t\t   const char *oldpath,
          const char *lxcpath, int snap,\n\t\t\t   uint64_t newsize, struct lxc_conf
          *conf)"
        type: int
      - name: "(*copy)(struct lxc_conf *conf, struct lxc_storage *orig,\n\t\t     struct
          lxc_storage *new, uint64_t newsize)"
        type: bool
      - name: "(*snapshot)(struct lxc_conf *conf, struct lxc_storage *orig,\n\t\t\t
          struct lxc_storage *new, uint64_t newsize)"
        type: bool
      - name: can_snapshot
        type: bool
      - name: can_backup
        type: bool
      item_type: struct
      name: lxc_storage_ops
      pos:
        line_end: 68
        line_start: 47
        source_file: /src/lxc/src/lxc/storage/storage.h
    - fields:
      - name: '*ops'
        type: struct lxc_storage_ops
      - name: '*type'
        type: char
      - name: '*src'
        type: char
      - name: '*dest'
        type: char
      - name: '*mntopts'
        type: char
      - name: lofd
        type: int
      - name: nbd_idx
        type: int
      - name: flags
        type: int
      - name: '*rootfs'
        type: struct lxc_rootfs
      item_type: struct
      name: lxc_storage
      pos:
        line_end: 88
        line_start: 75
        source_file: /src/lxc/src/lxc/storage/storage.h
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/include/strlcpy.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - strlcpy
  source_file: /src/lxc/src/include/strlcpy.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/include/getgrgid_r.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - BPF_CLASS
  - BPF_SIZE
  - BPF_MODE
  - BPF_OP
  - BPF_SRC
  source_file: /src/lxc/src/include/bpf_common.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: BPF_LD
      pos:
        line_end: 7
        line_start: 6
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x00'
    - item_type: preproc_def
      name: BPF_LDX
      pos:
        line_end: 8
        line_start: 7
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x01'
    - item_type: preproc_def
      name: BPF_ST
      pos:
        line_end: 9
        line_start: 8
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x02'
    - item_type: preproc_def
      name: BPF_STX
      pos:
        line_end: 10
        line_start: 9
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x03'
    - item_type: preproc_def
      name: BPF_ALU
      pos:
        line_end: 11
        line_start: 10
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x04'
    - item_type: preproc_def
      name: BPF_JMP
      pos:
        line_end: 12
        line_start: 11
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x05'
    - item_type: preproc_def
      name: BPF_RET
      pos:
        line_end: 13
        line_start: 12
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x06'
    - item_type: preproc_def
      name: BPF_MISC
      pos:
        line_end: 14
        line_start: 13
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x07'
    - item_type: preproc_def
      name: BPF_W
      pos:
        line_end: 18
        line_start: 17
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x00 '
    - item_type: preproc_def
      name: BPF_H
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x08 '
    - item_type: preproc_def
      name: BPF_B
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x10 '
    - item_type: preproc_def
      name: BPF_IMM
      pos:
        line_end: 23
        line_start: 22
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x00'
    - item_type: preproc_def
      name: BPF_ABS
      pos:
        line_end: 24
        line_start: 23
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x20'
    - item_type: preproc_def
      name: BPF_IND
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x40'
    - item_type: preproc_def
      name: BPF_MEM
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x60'
    - item_type: preproc_def
      name: BPF_LEN
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x80'
    - item_type: preproc_def
      name: BPF_MSH
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0xa0'
    - item_type: preproc_def
      name: BPF_ADD
      pos:
        line_end: 32
        line_start: 31
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x00'
    - item_type: preproc_def
      name: BPF_SUB
      pos:
        line_end: 33
        line_start: 32
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x10'
    - item_type: preproc_def
      name: BPF_MUL
      pos:
        line_end: 34
        line_start: 33
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x20'
    - item_type: preproc_def
      name: BPF_DIV
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x30'
    - item_type: preproc_def
      name: BPF_OR
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x40'
    - item_type: preproc_def
      name: BPF_AND
      pos:
        line_end: 37
        line_start: 36
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x50'
    - item_type: preproc_def
      name: BPF_LSH
      pos:
        line_end: 38
        line_start: 37
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x60'
    - item_type: preproc_def
      name: BPF_RSH
      pos:
        line_end: 39
        line_start: 38
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x70'
    - item_type: preproc_def
      name: BPF_NEG
      pos:
        line_end: 40
        line_start: 39
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x80'
    - item_type: preproc_def
      name: BPF_MOD
      pos:
        line_end: 41
        line_start: 40
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x90'
    - item_type: preproc_def
      name: BPF_XOR
      pos:
        line_end: 42
        line_start: 41
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0xa0'
    - item_type: preproc_def
      name: BPF_JA
      pos:
        line_end: 44
        line_start: 43
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x00'
    - item_type: preproc_def
      name: BPF_JEQ
      pos:
        line_end: 45
        line_start: 44
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x10'
    - item_type: preproc_def
      name: BPF_JGT
      pos:
        line_end: 46
        line_start: 45
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x20'
    - item_type: preproc_def
      name: BPF_JGE
      pos:
        line_end: 47
        line_start: 46
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x30'
    - item_type: preproc_def
      name: BPF_JSET
      pos:
        line_end: 48
        line_start: 47
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x40'
    - item_type: preproc_def
      name: BPF_K
      pos:
        line_end: 50
        line_start: 49
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x00'
    - item_type: preproc_def
      name: BPF_X
      pos:
        line_end: 51
        line_start: 50
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '0x08'
    - item_type: preproc_def
      name: BPF_MAXINSNS
      pos:
        line_end: 54
        line_start: 53
        source_file: /src/lxc/src/include/bpf_common.h
      type_or_value: '4096'
    structs: []
    typedefs: []
    union: []
- function_names:
  - fexecve
  source_file: /src/lxc/src/include/fexecve.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: _GNU_SOURCE
      pos:
        line_end: 8
        line_start: 7
        source_file: /src/lxc/src/include/fexecve.c
      type_or_value: '1'
    structs: []
    typedefs: []
    union: []
- function_names:
  - __BPF_FUNC_MAPPER
  - __BPF_ENUM_FN
  - BPF_F_ADJ_ROOM_ENCAP_L2
  - __bpf_md_ptr
  - BPF_LINE_INFO_LINE_NUM
  - BPF_LINE_INFO_LINE_COL
  source_file: /src/lxc/src/include/bpf.h
  types:
    enum:
    - enumerators:
      - name: BPF_MAP_UPDATE_ELEM
      - name: BPF_OBJ_PIN
      - name: BPF_MAP_GET_FD_BY_ID
      - name: BPF_PROG_TEST_RUN
      - name: BPF_BTF_LOAD
      - name: BPF_MAP_FREEZE
      - name: BPF_MAP_UPDATE_BATCH
      - name: BPF_LINK_GET_FD_BY_ID
      - name: BPF_LINK_DETACH
      - name: BPF_MAP_LOOKUP_ELEM
      - name: BPF_PROG_LOAD
      - name: BPF_PROG_DETACH
      - name: BPF_PROG_GET_FD_BY_ID
      - name: BPF_RAW_TRACEPOINT_OPEN
      - name: BPF_MAP_LOOKUP_AND_DELETE_ELEM
      - name: BPF_MAP_LOOKUP_AND_DELETE_BATCH
      - name: BPF_LINK_UPDATE
      - name: BPF_ITER_CREATE
      - name: BPF_MAP_GET_NEXT_KEY
      - name: BPF_PROG_ATTACH
      - name: BPF_PROG_QUERY
      - name: BPF_MAP_GET_NEXT_ID
      - name: BPF_TASK_FD_QUERY
      - name: BPF_MAP_LOOKUP_BATCH
      - name: BPF_LINK_CREATE
      - name: BPF_ENABLE_STATS
      - name: BPF_MAP_CREATE
      - name: BPF_MAP_DELETE_ELEM
      - name: BPF_OBJ_GET
      - name: BPF_OBJ_GET_INFO_BY_FD
      - name: BPF_PROG_GET_NEXT_ID
      - name: BPF_BTF_GET_FD_BY_ID
      - name: BPF_BTF_GET_NEXT_ID
      - name: BPF_MAP_DELETE_BATCH
      - name: BPF_LINK_GET_NEXT_ID
      - name: BPF_PROG_BIND_MAP
      item_type: enum
      name: bpf_cmd
      pos:
        line_end: 121
        line_start: 84
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_MAP_TYPE_PERF_EVENT_ARRAY
      - name: BPF_MAP_TYPE_CGROUP_ARRAY
      - name: BPF_MAP_TYPE_ARRAY_OF_MAPS
      - name: BPF_MAP_TYPE_CPUMAP
      - name: BPF_MAP_TYPE_QUEUE
      - name: BPF_MAP_TYPE_STRUCT_OPS
      - name: BPF_MAP_TYPE_UNSPEC
      - name: BPF_MAP_TYPE_PROG_ARRAY
      - name: BPF_MAP_TYPE_STACK_TRACE
      - name: BPF_MAP_TYPE_SOCKMAP
      - name: BPF_MAP_TYPE_LPM_TRIE
      - name: BPF_MAP_TYPE_CGROUP_STORAGE
      - name: BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE
      - name: BPF_MAP_TYPE_DEVMAP_HASH
      - name: BPF_MAP_TYPE_TASK_STORAGE
      - name: BPF_MAP_TYPE_ARRAY
      - name: BPF_MAP_TYPE_PERCPU_ARRAY
      - name: BPF_MAP_TYPE_LRU_PERCPU_HASH
      - name: BPF_MAP_TYPE_SOCKHASH
      - name: BPF_MAP_TYPE_DEVMAP
      - name: BPF_MAP_TYPE_REUSEPORT_SOCKARRAY
      - name: BPF_MAP_TYPE_SK_STORAGE
      - name: BPF_MAP_TYPE_INODE_STORAGE
      - name: BPF_MAP_TYPE_HASH
      - name: BPF_MAP_TYPE_PERCPU_HASH
      - name: BPF_MAP_TYPE_LRU_HASH
      - name: BPF_MAP_TYPE_XSKMAP
      - name: BPF_MAP_TYPE_HASH_OF_MAPS
      - name: BPF_MAP_TYPE_STACK
      - name: BPF_MAP_TYPE_RINGBUF
      item_type: enum
      name: bpf_map_type
      pos:
        line_end: 154
        line_start: 123
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_PROG_TYPE_UNSPEC
      - name: BPF_PROG_TYPE_SCHED_CLS
      - name: BPF_PROG_TYPE_PERF_EVENT
      - name: BPF_PROG_TYPE_LWT_OUT
      - name: BPF_PROG_TYPE_CGROUP_DEVICE
      - name: BPF_PROG_TYPE_LWT_SEG6LOCAL
      - name: BPF_PROG_TYPE_CGROUP_SYSCTL
      - name: BPF_PROG_TYPE_STRUCT_OPS
      - name: BPF_PROG_TYPE_KPROBE
      - name: BPF_PROG_TYPE_XDP
      - name: BPF_PROG_TYPE_LWT_IN
      - name: BPF_PROG_TYPE_CGROUP_SOCK_ADDR
      - name: BPF_PROG_TYPE_SK_SKB
      - name: BPF_PROG_TYPE_FLOW_DISSECTOR
      - name: BPF_PROG_TYPE_TRACING
      - name: BPF_PROG_TYPE_SK_LOOKUP
      - name: BPF_PROG_TYPE_SOCKET_FILTER
      - name: BPF_PROG_TYPE_TRACEPOINT
      - name: BPF_PROG_TYPE_CGROUP_SOCK
      - name: BPF_PROG_TYPE_RAW_TRACEPOINT
      - name: BPF_PROG_TYPE_SOCK_OPS
      - name: BPF_PROG_TYPE_SK_REUSEPORT
      - name: BPF_PROG_TYPE_CGROUP_SOCKOPT
      - name: BPF_PROG_TYPE_LSM
      - name: BPF_PROG_TYPE_SCHED_ACT
      - name: BPF_PROG_TYPE_CGROUP_SKB
      - name: BPF_PROG_TYPE_LWT_XMIT
      - name: BPF_PROG_TYPE_SK_MSG
      - name: BPF_PROG_TYPE_LIRC_MODE2
      - name: BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE
      - name: BPF_PROG_TYPE_EXT
      item_type: enum
      name: bpf_prog_type
      pos:
        line_end: 196
        line_start: 164
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_CGROUP_INET_SOCK_CREATE
      - name: BPF_CGROUP_DEVICE
      - name: BPF_LIRC_MODE2
      - name: BPF_CGROUP_INET4_CONNECT
      - name: BPF_CGROUP_UDP6_RECVMSG
      - name: BPF_TRACE_FENTRY
      - name: BPF_TRACE_ITER
      - name: BPF_CGROUP_INET6_GETSOCKNAME
      - name: BPF_SK_LOOKUP
      - name: __MAX_BPF_ATTACH_TYPE
      - name: BPF_CGROUP_INET_EGRESS
      - name: BPF_SK_SKB_STREAM_VERDICT
      - name: BPF_CGROUP_INET6_BIND
      - name: BPF_CGROUP_INET6_POST_BIND
      - name: BPF_CGROUP_UDP6_SENDMSG
      - name: BPF_CGROUP_UDP4_RECVMSG
      - name: BPF_TRACE_RAW_TP
      - name: BPF_LSM_MAC
      - name: BPF_CGROUP_INET4_GETSOCKNAME
      - name: BPF_XDP_CPUMAP
      - name: BPF_SK_SKB_STREAM_PARSER
      - name: BPF_CGROUP_INET4_BIND
      - name: BPF_CGROUP_SYSCTL
      - name: BPF_CGROUP_UDP4_SENDMSG
      - name: BPF_CGROUP_INET4_POST_BIND
      - name: BPF_CGROUP_SETSOCKOPT
      - name: BPF_MODIFY_RETURN
      - name: BPF_CGROUP_INET6_GETPEERNAME
      - name: BPF_CGROUP_INET_SOCK_RELEASE
      - name: BPF_CGROUP_INET_INGRESS
      - name: BPF_CGROUP_SOCK_OPS
      - name: BPF_SK_MSG_VERDICT
      - name: BPF_FLOW_DISSECTOR
      - name: BPF_CGROUP_INET6_CONNECT
      - name: BPF_CGROUP_GETSOCKOPT
      - name: BPF_TRACE_FEXIT
      - name: BPF_CGROUP_INET4_GETPEERNAME
      - name: BPF_XDP_DEVMAP
      - name: BPF_XDP
      item_type: enum
      name: bpf_attach_type
      pos:
        line_end: 238
        line_start: 198
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_LINK_TYPE_UNSPEC
        value: '0'
      - name: BPF_LINK_TYPE_ITER
        value: '4'
      - name: BPF_LINK_TYPE_CGROUP
        value: '3'
      - name: BPF_LINK_TYPE_TRACING
        value: '2'
      - name: BPF_LINK_TYPE_RAW_TRACEPOINT
        value: '1'
      - name: BPF_LINK_TYPE_NETNS
        value: '5'
      - name: BPF_LINK_TYPE_XDP
        value: '6'
      - name: MAX_BPF_LINK_TYPE
      item_type: enum
      name: bpf_link_type
      pos:
        line_end: 252
        line_start: 242
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_STATS_RUN_TIME
        value: '0'
      item_type: enum
      name: bpf_stats_type
      pos:
        line_end: 454
        line_start: 451
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_STACK_BUILD_ID_EMPTY
        value: '0'
      - name: BPF_STACK_BUILD_ID_VALID
        value: '1'
      - name: BPF_STACK_BUILD_ID_IP
        value: '2'
      item_type: enum
      name: bpf_stack_build_id_status
      pos:
        line_end: 463
        line_start: 456
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: __BPF_FUNC_MAPPER
      item_type: enum
      name: bpf_func_id
      pos:
        line_end: 3998
        line_start: 3997
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_ADJ_ROOM_NET
      - name: BPF_ADJ_ROOM_MAC
      item_type: enum
      name: bpf_adj_room_mode
      pos:
        line_end: 4147
        line_start: 4144
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_HDR_START_MAC
      - name: BPF_HDR_START_NET
      item_type: enum
      name: bpf_hdr_start_off
      pos:
        line_end: 4153
        line_start: 4150
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_LWT_ENCAP_SEG6
      - name: BPF_LWT_ENCAP_SEG6_INLINE
      - name: BPF_LWT_ENCAP_IP
      item_type: enum
      name: bpf_lwt_encap_mode
      pos:
        line_end: 4160
        line_start: 4156
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_OK
        value: '0'
      - name: BPF_DROP
        value: '2'
      - name: BPF_REDIRECT
        value: '7'
      - name: BPF_LWT_REROUTE
        value: '128'
      item_type: enum
      name: bpf_ret_code
      pos:
        line_end: 4263
        line_start: 4248
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: XDP_ABORTED
        value: '0'
      - name: XDP_REDIRECT
      - name: XDP_TX
      - name: XDP_PASS
      - name: XDP_DROP
      item_type: enum
      name: xdp_action
      pos:
        line_end: 4362
        line_start: 4356
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: SK_DROP
        value: '0'
      - name: SK_PASS
      item_type: enum
      name: sk_action
      pos:
        line_end: 4407
        line_start: 4404
        source_file: /src/lxc/src/include/bpf.h
    - enumerators:
      - name: BPF_FD_TYPE_RAW_TRACEPOINT
      - name: BPF_FD_TYPE_KPROBE
      - name: BPF_FD_TYPE_TRACEPOINT
      - name: BPF_FD_TYPE_KRETPROBE
      - name: BPF_FD_TYPE_UPROBE
      - name: BPF_FD_TYPE_URETPROBE
      item_type: enum
      name: bpf_task_fd_type
      pos:
        line_end: 5026
        line_start: 5019
        source_file: /src/lxc/src/include/bpf.h
    preproc_defs:
    - item_type: preproc_def
      name: BPF_JMP32
      pos:
        line_end: 11
        line_start: 10
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x06\t"
    - item_type: preproc_def
      name: BPF_ALU64
      pos:
        line_end: 12
        line_start: 11
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x07\t"
    - item_type: preproc_def
      name: BPF_DW
      pos:
        line_end: 15
        line_start: 14
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x18\t"
    - item_type: preproc_def
      name: BPF_XADD
      pos:
        line_end: 16
        line_start: 15
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0xc0\t"
    - item_type: preproc_def
      name: BPF_MOV
      pos:
        line_end: 19
        line_start: 18
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0xb0\t"
    - item_type: preproc_def
      name: BPF_ARSH
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0xc0\t"
    - item_type: preproc_def
      name: BPF_END
      pos:
        line_end: 23
        line_start: 22
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0xd0\t"
    - item_type: preproc_def
      name: BPF_TO_LE
      pos:
        line_end: 24
        line_start: 23
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x00\t"
    - item_type: preproc_def
      name: BPF_TO_BE
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x08\t"
    - item_type: preproc_def
      name: BPF_FROM_LE
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: BPF_TO_LE
    - item_type: preproc_def
      name: BPF_FROM_BE
      pos:
        line_end: 27
        line_start: 26
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: BPF_TO_BE
    - item_type: preproc_def
      name: BPF_JNE
      pos:
        line_end: 30
        line_start: 29
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x50\t"
    - item_type: preproc_def
      name: BPF_JLT
      pos:
        line_end: 31
        line_start: 30
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0xa0\t"
    - item_type: preproc_def
      name: BPF_JLE
      pos:
        line_end: 32
        line_start: 31
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0xb0\t"
    - item_type: preproc_def
      name: BPF_JSGT
      pos:
        line_end: 33
        line_start: 32
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x60\t"
    - item_type: preproc_def
      name: BPF_JSGE
      pos:
        line_end: 34
        line_start: 33
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x70\t"
    - item_type: preproc_def
      name: BPF_JSLT
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0xc0\t"
    - item_type: preproc_def
      name: BPF_JSLE
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0xd0\t"
    - item_type: preproc_def
      name: BPF_CALL
      pos:
        line_end: 37
        line_start: 36
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x80\t"
    - item_type: preproc_def
      name: BPF_EXIT
      pos:
        line_end: 38
        line_start: 37
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: "0x90\t"
    - item_type: preproc_def
      name: MAX_BPF_REG
      pos:
        line_end: 57
        line_start: 56
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: __MAX_BPF_REG
    - item_type: preproc_def
      name: MAX_BPF_ATTACH_TYPE
      pos:
        line_end: 241
        line_start: 240
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: __MAX_BPF_ATTACH_TYPE
    - item_type: preproc_def
      name: BPF_F_ALLOW_OVERRIDE
      pos:
        line_end: 299
        line_start: 298
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 0)
    - item_type: preproc_def
      name: BPF_F_ALLOW_MULTI
      pos:
        line_end: 300
        line_start: 299
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 1)
    - item_type: preproc_def
      name: BPF_F_REPLACE
      pos:
        line_end: 301
        line_start: 300
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 2)
    - item_type: preproc_def
      name: BPF_F_STRICT_ALIGNMENT
      pos:
        line_end: 308
        line_start: 307
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 0)
    - item_type: preproc_def
      name: BPF_F_ANY_ALIGNMENT
      pos:
        line_end: 322
        line_start: 321
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 1)
    - item_type: preproc_def
      name: BPF_F_TEST_RND_HI32
      pos:
        line_end: 340
        line_start: 339
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 2)
    - item_type: preproc_def
      name: BPF_F_TEST_STATE_FREQ
      pos:
        line_end: 343
        line_start: 342
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 3)
    - item_type: preproc_def
      name: BPF_F_SLEEPABLE
      pos:
        line_end: 351
        line_start: 350
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 4)
    - item_type: preproc_def
      name: BPF_PSEUDO_MAP_FD
      pos:
        line_end: 364
        line_start: 363
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: '1'
    - item_type: preproc_def
      name: BPF_PSEUDO_MAP_VALUE
      pos:
        line_end: 373
        line_start: 372
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: '2'
    - item_type: preproc_def
      name: BPF_PSEUDO_BTF_ID
      pos:
        line_end: 383
        line_start: 382
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: '3'
    - item_type: preproc_def
      name: BPF_PSEUDO_CALL
      pos:
        line_end: 388
        line_start: 387
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: '1'
    - item_type: preproc_def
      name: BPF_F_QUERY_EFFECTIVE
      pos:
        line_end: 444
        line_start: 443
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 0)
    - item_type: preproc_def
      name: BPF_F_TEST_RUN_ON_CPU
      pos:
        line_end: 449
        line_start: 448
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: (1U << 0)
    - item_type: preproc_def
      name: BPF_BUILD_ID_SIZE
      pos:
        line_end: 466
        line_start: 465
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: '20'
    - item_type: preproc_def
      name: BPF_OBJ_NAME_LEN
      pos:
        line_end: 476
        line_start: 475
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: 16U
    - item_type: preproc_def
      name: XDP_PACKET_HEADROOM
      pos:
        line_end: 4350
        line_start: 4349
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: '256'
    - item_type: preproc_def
      name: BPF_TAG_SIZE
      pos:
        line_end: 4454
        line_start: 4453
        source_file: /src/lxc/src/include/bpf.h
      type_or_value: '8'
    structs:
    - fields:
      - name: code
        type: __u8
      - name: dst_reg
        type: __u8
      - name: src_reg
        type: __u8
      - name: 'off'
        type: __s16
      - name: imm
        type: __s32
      item_type: struct
      name: bpf_insn
      pos:
        line_end: 64
        line_start: 58
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: prefixlen
        type: __u32
      - name: data[0]
        type: __u8
      item_type: struct
      name: bpf_lpm_trie_key
      pos:
        line_end: 70
        line_start: 67
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: cgroup_inode_id
        type: __u64
      - name: attach_type
        type: __u32
      item_type: struct
      name: bpf_cgroup_storage_key
      pos:
        line_end: 75
        line_start: 72
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: status
        type: __s32
      - name: build_id[BPF_BUILD_ID_SIZE]
        type: unsigned char
      item_type: struct
      name: bpf_stack_build_id
      pos:
        line_end: 473
        line_start: 466
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: len
        type: __u32
      - name: pkt_type
        type: __u32
      - name: mark
        type: __u32
      - name: queue_mapping
        type: __u32
      - name: protocol
        type: __u32
      - name: vlan_present
        type: __u32
      - name: vlan_tci
        type: __u32
      - name: vlan_proto
        type: __u32
      - name: priority
        type: __u32
      - name: ingress_ifindex
        type: __u32
      - name: ifindex
        type: __u32
      - name: tc_index
        type: __u32
      - name: cb[5]
        type: __u32
      - name: hash
        type: __u32
      - name: tc_classid
        type: __u32
      - name: data
        type: __u32
      - name: data_end
        type: __u32
      - name: napi_id
        type: __u32
      - name: family
        type: __u32
      - name: remote_ip4
        type: __u32
      - name: local_ip4
        type: __u32
      - name: remote_ip6[4]
        type: __u32
      - name: local_ip6[4]
        type: __u32
      - name: remote_port
        type: __u32
      - name: local_port
        type: __u32
      - name: data_meta
        type: __u32
      - name: tstamp
        type: __u64
      - name: wire_len
        type: __u32
      - name: gso_segs
        type: __u32
      - name: gso_size
        type: __u32
      item_type: struct
      name: __sk_buff
      pos:
        line_end: 4213
        line_start: 4176
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: tunnel_id
        type: __u32
      - name: tunnel_tos
        type: __u8
      - name: tunnel_ttl
        type: __u8
      - name: tunnel_ext
        type: __u16
      - name: tunnel_label
        type: __u32
      item_type: struct
      name: bpf_tunnel_key
      pos:
        line_end: 4225
        line_start: 4215
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: reqid
        type: __u32
      - name: spi
        type: __u32
      - name: family
        type: __u16
      - name: ext
        type: __u16
      item_type: struct
      name: bpf_xfrm_state
      pos:
        line_end: 4239
        line_start: 4230
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: bound_dev_if
        type: __u32
      - name: family
        type: __u32
      - name: type
        type: __u32
      - name: protocol
        type: __u32
      - name: mark
        type: __u32
      - name: priority
        type: __u32
      - name: src_ip4
        type: __u32
      - name: src_ip6[4]
        type: __u32
      - name: src_port
        type: __u32
      - name: dst_port
        type: __u32
      - name: dst_ip4
        type: __u32
      - name: dst_ip6[4]
        type: __u32
      - name: state
        type: __u32
      - name: rx_queue_mapping
        type: __s32
      item_type: struct
      name: bpf_sock
      pos:
        line_end: 4281
        line_start: 4265
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: snd_cwnd
        type: __u32
      - name: srtt_us
        type: __u32
      - name: rtt_min
        type: __u32
      - name: snd_ssthresh
        type: __u32
      - name: rcv_nxt
        type: __u32
      - name: snd_nxt
        type: __u32
      - name: snd_una
        type: __u32
      - name: mss_cache
        type: __u32
      - name: ecn_flags
        type: __u32
      - name: rate_delivered
        type: __u32
      - name: rate_interval_us
        type: __u32
      - name: packets_out
        type: __u32
      - name: retrans_out
        type: __u32
      - name: total_retrans
        type: __u32
      - name: segs_in
        type: __u32
      - name: data_segs_in
        type: __u32
      - name: segs_out
        type: __u32
      - name: data_segs_out
        type: __u32
      - name: lost_out
        type: __u32
      - name: sacked_out
        type: __u32
      - name: bytes_received
        type: __u64
      - name: bytes_acked
        type: __u64
      - name: dsack_dups
        type: __u32
      - name: delivered
        type: __u32
      - name: delivered_ce
        type: __u32
      - name: icsk_retransmits
        type: __u32
      item_type: struct
      name: bpf_tcp_sock
      pos:
        line_end: 4326
        line_start: 4283
        source_file: /src/lxc/src/include/bpf.h
    - fields: []
      item_type: struct
      name: bpf_sock_tuple
      pos:
        line_end: 4343
        line_start: 4328
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: queue_id
        type: __u32
      item_type: struct
      name: bpf_xdp_sock
      pos:
        line_end: 4347
        line_start: 4345
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: data
        type: __u32
      - name: data_end
        type: __u32
      - name: data_meta
        type: __u32
      - name: ingress_ifindex
        type: __u32
      - name: rx_queue_index
        type: __u32
      - name: egress_ifindex
        type: __u32
      item_type: struct
      name: xdp_md
      pos:
        line_end: 4376
        line_start: 4367
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: ifindex
        type: __u32
      - name: bpf_prog
        type: "union {\n\t\tint   fd;  /* prog fd on map write */\n\t\t__u32 id;  /*
          prog id on map read */\n\t}"
      item_type: struct
      name: bpf_devmap_val
      pos:
        line_end: 4389
        line_start: 4383
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: qsize
        type: __u32
      - name: bpf_prog
        type: "union {\n\t\tint   fd;\t/* prog fd on map write */\n\t\t__u32 id;\t/*
          prog id on map read */\n\t}"
      item_type: struct
      name: bpf_cpumap_val
      pos:
        line_end: 4402
        line_start: 4396
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: family
        type: __u32
      - name: remote_ip4
        type: __u32
      - name: local_ip4
        type: __u32
      - name: remote_ip6[4]
        type: __u32
      - name: local_ip6[4]
        type: __u32
      - name: remote_port
        type: __u32
      - name: local_port
        type: __u32
      - name: size
        type: __u32
      item_type: struct
      name: sk_msg_md
      pos:
        line_end: 4426
        line_start: 4412
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: len
        type: __u32
      - name: eth_protocol
        type: __u32
      - name: ip_protocol
        type: __u32
      - name: bind_inany
        type: __u32
      - name: hash
        type: __u32
      item_type: struct
      name: sk_reuseport_md
      pos:
        line_end: 4451
        line_start: 4428
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: type
        type: __u32
      - name: id
        type: __u32
      - name: tag[BPF_TAG_SIZE]
        type: __u8
      - name: jited_prog_len
        type: __u32
      - name: xlated_prog_len
        type: __u32
      - name: jited_prog_insns
        type: __aligned_u64
      - name: xlated_prog_insns
        type: __aligned_u64
      - name: load_time
        type: __u64
      - name: created_by_uid
        type: __u32
      - name: nr_map_ids
        type: __u32
      - name: map_ids
        type: __aligned_u64
      - name: name[BPF_OBJ_NAME_LEN]
        type: char
      - name: ifindex
        type: __u32
      - name: gpl_compatible
        type: __u32
      - name: netns_dev
        type: __u64
      - name: netns_ino
        type: __u64
      - name: nr_jited_ksyms
        type: __u32
      - name: nr_jited_func_lens
        type: __u32
      - name: jited_ksyms
        type: __aligned_u64
      - name: jited_func_lens
        type: __aligned_u64
      - name: btf_id
        type: __u32
      - name: func_info_rec_size
        type: __u32
      - name: func_info
        type: __aligned_u64
      - name: nr_func_info
        type: __u32
      - name: nr_line_info
        type: __u32
      - name: line_info
        type: __aligned_u64
      - name: jited_line_info
        type: __aligned_u64
      - name: nr_jited_line_info
        type: __u32
      - name: line_info_rec_size
        type: __u32
      - name: jited_line_info_rec_size
        type: __u32
      - name: nr_prog_tags
        type: __u32
      - name: prog_tags
        type: __aligned_u64
      - name: run_time_ns
        type: __u64
      - name: run_cnt
        type: __u64
      item_type: struct
      name: bpf_prog_info
      pos:
        line_end: 4491
        line_start: 4455
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: type
        type: __u32
      - name: id
        type: __u32
      - name: key_size
        type: __u32
      - name: value_size
        type: __u32
      - name: max_entries
        type: __u32
      - name: map_flags
        type: __u32
      - name: name[BPF_OBJ_NAME_LEN]
        type: char
      - name: ifindex
        type: __u32
      - name: btf_vmlinux_value_type_id
        type: __u32
      - name: netns_dev
        type: __u64
      - name: netns_ino
        type: __u64
      - name: btf_id
        type: __u32
      - name: btf_key_type_id
        type: __u32
      - name: btf_value_type_id
        type: __u32
      item_type: struct
      name: bpf_map_info
      pos:
        line_end: 4508
        line_start: 4493
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: btf
        type: __aligned_u64
      - name: btf_size
        type: __u32
      - name: id
        type: __u32
      - name: name
        type: __aligned_u64
      - name: name_len
        type: __u32
      - name: kernel_btf
        type: __u32
      item_type: struct
      name: bpf_btf_info
      pos:
        line_end: 4517
        line_start: 4510
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: type
        type: __u32
      - name: id
        type: __u32
      - name: prog_id
        type: __u32
      item_type: struct
      name: bpf_link_info
      pos:
        line_end: 4552
        line_start: 4519
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: user_family
        type: __u32
      - name: user_ip4
        type: __u32
      - name: user_ip6[4]
        type: __u32
      - name: user_port
        type: __u32
      - name: family
        type: __u32
      - name: type
        type: __u32
      - name: protocol
        type: __u32
      - name: msg_src_ip4
        type: __u32
      - name: msg_src_ip6[4]
        type: __u32
      item_type: struct
      name: bpf_sock_addr
      pos:
        line_end: 4579
        line_start: 4558
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: op
        type: __u32
      - name: family
        type: __u32
      - name: remote_ip4
        type: __u32
      - name: local_ip4
        type: __u32
      - name: remote_ip6[4]
        type: __u32
      - name: local_ip6[4]
        type: __u32
      - name: remote_port
        type: __u32
      - name: local_port
        type: __u32
      - name: is_fullsock
        type: __u32
      - name: snd_cwnd
        type: __u32
      - name: srtt_us
        type: __u32
      - name: bpf_sock_ops_cb_flags
        type: __u32
      - name: state
        type: __u32
      - name: rtt_min
        type: __u32
      - name: snd_ssthresh
        type: __u32
      - name: rcv_nxt
        type: __u32
      - name: snd_nxt
        type: __u32
      - name: snd_una
        type: __u32
      - name: mss_cache
        type: __u32
      - name: ecn_flags
        type: __u32
      - name: rate_delivered
        type: __u32
      - name: rate_interval_us
        type: __u32
      - name: packets_out
        type: __u32
      - name: retrans_out
        type: __u32
      - name: total_retrans
        type: __u32
      - name: segs_in
        type: __u32
      - name: data_segs_in
        type: __u32
      - name: segs_out
        type: __u32
      - name: data_segs_out
        type: __u32
      - name: lost_out
        type: __u32
      - name: sacked_out
        type: __u32
      - name: sk_txhash
        type: __u32
      - name: bytes_received
        type: __u64
      - name: bytes_acked
        type: __u64
      - name: skb_len
        type: __u32
      - name: skb_tcp_flags
        type: __u32
      item_type: struct
      name: bpf_sock_ops
      pos:
        line_end: 4661
        line_start: 4587
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: counter
        type: __u64
      - name: enabled
        type: __u64
      - name: running
        type: __u64
      item_type: struct
      name: bpf_perf_event_value
      pos:
        line_end: 4916
        line_start: 4912
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: access_type
        type: __u32
      - name: major
        type: __u32
      - name: minor
        type: __u32
      item_type: struct
      name: bpf_cgroup_dev_ctx
      pos:
        line_end: 4934
        line_start: 4929
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: args[0]
        type: __u64
      item_type: struct
      name: bpf_raw_tracepoint_args
      pos:
        line_end: 4938
        line_start: 4936
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: family
        type: __u8
      - name: l4_protocol
        type: __u8
      - name: sport
        type: __be16
      - name: dport
        type: __be16
      - name: tot_len
        type: __u16
      - name: ifindex
        type: __u32
      - name: h_vlan_proto
        type: __be16
      - name: h_vlan_TCI
        type: __be16
      - name: smac[6]
        type: __u8
      - name: dmac[6]
        type: __u8
      item_type: struct
      name: bpf_fib_lookup
      pos:
        line_end: 5007
        line_start: 4960
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: nh_family
        type: __u32
      item_type: struct
      name: bpf_redir_neigh
      pos:
        line_end: 5017
        line_start: 5009
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: nhoff
        type: __u16
      - name: thoff
        type: __u16
      - name: addr_proto
        type: __u16
      - name: is_frag
        type: __u8
      - name: is_first_frag
        type: __u8
      - name: is_encap
        type: __u8
      - name: ip_proto
        type: __u8
      - name: n_proto
        type: __be16
      - name: sport
        type: __be16
      - name: dport
        type: __be16
      - name: flags
        type: __u32
      - name: flow_label
        type: __be32
      item_type: struct
      name: bpf_flow_keys
      pos:
        line_end: 5057
        line_start: 5034
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: insn_off
        type: __u32
      - name: type_id
        type: __u32
      item_type: struct
      name: bpf_func_info
      pos:
        line_end: 5062
        line_start: 5059
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: insn_off
        type: __u32
      - name: file_name_off
        type: __u32
      - name: line_off
        type: __u32
      - name: line_col
        type: __u32
      item_type: struct
      name: bpf_line_info
      pos:
        line_end: 5072
        line_start: 5067
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: val
        type: __u32
      item_type: struct
      name: bpf_spin_lock
      pos:
        line_end: 5076
        line_start: 5074
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: write
        type: __u32
      - name: file_pos
        type: __u32
      item_type: struct
      name: bpf_sysctl
      pos:
        line_end: 5085
        line_start: 5078
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: level
        type: __s32
      - name: optname
        type: __s32
      - name: optlen
        type: __s32
      - name: retval
        type: __s32
      item_type: struct
      name: bpf_sockopt
      pos:
        line_end: 5096
        line_start: 5087
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: pid
        type: __u32
      - name: tgid
        type: __u32
      item_type: struct
      name: bpf_pidns_info
      pos:
        line_end: 5101
        line_start: 5098
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: family
        type: __u32
      - name: protocol
        type: __u32
      - name: remote_ip4
        type: __u32
      - name: remote_ip6[4]
        type: __u32
      - name: remote_port
        type: __u32
      - name: local_ip4
        type: __u32
      - name: local_ip6[4]
        type: __u32
      - name: local_port
        type: __u32
      item_type: struct
      name: bpf_sk_lookup
      pos:
        line_end: 5115
        line_start: 5104
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: '*ptr'
        type: void
      - name: type_id
        type: __u32
      - name: flags
        type: __u32
      item_type: struct
      name: btf_ptr
      pos:
        line_end: 5129
        line_start: 5125
        source_file: /src/lxc/src/include/bpf.h
    typedefs: []
    union:
    - fields:
      - name: map
        type: "struct {\n\t\t__u32\tmap_fd;\n\t}"
      item_type: union
      name: bpf_iter_link_info
      pos:
        line_end: 81
        line_start: 77
        source_file: /src/lxc/src/include/bpf.h
    - fields:
      - name: batch
        type: "struct { /* struct used by BPF_MAP_*_BATCH commands */\n\t\t__aligned_u64\tin_batch;\t/*
          start batch,\n\t\t\t\t\t\t * NULL to start from beginning\n\t\t\t\t\t\t
          */\n\t\t__aligned_u64\tout_batch;\t/* output: next start batch */\n\t\t__aligned_u64\tkeys;\n\t\t__aligned_u64\tvalues;\n\t\t__u32\t\tcount;\t\t/*
          input/output:\n\t\t\t\t\t\t * input: # of key/value\n\t\t\t\t\t\t * elements\n\t\t\t\t\t\t
          * output: # of filled elements\n\t\t\t\t\t\t */\n\t\t__u32\t\tmap_fd;\n\t\t__u64\t\telem_flags;\n\t\t__u64\t\tflags;\n\t}"
      - name: test
        type: "struct { /* anonymous struct used by BPF_PROG_TEST_RUN command */\n\t\t__u32\t\tprog_fd;\n\t\t__u32\t\tretval;\n\t\t__u32\t\tdata_size_in;\t/*
          input: len of data_in */\n\t\t__u32\t\tdata_size_out;\t/* input/output:
          len of data_out\n\t\t\t\t\t\t *   returns ENOSPC if data_out\n\t\t\t\t\t\t
          *   is too small.\n\t\t\t\t\t\t */\n\t\t__aligned_u64\tdata_in;\n\t\t__aligned_u64\tdata_out;\n\t\t__u32\t\trepeat;\n\t\t__u32\t\tduration;\n\t\t__u32\t\tctx_size_in;\t/*
          input: len of ctx_in */\n\t\t__u32\t\tctx_size_out;\t/* input/output: len
          of ctx_out\n\t\t\t\t\t\t *   returns ENOSPC if ctx_out\n\t\t\t\t\t\t *   is
          too small.\n\t\t\t\t\t\t */\n\t\t__aligned_u64\tctx_in;\n\t\t__aligned_u64\tctx_out;\n\t\t__u32\t\tflags;\n\t\t__u32\t\tcpu;\n\t}"
      - name: info
        type: "struct { /* anonymous struct used by BPF_OBJ_GET_INFO_BY_FD */\n\t\t__u32\t\tbpf_fd;\n\t\t__u32\t\tinfo_len;\n\t\t__aligned_u64\tinfo;\n\t}"
      - name: query
        type: "struct { /* anonymous struct used by BPF_PROG_QUERY command */\n\t\t__u32\t\ttarget_fd;\t/*
          container object to query */\n\t\t__u32\t\tattach_type;\n\t\t__u32\t\tquery_flags;\n\t\t__u32\t\tattach_flags;\n\t\t__aligned_u64\tprog_ids;\n\t\t__u32\t\tprog_cnt;\n\t}"
      - name: raw_tracepoint
        type: "struct { /* anonymous struct used by BPF_RAW_TRACEPOINT_OPEN command
          */\n\t\t__u64 name;\n\t\t__u32 prog_fd;\n\t}"
      - name: task_fd_query
        type: "struct {\n\t\t__u32\t\tpid;\t\t/* input: pid */\n\t\t__u32\t\tfd;\t\t/*
          input: fd */\n\t\t__u32\t\tflags;\t\t/* input: flags */\n\t\t__u32\t\tbuf_len;\t/*
          input/output: buf len */\n\t\t__aligned_u64\tbuf;\t\t/* input/output:\n\t\t\t\t\t\t
          *   tp_name for tracepoint\n\t\t\t\t\t\t *   symbol for kprobe\n\t\t\t\t\t\t
          *   filename for uprobe\n\t\t\t\t\t\t */\n\t\t__u32\t\tprog_id;\t/* output:
          prod_id */\n\t\t__u32\t\tfd_type;\t/* output: BPF_FD_TYPE_* */\n\t\t__u64\t\tprobe_offset;\t/*
          output: probe_offset */\n\t\t__u64\t\tprobe_addr;\t/* output: probe_addr
          */\n\t}"
      - name: link_create
        type: "struct { /* struct used by BPF_LINK_CREATE command */\n\t\t__u32\t\tprog_fd;\t/*
          eBPF program to attach */\n\t\tunion {\n\t\t\t__u32\t\ttarget_fd;\t/* object
          to attach to */\n\t\t\t__u32\t\ttarget_ifindex; /* target ifindex */\n\t\t};\n\t\t__u32\t\tattach_type;\t/*
          attach type */\n\t\t__u32\t\tflags;\t\t/* extra flags */\n\t\tunion {\n\t\t\t__u32\t\ttarget_btf_id;\t/*
          btf_id of target to attach to */\n\t\t\tstruct {\n\t\t\t\t__aligned_u64\titer_info;\t/*
          extra bpf_iter_link_info */\n\t\t\t\t__u32\t\titer_info_len;\t/* iter_info
          length */\n\t\t\t};\n\t\t};\n\t}"
      - name: link_update
        type: "struct { /* struct used by BPF_LINK_UPDATE command */\n\t\t__u32\t\tlink_fd;\t/*
          link fd */\n\t\t/* new program fd to update link with */\n\t\t__u32\t\tnew_prog_fd;\n\t\t__u32\t\tflags;\t\t/*
          extra flags */\n\t\t/* expected link's program fd; is specified only if\n\t\t
          * BPF_F_REPLACE flag is set in flags */\n\t\t__u32\t\told_prog_fd;\n\t}"
      - name: link_detach
        type: "struct {\n\t\t__u32\t\tlink_fd;\n\t}"
      - name: enable_stats
        type: "struct { /* struct used by BPF_ENABLE_STATS command */\n\t\t__u32\t\ttype;\n\t}"
      - name: iter_create
        type: "struct { /* struct used by BPF_ITER_CREATE command */\n\t\t__u32\t\tlink_fd;\n\t\t__u32\t\tflags;\n\t}"
      - name: prog_bind_map
        type: "struct { /* struct used by BPF_PROG_BIND_MAP command */\n\t\t__u32\t\tprog_fd;\n\t\t__u32\t\tmap_fd;\n\t\t__u32\t\tflags;\t\t/*
          extra flags */\n\t}"
      item_type: union
      name: bpf_attr
      pos:
        line_end: 703
        line_start: 477
        source_file: /src/lxc/src/include/bpf.h
- function_names: []
  source_file: /src/lxc/src/include/fexecve.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - strlcat
  source_file: /src/lxc/src/include/strlcat.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/include/strlcat.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - strchrnul
  source_file: /src/lxc/src/include/strchrnul.c
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - NETNS_RTA
  - __NETLINK_ALIGN
  - __NLMSG_OK
  - __NLMSG_NEXT
  - __NLMSG_DATA
  - __NLMSG_DATAEND
  - __NLMSG_RTA
  - __RTA_DATALEN
  - __RTA_NEXT
  - __RTA_OK
  - __NLMSG_RTAOK
  - __IN6_IS_ADDR_LINKLOCAL
  - __IN6_IS_ADDR_MC_LINKLOCAL
  - __RTA_DATA
  - copy_addr
  - gen_netmask
  - copy_lladdr
  - nl_msg_to_ifaddr
  - __ifaddrs_netlink_send
  - __ifaddrs_netlink_recv
  - __rtnl_enumerate
  - netns_freeifaddrs
  - netns_getifaddrs
  source_file: /src/lxc/src/include/netns_ifaddrs.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: IFADDRS_HASH_SIZE
      pos:
        line_end: 31
        line_start: 30
        source_file: /src/lxc/src/include/netns_ifaddrs.c
      type_or_value: '64'
    structs:
    - fields:
      - name: sll_family
        type: unsigned short
      - name: sll_ifindex
        type: int
      - name: sll_hatype
        type: unsigned short
      - name: sll_pkttype
        type: unsigned char
      - name: sll_addr[24]
        type: unsigned char
      item_type: struct
      name: sockaddr_ll_hack
      pos:
        line_end: 77
        line_start: 71
        source_file: /src/lxc/src/include/netns_ifaddrs.c
    - fields:
      - name: ifa
        type: struct netns_ifaddrs
      - name: '*hash_next'
        type: struct ifaddrs_storage
      - name: addr
        type: union sockany
      - name: index
        type: unsigned int
      - name: name[IFNAMSIZ + 1]
        type: char
      item_type: struct
      name: ifaddrs_storage
      pos:
        line_end: 92
        line_start: 86
        source_file: /src/lxc/src/include/netns_ifaddrs.c
    - fields:
      - name: '*first'
        type: struct ifaddrs_storage
      - name: '*last'
        type: struct ifaddrs_storage
      - name: '*hash[IFADDRS_HASH_SIZE]'
        type: struct ifaddrs_storage
      item_type: struct
      name: ifaddrs_ctx
      pos:
        line_end: 98
        line_start: 94
        source_file: /src/lxc/src/include/netns_ifaddrs.c
    typedefs: []
    union:
    - fields:
      - name: sa
        type: struct sockaddr
      - name: ll
        type: struct sockaddr_ll_hack
      - name: v4
        type: struct sockaddr_in
      - name: v6
        type: struct sockaddr_in6
      item_type: union
      name: sockany
      pos:
        line_end: 84
        line_start: 79
        source_file: /src/lxc/src/include/netns_ifaddrs.c
    - fields:
      - name: buf[8192]
        type: uint8_t
      - name: req
        type: "struct {\n\t\t\tstruct nlmsghdr nlh;\n\t\t\tstruct rtgenmsg g;\n\t\t}"
      - name: reply
        type: struct nlmsghdr
      item_type: union
      name: u
      pos:
        line_end: 389
        line_start: 382
        source_file: /src/lxc/src/include/netns_ifaddrs.c
- function_names: []
  source_file: /src/lxc/src/include/strchrnul.h
  types:
    enum: []
    preproc_defs: []
    structs: []
    typedefs: []
    union: []
- function_names:
  - FIX
  - atou
  - __getgrent_a
  - itoa
  - __nscd_query
  - __getgr_a
  - getgr_r
  - getgrgid_r
  source_file: /src/lxc/src/include/getgrgid_r.c
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: LOGIN_NAME_MAX
      pos:
        line_end: 20
        line_start: 19
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '256'
    - item_type: preproc_def
      name: NSCDVERSION
      pos:
        line_end: 21
        line_start: 20
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '2'
    - item_type: preproc_def
      name: GETPWBYNAME
      pos:
        line_end: 22
        line_start: 21
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '0'
    - item_type: preproc_def
      name: GETPWBYUID
      pos:
        line_end: 23
        line_start: 22
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '1'
    - item_type: preproc_def
      name: GETGRBYNAME
      pos:
        line_end: 24
        line_start: 23
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '2'
    - item_type: preproc_def
      name: GETGRBYGID
      pos:
        line_end: 25
        line_start: 24
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '3'
    - item_type: preproc_def
      name: GETINITGR
      pos:
        line_end: 26
        line_start: 25
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '15'
    - item_type: preproc_def
      name: REQVERSION
      pos:
        line_end: 28
        line_start: 27
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '0'
    - item_type: preproc_def
      name: REQTYPE
      pos:
        line_end: 29
        line_start: 28
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '1'
    - item_type: preproc_def
      name: REQKEYLEN
      pos:
        line_end: 30
        line_start: 29
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '2'
    - item_type: preproc_def
      name: REQ_LEN
      pos:
        line_end: 31
        line_start: 30
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '3'
    - item_type: preproc_def
      name: PWVERSION
      pos:
        line_end: 33
        line_start: 32
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '0'
    - item_type: preproc_def
      name: PWFOUND
      pos:
        line_end: 34
        line_start: 33
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '1'
    - item_type: preproc_def
      name: PWNAMELEN
      pos:
        line_end: 35
        line_start: 34
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '2'
    - item_type: preproc_def
      name: PWPASSWDLEN
      pos:
        line_end: 36
        line_start: 35
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '3'
    - item_type: preproc_def
      name: PWUID
      pos:
        line_end: 37
        line_start: 36
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '4'
    - item_type: preproc_def
      name: PWGID
      pos:
        line_end: 38
        line_start: 37
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '5'
    - item_type: preproc_def
      name: PWGECOSLEN
      pos:
        line_end: 39
        line_start: 38
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '6'
    - item_type: preproc_def
      name: PWDIRLEN
      pos:
        line_end: 40
        line_start: 39
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '7'
    - item_type: preproc_def
      name: PWSHELLLEN
      pos:
        line_end: 41
        line_start: 40
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '8'
    - item_type: preproc_def
      name: PW_LEN
      pos:
        line_end: 42
        line_start: 41
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '9'
    - item_type: preproc_def
      name: GRVERSION
      pos:
        line_end: 44
        line_start: 43
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '0'
    - item_type: preproc_def
      name: GRFOUND
      pos:
        line_end: 45
        line_start: 44
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '1'
    - item_type: preproc_def
      name: GRNAMELEN
      pos:
        line_end: 46
        line_start: 45
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '2'
    - item_type: preproc_def
      name: GRPASSWDLEN
      pos:
        line_end: 47
        line_start: 46
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '3'
    - item_type: preproc_def
      name: GRGID
      pos:
        line_end: 48
        line_start: 47
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '4'
    - item_type: preproc_def
      name: GRMEMCNT
      pos:
        line_end: 49
        line_start: 48
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '5'
    - item_type: preproc_def
      name: GR_LEN
      pos:
        line_end: 50
        line_start: 49
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '6'
    - item_type: preproc_def
      name: INITGRVERSION
      pos:
        line_end: 52
        line_start: 51
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '0'
    - item_type: preproc_def
      name: INITGRFOUND
      pos:
        line_end: 53
        line_start: 52
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '1'
    - item_type: preproc_def
      name: INITGRNGRPS
      pos:
        line_end: 54
        line_start: 53
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '2'
    - item_type: preproc_def
      name: INITGR_LEN
      pos:
        line_end: 55
        line_start: 54
        source_file: /src/lxc/src/include/getgrgid_r.c
      type_or_value: '3'
    structs:
    - fields:
      - name: sun_family
        type: short
      - name: sun_path[21]
        type: char
      item_type: struct
      name: addr = {AF_UNIX, "/var/run/nscd/socket"}
      pos:
        line_end: 159
        line_start: 156
        source_file: /src/lxc/src/include/getgrgid_r.c
    typedefs: []
    union: []
- function_names: []
  source_file: /src/lxc/src/include/netns_ifaddrs.h
  types:
    enum: []
    preproc_defs:
    - item_type: preproc_def
      name: __ifa_broadaddr
      pos:
        line_end: 53
        line_start: 52
        source_file: /src/lxc/src/include/netns_ifaddrs.h
      type_or_value: ifa_ifu.ifu_broadaddr
    - item_type: preproc_def
      name: __ifa_dstaddr
      pos:
        line_end: 54
        line_start: 53
        source_file: /src/lxc/src/include/netns_ifaddrs.h
      type_or_value: ifa_ifu.ifu_dstaddr
    structs:
    - fields:
      - name: '*ifa_next'
        type: struct netns_ifaddrs
      - name: '*ifa_name'
        type: char
      - name: ifa_ifindex
        type: int
      - name: ifa_flags
        type: unsigned
      - name: ifa_mtu
        type: int
      - name: ifa_prefixlen
        type: int
      - name: '*ifa_addr'
        type: struct sockaddr
      - name: '*ifa_netmask'
        type: struct sockaddr
      - name: ifa_ifu
        type: "union {\n\t\tstruct sockaddr *ifu_broadaddr;\n\t\tstruct sockaddr *ifu_dstaddr;\n\t}"
      - name: ifa_stats_type
        type: int
      item_type: struct
      name: netns_ifaddrs
      pos:
        line_end: 50
        line_start: 19
        source_file: /src/lxc/src/include/netns_ifaddrs.h
    typedefs: []
    union: []
