2025-06-26 16:59 ftp://ftp.de.debian.org/debian/pool/main/c/criu/criu_4.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 4780cd2 (2025-06-26 14:24:42 +0200) count: 4017 4014 elapsed-time: 744.8 741.0 head-timing-info: old-timing-info: head results: criu-4.1/compel/arch/aarch64/src/lib/handle-elf-host.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/handle-elf.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/handle-elf-host.c:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/handle-elf.c:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/cpu.c:25:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/cpu.c:28:45: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/cpu.c:31:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/cpu.c:35:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/cpu.c:39:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/handle-elf-host.c:21:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/loongarch64/src/lib/handle-elf.c:21:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/cpu.c:25:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/arm/src/lib/cpu.c:28:45: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/arm/src/lib/cpu.c:31:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/arm/src/lib/cpu.c:35:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/arm/src/lib/cpu.c:39:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/mips/src/lib/handle-elf-host.c:21:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/mips/src/lib/handle-elf.c:21:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/loongarch64/src/lib/cpu.c:15:43: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/cpu.c:19:45: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/cpu.c:23:43: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/cpu.c:28:36: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/arm/src/lib/infect.c:28:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILTIN_SYSCALL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/infect.c:56:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFP_MAGIC [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/infect.c:92:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/infect.c:106:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETVFPREGS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/infect.c:138:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_MASK [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/infect.c:155:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSR_f [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/infect.c:171:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sigaltstack [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:61:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_regs_struct_t [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:107:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:143:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_mmap [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:173:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sigaltstack [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/mips/src/lib/cpu.c:15:43: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/mips/src/lib/cpu.c:19:45: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/mips/src/lib/cpu.c:23:43: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/mips/src/lib/cpu.c:28:36: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/infect.c:32:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILTIN_SYSCALL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/infect.c:46:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __uint128_t [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/infect.c:71:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_regs_struct_t [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/infect.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/infect.c:131:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_mmap [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/infect.c:158:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sigaltstack [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/infect.c:194:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/infect.c:233:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARM_BREAKPOINT_LEN_4 [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/infect.c:274:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARM_BREAKPOINT_LEN_4 [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/handle-elf-host.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/cpu.c:45:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_HWCAP [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/cpu.c:28:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/ppc64/src/lib/cpu.c:31:45: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/ppc64/src/lib/cpu.c:34:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/ppc64/src/lib/cpu.c:38:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/ppc64/src/lib/handle-elf.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/arm/src/lib/infect.c:32:81: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/arm/src/lib/infect.c:32:109: style: Parameter 'fpregs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/arm/src/lib/infect.c:62:56: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/arm/src/lib/infect.c:62:86: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/arm/src/lib/infect.c:158:46: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:30:81: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:30:109: style: Parameter 'fpregs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:46:56: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:46:86: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:163:46: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:180:44: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/loongarch64/src/lib/infect.c:94:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] criu-4.1/compel/arch/riscv64/src/lib/handle-elf-host.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/handle-elf.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/cpu.c:25:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/riscv64/src/lib/cpu.c:28:45: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/riscv64/src/lib/cpu.c:31:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/riscv64/src/lib/cpu.c:35:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/riscv64/src/lib/cpu.c:39:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/cpu.c:43:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_HWCAP [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/mips/src/lib/infect.c:129:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETFPREGS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/mips/src/lib/infect.c:160:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETFPREGS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/mips/src/lib/infect.c:193:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_mmap [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/mips/src/lib/infect.c:225:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sigaltstack [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/mips/src/lib/infect.c:255:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/mips/src/lib/infect.c:263:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETREGS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/mips/src/lib/infect.c:279:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/cpu.c:26:43: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/cpu.c:29:45: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/cpu.c:32:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/cpu.c:36:43: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/handle-elf-host.c:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/handle-elf.c:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:39:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILTIN_SYSCALL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:47:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_NIP [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:61:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NFPREG [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:68:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NVRREG [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:75:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NVSXREG [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:83:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_FL_TM [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:143:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_MSR [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:202:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETFPREGS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:213:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETVRREGS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:239:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETVSRREGS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:281:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:348:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:372:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSR_TMS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:413:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_FL_FP [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:459:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_mmap [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:475:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STACK_FRAME_MIN_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/ppc64/src/lib/infect.c:492:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sigaltstack [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/infect.c:29:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILTIN_SYSCALL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/infect.c:90:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/infect.c:107:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/infect.c:144:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_mmap [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/infect.c:176:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sigaltstack [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/infect.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_regs_struct_t [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/infect.c:222:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_regs_struct_t [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/aarch64/src/lib/infect.c:36:81: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/infect.c:36:109: style: Parameter 'fpregs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/infect.c:57:56: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/infect.c:57:86: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/infect.c:145:46: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/aarch64/src/lib/infect.c:210:19: style: Variable 'info' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/arch/aarch64/src/lib/infect.c:266:19: style: Variable 'info' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/arch/mips/src/lib/infect.c:117:56: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:117:86: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:215:46: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:229:44: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:280:22: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:284:32: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:288:22: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:297:22: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:301:22: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:304:22: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/arch/mips/src/lib/infect.c:32:11: style: struct member 'fpreg::significand' is never used. [unusedStructMember] criu-4.1/compel/arch/mips/src/lib/infect.c:33:11: style: struct member 'fpreg::exponent' is never used. [unusedStructMember] criu-4.1/compel/arch/mips/src/lib/infect.c:38:11: style: struct member 'fpxreg::significand' is never used. [unusedStructMember] criu-4.1/compel/arch/mips/src/lib/infect.c:39:11: style: struct member 'fpxreg::exponent' is never used. [unusedStructMember] criu-4.1/compel/arch/mips/src/lib/infect.c:40:11: style: struct member 'fpxreg::padding' is never used. [unusedStructMember] criu-4.1/compel/arch/x86/src/lib/handle-elf-host.c:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/riscv64/src/lib/infect.c:33:81: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/riscv64/src/lib/infect.c:33:109: style: Parameter 'fpregs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/riscv64/src/lib/infect.c:74:56: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/riscv64/src/lib/infect.c:74:86: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/riscv64/src/lib/infect.c:158:46: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/x86/src/lib/handle-elf.c:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/thread_area.c:44:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDT_ENTRY_TLS_NUM [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/thread_area.c:81:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tls_t [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/thread_area.c:86:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tls_t [valueFlowBailoutIncompleteVar] criu-4.1/compel/plugins/shmem/shmem.c:15:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/compel/plugins/shmem/shmem.c:31:36: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/x86/src/lib/cpu.c:54:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCAPINTS_BITS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/cpu.c:60:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCAPINTS_BITS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/cpu.c:66:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCAPINTS_BITS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/cpu.c:73:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFEATURE_MAX [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/cpu.c:86:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_FEATURE_FPU [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/cpu.c:253:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_VENDOR_INTEL [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/cpu.c:443:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFEATURE_MAX [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/cpu.c:451:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFEATURE_MAX [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/thread_area.c:79:52: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/x86/src/lib/thread_area.c:84:61: style: Parameter 'tctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/infect.c:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_VXRS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:68:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_GS_CB [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:83:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_GS_BC [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:98:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_RI_CB [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:134:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_VXRS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:157:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSW_MASK_EA [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:168:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_VXRS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:202:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_GS_CB [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:246:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_RI_CB [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:289:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSW_MASK_RI [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:307:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:361:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:421:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILTIN_SYSCALL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:457:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILTIN_SYSCALL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:504:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STACK_FRAME_OVERHEAD [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:522:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSW_MASK_RI [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:552:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sigaltstack [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:698:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/s390/src/lib/infect.c:720:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/plugins/std/infect.c:119:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_CMD_INIT_DAEMON [valueFlowBailoutIncompleteVar] criu-4.1/compel/plugins/std/infect.c:213:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_CMD_INIT_DAEMON [valueFlowBailoutIncompleteVar] criu-4.1/compel/plugins/std/infect.c:106:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] criu-4.1/compel/plugins/std/infect.c:180:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] criu-4.1/compel/arch/ppc64/src/lib/infect.c:43:63: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/ppc64/src/lib/infect.c:57:52: style: Parameter 'fpregs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/ppc64/src/lib/infect.c:73:38: style: Parameter 'mc' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/ppc64/src/lib/infect.c:73:52: style: Parameter 'vsxregs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/ppc64/src/lib/infect.c:479:46: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/plugins/std/std.c:36:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] criu-4.1/compel/plugins/std/log.c:104:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STD_LOG_SIMPLE_CHUNK [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/cpu.c:71:43: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/x86/src/lib/cpu.c:334:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/arch/x86/src/lib/infect.c:61:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILTIN_SYSCALL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:235:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETFPREGS [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:331:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFEATURE_MASK_USER [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:359:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_FEATURE_OSXSAVE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:414:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable orig_ax [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:467:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_FEATURE_OSXSAVE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:519:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ax [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:533:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:559:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:577:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:611:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFECT_COMPATIBLE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:657:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_POKEUSER [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:691:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_POKEUSER [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:705:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_regs_struct64 [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:733:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_regs_struct64 [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:750:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:755:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_FEATURE_SHSTK [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:777:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/handle-elf-host.c:84:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ET_REL [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/handle-elf-host.c:112:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Elf_Shdr [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/handle-elf-host.c:150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/plugins/std/log.c:23:45: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/plugins/std/log.c:129:40: style: Parameter 's' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/infect.c:124:81: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/infect.c:124:109: style: Parameter 'fpregs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/infect.c:144:56: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/infect.c:144:86: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/infect.c:244:9: style: Variable 'psw' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/arch/s390/src/lib/infect.c:510:46: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/s390/src/lib/infect.c:516:9: style: Variable 'psw' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/arch/s390/src/lib/infect.c:457:45: portability: '(void*)ctl->ictx.syscall_ip' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/infect-rpc.c:15:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_USER_CMDS [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect-rpc.c:39:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_WAITALL [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/handle-elf.c:84:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ET_REL [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/handle-elf.c:112:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Elf_Shdr [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/handle-elf.c:150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect-rpc.c:60:60: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/src/lib/infect-rpc.c:75:60: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/src/lib/infect-rpc.c:94:42: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/src/lib/ptrace.c:26:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETOPTIONS [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/ptrace.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/ptrace.c:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_POKEDATA [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/ptrace.c:116:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_regs_struct_t [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/ptrace.c:125:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_regs_struct_t [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/main-host.c:67:0: error: #error "CONFIG_ not defined, or unsupported ARCH" [preprocessorErrorDirective] criu-4.1/compel/src/main-host.c:67:2: error: #error "CONFIG_ not defined, or unsupported ARCH" [preprocessorErrorDirective] criu-4.1/compel/src/lib/ptrace.c:85:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] criu-4.1/compel/src/main.c:67:0: error: #error "CONFIG_ not defined, or unsupported ARCH" [preprocessorErrorDirective] criu-4.1/compel/src/main.c:67:2: error: #error "CONFIG_ not defined, or unsupported ARCH" [preprocessorErrorDirective] criu-4.1/compel/test/fdspy/parasite.c:25:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_USER_CMDS [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/fdspy/parasite.c:9:23: style: Parameter 'arg_p' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/test/fdspy/parasite.c:13:38: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/test/fdspy/parasite.c:23:40: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/test/fdspy/spy.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/fdspy/spy.c:112:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/infect/parasite.c:28:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_USER_CMDS [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/infect/parasite.c:9:38: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/test/fdspy/spy.c:140:8: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] criu-4.1/compel/src/lib/handle-elf-host.c:368:15: style: Variable 'sh_src' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/src/lib/handle-elf-host.c:177:22: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf-host.c:228:16: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf-host.c:230:19: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf-host.c:308:15: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf-host.c:317:16: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf-host.c:659:16: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/test/infect/spy.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/stack/parasite.c:28:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_USER_CMDS [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/stack/parasite.c:9:38: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/test/rsys/spy.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/rsys/spy.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/rsys/spy.c:115:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/rsys/spy.c:90:8: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] criu-4.1/compel/test/stack/spy.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/stack/spy.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/stack/spy.c:232:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/compel/test/infect/spy.c:115:8: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] criu-4.1/compel/src/lib/infect.c:126:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SEIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:175:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_CONT [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:203:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGMAX [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:210:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETSIGINFO [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:251:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:382:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPEL_TASK_DEAD [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:429:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:473:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFECT_FAIL_CONNECT [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:491:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:525:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETSIGMASK [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:565:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETSIGMASK [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:596:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETSIGINFO [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:629:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILTIN_SYSCALL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:658:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_CONT [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:687:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_CMD_INIT_DAEMON [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:776:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:814:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILTIN_SYSCALL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:912:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:942:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mprotect [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:955:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:983:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPEL_BLOB_CHEADER [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1127:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETSIGMASK [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_START_AREA_MIN [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1203:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_START_AREA_MIN [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1226:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1281:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1396:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_INTERRUPT [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1544:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_CONT [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1567:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SYSCALL [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1607:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SYSCALL [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1617:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SYSCALL_TRAP [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/infect.c:1653:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRACE_ENTER [valueFlowBailoutIncompleteVar] criu-4.1/criu/aio.c:41:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/aio.c:58:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/aio.c:84:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_check_aios_args [valueFlowBailoutIncompleteVar] criu-4.1/criu/aio.c:108:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/aio.c:133:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/action-scripts.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scripts [valueFlowBailoutIncompleteVar] criu-4.1/criu/action-scripts.c:111:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SK_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/action-scripts.c:126:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SK_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/action-scripts.c:178:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scripts [valueFlowBailoutIncompleteVar] criu-4.1/criu/action-scripts.c:195:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SK_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/aio.c:82:56: style: Parameter 'vmas' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/action-scripts.c:180:2: error: Memory leak: script [memleak] criu-4.1/criu/action-scripts.c:161:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/aarch64/cpu.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/aarch64/cpu.c:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/aarch64/cpu.c:34:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/aarch64/cpu.c:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/compel/src/lib/handle-elf.c:368:15: style: Variable 'sh_src' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/src/lib/handle-elf.c:177:22: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf.c:228:16: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf.c:230:19: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf.c:308:15: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf.c:317:16: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/handle-elf.c:659:16: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/arch/x86/src/lib/infect.c:585:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] criu-4.1/compel/test/stack/spy.c:326:8: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] criu-4.1/compel/test/stack/spy.c:140:3: error: Resource leak: fd [resourceLeak] criu-4.1/compel/arch/x86/src/lib/infect.c:367:16: style: Obsolescent function 'rand_r' called. It is recommended to use 'rand' instead. [prohibitedrand_rCalled] criu-4.1/criu/arch/aarch64/restorer.c:11:47: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/test/stack/spy.c:117:43: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/test/stack/spy.c:201:83: style: Parameter 'saved_data' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/test/stack/spy.c:204:9: style: Variable 'current_data' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/test/stack/spy.c:167:13: portability: 'next_page' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/test/stack/spy.c:174:14: portability: 'next_page' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/arch/x86/src/lib/infect.c:87:17: style: Variable 'st' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/arch/x86/src/lib/infect.c:126:17: style: Variable 'from' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/arch/x86/src/lib/infect.c:148:109: style: Parameter 'fpregs' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/x86/src/lib/infect.c:602:46: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/x86/src/lib/infect.c:753:51: style: Parameter 'ext_regs' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/aarch64/sigframe.c:5:50: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/arch/x86/src/lib/infect.c:764:47: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/aarch64/sigframe.c:5:80: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/aarch64/vdso-pie.c:24:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] criu-4.1/compel/arch/x86/src/lib/infect.c:96:9: portability: '(void*)&(fxsave)->st_space' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/arch/arm/cpu.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/arm/cpu.c:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/arm/cpu.c:34:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/arm/cpu.c:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/arm/restorer.c:49:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/arm/sigframe.c:5:50: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/arm/sigframe.c:5:80: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/arm/restorer.c:13:50: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/apparmor.c:97:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:184:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:387:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:498:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:614:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:659:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_APPARMOR [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:674:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AA_SECURITYFS_PATH [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:714:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_APPARMOR [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:749:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lsm_supplied [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/loongarch64/cpu.c:21:14: style: Condition 'cpu_init()' is always false [knownConditionTrueFalse] criu-4.1/criu/arch/loongarch64/cpu.c:21:14: note: Calling function 'cpu_init' returns 0 criu-4.1/criu/arch/loongarch64/cpu.c:21:14: note: Condition 'cpu_init()' is always false criu-4.1/criu/arch/loongarch64/cpu.c:23:22: style: Condition 'cpu_dump_cpuinfo()' is always false [knownConditionTrueFalse] criu-4.1/criu/arch/loongarch64/cpu.c:23:22: note: Calling function 'cpu_dump_cpuinfo' returns 0 criu-4.1/criu/arch/loongarch64/cpu.c:23:22: note: Condition 'cpu_dump_cpuinfo()' is always false criu-4.1/criu/arch/arm/vdso-pie.c:46:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/arm/crtools.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFP_MAGIC [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/arm/vdso-pie.c:19:12: style: Local variable 'ldr_pc' shadows outer variable [shadowVariable] criu-4.1/criu/arch/arm/vdso-pie.c:19:12: note: Shadowed declaration criu-4.1/criu/arch/arm/vdso-pie.c:19:12: note: Shadow variable criu-4.1/criu/arch/arm/vdso-pie.c:20:12: style: Local variable 'imm32' shadows outer variable [shadowVariable] criu-4.1/criu/arch/arm/vdso-pie.c:20:12: note: Shadowed declaration criu-4.1/criu/arch/arm/vdso-pie.c:20:12: note: Shadow variable criu-4.1/criu/arch/arm/vdso-pie.c:21:12: style: Local variable 'guards' shadows outer variable [shadowVariable] criu-4.1/criu/arch/arm/vdso-pie.c:21:12: note: Shadowed declaration criu-4.1/criu/arch/arm/vdso-pie.c:21:12: note: Shadow variable criu-4.1/criu/arch/arm/vdso-pie.c:28:34: portability: 'iflush_start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/arch/loongarch64/crtools.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPR_NUM [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/loongarch64/crtools.c:63:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPR_NUM [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/loongarch64/restorer.c:11:60: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/arm/crtools.c:25:88: style: Parameter 'fpregs' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/arm/crtools.c:113:61: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/loongarch64/crtools.c:101:30: style: Variable 'fpregs' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/loongarch64/crtools.c:109:65: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/aarch64/crtools.c:39:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_HWCAP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/aarch64/crtools.c:201:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FPSIMD_MAGIC [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/aarch64/crtools.c:226:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_HWCAP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/aarch64/crtools.c:286:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pac_keys [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/loongarch64/sigframe.c:9:50: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/loongarch64/sigframe.c:9:80: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/loongarch64/vdso-pie.c:40:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/mips/cpu.c:43:14: style: Condition 'cpu_init()' is always false [knownConditionTrueFalse] criu-4.1/criu/arch/mips/cpu.c:43:14: note: Calling function 'cpu_init' returns 0 criu-4.1/criu/arch/mips/cpu.c:43:14: note: Condition 'cpu_init()' is always false criu-4.1/criu/arch/mips/cpu.c:45:22: style: Condition 'cpu_dump_cpuinfo()' is always false [knownConditionTrueFalse] criu-4.1/criu/arch/mips/cpu.c:45:22: note: Calling function 'cpu_dump_cpuinfo' returns 0 criu-4.1/criu/arch/mips/cpu.c:45:22: note: Condition 'cpu_dump_cpuinfo()' is always false criu-4.1/criu/arch/loongarch64/vdso-pie.c:17:12: style: Local variable 'pcaddi' shadows outer variable [shadowVariable] criu-4.1/criu/arch/loongarch64/vdso-pie.c:17:12: note: Shadowed declaration criu-4.1/criu/arch/loongarch64/vdso-pie.c:17:12: note: Shadow variable criu-4.1/criu/arch/loongarch64/vdso-pie.c:18:12: style: Local variable 'ldptr' shadows outer variable [shadowVariable] criu-4.1/criu/arch/loongarch64/vdso-pie.c:18:12: note: Shadowed declaration criu-4.1/criu/arch/loongarch64/vdso-pie.c:18:12: note: Shadow variable criu-4.1/criu/arch/loongarch64/vdso-pie.c:19:12: style: Local variable 'jirl' shadows outer variable [shadowVariable] criu-4.1/criu/arch/loongarch64/vdso-pie.c:19:12: note: Shadowed declaration criu-4.1/criu/arch/loongarch64/vdso-pie.c:19:12: note: Shadow variable criu-4.1/criu/arch/loongarch64/vdso-pie.c:20:12: style: Local variable 'guards' shadows outer variable [shadowVariable] criu-4.1/criu/arch/loongarch64/vdso-pie.c:20:12: note: Shadowed declaration criu-4.1/criu/arch/loongarch64/vdso-pie.c:20:12: note: Shadow variable criu-4.1/criu/arch/loongarch64/vdso-pie.c:21:12: style: Local variable 'imm64' shadows outer variable [shadowVariable] criu-4.1/criu/arch/loongarch64/vdso-pie.c:21:12: note: Shadowed declaration criu-4.1/criu/arch/loongarch64/vdso-pie.c:21:12: note: Shadow variable criu-4.1/criu/arch/mips/sigaction_compat.c:15:36: style: Parameter 'stack32' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/mips/sigaction_compat.c:15:77: style: Parameter 'act' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/mips/restorer.c:43:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MREMAP_FIXED [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/mips/restorer.c:14:51: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/mips/sigframe.c:9:50: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/mips/sigframe.c:9:80: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/mips/vdso-pie.c:44:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/mips/vdso-pie.c:17:12: style: Local variable 'ldr_pc' shadows outer variable [shadowVariable] criu-4.1/criu/arch/mips/vdso-pie.c:17:12: note: Shadowed declaration criu-4.1/criu/arch/mips/vdso-pie.c:17:12: note: Shadow variable criu-4.1/criu/arch/mips/vdso-pie.c:18:12: style: Local variable 'imm32' shadows outer variable [shadowVariable] criu-4.1/criu/arch/mips/vdso-pie.c:18:12: note: Shadowed declaration criu-4.1/criu/arch/mips/vdso-pie.c:18:12: note: Shadow variable criu-4.1/criu/arch/mips/vdso-pie.c:19:12: style: Local variable 'guards' shadows outer variable [shadowVariable] criu-4.1/criu/arch/mips/vdso-pie.c:19:12: note: Shadowed declaration criu-4.1/criu/arch/mips/vdso-pie.c:19:12: note: Shadow variable criu-4.1/criu/arch/mips/vdso-pie.c:26:8: style: Variable 'iflush_end' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/ppc64/cpu.c:34:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUINFO_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/cpu.c:67:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_CPUINFO [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/mips/vdso-pie.c:26:34: portability: 'iflush_start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/arch/mips/vdso-pie.c:26:19: style: Variable 'iflush_end' is assigned a value that is never used. [unreadVariable] criu-4.1/compel/src/lib/infect.c:430:28: error: Null pointer dereference: (struct sockaddr_un*)0 [nullPointer] criu-4.1/compel/src/lib/infect.c:1196:9: style: Local variable 'f' shadows outer variable [shadowVariable] criu-4.1/compel/src/lib/infect.c:1186:8: note: Shadowed declaration criu-4.1/compel/src/lib/infect.c:1196:9: note: Shadow variable criu-4.1/compel/src/lib/infect.c:487:53: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/src/lib/infect.c:504:55: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/src/lib/infect.c:1303:69: style: Parameter 'r' can be declared as pointer to const. However it seems that 'save_regs_plain' is a callback function, if 'r' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/compel/src/lib/infect.c:1357:20: note: You might need to cast the function pointer here criu-4.1/compel/src/lib/infect.c:1303:69: note: Parameter 'r' can be declared as pointer to const criu-4.1/compel/src/lib/infect.c:1303:94: style: Parameter 'f' can be declared as pointer to const. However it seems that 'save_regs_plain' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/compel/src/lib/infect.c:1357:20: note: You might need to cast the function pointer here criu-4.1/compel/src/lib/infect.c:1303:94: note: Parameter 'f' can be declared as pointer to const criu-4.1/compel/src/lib/infect.c:1379:51: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/src/lib/infect.c:1381:8: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] criu-4.1/compel/src/lib/infect.c:1522:51: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/src/lib/infect.c:1797:44: style: Parameter 'ctl' can be declared as pointer to const [constParameterPointer] criu-4.1/compel/src/lib/infect.c:814:45: portability: '(void*)ctl->ictx.syscall_ip' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/infect.c:899:19: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/infect.c:906:17: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/infect.c:906:50: portability: 'vbase' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/infect.c:913:22: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/infect.c:919:20: portability: 'vbase' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/compel/src/lib/infect.c:928:22: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/arch/ppc64/cpu.c:60:21: style: Variable 'cpu_ppc64_entry' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/ppc64/restorer.c:10:52: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/ppc64/sigframe.c:28:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_MSR [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/vdso-pie.c:69:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/vdso-pie.c:134:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/riscv64/cpu.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/riscv64/cpu.c:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/crtools.c:31:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserPpc64FpstateEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/riscv64/cpu.c:34:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/crtools.c:72:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NVRREG [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/riscv64/cpu.c:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/crtools.c:98:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NVRREG [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/crtools.c:128:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NVSXREG [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/crtools.c:194:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_NIP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/crtools.c:311:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_FL_FP [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/crtools.c:362:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_FL_TM [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/crtools.c:465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSR_VEC [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/riscv64/restorer.c:11:54: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/mips/crtools.c:167:23: style: Variable 'r' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/mips/crtools.c:205:62: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/mips/crtools.c:247:67: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/riscv64/sigframe.c:5:50: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/riscv64/sigframe.c:5:80: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/aarch64/crtools.c:88:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] criu-4.1/criu/arch/aarch64/crtools.c:261:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] criu-4.1/criu/arch/aarch64/crtools.c:275:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] criu-4.1/criu/arch/riscv64/vdso-pie.c:58:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_SYMBOL_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/riscv64/vdso-pie.c:148:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/cpu.c:57:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUINFO_S390_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/cpu.c:91:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_CPUINFO [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/restorer.c:13:51: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/s390/sigframe.c:16:50: style: Parameter 'sigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/s390/sigframe.c:16:80: style: Parameter 'rsigframe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/s390/vdso-pie.c:53:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:300:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_VXRS [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:527:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:552:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_VXRS [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:572:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_GS_CB [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:593:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_RI_CB [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:619:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:644:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_GS_CB [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:695:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_FPREGS_VXRS [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:717:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_DEAD [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:743:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_CORE [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/s390/crtools.c:761:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable virt [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/ppc64/crtools.c:26:54: style: Parameter 'fpregs' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/ppc64/crtools.c:62:12: style: Variable 'p64' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/ppc64/crtools.c:63:12: style: Variable 'p32' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/ppc64/crtools.c:92:68: style: Parameter 'vse' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/ppc64/crtools.c:118:56: style: Parameter 'vsregs' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/x86/cpu.c:43:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xsave_struct [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/cpu.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUINFO_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/cpu.c:236:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cap [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/cpu.c:319:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCAPINTS [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/cpu.c:410:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_CPUINFO [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/cpu.c:455:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cap [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/kerndat.c:33:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/kerndat.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_TRACEME [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/kerndat.c:204:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/kerndat.c:268:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_FEATURE_SHSTK [valueFlowBailoutIncompleteVar] criu-4.1/criu/apparmor.c:260:30: style: Condition 'sort_err!=0' is always false [knownConditionTrueFalse] criu-4.1/criu/apparmor.c:257:13: note: Assignment 'sort_err=0', assigned value is 0 criu-4.1/criu/apparmor.c:260:30: note: Condition 'sort_err!=0' is always false criu-4.1/criu/apparmor.c:745:6: style: Local variable 'n_namespaces' shadows outer variable [shadowVariable] criu-4.1/criu/apparmor.c:42:12: note: Shadowed declaration criu-4.1/criu/apparmor.c:745:6: note: Shadow variable criu-4.1/criu/apparmor.c:44:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/apparmor.c:88:58: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/apparmor.c:287:32: style: Parameter 'profile' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/apparmor.c:561:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/cpu.c:63:37: style: Condition 'cpu_has_unsupported_features()' is always false [knownConditionTrueFalse] criu-4.1/criu/arch/x86/cpu.c:63:37: note: Calling function 'cpu_has_unsupported_features' returns 0 criu-4.1/criu/arch/x86/cpu.c:63:37: note: Condition 'cpu_has_unsupported_features()' is always false criu-4.1/criu/arch/x86/cpu.c:233:34: style: Condition 'cpu_has_unsupported_features()' is always false [knownConditionTrueFalse] criu-4.1/criu/arch/x86/cpu.c:233:34: note: Calling function 'cpu_has_unsupported_features' returns 0 criu-4.1/criu/arch/x86/cpu.c:233:34: note: Condition 'cpu_has_unsupported_features()' is always false criu-4.1/criu/arch/s390/crtools.c:383:25: style: Variable 'vxrs_high' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/s390/crtools.c:384:24: style: Variable 'vxrs_low' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/s390/crtools.c:385:23: style: Variable 'fpregs' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/s390/crtools.c:635:21: style: Variable 'cgs_cb' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/s390/crtools.c:636:21: style: Variable 'cgs_bc' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/s390/crtools.c:637:19: style: Variable 'cri_cb' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/s390/crtools.c:675:25: style: Variable 'cvxrs_high' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/s390/crtools.c:676:24: style: Variable 'cvxrs_low' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/s390/crtools.c:677:23: style: Variable 'cfpregs' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/restorer.c:18:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_MAP_VDSO_64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/restorer.c:31:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_SET_FS [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/restorer.c:25:50: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/x86/sigaction_compat.c:44:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rt_sigaction_t_compat [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/sigaction_compat.c:29:77: style: Parameter 'act' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/x86/sigaction_compat_pie.c:44:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rt_sigaction_t_compat [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/sys-exec-tbl.c:20:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/sigaction_compat_pie.c:29:77: style: Parameter 'act' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/x86/sys-exec-tbl.c:16:66: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/x86/shstk.c:22:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_FEATURE_SHSTK [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/shstk.c:39:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/shstk.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_shstk [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/shstk.c:177:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_SHSTK_WRSS [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/vdso-pie.c:61:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/shstk.c:188:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_SHSTK_SHSTK [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/vdso-pie.c:19:6: style: Local variable 'movl' shadows outer variable [shadowVariable] criu-4.1/criu/arch/x86/vdso-pie.c:19:6: note: Shadowed declaration criu-4.1/criu/arch/x86/vdso-pie.c:19:6: note: Shadow variable criu-4.1/criu/arch/x86/vdso-pie.c:20:7: style: Local variable 'imm32' shadows outer variable [shadowVariable] criu-4.1/criu/arch/x86/vdso-pie.c:20:7: note: Shadowed declaration criu-4.1/criu/arch/x86/vdso-pie.c:20:7: note: Shadow variable criu-4.1/criu/arch/x86/vdso-pie.c:21:7: style: Local variable 'jmp_eax' shadows outer variable [shadowVariable] criu-4.1/criu/arch/x86/vdso-pie.c:21:7: note: Shadowed declaration criu-4.1/criu/arch/x86/vdso-pie.c:21:7: note: Shadow variable criu-4.1/criu/arch/x86/vdso-pie.c:22:7: style: Local variable 'guards' shadows outer variable [shadowVariable] criu-4.1/criu/arch/x86/vdso-pie.c:22:7: note: Shadowed declaration criu-4.1/criu/arch/x86/vdso-pie.c:22:7: note: Shadow variable criu-4.1/criu/arch/x86/vdso-pie.c:36:7: style: Local variable 'movabs' shadows outer variable [shadowVariable] criu-4.1/criu/arch/x86/vdso-pie.c:36:7: note: Shadowed declaration criu-4.1/criu/arch/x86/vdso-pie.c:36:7: note: Shadow variable criu-4.1/criu/arch/x86/vdso-pie.c:37:7: style: Local variable 'imm64' shadows outer variable [shadowVariable] criu-4.1/criu/arch/x86/vdso-pie.c:37:7: note: Shadowed declaration criu-4.1/criu/arch/x86/vdso-pie.c:37:7: note: Shadow variable criu-4.1/criu/arch/x86/vdso-pie.c:38:7: style: Local variable 'jmp_rax' shadows outer variable [shadowVariable] criu-4.1/criu/arch/x86/vdso-pie.c:38:7: note: Shadowed declaration criu-4.1/criu/arch/x86/vdso-pie.c:38:7: note: Shadow variable criu-4.1/criu/arch/x86/vdso-pie.c:39:7: style: Local variable 'guards' shadows outer variable [shadowVariable] criu-4.1/criu/arch/x86/vdso-pie.c:39:7: note: Shadowed declaration criu-4.1/criu/arch/x86/vdso-pie.c:39:7: note: Shadow variable criu-4.1/criu/bitmap.c:13:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BITS_PER_LONG [valueFlowBailoutIncompleteVar] criu-4.1/criu/bitmap.c:33:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BITS_PER_LONG [valueFlowBailoutIncompleteVar] criu-4.1/criu/bfd.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bufs [valueFlowBailoutIncompleteVar] criu-4.1/criu/bfd.c:84:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bufs [valueFlowBailoutIncompleteVar] criu-4.1/criu/bfd.c:147:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/bfd.c:198:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/bfd.c:255:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/bfd.c:293:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/shstk.c:72:24: style: Condition 'shstk_prepare_task(vmas,shstk)' is always false [knownConditionTrueFalse] criu-4.1/criu/arch/x86/shstk.c:72:24: note: Calling function 'shstk_prepare_task' returns 0 criu-4.1/criu/arch/x86/shstk.c:72:24: note: Condition 'shstk_prepare_task(vmas,shstk)' is always false criu-4.1/criu/arch/x86/shstk.c:86:25: style: Condition 'shstk_prepare_task(vmas,shstk)' is always false [knownConditionTrueFalse] criu-4.1/criu/arch/x86/shstk.c:86:25: note: Calling function 'shstk_prepare_task' returns 0 criu-4.1/criu/arch/x86/shstk.c:86:25: note: Condition 'shstk_prepare_task(vmas,shstk)' is always false criu-4.1/criu/arch/x86/shstk.c:15:22: style: Variable 'fpregs' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/bpfmap.c:26:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] criu-4.1/criu/bpfmap.c:38:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/criu/bpfmap.c:53:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BpfmapDataEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/bpfmap.c:75:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPFMAP_DATA_HASH_MASK [valueFlowBailoutIncompleteVar] criu-4.1/criu/bpfmap.c:155:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPFMAP_DATA_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/bpfmap.c:221:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPFMAP_FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/bpfmap.c:285:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpfmap_file_info [valueFlowBailoutIncompleteVar] criu-4.1/criu/bpfmap.c:355:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BpfmapFileEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:42:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:122:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_TYPES__UND [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:140:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:189:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:221:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:334:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:483:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:542:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_AUTOFS [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:607:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:638:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTOFS_DEVICE_NAME [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:655:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:661:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:673:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:686:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:700:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:726:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siblings [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:764:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:793:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pipe_info [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:870:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_TYPES__PIPE [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:882:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLE_OPEN [valueFlowBailoutIncompleteVar] criu-4.1/criu/cgroup-props.c:572:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry_safe is a macro then please configure it. [unknownMacro] criu-4.1/criu/autofs.c:898:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:992:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_AUTOFS [valueFlowBailoutIncompleteVar] criu-4.1/criu/cgroup.c:140:4: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] criu-4.1/criu/bpfmap.c:93:9: warning: If memory allocation fails, then there is a possible null pointer dereference: keys [nullPointerOutOfMemory] criu-4.1/criu/bpfmap.c:88:13: note: Assuming allocation function fails criu-4.1/criu/bpfmap.c:88:13: note: Assignment 'keys=mmap(NULL,bde->keys_bytes,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/criu/bpfmap.c:93:9: note: Null pointer dereference criu-4.1/criu/bpfmap.c:100:9: warning: If memory allocation fails, then there is a possible null pointer dereference: values [nullPointerOutOfMemory] criu-4.1/criu/bpfmap.c:95:15: note: Assuming allocation function fails criu-4.1/criu/bpfmap.c:95:15: note: Assignment 'values=mmap(NULL,bde->values_bytes,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/criu/bpfmap.c:100:9: note: Null pointer dereference criu-4.1/criu/bpfmap.c:68:26: style: Variable 'map_data' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/bpfmap.c:69:19: style: Variable 'bde' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/bpfmap.c:128:43: style: Parameter 'bpf' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/clone-noasan.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_VM [valueFlowBailoutIncompleteVar] criu-4.1/criu/clone-noasan.c:53:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_VM [valueFlowBailoutIncompleteVar] criu-4.1/criu/bfd.c:63:17: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/bfd.c:321:15: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/cr-dedup.c:20:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_PARENT_LINK [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dedup.c:76:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_MOD [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dedup.c:18:17: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/cr-check.c:929:16: error: syntax error [syntaxError] criu-4.1/criu/config.c:48:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cleanup_free [valueFlowBailoutIncompleteVar] criu-4.1/criu/config.c:321:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/config.c:414:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_DEAD [valueFlowBailoutIncompleteVar] criu-4.1/criu/config.c:460:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPU_CAP_ALL [valueFlowBailoutIncompleteVar] criu-4.1/criu/config.c:512:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CG_MODE_SOFT [valueFlowBailoutIncompleteVar] criu-4.1/criu/config.c:554:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cleanup_free [valueFlowBailoutIncompleteVar] criu-4.1/criu/config.c:582:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_VALIDATION_FILE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/config.c:622:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] criu-4.1/criu/config.c:1117:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_RESTORE [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/crtools.c:71:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_X86_REGS_MODE__NATIVE [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/crtools.c:151:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDT_ENTRY_TLS_NUM [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/crtools.c:161:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFEATURE_YMM [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/crtools.c:229:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_FEATURE_FPU [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/crtools.c:323:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_FEATURE_OSXSAVE [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/crtools.c:491:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X86_FEATURE_OSXSAVE [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/crtools.c:618:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR32_get_robust_list [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/crtools.c:630:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR32_set_robust_list [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/x86/crtools.c:649:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:112:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:146:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:200:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_rseq [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:239:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_drain_fd [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:265:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_PARMS_INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:321:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:360:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIM_INFINITY [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:370:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_prlimit64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:386:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable luid [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:419:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_PARMS_INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:457:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:466:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_VECTOR_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:495:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:578:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_get_robust_list [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:649:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vm_tree [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:689:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_DEAD [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:710:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_FD_IDS [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:771:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_ARG_SIZE_MIN [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:849:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:899:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:976:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable profile [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1008:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_COMM_LEN [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1036:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_PEEKSIGINFO_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1113:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1151:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable criu_rseq [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1181:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1249:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_rseq [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1279:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1319:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sibling [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1359:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1424:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_ARG_SIZE_MIN [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1476:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_STOPPED [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1557:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_DEAD [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1819:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVENTORY_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:1924:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_item [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:2011:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_DEAD [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:2051:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACT_POST_DUMP [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-dump.c:2121:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVENTORY_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:145:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr_tasks [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:180:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr_in_progress [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:202:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:211:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:216:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_STATE_COMPLETE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:229:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:250:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inet_sk_cinfo [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:333:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_HELPER [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:389:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:406:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:417:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sibling [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:445:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_item [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:459:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:465:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:479:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:514:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_CORE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:530:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ns [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:585:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:611:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable luid [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:636:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thread_restore_args [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:731:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:749:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGMAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:759:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sibling [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:796:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_NAME [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:834:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_FILES [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:853:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CORE_ENTRY__MARCH [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:903:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sibling [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:925:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_STATE_RESTORE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:978:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfds_protected [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:995:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_DEAD [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1025:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable restore_sibling [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1058:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1074:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_PID_PATH [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1090:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_HELPER [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1268:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_CONT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1290:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1314:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_NOCLDSTOP [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1373:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_item [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1438:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_MGC_VAL [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1453:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1482:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sibling [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1517:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_item [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1725:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1787:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1831:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1882:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable final_state [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1905:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1926:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1938:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable luid [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1960:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable luid [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1972:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pidfile [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:1990:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2003:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACT_PRE_RESTORE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2326:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_SHREMAP [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2367:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_PLUGIN_STAGE__RESTORE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2432:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable task_size [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2480:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_VECTOR_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2531:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2547:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MREMAP_FIXED [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2570:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_RESET_ON_FORK [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2586:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2613:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_rseq [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2623:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_rseq [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2681:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_RLIMIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2714:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2744:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siginfo_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2758:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RSTR [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2808:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2846:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2897:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_cap [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:2918:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:3049:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:3085:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:3110:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __export_unmap [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:3146:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable task_restore_args [valueFlowBailoutIncompleteVar] criu-4.1/criu/autofs.c:58:2: error: Memory leak: pipe [memleak] criu-4.1/criu/autofs.c:436:3: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] criu-4.1/criu/autofs.c:114:46: style: Parameter 'stat' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/autofs.c:636:63: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/autofs.c:857:90: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/autofs.c:43:10: error: Uninitialized variable: p->inode [uninitvar] criu-4.1/criu/cr-dump.c:744:6: style: The if condition is the same as the previous if condition [duplicateCondition] criu-4.1/criu/cr-dump.c:731:6: note: First condition criu-4.1/criu/cr-dump.c:744:6: note: Second condition criu-4.1/criu/cr-dump.c:1828:6: style: Condition 'ret' is always false [knownConditionTrueFalse] criu-4.1/criu/cr-dump.c:1827:28: note: Calling function 'arch_set_thread_regs' returns 0 criu-4.1/criu/cr-dump.c:1827:28: note: Assignment 'ret=arch_set_thread_regs(root_item,false)', assigned value is 0 criu-4.1/criu/cr-dump.c:1828:6: note: Condition 'ret' is always false criu-4.1/criu/cr-dump.c:2089:44: style: Condition 'arch_set_thread_regs(root_item,true)<0' is always false [knownConditionTrueFalse] criu-4.1/criu/cr-dump.c:2089:26: note: Calling function 'arch_set_thread_regs' returns 0 criu-4.1/criu/cr-dump.c:2089:44: note: Condition 'arch_set_thread_regs(root_item,true)<0' is always false criu-4.1/criu/cr-dump.c:919:15: style: Local variable 'tid' shadows outer variable [shadowVariable] criu-4.1/criu/cr-dump.c:899:8: note: Shadowed declaration criu-4.1/criu/cr-dump.c:919:15: note: Shadow variable criu-4.1/criu/cr-dump.c:100:68: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-dump.c:318:63: style: Parameter 'misc' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-dump.c:890:47: style: Parameter 'rseq_cs' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-service.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_PKOBJ_LOCAL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:98:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_PKOBJ_LOCAL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:146:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:159:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:175:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:202:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:246:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_NOTIFY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:292:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucred [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:812:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:853:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable restore_detach [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:894:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:939:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:989:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ_TYPE__PRE_DUMP [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1004:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1098:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ_TYPE__PAGE_SERVER [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1120:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1158:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1228:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1251:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RESP__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1322:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1389:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1418:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1434:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:1465:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] criu-4.1/criu/arch/riscv64/crtools.c:135:65: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/crtools.c:443:19: error: There is an unknown macro here somewhere. Configuration is required. If SK_EST_PARAM is a macro then please configure it. [unknownMacro] criu-4.1/criu/eventpoll.c:178:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry_safe is a macro then please configure it. [unknownMacro] criu-4.1/criu/eventfd.c:41:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/eventfd.c:46:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVENTFD_FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/eventfd.c:104:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EventfdFileEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/external.c:29:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable external [valueFlowBailoutIncompleteVar] criu-4.1/criu/external.c:61:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] criu-4.1/criu/external.c:77:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] criu-4.1/criu/fault-injection.c:19:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FI_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/external.c:39:31: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/external.c:49:34: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/external.c:64:36: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/external.c:80:34: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/fault-injection.c:10:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/fdstore.c:43:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/criu/fdstore.c:94:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FDSTORE_SK_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/fdstore.c:117:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FDSTORE_SK_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/fifo.c:47:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/fifo.c:96:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/criu/fifo.c:145:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FifoEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-service.c:59:24: error: Null pointer dereference [nullPointer] criu-4.1/criu/cr-service.c:1084:38: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-service.c:1118:44: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-service.c:1156:50: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/file-ids.c:82:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subid [valueFlowBailoutIncompleteVar] criu-4.1/criu/file-ids.c:107:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_tree [valueFlowBailoutIncompleteVar] criu-4.1/criu/file-ids.c:63:15: style: Variable 'st' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/file-ids.c:76:17: style: Variable 'fi' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/files-ext.c:16:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/files-ext.c:51:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESTORE_EXT_FILE [valueFlowBailoutIncompleteVar] criu-4.1/criu/files-ext.c:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExtFileEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/files-ext.c:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/file-lock.c:111:28: error: There is an unknown macro here somewhere. Configuration is required. If OPT_FILE_LOCKS is a macro then please configure it. [unknownMacro] criu-4.1/criu/files-reg.c:1123:17: error: There is an unknown macro here somewhere. Configuration is required. If LREMAP_PARAM is a macro then please configure it. [unknownMacro] criu-4.1/criu/files.c:257:3: error: syntax error [syntaxError] criu-4.1/criu/filesystems.c:387:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNT_UNREACHABLE [valueFlowBailoutIncompleteVar] criu-4.1/criu/filesystems.c:479:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERNDAT_FS_STAT_DEVTMPFS [valueFlowBailoutIncompleteVar] criu-4.1/criu/filesystems.c:509:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERNDAT_FS_STAT_DEVPTS [valueFlowBailoutIncompleteVar] criu-4.1/criu/filesystems.c:549:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mntinfo [valueFlowBailoutIncompleteVar] criu-4.1/criu/filesystems.c:570:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_REC [valueFlowBailoutIncompleteVar] criu-4.1/criu/filesystems.c:592:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/filesystems.c:874:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSTYPE__UNSUPPORTED [valueFlowBailoutIncompleteVar] criu-4.1/criu/hugetlb.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGETLB_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/hugetlb.c:44:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_memfd_hugetlb [valueFlowBailoutIncompleteVar] criu-4.1/criu/hugetlb.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGETLB_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/hugetlb.c:38:108: style: Parameter 'vma' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/x86/crtools.c:309:57: error: Null pointer dereference: x [nullPointer] criu-4.1/criu/arch/x86/crtools.c:307:27: note: Assignment 'x=NULL', assigned value is 0 criu-4.1/criu/arch/x86/crtools.c:309:57: note: Null pointer dereference criu-4.1/criu/arch/x86/crtools.c:312:72: error: Null pointer dereference: x [nullPointer] criu-4.1/criu/arch/x86/crtools.c:307:27: note: Assignment 'x=NULL', assigned value is 0 criu-4.1/criu/arch/x86/crtools.c:312:72: note: Null pointer dereference criu-4.1/criu/arch/x86/crtools.c:316:58: error: Null pointer dereference: x [nullPointer] criu-4.1/criu/arch/x86/crtools.c:307:27: note: Assignment 'x=NULL', assigned value is 0 criu-4.1/criu/arch/x86/crtools.c:309:44: note: Assuming condition is false criu-4.1/criu/arch/x86/crtools.c:316:58: note: Null pointer dereference criu-4.1/criu/arch/x86/crtools.c:319:72: error: Null pointer dereference: x [nullPointer] criu-4.1/criu/arch/x86/crtools.c:307:27: note: Assignment 'x=NULL', assigned value is 0 criu-4.1/criu/arch/x86/crtools.c:309:44: note: Assuming condition is false criu-4.1/criu/arch/x86/crtools.c:319:72: note: Null pointer dereference criu-4.1/criu/arch/x86/crtools.c:138:26: style: Local variable 'regs' shadows outer argument [shadowArgument] criu-4.1/criu/arch/x86/crtools.c:18:60: note: Shadowed declaration criu-4.1/criu/arch/x86/crtools.c:138:26: note: Shadow variable criu-4.1/criu/arch/x86/crtools.c:123:3: style: Variable 'from' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:124:3: style: Variable 'from' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:125:3: style: Variable 'from' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:126:3: style: Variable 'from' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:127:3: style: Variable 'from' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:128:3: style: Variable 'from' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:129:3: style: Variable 'from' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:138:26: style: Variable 'regs' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:306:21: style: Variable 'xsave' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:545:76: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/x86/crtools.c:570:76: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/arch/x86/crtools.c:657:13: style: Variable 'arg1' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/arch/x86/crtools.c:531:22: portability: '(void*)x' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/fsnotify.c:102:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_open_by_handle_at [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:125:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mntinfo [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mntinfo [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FI_CHECK_OPEN_HANDLE [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:301:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:317:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:357:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INOTIFY_FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:383:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MARK_TYPE__INODE [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:418:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:456:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FANOTIFY_FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:491:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_PATH [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:541:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSFDS [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:589:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAN_MARK_ADD [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:668:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:694:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:756:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:769:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MARK_TYPE__INODE [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:781:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InotifyFileEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:815:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FanotifyFileEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:852:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InotifyWdEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:890:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FanotifyMarkEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/img-streamer.c:58:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACT_PRE_STREAM [valueFlowBailoutIncompleteVar] criu-4.1/criu/img-streamer.c:102:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_STREAMER_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/img-streamer.c:144:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_STREAMER_REQUEST_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/img-streamer.c:152:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_STREAMER_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/img-streamer.c:177:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DUMP [valueFlowBailoutIncompleteVar] criu-4.1/criu/img-streamer.c:201:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RSTR [valueFlowBailoutIncompleteVar] criu-4.1/criu/filesystems.c:839:4: error: Memory leak: fsauto_names [memleak] criu-4.1/criu/filesystems.c:575:45: style: Parameter 'pm' can be declared as pointer to const. However it seems that 'tracefs_parse' is a callback function, if 'pm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/filesystems.c:747:12: note: You might need to cast the function pointer here criu-4.1/criu/filesystems.c:575:45: note: Parameter 'pm' can be declared as pointer to const criu-4.1/criu/filesystems.c:580:48: style: Parameter 'a' can be declared as pointer to const. However it seems that 'cgroup_sb_equal' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/filesystems.c:759:15: note: You might need to cast the function pointer here criu-4.1/criu/filesystems.c:580:48: note: Parameter 'a' can be declared as pointer to const criu-4.1/criu/filesystems.c:580:70: style: Parameter 'b' can be declared as pointer to const. However it seems that 'cgroup_sb_equal' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/filesystems.c:759:15: note: You might need to cast the function pointer here criu-4.1/criu/filesystems.c:580:70: note: Parameter 'b' can be declared as pointer to const criu-4.1/criu/filesystems.c:846:42: style: Parameter 'fst' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/config.c:542:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] criu-4.1/criu/config.c:544:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] criu-4.1/criu/config.c:546:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] criu-4.1/criu/image.c:48:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_INVENTORY [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:166:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:192:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:227:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:238:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLUGINS_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable track_mem [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:310:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:355:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:467:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:485:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:490:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:499:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:537:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SERVICE [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:547:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_FD_INVENTORY [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:567:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_FD_INVENTORY [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:592:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:601:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NOBUF [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:671:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:689:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:719:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:761:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:772:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_PARENT_LINK [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:804:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/image.c:822:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/config.c:46:34: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/config.c:116:9: style: Variable 'quote_start' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/config.c:322:8: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/config.c:540:32: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/irmap.c:101:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOT_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/irmap.c:135:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOT_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/irmap.c:215:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOT_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/irmap.c:257:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/irmap.c:330:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FH_ENTRY_SIZES__min_entries [valueFlowBailoutIncompleteVar] criu-4.1/criu/irmap.c:356:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/irmap.c:380:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRMAP_CACHE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/irmap.c:432:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] criu-4.1/criu/irmap.c:474:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_IRMAP_CACHE [valueFlowBailoutIncompleteVar] criu-4.1/criu/irmap.c:510:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable irmap_scan_paths [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:79:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u16 [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_SEM_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:132:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_INFO [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:163:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:178:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTL_U32 [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:231:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_MSG_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:256:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_INFO [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:288:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:299:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTL_U32 [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:351:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:379:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:401:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_SHM_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:429:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_INFO [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:462:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_VAR_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:507:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_FD_IPC_VAR [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:547:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u16 [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:588:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:635:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_IPC_SEM [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:674:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_IPCNS_MSG [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:721:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:768:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_IPCNS_MSG_ENT [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:805:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:830:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:865:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:912:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_IPC_SHM [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:950:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_IPC_VAR [valueFlowBailoutIncompleteVar] criu-4.1/criu/kcmp-ids.c:80:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RB_ROOT [valueFlowBailoutIncompleteVar] criu-4.1/criu/kcmp-ids.c:98:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_kcmp [valueFlowBailoutIncompleteVar] criu-4.1/criu/kcmp-ids.c:162:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_kcmp [valueFlowBailoutIncompleteVar] criu-4.1/criu/fsnotify.c:796:29: style: Condition '__collect_inotify_mark(info,mark)' is always false [knownConditionTrueFalse] criu-4.1/criu/fsnotify.c:796:29: note: Calling function '__collect_inotify_mark' returns 0 criu-4.1/criu/fsnotify.c:796:29: note: Condition '__collect_inotify_mark(info,mark)' is always false criu-4.1/criu/fsnotify.c:830:30: style: Condition '__collect_fanotify_mark(info,mark)' is always false [knownConditionTrueFalse] criu-4.1/criu/fsnotify.c:830:30: note: Calling function '__collect_fanotify_mark' returns 0 criu-4.1/criu/fsnotify.c:830:30: note: Condition '__collect_fanotify_mark(info,mark)' is always false criu-4.1/criu/fsnotify.c:494:9: style: Local variable 'path' shadows outer variable [shadowVariable] criu-4.1/criu/fsnotify.c:483:8: note: Shadowed declaration criu-4.1/criu/fsnotify.c:494:9: note: Shadow variable criu-4.1/criu/fsnotify.c:228:15: style: Variable 'irmap_path' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/fsnotify.c:229:21: style: Variable 'mi' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/fsnotify.c:397:22: style: Variable 'm' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/image.c:262:2: error: Address of local auto-variable assigned to a function parameter. [autoVariables] criu-4.1/criu/cr-restore.c:349:10: style: Condition 'ret<0' is always false [knownConditionTrueFalse] criu-4.1/criu/cr-restore.c:345:11: note: Assuming that condition 'ret<0' is not redundant criu-4.1/criu/cr-restore.c:349:10: note: Condition 'ret<0' is always false criu-4.1/criu/cr-restore.c:1754:27: style: Condition 'arch_ptrace_restore(pid,item)' is always false [knownConditionTrueFalse] criu-4.1/criu/cr-restore.c:1754:27: note: Calling function 'arch_ptrace_restore' returns 0 criu-4.1/criu/cr-restore.c:1754:27: note: Condition 'arch_ptrace_restore(pid,item)' is always false criu-4.1/criu/cr-restore.c:1911:36: style: Condition 'arch_set_thread_regs_nosigrt(&item->threads[i])' is always false [knownConditionTrueFalse] criu-4.1/criu/cr-restore.c:1911:36: note: Calling function 'arch_set_thread_regs_nosigrt' returns 0 criu-4.1/criu/cr-restore.c:1911:36: note: Condition 'arch_set_thread_regs_nosigrt(&item->threads[i])' is always false criu-4.1/criu/image.c:219:2: error: Memory leak: p [memleak] criu-4.1/criu/kcmp-ids.c:64:82: style: Parameter 'elem' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:3230:6: error: Return value of allocation function 'mmap' is not stored. [leakReturnValNotUsed] criu-4.1/criu/cr-restore.c:2537:9: warning: If memory allocation fails, then there is a possible null pointer dereference: restorer [nullPointerOutOfMemory] criu-4.1/criu/cr-restore.c:2531:17: note: Assuming allocation function fails criu-4.1/criu/cr-restore.c:2531:17: note: Assignment 'restorer=mmap(NULL,restorer_len,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/criu/cr-restore.c:2537:9: note: Null pointer dereference criu-4.1/criu/image.c:597:79: style:inconclusive: Function 'do_open_image' argument 4 names different: declaration 'flags' definition 'oflags'. [funcArgNamesDifferent] criu-4.1/criu/image.c:493:79: note: Function 'do_open_image' argument 4 names different: declaration 'flags' definition 'oflags'. criu-4.1/criu/image.c:597:79: note: Function 'do_open_image' argument 4 names different: declaration 'flags' definition 'oflags'. criu-4.1/criu/image.c:537:28: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] criu-4.1/criu/image.c:118:18: style: Variable 'pe' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/image.c:914:35: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/image.c:167:26: error: Uninitialized variable: p->name [uninitvar] criu-4.1/criu/image.c:228:13: error: Uninitialized variable: p->name [uninitvar] criu-4.1/criu/image.c:258:23: error: Uninitialized variable: p->name [uninitvar] criu-4.1/criu/cr-restore.c:825:2: style:inconclusive: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] criu-4.1/criu/cr-restore.c:2804:78: style:inconclusive: Function 'prepare_signals' argument 3 names different: declaration 'core' definition 'leader_core'. [funcArgNamesDifferent] criu-4.1/criu/cr-restore.c:125:76: note: Function 'prepare_signals' argument 3 names different: declaration 'core' definition 'leader_core'. criu-4.1/criu/cr-restore.c:2804:78: note: Function 'prepare_signals' argument 3 names different: declaration 'core' definition 'leader_core'. criu-4.1/criu/cr-restore.c:3116:67: style:inconclusive: Function 'sigreturn_restore' argument 2 names different: declaration 'ta' definition 'task_args'. [funcArgNamesDifferent] criu-4.1/criu/cr-restore.c:122:67: note: Function 'sigreturn_restore' argument 2 names different: declaration 'ta' definition 'task_args'. criu-4.1/criu/cr-restore.c:3116:67: note: Function 'sigreturn_restore' argument 2 names different: declaration 'ta' definition 'task_args'. criu-4.1/criu/libnetlink.c:19:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_NLMSG_SEQ [valueFlowBailoutIncompleteVar] criu-4.1/criu/libnetlink.c:53:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/libnetlink.c:77:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] criu-4.1/criu/libnetlink.c:213:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLE_MSG_TOOSHORT [valueFlowBailoutIncompleteVar] criu-4.1/criu/cr-restore.c:131:68: style: Parameter 'pid' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:472:14: style: Variable 'fdt' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/cr-restore.c:550:20: style: Variable 'thread_core' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/cr-restore.c:558:20: style: Variable 'tc' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/cr-restore.c:560:14: style: Variable 'rseqe' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/cr-restore.c:1017:79: style: Parameter 'ca' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:1052:50: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:1064:9: style: Variable 'pid' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/cr-restore.c:1712:54: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:2041:17: style: Variable 'ns' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/cr-restore.c:2565:56: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:2583:73: style: Parameter 'tc' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:2741:13: style: Variable 'info' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/cr-restore.c:2859:33: style: Parameter 'groups' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:2893:43: style: Parameter 'in_caps' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:3067:49: style: Parameter 'core' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:3114:41: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/cr-restore.c:3227:6: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/cr-restore.c:3237:6: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/cr-restore.c:3254:6: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/cr-restore.c:3444:6: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/cr-restore.c:749:41: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] criu-4.1/criu/irmap.c:397:45: style: Parameter 'ie' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/irmap.c:489:31: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/log.c:64:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USEC_PER_SEC [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:81:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:88:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_LOGLEVEL [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:98:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_LOGLEVEL [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:220:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:256:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:279:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:289:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:331:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_LOGLEVEL [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:353:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:404:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_EXCL [valueFlowBailoutIncompleteVar] criu-4.1/criu/libnetlink.c:51:51: style: Parameter 'ns' can be declared as pointer to const. However it seems that 'rtnl_return_err' is a callback function, if 'ns' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/libnetlink.c:68:20: note: You might need to cast the function pointer here criu-4.1/criu/libnetlink.c:51:51: note: Parameter 'ns' can be declared as pointer to const criu-4.1/criu/libnetlink.c:51:61: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'rtnl_return_err' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/libnetlink.c:68:20: note: You might need to cast the function pointer here criu-4.1/criu/libnetlink.c:51:61: note: Parameter 'arg' can be declared as pointer to const criu-4.1/criu/lsm.c:224:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AA_SECURITYFS_PATH [valueFlowBailoutIncompleteVar] criu-4.1/criu/lsm.c:259:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lsm [valueFlowBailoutIncompleteVar] criu-4.1/criu/lsm.c:266:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lsm [valueFlowBailoutIncompleteVar] criu-4.1/criu/lsm.c:313:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/lsm.c:338:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lsm [valueFlowBailoutIncompleteVar] criu-4.1/criu/lsm.c:349:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSMTYPE__NO_LSM [valueFlowBailoutIncompleteVar] criu-4.1/criu/lsm.c:369:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lsm [valueFlowBailoutIncompleteVar] criu-4.1/criu/lsm.c:390:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lsm_supplied [valueFlowBailoutIncompleteVar] criu-4.1/criu/ipc_ns.c:95:25: portability: '(void*)values' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/ipc_ns.c:216:35: portability: '(void*)message->mtext' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/ipc_ns.c:810:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/kerndat.c:67:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pm_scan_arg [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:146:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:186:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:215:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:240:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:267:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:306:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGETLB_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:347:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERNDAT_FS_STAT_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:425:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:477:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FULL [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:506:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTL_U32 [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:525:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:546:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MFD_HUGETLB [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:570:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:605:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:622:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUID_NONE [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:651:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:677:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:802:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:877:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INOTIFY_IOC_SETNEXTWD [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:895:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:918:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:951:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:987:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1006:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GET_RSEQ_CONFIGURATION [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1052:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1117:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1140:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1192:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unprivileged [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1219:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cleanup_free [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1258:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cleanup_free [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1319:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unprivileged [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1368:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_THP_DISABLE [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1462:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_clone3 [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1527:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_pidfd_getfd [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1563:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1651:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_IPV6 [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1688:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_membarrier [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1710:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1765:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unprivileged [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:1817:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unprivileged [valueFlowBailoutIncompleteVar] criu-4.1/criu/lsm.c:347:24: style: Parameter 'lsm_profile' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/mount-v2.c:204:5: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] criu-4.1/criu/memfd.c:62:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shmem_dev [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:67:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEMFD_INODE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:137:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:157:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEMFD_FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:230:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MemfdInodeEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:271:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MFD_ALLOW_SEALING [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:345:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:436:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MemfdFileEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:455:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_TYPES__MEMFD [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:482:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_ADD_SEALS [valueFlowBailoutIncompleteVar] criu-4.1/criu/log.c:57:38: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/log.c:188:56: portability: '(void*)early_log_buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/log.c:327:33: portability: '(void*)early_log_buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/namespaces.c:1759:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] criu-4.1/criu/netfilter.c:94:29: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/criu/mount.c:472:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] criu-4.1/criu/mem.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable track_mem [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:83:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_dump_pages_args [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:89:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PME_PFRAME_MASK [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:99:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable track_mem [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:108:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_VDSO [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:129:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:174:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_MASK [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:202:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:267:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:304:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIME_MEMWRITE [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:359:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_CLK_TCK [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:389:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable task_size [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:486:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PMC_INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:656:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pre_dump_mode [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:699:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_MM [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:781:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable task_size [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:801:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_COW_ROOT [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:815:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_COW_ROOT [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:874:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:976:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_SHSTK [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:1024:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:1114:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lazy_pages [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:1283:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lazy_pages [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:1317:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:1376:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stack_guard_gap_hidden [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:1388:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stack_guard_gap_hidden [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:1416:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:1464:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auto_dedup [valueFlowBailoutIncompleteVar] criu-4.1/criu/mem.c:1477:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-pipe.c:230:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry_safe is a macro then please configure it. [unknownMacro] criu-4.1/criu/net.c:3272:35: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/criu/pagemap-cache.c:55:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap-cache.c:113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable task_size [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap-cache.c:173:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/memfd.c:159:27: style: Variable 'inode' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/memfd.c:475:15: error: Uninitialized variable: inode->pending_seals [uninitvar] criu-4.1/criu/path.c:45:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:50:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:83:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:108:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_CAP_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:143:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_rseq [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:155:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_dump_thread [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:189:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_dump_thread [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:237:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_dump_misc [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:250:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_tty_args [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:271:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_CMD_DRAIN_FDS [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:291:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARASITE_CMD_GET_PROC_FD [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:316:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_dump_cgroup_args [valueFlowBailoutIncompleteVar] criu-4.1/criu/parasite-syscall.c:388:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:46:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:61:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLOC_FL_PUNCH_HOLE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:173:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:212:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:252:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:306:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:356:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IOV_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:380:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:407:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:490:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:536:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:639:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:682:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PE_PARENT [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:700:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:760:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_REMOTE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:851:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd-store.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd-store.c:132:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd-store.c:165:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd-store.c:204:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd-store.c:228:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd-store.c:268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:43:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_FD_PAGEMAP [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:102:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_FD_PAGEMAP [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:139:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tls [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:144:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tls [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tls [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:207:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:261:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPLICE_F_MOVE [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:303:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:323:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGEMAP_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:369:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DUMP [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:434:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_page_server [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:444:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:456:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PP_HOLE_PARENT [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:486:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPB_LAZY [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:642:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:685:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_len [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:734:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:787:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIPE_MAX_BUFFER_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:885:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:922:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:994:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_page_server [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1073:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1144:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPB_LAZY [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1182:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lazy_pages [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1318:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1352:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_TASK [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1378:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dmp_info [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1413:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DUMP_STATS [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1465:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_page_server [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1503:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_page_server [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1555:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1578:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable async_reads [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1611:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1635:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable async_reads [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1679:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1693:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_WAITALL [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:1699:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_ASYNC [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd-store.c:217:56: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pidfd-store.c:133:17: warning: Uninitialized variable: entry->pidfd [uninitvar] criu-4.1/criu/pidfd-store.c:205:14: error: Uninitialized variable: entry->pid [uninitvar] criu-4.1/criu/pidfd.c:54:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd.c:81:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDFD_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd.c:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd.c:151:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] criu-4.1/criu/pidfd.c:268:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PidfdEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:531:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] criu-4.1/criu/kerndat.c:554:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] criu-4.1/criu/kerndat.c:1466:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] criu-4.1/criu/kerndat.c:972:10: style: Condition 'ret<0' is always false [knownConditionTrueFalse] criu-4.1/criu/kerndat.c:970:45: note: Calling function 'kdat_x86_has_ptrace_fpu_xsave_bug' returns 0 criu-4.1/criu/kerndat.c:970:45: note: Assignment 'ret=kdat_x86_has_ptrace_fpu_xsave_bug()', assigned value is 0 criu-4.1/criu/kerndat.c:972:10: note: Condition 'ret<0' is always false criu-4.1/criu/kerndat.c:1163:10: style: Condition 'ret<0' is always false [knownConditionTrueFalse] criu-4.1/criu/kerndat.c:1161:26: note: Calling function 'kdat_has_shstk' returns 0 criu-4.1/criu/kerndat.c:1161:26: note: Assignment 'ret=kdat_has_shstk()', assigned value is 0 criu-4.1/criu/kerndat.c:1163:10: note: Condition 'ret<0' is always false criu-4.1/criu/kerndat.c:1768:6: style: Condition '!ret' is always true [knownConditionTrueFalse] criu-4.1/criu/kerndat.c:1763:12: note: Assignment 'ret=0', assigned value is 0 criu-4.1/criu/kerndat.c:1765:10: note: Assuming condition is false criu-4.1/criu/kerndat.c:1768:6: note: Condition '!ret' is always true criu-4.1/criu/kerndat.c:1768:30: style: Condition 'kerndat_loginuid()' is always false [knownConditionTrueFalse] criu-4.1/criu/kerndat.c:1768:30: note: Calling function 'kerndat_loginuid' returns 0 criu-4.1/criu/kerndat.c:1768:30: note: Condition 'kerndat_loginuid()' is always false criu-4.1/criu/kerndat.c:1772:6: style: Condition '!ret' is always true [knownConditionTrueFalse] criu-4.1/criu/kerndat.c:1763:12: note: Assignment 'ret=0', assigned value is 0 criu-4.1/criu/kerndat.c:1765:10: note: Assuming condition is false criu-4.1/criu/kerndat.c:1772:6: note: Condition '!ret' is always true criu-4.1/criu/kerndat.c:1788:41: style: Condition 'kerndat_has_nftables_concat()' is always false [knownConditionTrueFalse] criu-4.1/criu/kerndat.c:1788:41: note: Calling function 'kerndat_has_nftables_concat' returns 0 criu-4.1/criu/kerndat.c:1788:41: note: Condition 'kerndat_has_nftables_concat()' is always false criu-4.1/criu/kerndat.c:1856:27: style: Condition 'get_task_size()' is always false [knownConditionTrueFalse] criu-4.1/criu/kerndat.c:1856:27: note: Calling function 'get_task_size' returns 0 criu-4.1/criu/kerndat.c:1856:27: note: Condition 'get_task_size()' is always false criu-4.1/criu/kerndat.c:1864:26: style: Condition 'kerndat_nsid()' is always false [knownConditionTrueFalse] criu-4.1/criu/kerndat.c:1864:26: note: Calling function 'kerndat_nsid' returns 0 criu-4.1/criu/kerndat.c:1864:26: note: Condition 'kerndat_nsid()' is always false criu-4.1/criu/kerndat.c:1872:42: style: Condition 'kerndat_iptables_has_xtlocks()' is always false [knownConditionTrueFalse] criu-4.1/criu/kerndat.c:1872:42: note: Calling function 'kerndat_iptables_has_xtlocks' returns 0 criu-4.1/criu/kerndat.c:1872:42: note: Condition 'kerndat_iptables_has_xtlocks()' is always false criu-4.1/criu/kerndat.c:238:2: portability: %lx in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] criu-4.1/criu/kerndat.c:438:3: error: Memory leak: map [memleak] criu-4.1/criu/kerndat.c:490:3: error: Memory leak: addr [memleak] criu-4.1/criu/kerndat.c:819:3: error: Memory pointed to by 'mem' is freed twice. [doubleFree] criu-4.1/criu/kerndat.c:807:2: note: Memory pointed to by 'mem' is freed twice. criu-4.1/criu/kerndat.c:819:3: note: Memory pointed to by 'mem' is freed twice. criu-4.1/criu/kerndat.c:1566:3: error: Resource leak: f.fd [resourceLeak] criu-4.1/criu/kerndat.c:488:8: warning: If memory allocation fails, then there is a possible null pointer dereference: (int*)addr [nullPointerOutOfMemory] criu-4.1/criu/kerndat.c:482:13: note: Assuming allocation function fails criu-4.1/criu/kerndat.c:482:13: note: Assignment 'addr=mmap(NULL,PAGE_SIZE,PROT_READ,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/criu/kerndat.c:488:8: note: Null pointer dereference criu-4.1/criu/kerndat.c:807:9: warning: If memory allocation fails, then there is a possible null pointer dereference: mem [nullPointerOutOfMemory] criu-4.1/criu/kerndat.c:802:12: note: Assuming allocation function fails criu-4.1/criu/kerndat.c:802:12: note: Assignment 'mem=mmap(NULL,3ul<<20,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/criu/kerndat.c:807:9: note: Null pointer dereference criu-4.1/criu/kerndat.c:809:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/criu/kerndat.c:802:12: note: Assuming allocation function fails criu-4.1/criu/kerndat.c:802:12: note: Assignment 'mem=mmap(NULL,3ul<<20,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/criu/kerndat.c:809:17: note: Null pointer addition criu-4.1/criu/pie-util-vdso-elf32.c:110:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELFDATA2MSB [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso-elf32.c:132:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ehdr_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso-elf32.c:198:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dyn_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso-elf32.c:287:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sym_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso-elf32.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STN_UNDEF [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso-elf32.c:356:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_VDSO_SYMBOLS_LIST [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso-elf32.c:454:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/criu/kerndat.c:151:15: style: Variable 'aux' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pidfd.c:55:13: error: Uninitialized variable: dead->ino [uninitvar] criu-4.1/criu/kerndat.c:809:17: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/kerndat.c:198:6: error: Uninitialized variable: value [uninitvar] criu-4.1/criu/kerndat.c:192:15: note: Assuming condition is false criu-4.1/criu/kerndat.c:198:6: note: Uninitialized variable: value criu-4.1/criu/kerndat.c:226:24: warning: Uninitialized variable: nr_open [uninitvar] criu-4.1/criu/kerndat.c:221:15: note: Assuming condition is false criu-4.1/criu/kerndat.c:226:24: note: Uninitialized variable: nr_open criu-4.1/criu/pie-util.c:32:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite-vdso.c:35:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MREMAP_MAYMOVE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite-vdso.c:88:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_BAD_ADDR [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite-vdso.c:131:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VVAR_BAD_ADDR [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite-vdso.c:174:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite-vdso.c:244:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VVAR_BAD_ADDR [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite-vdso.c:277:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_SYMTABLE_INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso.c:110:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELFDATA2MSB [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso.c:132:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ehdr_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso.c:198:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dyn_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso.c:287:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sym_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STN_UNDEF [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso.c:356:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_VDSO_SYMBOLS_LIST [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso.c:454:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/criu/pagemap.c:537:11: style: Local variable 'ret' shadows outer variable [shadowVariable] criu-4.1/criu/pagemap.c:532:10: note: Shadowed declaration criu-4.1/criu/pagemap.c:537:11: note: Shadow variable criu-4.1/criu/pagemap.c:41:51: style: Parameter 'bunch' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pagemap.c:273:48: style: Parameter 'pr' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pagemap.c:864:38: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pagemap.c:228:7: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pagemap.c:254:23: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pagemap.c:424:22: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pagemap.c:318:20: error: Uninitialized variable: piov->from [uninitvar] criu-4.1/criu/pagemap.c:314:7: note: Assuming condition is false criu-4.1/criu/pagemap.c:318:20: note: Uninitialized variable: piov->from criu-4.1/criu/pagemap.c:538:30: error: Uninitialized variable: piov->to [uninitvar] criu-4.1/criu/pie/parasite.c:86:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIO_MAXIOV [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:116:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGMAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:136:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:154:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it_id [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:179:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_TID_ADDRESS [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:230:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:282:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_DUMPABLE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:308:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _LINUX_CAPABILITY_U32S_3 [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:448:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable criu_rseq [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:509:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:555:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:586:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_opts [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:619:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:673:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTTY [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:696:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aio_ring [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:710:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:762:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGSID [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:795:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_MARK_CUR_VERSION [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:832:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:926:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie-util-vdso-elf32.c:99:37: style: Parameter 'ehdr' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie-util-vdso-elf32.c:183:66: style: Parameter 'dynamic' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie-util-vdso-elf32.c:285:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie-util-vdso-elf32.c:304:57: style: Parameter 'load' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie-util-vdso-elf32.c:305:61: style: Parameter 'chain' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie-util-vdso-elf32.c:314:13: style: Variable 'h' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie-util-vdso-elf32.c:334:11: style: Variable 'bucket' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie-util-vdso-elf32.c:324:30: portability: '(void*)addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie-util-vdso-elf32.c:341:30: portability: '(void*)addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/mem.c:360:10: style: Condition 'tps==-1' is always false [knownConditionTrueFalse] criu-4.1/criu/mem.c:1029:22: style: Condition 'task_size_check(vpid(t),vma->e)' is always false [knownConditionTrueFalse] criu-4.1/criu/mem.c:1029:22: note: Calling function 'task_size_check' returns 0 criu-4.1/criu/mem.c:1029:22: note: Condition 'task_size_check(vpid(t),vma->e)' is always false criu-4.1/criu/mem.c:1339:10: style: Condition 'ret<0' is always false [knownConditionTrueFalse] criu-4.1/criu/mem.c:1070:11: note: Assuming that condition 'ret<0' is not redundant criu-4.1/criu/mem.c:1338:24: note: Calling function 'premap_priv_vmas' returns !<=-1 criu-4.1/criu/mem.c:1339:10: note: Condition 'ret<0' is always false criu-4.1/criu/mem.c:80:57: style: Parameter 'vmas' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/mem.c:342:98: style: Parameter 'parent_ie' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/mem.c:799:51: style: Parameter 'vma' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/mem.c:968:77: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/mem.c:990:21: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/mem.c:1006:49: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/mem.c:1396:10: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/mem.c:942:10: portability: 'paddr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/mem.c:964:12: portability: '*tgt_addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/mem.c:1247:23: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie-util-vdso.c:99:37: style: Parameter 'ehdr' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie-util-vdso.c:183:66: style: Parameter 'dynamic' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie-util-vdso.c:285:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie-util-vdso.c:304:57: style: Parameter 'load' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie-util-vdso.c:305:61: style: Parameter 'chain' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie-util-vdso.c:314:13: style: Variable 'h' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie-util-vdso.c:334:11: style: Variable 'bucket' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie-util-vdso.c:324:30: portability: '(void*)addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie-util-vdso.c:341:30: portability: '(void*)addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/util.c:32:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso-elf32.c:110:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELFDATA2MSB [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso-elf32.c:132:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ehdr_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso-elf32.c:198:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dyn_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso-elf32.c:287:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sym_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso-elf32.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STN_UNDEF [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso-elf32.c:356:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_VDSO_SYMBOLS_LIST [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso-elf32.c:454:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/criu/page-xfer.c:833:11: style: Condition 'ret==-1' is always false [knownConditionTrueFalse] criu-4.1/criu/pipes.c:29:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] criu-4.1/criu/page-xfer.c:249:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] criu-4.1/criu/page-xfer.c:754:64: style: Checking if unsigned expression 'analyze_iov(bytes_read,riov,&start,aux_iov,aux_len)' is less than zero. [unsignedLessThanZero] criu-4.1/criu/page-xfer.c:826:18: style: Checking if unsigned expression 'bytes_read' is less than zero. [unsignedLessThanZero] criu-4.1/criu/page-xfer.c:176:52: style: Parameter 'xfer' can be declared as pointer to const. However it seems that 'write_pages_to_server' is a callback function, if 'xfer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/page-xfer.c:229:22: note: You might need to cast the function pointer here criu-4.1/criu/page-xfer.c:176:52: note: Parameter 'xfer' can be declared as pointer to const criu-4.1/criu/page-xfer.c:203:54: style: Parameter 'xfer' can be declared as pointer to const. However it seems that 'write_pagemap_to_server' is a callback function, if 'xfer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/page-xfer.c:228:24: note: You might need to cast the function pointer here criu-4.1/criu/page-xfer.c:203:54: note: Parameter 'xfer' can be declared as pointer to const criu-4.1/criu/page-xfer.c:464:99: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/page-xfer.c:484:80: style: Parameter 'ppb' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/page-xfer.c:723:57: style: Parameter 'ppb' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/page-xfer.c:1649:55: style: Parameter 'rfd' can be declared as pointer to const. However it seems that 'page_server_hangup_event' is a callback function, if 'rfd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/page-xfer.c:1664:24: note: You might need to cast the function pointer here criu-4.1/criu/page-xfer.c:1649:55: note: Parameter 'rfd' can be declared as pointer to const criu-4.1/criu/page-xfer.c:1598:27: portability: '(void*)&ar->pi' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/page-xfer.c:1605:19: portability: 'ar->pages' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/parasite.c:601:27: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/parasite.c:693:19: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/plugin.c:34:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_PLUGIN_HOOK__MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/plugin.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_PLUGIN_VERSION [valueFlowBailoutIncompleteVar] criu-4.1/criu/plugin.c:100:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/plugin.c:183:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/plugin.c:213:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable libdir [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/parasite.c:580:24: portability: '(void*)args' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/parasite.c:580:40: portability: '((void*)args)+sizeof(*args)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/util-vdso.c:110:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELFDATA2MSB [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso.c:132:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ehdr_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso.c:198:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dyn_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso.c:287:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sym_t [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STN_UNDEF [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso.c:356:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_VDSO_SYMBOLS_LIST [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/util-vdso.c:454:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/criu/plugin.c:232:8: style: Local variable 'path' shadows outer variable [shadowVariable] criu-4.1/criu/plugin.c:205:8: note: Shadowed declaration criu-4.1/criu/plugin.c:232:8: note: Shadow variable criu-4.1/criu/plugin.c:233:18: style: Variable 'de' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie/restorer.c:150:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLD_EXITED [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:174:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STD_LOG_SIMPLE_CHUNK [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:207:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _LINUX_CAPABILITY_U32S_3 [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:425:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_DUMPABLE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:460:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIO_PROCESS [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:472:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rlim_cur [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:530:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECCOMP_SET_MODE_FILTER [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:561:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECCOMP_MODE_DISABLED [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:665:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucred [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:714:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucred [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:764:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:858:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_FIXED [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:948:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aio_ring [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1086:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFFDIO_REGISTER_MODE_MISSING [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1117:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1203:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFD_TIMER_ABSTIME [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1243:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it_sigev_notify [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1378:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHILD [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1400:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_PID [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1429:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_VDSO [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1481:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VVAR_BAD_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1500:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1516:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_len [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1552:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inotify_event [valueFlowBailoutIncompleteVar] criu-4.1/criu/pie/restorer.c:1665:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] criu-4.1/criu/protobuf-desc.c:117:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_IDS [valueFlowBailoutIncompleteVar] criu-4.1/criu/protobuf.c:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/protobuf.c:123:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_PKOBJ_LOCAL_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/protobuf.c:174:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLLECT_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/criu/protobuf.c:208:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RSTR [valueFlowBailoutIncompleteVar] criu-4.1/criu/pstree.c:301:31: error: There is an unknown macro here somewhere. Configuration is required. If OPT_SHELL_JOB is a macro then please configure it. [unknownMacro] criu-4.1/criu/rst-malloc.c:46:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:67:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:104:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:109:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:132:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:221:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MREMAP_MAYMOVE [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:235:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:246:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:253:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/criu/rbtree.c:238:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RB_BLACK [valueFlowBailoutIncompleteVar] criu-4.1/criu/rst-malloc.c:149:25: style: Variable 't' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/rst-malloc.c:159:25: style: Variable 't' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/rst-malloc.c:251:24: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/rst-malloc.c:94:14: portability: 't->free_mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/rst-malloc.c:161:16: portability: 't->buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/rst-malloc.c:177:14: portability: 't->free_mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/rst-malloc.c:190:14: portability: 't->free_mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/rst-malloc.c:237:6: portability: 'to' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/util-vdso-elf32.c:99:37: style: Parameter 'ehdr' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/util-vdso-elf32.c:183:66: style: Parameter 'dynamic' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/util-vdso-elf32.c:285:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie/util-vdso-elf32.c:304:57: style: Parameter 'load' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/util-vdso-elf32.c:305:61: style: Parameter 'chain' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/util-vdso-elf32.c:314:13: style: Variable 'h' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie/util-vdso-elf32.c:334:11: style: Variable 'bucket' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie/util-vdso-elf32.c:324:30: portability: '(void*)addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/util-vdso-elf32.c:341:30: portability: '(void*)addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/seize.c:839:2: error: There is an unknown macro here somewhere. Configuration is required. If for_each_pstree_item is a macro then please configure it. [unknownMacro] criu-4.1/criu/pie/util-vdso.c:99:37: style: Parameter 'ehdr' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/util-vdso.c:183:66: style: Parameter 'dynamic' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/util-vdso.c:285:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie/util-vdso.c:304:57: style: Parameter 'load' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/util-vdso.c:305:61: style: Parameter 'chain' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/util-vdso.c:314:13: style: Variable 'h' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie/util-vdso.c:334:11: style: Variable 'bucket' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/pie/util-vdso.c:324:30: portability: '(void*)addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/util-vdso.c:341:30: portability: '(void*)addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/seccomp.c:39:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seccomp_entry [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:107:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RB_ROOT [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:119:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECCOMP_MODE_DISABLED [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:136:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAXINSNS [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:217:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECCOMP_MODE_FILTER [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:273:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_DEAD [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:299:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECCOMP_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:375:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_SECCOMP [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:401:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:419:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thread_core [valueFlowBailoutIncompleteVar] criu-4.1/criu/setproctitle.c:23:42: style: Parameter 'argv' can be declared as const array [constParameter] criu-4.1/criu/setproctitle.c:23:56: style: Parameter 'envp' can be declared as const array [constParameter] criu-4.1/criu/servicefd.c:44:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_FD_MIN [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:106:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_FD_MIN [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:119:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_FD_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:143:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_FD_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:149:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:158:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_FD_MIN [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:204:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfd_map [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:214:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfd_map [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:226:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfd_map [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:254:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_FD_OFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/sigact.c:24:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current [valueFlowBailoutIncompleteVar] criu-4.1/criu/sigact.c:141:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_rt_sigaction [valueFlowBailoutIncompleteVar] criu-4.1/criu/sigact.c:160:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGMAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/sigact.c:198:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_SIGACT [valueFlowBailoutIncompleteVar] criu-4.1/criu/sigact.c:223:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current [valueFlowBailoutIncompleteVar] criu-4.1/criu/sigact.c:255:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current [valueFlowBailoutIncompleteVar] criu-4.1/criu/sigact.c:273:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tc [valueFlowBailoutIncompleteVar] criu-4.1/criu/servicefd.c:138:14: style: Variable 'fdt' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/sigact.c:19:51: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sigact.c:21:18: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/sigact.c:105:55: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/shmem.c:131:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:193:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:217:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:267:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:303:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:393:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_SYSVIPC [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:114:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE_DEVICE_VMA [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:473:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SHMEM [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:140:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_GROWSDOWN [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:505:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:195:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_SHSTK [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:521:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:211:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shmem_dev [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:563:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:230:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYMLINK_NOFOLLOW [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:661:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_SYSVIPC [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:269:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aufs [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:696:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:330:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_REGULAR [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:710:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:405:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:740:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:501:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:828:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:554:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_REGULAR [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:912:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:562:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_REGULAR [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:931:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:578:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_VSYSCALL [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:714:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_EXT_PLUGIN [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:817:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_VVAR [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:960:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:980:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1042:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_CAP_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1069:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECCOMP_MODE_DISABLED [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1296:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1344:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1379:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1438:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1540:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skip_mount_list [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1561:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1599:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1744:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handle [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1843:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:1904:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_TYPES__UND [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2250:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2257:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_TYPES__UND [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_POSIX [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2339:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_fdinfo_lock [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2442:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proc_posix_timer [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2525:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2606:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2626:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable internal [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2724:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2805:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable overlayfs [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2818:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aufs [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:2909:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USEC_PER_SEC [valueFlowBailoutIncompleteVar] criu-4.1/criu/signalfd.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNALFD_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/signalfd.c:57:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] criu-4.1/criu/signalfd.c:102:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SignalfdEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-netlink.c:33:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETLINK_DIAG_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-netlink.c:85:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-netlink.c:216:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-netlink.c:272:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NetlinkSkEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/seccomp.c:113:24: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/seccomp.c:213:41: style: Variable 'chain_b' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/seccomp.c:403:33: portability: '(void*)args->seccomp_filters' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/seccomp.c:478:34: portability: '(void*)args->seccomp_filters' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/sk-inet.c:81:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inet_ports [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:90:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDR_LEN [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:104:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDR_LEN [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:119:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_RAW [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:139:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:208:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:227:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLRDHUP [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:253:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:369:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:401:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_RAW [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:452:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:633:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:643:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET6 [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:655:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_DIAG_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:702:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InetSkEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:727:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:748:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable port_list [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:759:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inet_sk_info [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:803:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:823:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:851:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLE_OPEN [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:982:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-inet.c:1032:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_RAW [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-netlink.c:36:17: style: Variable 'groups' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/sk-netlink.c:145:17: style: Variable 'nsid' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/sk-packet.c:152:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:227:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_PACKET [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:245:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable packet_diag_mclist [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:258:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_DIAG_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:323:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_TYPES__PACKETSK [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:402:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_PACKET [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:407:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_RX_RING [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:421:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_PACKET [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:481:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_PACKET [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:571:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PacketSockEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-queue.c:43:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkPacketEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-queue.c:90:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScmEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-queue.c:127:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_RIGHTS [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-queue.c:165:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SK_PACKET_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-queue.c:369:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_RIGHTS [valueFlowBailoutIncompleteVar] criu-4.1/criu/shmem.c:710:35: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/criu/shmem.c:722:23: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/criu/sk-inet.c:206:47: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sk-inet.c:436:38: style: Parameter 'src_addr' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sk-inet.c:693:47: style: Parameter 'ie' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sk-inet.c:980:77: style: Parameter 'pb_addr' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/shmem.c:382:2: error: Memory leak: att [memleak] criu-4.1/criu/shmem.c:868:9: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] criu-4.1/criu/shmem.c:822:14: note: Assuming allocation function fails criu-4.1/criu/shmem.c:822:14: note: Assignment 'addr=mmap(NULL,si->size,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 criu-4.1/criu/shmem.c:868:9: note: Null pointer dereference criu-4.1/criu/shmem.c:897:9: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] criu-4.1/criu/shmem.c:889:13: note: Assuming allocation function fails criu-4.1/criu/shmem.c:889:13: note: Assignment 'addr=mmap(NULL,size,PROT_READ,MAP_PRIVATE,fd,0)', assigned value is 0 criu-4.1/criu/shmem.c:897:9: note: Null pointer dereference criu-4.1/criu/shmem.c:294:54: style: Parameter 'vma' can be declared as pointer to const. However it seems that 'open_shmem_sysv' is a callback function, if 'vma' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/shmem.c:394:18: note: You might need to cast the function pointer here criu-4.1/criu/shmem.c:294:54: note: Parameter 'vma' can be declared as pointer to const criu-4.1/criu/shmem.c:498:58: style: Parameter 'si' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/shmem.c:491:44: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/shmem.c:853:24: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/shmem.c:278:13: error: Uninitialized variable: att->first [uninitvar] criu-4.1/criu/shmem.c:270:15: note: Assuming condition is false criu-4.1/criu/shmem.c:278:13: note: Uninitialized variable: att->first criu-4.1/criu/sk-queue.c:360:28: error: Uninitialized variable: pkt->entry [uninitvar] criu-4.1/criu/sk-queue.c:364:8: error: Uninitialized variable: pe [uninitvar] criu-4.1/criu/sk-queue.c:360:26: note: Assignment 'pe=pkt->entry', assigned value is criu-4.1/criu/sk-queue.c:364:8: note: Uninitialized variable: pe criu-4.1/criu/pie/restorer.c:2050:7: style: Local variable 'i' shadows outer variable [shadowVariable] criu-4.1/criu/pie/restorer.c:1634:6: note: Shadowed declaration criu-4.1/criu/pie/restorer.c:2050:7: note: Shadow variable criu-4.1/criu/pie/restorer.c:119:40: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/restorer.c:124:38: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/restorer.c:835:61: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/pie/restorer.c:1422:20: style: Variable 'rt' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/sk-tcp.c:131:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry_safe is a macro then please configure it. [unknownMacro] criu-4.1/criu/pie/restorer.c:986:23: portability: '(void*)iocb' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:1028:21: portability: '(void*)ctx' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:1028:39: portability: '(void*)ring' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:1354:22: portability: 'p1' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:1354:37: portability: 'p1' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:1356:46: portability: 'p1' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:1360:22: portability: 'p2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:1360:59: portability: 'p2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:1362:46: portability: 'p2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:1866:23: portability: '(void*)rio' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/pie/restorer.c:939:7: style: Variable 'buf' is not assigned a value. [unassignedVariable] criu-4.1/criu/sk-unix.c:875:30: error: There is an unknown macro here somewhere. Configuration is required. If USK_EXT_PARAM is a macro then please configure it. [unknownMacro] criu-4.1/criu/stats.c:35:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DUMP_CNT_NR_STATS [valueFlowBailoutIncompleteVar] criu-4.1/criu/stats.c:47:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DUMP_CNT_NR_STATS [valueFlowBailoutIncompleteVar] criu-4.1/criu/stats.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USEC_PER_SEC [valueFlowBailoutIncompleteVar] criu-4.1/criu/stats.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DUMP_TIME_NR_STATS [valueFlowBailoutIncompleteVar] criu-4.1/criu/stats.c:118:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USEC_PER_SEC [valueFlowBailoutIncompleteVar] criu-4.1/criu/stats.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DUMP_STATS [valueFlowBailoutIncompleteVar] criu-4.1/criu/stats.c:156:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATS_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/stats.c:217:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DUMP_STATS [valueFlowBailoutIncompleteVar] criu-4.1/criu/sk-packet.c:331:8: style: Local variable 'fd' shadows outer variable [shadowVariable] criu-4.1/criu/sk-packet.c:319:20: note: Shadowed declaration criu-4.1/criu/sk-packet.c:331:8: note: Shadow variable criu-4.1/criu/sk-packet.c:185:50: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] criu-4.1/criu/sk-packet.c:186:50: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] criu-4.1/criu/sk-packet.c:187:50: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] criu-4.1/criu/sk-packet.c:188:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] criu-4.1/criu/sk-packet.c:112:55: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sk-packet.c:316:54: style: Parameter 'vm' can be declared as pointer to const. However it seems that 'open_socket_map' is a callback function, if 'vm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/sk-packet.c:353:17: note: You might need to cast the function pointer here criu-4.1/criu/sk-packet.c:316:54: note: Parameter 'vm' can be declared as pointer to const criu-4.1/criu/sk-packet.c:385:55: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sysfs_parse.c:96:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysfs_parse.c:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUFSBR_PATH_LEN [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysfs_parse.c:276:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/criu/timens.c:16:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMENS_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/timens.c:42:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC_PER_SEC [valueFlowBailoutIncompleteVar] criu-4.1/criu/timens.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unprivileged [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysctl.c:101:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysctl.c:120:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysctl.c:135:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysctl.c:163:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTL_READ [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysctl.c:244:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_UNSFD_MSG_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysctl.c:359:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTL_READ [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysctl.c:409:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWUTS [valueFlowBailoutIncompleteVar] criu-4.1/criu/sysfs_parse.c:186:9: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] criu-4.1/criu/sysfs_parse.c:219:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] criu-4.1/criu/sysfs_parse.c:146:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/sockets.c:61:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IP [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:76:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:87:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:97:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCP_ESTABLISHED [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:149:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:243:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_NLMSG_SEQ [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:292:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:336:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:344:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:401:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sock_filter [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:437:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:475:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unprivileged [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:512:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:648:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_sockopt_buf_lock [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:738:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unix_dump_ops [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:767:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:809:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:858:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_DUMP [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:984:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:14:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USEC_PER_SEC [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:49:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:73:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_ITIMER [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:118:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC_PER_SEC [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:176:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:202:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_POSIX_TIMER [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:231:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:266:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_dump_itimers_args [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:287:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PosixTimerEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:305:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root_ns_mask [valueFlowBailoutIncompleteVar] criu-4.1/criu/timer.c:378:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/timerfd.c:44:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] criu-4.1/criu/timerfd.c:69:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMERFD_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/timerfd.c:99:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RM_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/criu/timerfd.c:151:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rst_timerfds [valueFlowBailoutIncompleteVar] criu-4.1/criu/timerfd.c:170:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TimerfdEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/timerfd.c:103:17: style: Variable 'tfe' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/timerfd.c:103:27: error: Uninitialized variable: ti->tfe [uninitvar] criu-4.1/criu/timerfd.c:109:11: error: Uninitialized variable: tfe [uninitvar] criu-4.1/criu/timerfd.c:103:25: note: Assignment 'tfe=ti->tfe', assigned value is criu-4.1/criu/timerfd.c:106:7: note: Assuming condition is false criu-4.1/criu/timerfd.c:109:11: note: Uninitialized variable: tfe criu-4.1/criu/timerfd.c:28:25: style: struct member 'timerfd_dump_arg::p' is never used. [unusedStructMember] criu-4.1/criu/tls.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tls [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:71:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:97:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIPE_BUF [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:135:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:216:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tls_no_cn_verify [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:237:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_SUCCESS [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:252:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:317:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:334:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:348:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_SUCCESS [valueFlowBailoutIncompleteVar] criu-4.1/criu/tls.c:387:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tls [valueFlowBailoutIncompleteVar] criu-4.1/criu/tty.c:1838:33: error: There is an unknown macro here somewhere. Configuration is required. If OPT_SHELL_JOB is a macro then please configure it. [unknownMacro] criu-4.1/criu/tls.c:113:24: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/criu/timer.c:12:49: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/timer.c:17:55: style: Parameter 'ie' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/timer.c:116:51: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/tun.c:64:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:83:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:133:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tun_links [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:160:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TUNGETVNETHDRSZ [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:219:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tun_links [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:229:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:300:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:399:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TUNSETIFF [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:438:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TunfileEntry [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:455:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TUN_LINK_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/tun.c:511:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TUNSETOWNER [valueFlowBailoutIncompleteVar] criu-4.1/criu/uffd.c:467:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry_safe is a macro then please configure it. [unknownMacro] criu-4.1/criu/sysctl.c:452:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] criu-4.1/criu/unittest/mock.c:10:24: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:15:31: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:30:29: style: Parameter 'feat' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:35:28: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:40:27: style: Parameter 'controller' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:40:45: style: Parameter 'newroot' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:45:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:50:25: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:50:35: style: Parameter 'out' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:55:29: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:65:41: style: Parameter 'ns_file' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:65:56: style: Parameter 'extra_opts' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:70:25: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:70:36: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:110:40: style: Parameter 'nd' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:110:49: style: Parameter 'rst' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:123:32: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/unittest/mock.c:127:54: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/uts_ns.c:20:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTSNS_ENTRY__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/uts_ns.c:55:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PB_UTSNS [valueFlowBailoutIncompleteVar] criu-4.1/criu/sockets.c:357:50: error: Null pointer dereference [nullPointer] criu-4.1/criu/tun.c:490:2: error: Address of local auto-variable assigned to a function parameter. [autoVariables] criu-4.1/criu/sockets.c:197:44: style: Parameter 'h' can be declared as pointer to const. However it seems that 'probe_recv_one' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/sockets.c:216:43: note: You might need to cast the function pointer here criu-4.1/criu/sockets.c:197:44: note: Parameter 'h' can be declared as pointer to const criu-4.1/criu/sockets.c:197:61: style: Parameter 'ns' can be declared as pointer to const. However it seems that 'probe_recv_one' is a callback function, if 'ns' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/sockets.c:216:43: note: You might need to cast the function pointer here criu-4.1/criu/sockets.c:197:61: note: Parameter 'ns' can be declared as pointer to const criu-4.1/criu/sockets.c:197:71: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'probe_recv_one' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/sockets.c:216:43: note: You might need to cast the function pointer here criu-4.1/criu/sockets.c:197:71: note: Parameter 'arg' can be declared as pointer to const criu-4.1/criu/sockets.c:203:45: style: Parameter 'ns' can be declared as pointer to const. However it seems that 'probe_err' is a callback function, if 'ns' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/sockets.c:216:59: note: You might need to cast the function pointer here criu-4.1/criu/sockets.c:203:45: note: Parameter 'ns' can be declared as pointer to const criu-4.1/criu/sockets.c:312:51: style: Parameter 'soe' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sockets.c:339:32: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sockets.c:459:55: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sockets.c:469:34: style: Parameter 'bufs' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/sockets.c:796:25: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/tun.c:134:2: error: Memory leak: tl [memleak] criu-4.1/criu/util.c:641:37: error: There is an unknown macro here somewhere. Configuration is required. If LOG_PREFIX is a macro then please configure it. [unknownMacro] criu-4.1/criu/tun.c:137:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/tun.c:302:16: style: Variable 'ns' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/tun.c:494:35: style: Parameter 'ns' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/vdso-compat.c:14:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_write [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso-compat.c:43:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_BAD_ADDR [valueFlowBailoutIncompleteVar] criu-4.1/include/common/scm-code.c:2:0: error: #error "The __sys macro is required" [preprocessorErrorDirective] criu-4.1/include/common/scm-code.c:2:2: error: #error "The __sys macro is required" [preprocessorErrorDirective] criu-4.1/plugins/amdgpu/amdgpu_plugin.c:441:1: error: There is an unknown macro here somewhere. Configuration is required. If CR_PLUGIN_REGISTER_HOOK is a macro then please configure it. [unknownMacro] criu-4.1/plugins/amdgpu/amdgpu_plugin_drm.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/amdgpu_plugin_drm.c:66:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_RENDER_NODE__INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vdso_hint_reliable [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_BAD_PFN [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:97:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMA_AREA_REGULAR [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:147:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:192:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parasite_vdso_vma_entry [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:257:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_BAD_ADDR [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:302:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_MAPS_INIT [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:392:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_BAD_ADDR [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:409:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDSO_BAD_ADDR [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:542:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vdso_size [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:552:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:577:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vdso_size [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:615:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_SELF [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:656:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vdso_hint_reliable [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/amdgpu_plugin_drm.c:36:68: style:inconclusive: Function 'amdgpu_plugin_drm_handle_device_vma' argument 2 names different: declaration 'drm' definition 'st'. [funcArgNamesDifferent] criu-4.1/plugins/amdgpu/amdgpu_plugin_drm.h:18:68: note: Function 'amdgpu_plugin_drm_handle_device_vma' argument 2 names different: declaration 'drm' definition 'st'. criu-4.1/plugins/amdgpu/amdgpu_plugin_drm.c:36:68: note: Function 'amdgpu_plugin_drm_handle_device_vma' argument 2 names different: declaration 'drm' definition 'st'. criu-4.1/plugins/amdgpu/amdgpu_plugin_drm.c:67:18: style: Variable 'tp_node' can be declared as pointer to const [constVariablePointer] criu-4.1/plugins/amdgpu/amdgpu_plugin_topology.c:296:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] criu-4.1/criu/unittest/unit.c:33:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:33:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:37:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:37:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:41:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:41:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:42:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:42:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:46:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:46:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:47:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:47:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:51:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:51:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:52:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:52:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:59:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:59:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:60:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:60:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:64:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:64:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:65:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:65:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:69:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:69:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:70:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:70:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:77:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:77:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:78:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:78:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:82:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:82:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:83:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:83:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:90:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:90:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:91:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:91:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:98:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:98:17: note: Null pointer dereference criu-4.1/criu/unittest/unit.c:99:17: warning: If memory allocation fails, then there is a possible null pointer dereference: configuration [nullPointerOutOfMemory] criu-4.1/criu/unittest/unit.c:16:24: note: Assuming allocation function fails criu-4.1/criu/unittest/unit.c:16:24: note: Assignment 'configuration=malloc(10*sizeof(char*))', assigned value is 0 criu-4.1/criu/unittest/unit.c:99:17: note: Null pointer dereference criu-4.1/plugins/amdgpu/amdgpu_plugin_util.c:78:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/amdgpu_plugin_util.c:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/amdgpu_plugin_util.c:114:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/amdgpu_plugin_util.c:153:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/amdgpu_plugin_util.c:181:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/amdgpu_plugin_util.c:196:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/amdgpu_plugin_util.c:62:39: style:inconclusive: Function 'init_gpu_count' argument 1 names different: declaration 'topology' definition 'topo'. [funcArgNamesDifferent] criu-4.1/plugins/amdgpu/amdgpu_plugin_util.h:102:39: note: Function 'init_gpu_count' argument 1 names different: declaration 'topology' definition 'topo'. criu-4.1/plugins/amdgpu/amdgpu_plugin_util.c:62:39: note: Function 'init_gpu_count' argument 1 names different: declaration 'topology' definition 'topo'. criu-4.1/plugins/cuda/cuda_plugin.c:476:1: error: There is an unknown macro here somewhere. Configuration is required. If CR_PLUGIN_REGISTER_HOOK is a macro then please configure it. [unknownMacro] criu-4.1/soccr/test/tcp-conn-v6.c:41:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/criu/vdso.c:687:7: style: Local variable 'ret' shadows outer variable [shadowVariable] criu-4.1/criu/vdso.c:653:14: note: Shadowed declaration criu-4.1/criu/vdso.c:687:7: note: Shadow variable criu-4.1/criu/vdso.c:313:9: style: Variable 'has_vdso' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/vdso.c:313:20: style: Variable 'has_vvar' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/vdso.c:313:31: style: Variable 'has_vvar_vclock' can be declared as pointer to const [constVariablePointer] criu-4.1/lib/c/criu.c:60:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_DEFAULT_SERVICE_ADDRESS [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:95:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:133:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:257:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CriuOpts [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:343:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:484:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:617:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:653:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:667:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:681:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:738:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:782:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:824:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:870:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:912:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:946:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:980:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1012:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1021:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1034:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1048:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1071:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1171:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CriuPageServerInfo [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1217:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TRUNC [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1297:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1323:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ__INIT [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1380:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1436:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1470:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECOMM [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1522:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECONNREFUSED [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1534:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ__INIT [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1566:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ__INIT [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1620:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ__INIT [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1691:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ__INIT [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1730:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ__INIT [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1790:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ__INIT [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1890:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/lib/c/criu.c:1964:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_FEATURES__INIT [valueFlowBailoutIncompleteVar] criu-4.1/soccr/test/tcp-conn.c:41:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/soccr/test/tcp-conn-v6.c:66:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:71:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:81:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:86:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:93:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:98:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:105:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:110:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:118:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:128:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:144:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:152:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:157:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:163:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn-v6.c:166:2: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/soccr.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:183:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:259:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCPI_OPT_WSCALE [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:285:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_TCP [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:356:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:385:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:453:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:476:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:592:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNET_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:702:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:749:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_TCP [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:819:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:836:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/soccr/soccr.c:849:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] criu-4.1/soccr/test/tcp-conn.c:66:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:71:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:81:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:86:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:93:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:98:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:105:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:110:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:118:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:128:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:144:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:152:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:157:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:163:3: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-conn.c:166:2: error: Resource leak: srv [resourceLeak] criu-4.1/soccr/test/tcp-constructor.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] criu-4.1/test/compel/handle_binary.c:19:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ET_REL [valueFlowBailoutIncompleteVar] criu-4.1/test/compel/handle_binary.c:31:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_NO_STR_SEC [valueFlowBailoutIncompleteVar] criu-4.1/test/compel/handle_binary.c:49:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_NO_STR_SEC [valueFlowBailoutIncompleteVar] criu-4.1/test/compel/handle_binary.c:67:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ehdr_t [valueFlowBailoutIncompleteVar] criu-4.1/test/compel/handle_binary_32.c:19:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ET_REL [valueFlowBailoutIncompleteVar] criu-4.1/test/compel/handle_binary_32.c:31:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_NO_STR_SEC [valueFlowBailoutIncompleteVar] criu-4.1/test/compel/handle_binary_32.c:49:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_NO_STR_SEC [valueFlowBailoutIncompleteVar] criu-4.1/test/compel/handle_binary_32.c:67:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ehdr_t [valueFlowBailoutIncompleteVar] criu-4.1/soccr/test/tcp-constructor.c:45:23: style: Variable 'long_opts' can be declared as const array [constVariable] criu-4.1/test/compel/main.c:44:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] criu-4.1/test/cuda-checkpoint/cuda-checkpoint.c:13:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] criu-4.1/test/cuda-checkpoint/cuda-checkpoint.c:6:26: style: Parameter 'argv' can be declared as const array [constParameter] criu-4.1/test/cuda-checkpoint/cuda-checkpoint.c:12:24: style: Variable 'long_options' can be declared as const array [constVariable] criu-4.1/test/libfault/libfault.c:17:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NEXT [valueFlowBailoutIncompleteVar] criu-4.1/test/others/app-emu/job/job.c:28:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] criu-4.1/test/others/app-emu/job/job.c:30:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] criu-4.1/lib/c/criu.c:1217:24: error: Null pointer dereference [nullPointer] criu-4.1/lib/c/criu.c:247:38: style:inconclusive: Function 'criu_local_init_opts' argument 1 names different: declaration 'opts' definition 'o'. [funcArgNamesDifferent] criu-4.1/lib/c/criu.h:222:38: note: Function 'criu_local_init_opts' argument 1 names different: declaration 'opts' definition 'o'. criu-4.1/lib/c/criu.c:247:38: note: Function 'criu_local_init_opts' argument 1 names different: declaration 'opts' definition 'o'. criu-4.1/lib/c/criu.c:759:62: style: Parameter 'argv' can be declared as const array [constParameter] criu-4.1/lib/c/criu.c:1343:34: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] criu-4.1/lib/c/criu.c:1329:11: style: Variable 'send_ret' is assigned a value that is never used. [unreadVariable] criu-4.1/test/others/bers/bers.c:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/others/bers/bers.c:93:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/test/others/bers/bers.c:120:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _min1 [valueFlowBailoutIncompleteVar] criu-4.1/test/others/bers/bers.c:133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/others/bers/bers.c:167:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/test/others/bers/bers.c:240:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/lib.c:51:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] criu-4.1/test/others/libcriu/test_errno.c:21:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_errno.c:41:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_errno.c:77:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_errno.c:104:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:219:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable listm [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:259:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cores_count [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:353:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cores_count [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:452:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cores_count [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:550:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cores_count [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:638:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cores_count [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:726:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cores_count [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:820:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cores_count [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:922:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cores_count [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:999:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_cores_count [valueFlowBailoutIncompleteVar] criu-4.1/plugins/amdgpu/tests/test_topology_remap.c:1093:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_feature_check.c:16:8: style: Variable 'env' can be declared as pointer to const [constVariablePointer] criu-4.1/test/others/libcriu/test_iters.c:27:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_iters.c:53:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_iters.c:60:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/others/bers/bers.c:138:2: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] criu-4.1/test/others/bers/bers.c:145:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] criu-4.1/test/others/bers/bers.c:171:2: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] criu-4.1/test/others/bers/bers.c:171:2: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] criu-4.1/test/others/bers/bers.c:344:3: portability: %lu in format string (no. 4) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] criu-4.1/test/others/bers/bers.c:109:32: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/bers/bers.c:220:44: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/bers/bers.c:235:26: style: Parameter 'argv' can be declared as const array [constParameter] criu-4.1/test/others/bers/bers.c:239:23: style: Variable 'long_opts' can be declared as const array [constVariable] criu-4.1/test/others/libcriu/test_join_ns.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWIPC [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_join_ns.c:69:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_join_ns.c:121:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_join_ns.c:146:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_join_ns.c:198:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_join_ns.c:232:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/test/others/bers/bers.c:366:6: style: Variable 'pid' is assigned a value that is never used. [unreadVariable] criu-4.1/test/others/libcriu/test_join_ns.c:81:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/others/libcriu/test_notify.c:72:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_LOG_DEBUG [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_notify.c:26:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/others/libcriu/test_notify.c:14:25: style: Parameter 'action' can be declared as pointer to const. However it seems that 'notify' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/others/libcriu/test_notify.c:73:21: note: You might need to cast the function pointer here criu-4.1/test/others/libcriu/test_notify.c:14:25: note: Parameter 'action' can be declared as pointer to const criu-4.1/test/others/libcriu/test_pre_dump.c:34:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_pre_dump.c:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_self.c:19:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:131:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] criu-4.1/criu/proc_parse.c:174:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] criu-4.1/test/others/libcriu/test_pre_dump.c:49:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/others/libcriu/test_self.c:31:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/others/libcriu/test_self.c:36:3: error: Resource leak: fd [resourceLeak] criu-4.1/criu/proc_parse.c:580:22: style: Condition 'handle_vdso_vma(vma_area)' is always false [knownConditionTrueFalse] criu-4.1/criu/proc_parse.c:580:22: note: Calling function 'handle_vdso_vma' returns 0 criu-4.1/criu/proc_parse.c:580:22: note: Condition 'handle_vdso_vma(vma_area)' is always false criu-4.1/criu/proc_parse.c:584:22: style: Condition 'handle_vvar_vma(vma_area)' is always false [knownConditionTrueFalse] criu-4.1/criu/proc_parse.c:584:22: note: Calling function 'handle_vvar_vma' returns 0 criu-4.1/criu/proc_parse.c:584:22: note: Condition 'handle_vvar_vma(vma_area)' is always false criu-4.1/criu/proc_parse.c:853:22: style: Condition 'task_size_check(pid,vma_area->e)' is always false [knownConditionTrueFalse] criu-4.1/criu/proc_parse.c:853:22: note: Calling function 'task_size_check' returns 0 criu-4.1/criu/proc_parse.c:853:22: note: Condition 'task_size_check(pid,vma_area->e)' is always false criu-4.1/criu/proc_parse.c:841:9: warning: %x in format string (no. 8) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] criu-4.1/criu/proc_parse.c:841:9: warning: %x in format string (no. 9) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] criu-4.1/criu/proc_parse.c:1230:6: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] criu-4.1/criu/proc_parse.c:1235:13: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] criu-4.1/criu/proc_parse.c:1906:10: warning: %lli in format string (no. 1) requires 'long long *' but the argument type is 'unsigned long long *'. [invalidScanfArgType_int] criu-4.1/criu/proc_parse.c:2005:10: warning: %llx in format string (no. 3) requires 'unsigned long long *' but the argument type is 'signed long long *'. [invalidScanfArgType_int] criu-4.1/criu/proc_parse.c:2005:10: warning: %lx in format string (no. 5) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] criu-4.1/criu/proc_parse.c:1445:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/criu/proc_parse.c:2270:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/criu/proc_parse.c:2273:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/criu/proc_parse.c:1541:2: error: Memory leak: skip [memleak] criu-4.1/test/others/libcriu/test_sub.c:34:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] criu-4.1/criu/proc_parse.c:541:52: warning: Either the condition 'prev' is redundant or there is possible null pointer dereference: prev. [nullPointerRedundantCheck] criu-4.1/criu/proc_parse.c:522:7: note: Assuming that condition 'prev' is not redundant criu-4.1/criu/proc_parse.c:541:52: note: Null pointer dereference criu-4.1/criu/proc_parse.c:541:68: warning: Either the condition 'prev' is redundant or there is possible null pointer dereference: prev. [nullPointerRedundantCheck] criu-4.1/criu/proc_parse.c:522:7: note: Assuming that condition 'prev' is not redundant criu-4.1/criu/proc_parse.c:541:68: note: Null pointer dereference criu-4.1/test/others/loop.c:39:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/others/libcriu/test_sub.c:23:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/criu/proc_parse.c:460:16: style: Local variable 'buf' shadows outer variable [shadowVariable] criu-4.1/criu/proc_parse.c:76:14: note: Shadowed declaration criu-4.1/criu/proc_parse.c:460:16: note: Shadow variable criu-4.1/criu/proc_parse.c:497:8: style: Local variable 'buf' shadows outer variable [shadowVariable] criu-4.1/criu/proc_parse.c:76:14: note: Shadowed declaration criu-4.1/criu/proc_parse.c:497:8: note: Shadow variable criu-4.1/criu/proc_parse.c:958:7: style: Local variable 'buf' shadows outer variable [shadowVariable] criu-4.1/criu/proc_parse.c:76:14: note: Shadowed declaration criu-4.1/criu/proc_parse.c:958:7: note: Shadow variable criu-4.1/criu/proc_parse.c:2056:10: style: Local variable 'buf' shadows outer variable [shadowVariable] criu-4.1/criu/proc_parse.c:76:14: note: Shadowed declaration criu-4.1/criu/proc_parse.c:2056:10: note: Shadow variable criu-4.1/criu/proc_parse.c:2102:10: style: Local variable 'buf' shadows outer variable [shadowVariable] criu-4.1/criu/proc_parse.c:76:14: note: Shadowed declaration criu-4.1/criu/proc_parse.c:2102:10: note: Shadow variable criu-4.1/criu/proc_parse.c:2139:10: style: Local variable 'buf' shadows outer variable [shadowVariable] criu-4.1/criu/proc_parse.c:76:14: note: Shadowed declaration criu-4.1/criu/proc_parse.c:2139:10: note: Shadow variable criu-4.1/criu/proc_parse.c:85:38: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/proc_parse.c:126:8: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/proc_parse.c:221:51: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/proc_parse.c:221:76: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/proc_parse.c:226:61: style: Parameter 'mfd' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/proc_parse.c:226:72: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/proc_parse.c:712:26: style: Parameter 'vfi' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/proc_parse.c:760:49: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/proc_parse.c:1024:28: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] criu-4.1/criu/proc_parse.c:1098:10: style: Variable 'last' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/proc_parse.c:1226:29: style: Parameter 'opt' can be declared as pointer to const. However it seems that 'sb_opt_cb' is a callback function, if 'opt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/criu/proc_parse.c:1361:52: note: You might need to cast the function pointer here criu-4.1/criu/proc_parse.c:1226:29: note: Parameter 'opt' can be declared as pointer to const criu-4.1/criu/proc_parse.c:1366:8: style: Variable 'istr' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/proc_parse.c:1626:21: style: Variable 'mi' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/proc_parse.c:1923:26: style: Variable 'fdinfo' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/proc_parse.c:2210:11: style: Variable 'last' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/proc_parse.c:2505:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] criu-4.1/criu/proc_parse.c:2672:10: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] criu-4.1/test/others/mounts/ext/ns_init.c:34:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/mounts/ext/ns_init.c:107:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/others/mounts/ext/ns_init.c:138:11: warning: If resource allocation fails, then there is a possible null pointer dereference: pidf [nullPointerOutOfResources] criu-4.1/test/others/mounts/ext/ns_init.c:137:15: note: Assuming allocation function fails criu-4.1/test/others/mounts/ext/ns_init.c:137:15: note: Assignment 'pidf=fopen(argv[1],"w")', assigned value is 0 criu-4.1/test/others/mounts/ext/ns_init.c:138:11: note: Null pointer dereference criu-4.1/test/others/mounts/ext/ns_init.c:139:10: warning: If resource allocation fails, then there is a possible null pointer dereference: pidf [nullPointerOutOfResources] criu-4.1/test/others/mounts/ext/ns_init.c:137:15: note: Assuming allocation function fails criu-4.1/test/others/mounts/ext/ns_init.c:137:15: note: Assignment 'pidf=fopen(argv[1],"w")', assigned value is 0 criu-4.1/test/others/mounts/ext/ns_init.c:139:10: note: Null pointer dereference criu-4.1/soccr/soccr.c:247:51: style: Parameter 'sk' can be declared as pointer to const [constParameterPointer] criu-4.1/soccr/soccr.c:247:109: style: Parameter 'ti' can be declared as pointer to const [constParameterPointer] criu-4.1/soccr/soccr.c:280:43: style: Parameter 'sk' can be declared as pointer to const [constParameterPointer] criu-4.1/soccr/soccr.c:439:60: style: Parameter 'sk' can be declared as pointer to const [constParameterPointer] criu-4.1/soccr/soccr.c:448:46: style: Parameter 'sk' can be declared as pointer to const [constParameterPointer] criu-4.1/soccr/soccr.c:784:45: style: Parameter 'sk' can be declared as pointer to const [constParameterPointer] criu-4.1/soccr/soccr.c:784:74: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/rpc/test-c.c:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIU_REQ__INIT [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:234:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_CHILD_SUBREAPER [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:390:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:478:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:535:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:576:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:584:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:591:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:600:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:607:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:613:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:622:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:632:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:639:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:653:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:659:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:684:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:693:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:700:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:134:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:295:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:409:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:418:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:460:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:468:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:475:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:484:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:491:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:497:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:506:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:516:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:523:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:537:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:543:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:566:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:575:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:582:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/tcp/cln.c:106:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/others/rpc/test-c.c:88:3: error: Resource leak: dir_fd [resourceLeak] criu-4.1/test/others/rpc/test-c.c:54:26: style: Parameter 'argv' can be declared as const array [constParameter] criu-4.1/test/others/tcp/cln.c:110:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/others/tcp/cln.c:16:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/tcp/srv.c:60:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/others/socketpairs/socketpair.c:238:41: style:inconclusive: Function 'child' argument 3 names different: declaration 'newfd' definition 'openfd'. [funcArgNamesDifferent] criu-4.1/test/others/socketpairs/socketpair.c:89:41: note: Function 'child' argument 3 names different: declaration 'newfd' definition 'openfd'. criu-4.1/test/others/socketpairs/socketpair.c:238:41: note: Function 'child' argument 3 names different: declaration 'newfd' definition 'openfd'. criu-4.1/test/others/socketpairs/socketpair.c:309:43: style:inconclusive: Function 'checkpoint_child' argument 2 names different: declaration 'old_socket_namefd' definition 'socketfd'. [funcArgNamesDifferent] criu-4.1/test/others/socketpairs/socketpair.c:90:43: note: Function 'checkpoint_child' argument 2 names different: declaration 'old_socket_namefd' definition 'socketfd'. criu-4.1/test/others/socketpairs/socketpair.c:309:43: note: Function 'checkpoint_child' argument 2 names different: declaration 'old_socket_namefd' definition 'socketfd'. criu-4.1/test/others/socketpairs/socketpair.c:332:51: style:inconclusive: Function 'restore_child' argument 2 names different: declaration 'old_socket_name' definition 'old_sock_name'. [funcArgNamesDifferent] criu-4.1/test/others/socketpairs/socketpair.c:91:51: note: Function 'restore_child' argument 2 names different: declaration 'old_socket_name' definition 'old_sock_name'. criu-4.1/test/others/socketpairs/socketpair.c:332:51: note: Function 'restore_child' argument 2 names different: declaration 'old_socket_name' definition 'old_sock_name'. criu-4.1/test/others/socketpairs/socketpair.c:113:18: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/socketpairs/socketpair.c:238:16: style: Parameter 'socketfd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/socketpairs/socketpair.c:309:43: style: Parameter 'socketfd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/socketpairs/socketpair.c:332:25: style: Parameter 'new_socketfd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/socketpairs/socketpair.c:374:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/socketpairs/socketpair.c:432:8: style: Variable 'np' can be declared as pointer to const [constVariablePointer] criu-4.1/test/others/socketpairs/socketpair.c:433:8: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] criu-4.1/test/others/socketpairs/socketpair.c:479:21: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/socketpairs/socketpair.c:494:31: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/socketpairs/socketpair.c:535:23: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/socketpairs/socketpair.c:541:24: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/socketpairs/socketpair.c:548:23: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/unix-callback/unix-client.c:36:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/others/unix-callback/unix-client.c:99:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/others/unix-callback/unix-lib.c:37:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/others/unix-callback/unix-lib.c:44:3: error: Resource leak: skd [resourceLeak] criu-4.1/test/others/tcp/srv.c:79:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/others/tcp/srv.c:85:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/plugins/inventory_test_disabled_plugin.c:6:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_PLUGIN_STAGE__RESTORE [valueFlowBailoutIncompleteVar] criu-4.1/test/others/unix-callback/unix-server.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/others/unix-callback/unix-client.c:42:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/plugins/inventory_test_enabled_plugin.c:6:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR_PLUGIN_STAGE__RESTORE [valueFlowBailoutIncompleteVar] criu-4.1/test/umount2.c:7:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/others/pipes/pipe.c:257:12: error: Allocation with open_safe, move_fd doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/others/unix-callback/unix-server.c:44:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/others/pipes/pipe.c:329:39: style:inconclusive: Function 'child' argument 3 names different: declaration 'newfd' definition 'openfd'. [funcArgNamesDifferent] criu-4.1/test/others/pipes/pipe.c:135:39: note: Function 'child' argument 3 names different: declaration 'newfd' definition 'openfd'. criu-4.1/test/others/pipes/pipe.c:329:39: note: Function 'child' argument 3 names different: declaration 'newfd' definition 'openfd'. criu-4.1/test/others/pipes/pipe.c:158:18: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:329:16: style: Parameter 'pipefd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:406:43: style: Parameter 'pipefd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:431:25: style: Parameter 'new_pipefd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:431:43: style: Parameter 'old_pipe_name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:497:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:548:8: style: Variable 'np' can be declared as pointer to const [constVariablePointer] criu-4.1/test/others/pipes/pipe.c:549:8: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] criu-4.1/test/others/pipes/pipe.c:595:21: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:610:31: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:651:23: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:657:24: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] criu-4.1/test/others/pipes/pipe.c:664:23: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/zdtmtst.h:216:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/bpfmap_zdtm.c:12:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/file.c:9:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/file.c:30:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/zdtmtst.h:214:7: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/lib/bpfmap_zdtm.c:60:8: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] criu-4.1/test/zdtm/lib/bpfmap_zdtm.c:81:43: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/bpfmap_zdtm.c:81:69: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/bpfmap_zdtm.c:102:49: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/bpfmap_zdtm.c:102:80: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/groups.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.c:15:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.c:24:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.c:72:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.c:29:38: style: Parameter 't' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/lock.c:35:39: style: Parameter 't' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/lock.c:76:42: style: Parameter 't' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/fs.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/fs.c:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mem.c:16:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/msg.c:17:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/msg.c:44:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/msg.c:52:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] criu-4.1/test/zdtm/lib/msg.c:15:31: style:inconclusive: Function 'test_log_init' argument 1 names different: declaration 'outfile' definition 'fname'. [funcArgNamesDifferent] criu-4.1/test/zdtm/lib/zdtmtst.h:127:38: note: Function 'test_log_init' argument 1 names different: declaration 'outfile' definition 'fname'. criu-4.1/test/zdtm/lib/msg.c:15:31: note: Function 'test_log_init' argument 1 names different: declaration 'outfile' definition 'fname'. criu-4.1/test/zdtm/lib/msg.c:46:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/lib/fs.c:57:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/lib/fs.c:56:9: style: Variable 'hyphen' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/lib/parseargs.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/parseargs.c:38:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/parseargs.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/parseargs.c:60:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/parseargs.c:71:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/parseargs.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/parseargs.c:95:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/parseargs.c:102:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/parseargs.c:116:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/parseargs.c:130:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_futex [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:49:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAKE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:75:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAKE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:88:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAKE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:95:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAKE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:113:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAIT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:119:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAIT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:125:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAIT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:131:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAIT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:156:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAIT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/lock.h:167:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAKE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:163:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:199:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:232:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC_COARSE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:267:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_DUMPABLE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:291:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:319:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:458:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/streamutil.c:12:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/streamutil.c:51:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/streamutil.c:68:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/streamutil.c:44:47: style:inconclusive: Function 'read_data' argument 3 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] criu-4.1/test/zdtm/lib/zdtmtst.h:62:54: note: Function 'read_data' argument 3 names different: declaration 'len' definition 'size'. criu-4.1/test/zdtm/lib/streamutil.c:44:47: note: Function 'read_data' argument 3 names different: declaration 'len' definition 'size'. criu-4.1/test/zdtm/lib/streamutil.c:60:54: style:inconclusive: Function 'write_data' argument 3 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] criu-4.1/test/zdtm/lib/zdtmtst.h:63:61: note: Function 'write_data' argument 3 names different: declaration 'len' definition 'size'. criu-4.1/test/zdtm/lib/streamutil.c:60:54: note: Function 'write_data' argument 3 names different: declaration 'len' definition 'size'. criu-4.1/test/zdtm/lib/parseargs.c:21:26: style: Parameter 'param' can be declared as pointer to const. However it seems that 'parse_opt_bool' is a callback function, if 'param' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/lib/parseargs.c:12:1: note: You might need to cast the function pointer here criu-4.1/test/zdtm/lib/parseargs.c:21:26: note: Parameter 'param' can be declared as pointer to const criu-4.1/test/zdtm/lib/parseargs.c:34:25: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/parseargs.c:45:26: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/parseargs.c:56:26: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/parseargs.c:67:27: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/parseargs.c:127:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/lib/mountinfo.c:45:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:64:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:80:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:140:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:162:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:171:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siblings [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:201:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siblings [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:239:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:277:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:285:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:307:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:377:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/mountinfo.c:428:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/sysctl.c:10:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/sysctl.c:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/sysctl.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/sysctl.c:83:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/tcp.c:29:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/tcp.c:95:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/tcp.c:110:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/tcp.c:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/tcp.c:46:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/lib/tcp.c:51:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/lib/tcp.c:22:76: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/tcp.c:117:57: style: Parameter 'servIP' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/test.c:414:0: error: #error "Unsupported architecture" [preprocessorErrorDirective] criu-4.1/test/zdtm/lib/test.c:414:2: error: #error "Unsupported architecture" [preprocessorErrorDirective] criu-4.1/test/zdtm/lib/unix.c:15:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:332:19: style: Condition 'create_timens()' is always false [knownConditionTrueFalse] criu-4.1/test/zdtm/lib/ns.c:332:19: note: Calling function 'create_timens' returns 0 criu-4.1/test/zdtm/lib/ns.c:332:19: note: Condition 'create_timens()' is always false criu-4.1/test/zdtm/lib/ns.c:91:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:95:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:100:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:105:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:115:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:120:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:125:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:130:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:140:4: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:147:4: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/lib/ns.c:245:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/lib/lock.h:49:2: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/lock.h:75:2: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/lock.h:88:2: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/lock.h:95:2: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/lock.h:113:2: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/lock.h:119:2: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/lock.h:125:2: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/lock.h:134:3: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/lock.h:159:3: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/lock.h:167:2: error: Null pointer dereference: (volatile unsigned long*)NULL [nullPointer] criu-4.1/test/zdtm/lib/unix.c:6:57: style: Parameter 'relFilename' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/lock.h:49:2: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/lib/lock.h:75:2: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/lib/lock.h:88:2: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/lib/lock.h:95:2: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/lib/lock.h:113:2: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/lib/lock.h:119:2: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/lib/lock.h:125:2: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/lib/lock.h:134:3: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/lib/lock.h:159:3: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/lib/lock.h:167:2: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] criu-4.1/test/zdtm/static/apparmor.c:29:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/ns.c:188:18: style: Variable 'len' is assigned a value that is never used. [unreadVariable] criu-4.1/test/zdtm/static/apparmor.c:51:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/aio01.c:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_io_setup [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/apparmor.c:62:8: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/apparmor_stacking.c:28:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/apparmor_stacking.c:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/apparmor_stacking.c:76:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/apparmor_stacking.c:59:8: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/apparmor_stacking.c:17:29: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/mountinfo.c:318:5: warning: Either the condition '!parent' is redundant or there is possible null pointer dereference: parent. [nullPointerRedundantCheck] criu-4.1/test/zdtm/lib/mountinfo.c:316:7: note: Assuming that condition '!parent' is not redundant criu-4.1/test/zdtm/lib/mountinfo.c:318:5: note: Null pointer dereference criu-4.1/test/zdtm/static/aio01.c:38:7: style: Variable 'buf' is not assigned a value. [unassignedVariable] criu-4.1/test/zdtm/lib/mountinfo.c:87:24: style: Variable 'shared' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/lib/mountinfo.c:87:33: style: Variable 'master' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/lib/mountinfo.c:167:39: style: Parameter 'topology' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/mountinfo.c:179:109: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/mountinfo.c:281:106: style: Parameter 'sg' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/lib/list.h:116:20: style: Variable 'next' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/lib/list.h:175:55: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/bind-mount.c:19:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/lib/list.h:63:16: portability: '(void*)0x00100100' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/lib/list.h:64:16: portability: '(void*)0x00200200' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/lib/list.h:299:12: portability: '(void*)0x00100100' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/lib/list.h:300:13: portability: '(void*)0x00200200' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/lib/xmalloc.h:62:7: portability: '*m' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/binfmt_misc.c:74:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/binfmt_misc.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:124:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:167:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:246:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTOFS_TYPE_DIRECT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:294:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:319:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:353:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:365:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:396:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:424:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:449:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:515:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:564:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:606:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:630:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:650:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:670:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:696:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:710:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:759:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMPFS_MAGIC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:786:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMPFS_MAGIC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:868:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/bpf_array.c:26:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opts [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/bpf_array.c:67:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_map_info [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/bpf_hash.c:26:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opts [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/bpf_hash.c:65:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_map_info [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/bridge.c:68:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/caps01.c:81:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_CHOWN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup00.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/autofs.c:548:42: error: Invalid write() argument nr 3. A non-boolean value is required. [invalidFunctionArgBool] criu-4.1/test/zdtm/static/autofs.c:277:6: error: Resource handle 'fd' freed twice. [doubleFree] criu-4.1/test/zdtm/static/autofs.c:259:6: note: Resource handle 'fd' freed twice. criu-4.1/test/zdtm/static/autofs.c:277:6: note: Resource handle 'fd' freed twice. criu-4.1/test/zdtm/static/auto_dev-ioctl.h:123:9: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assignment 'param=malloc(size)', assigned value is 0 criu-4.1/test/zdtm/static/autofs.c:311:24: note: Calling function 'init_autofs_dev_ioctl', 1st argument 'param' value is 0 criu-4.1/test/zdtm/static/auto_dev-ioctl.h:123:9: note: Null pointer dereference criu-4.1/test/zdtm/static/auto_dev-ioctl.h:124:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assignment 'param=malloc(size)', assigned value is 0 criu-4.1/test/zdtm/static/autofs.c:311:24: note: Calling function 'init_autofs_dev_ioctl', 1st argument 'param' value is 0 criu-4.1/test/zdtm/static/auto_dev-ioctl.h:124:2: note: Null pointer dereference criu-4.1/test/zdtm/static/auto_dev-ioctl.h:125:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assignment 'param=malloc(size)', assigned value is 0 criu-4.1/test/zdtm/static/autofs.c:311:24: note: Calling function 'init_autofs_dev_ioctl', 1st argument 'param' value is 0 criu-4.1/test/zdtm/static/auto_dev-ioctl.h:125:2: note: Null pointer dereference criu-4.1/test/zdtm/static/auto_dev-ioctl.h:126:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assignment 'param=malloc(size)', assigned value is 0 criu-4.1/test/zdtm/static/autofs.c:311:24: note: Calling function 'init_autofs_dev_ioctl', 1st argument 'param' value is 0 criu-4.1/test/zdtm/static/auto_dev-ioctl.h:126:2: note: Null pointer dereference criu-4.1/test/zdtm/static/auto_dev-ioctl.h:127:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assignment 'param=malloc(size)', assigned value is 0 criu-4.1/test/zdtm/static/autofs.c:311:24: note: Calling function 'init_autofs_dev_ioctl', 1st argument 'param' value is 0 criu-4.1/test/zdtm/static/auto_dev-ioctl.h:127:2: note: Null pointer dereference criu-4.1/test/zdtm/static/autofs.c:312:2: warning: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assignment 'param=malloc(size)', assigned value is 0 criu-4.1/test/zdtm/static/autofs.c:312:2: note: Null pointer dereference criu-4.1/test/zdtm/static/autofs.c:313:2: warning: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assignment 'param=malloc(size)', assigned value is 0 criu-4.1/test/zdtm/static/autofs.c:313:2: note: Null pointer dereference criu-4.1/test/zdtm/static/autofs.c:314:2: warning: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assignment 'param=malloc(size)', assigned value is 0 criu-4.1/test/zdtm/static/autofs.c:314:2: note: Null pointer dereference criu-4.1/test/zdtm/static/autofs.c:315:9: warning: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/autofs.c:309:16: note: Assignment 'param=malloc(size)', assigned value is 0 criu-4.1/test/zdtm/static/autofs.c:315:9: note: Null pointer dereference criu-4.1/test/zdtm/static/autofs.c:548:42: style: Same expression on both sides of '!='. [duplicateExpression] criu-4.1/test/zdtm/static/autofs.c:599:45: style: Parameter 'p' can be declared as pointer to const. However it seems that 'reap_child' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/static/autofs.c:819:11: note: You might need to cast the function pointer here criu-4.1/test/zdtm/static/autofs.c:599:45: note: Parameter 'p' can be declared as pointer to const criu-4.1/test/zdtm/static/autofs.c:771:21: style: Variable 'tmpfs' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/cgroup00.c:86:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/cgroup01.c:44:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup00.c:87:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/cgroup00.c:90:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/cgroup00.c:19:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/cgroup00.c:46:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/cgroup01.c:82:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/cgroup01.c:76:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/cgroup02.c:25:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup02.c:113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup03.c:24:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup03.c:125:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup04.c:26:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup04.c:71:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup04.c:96:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup02.c:78:2: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/cgroup02.c:73:24: style: Parameter 'mountinfo_line' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/cgroup02.c:137:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/cgroup_ignore.c:37:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cleanup_free [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_ifpriomap.c:41:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_ifpriomap.c:156:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_ifpriomap.c:234:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_ifpriomap.c:313:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_threads.c:36:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_threads.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_exit_group [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_stray.c:27:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_stray.c:62:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_stray.c:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_threads.c:23:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/cgroup_threads.c:53:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/cgroup_yard.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroupns.c:32:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroupns.c:135:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroupv2_00.c:20:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroup_yard.c:86:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/cgroup_yard.c:87:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/cgroup_yard.c:90:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/cgroup_yard.c:19:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/cgroup_yard.c:46:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/cgroupv2_01.c:38:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroupv2_01.c:61:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroupv2_01.c:93:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/child_opened_proc.c:35:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/change_mnt_context.c:49:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/change_mnt_context.c:40:9: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/child_subreaper.c:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_CHILD_SUBREAPER [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cgroupv2_01.c:33:24: style: Parameter 'cgname' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/child_subreaper_and_reparent.c:85:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_CHILD_SUBREAPER [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/child_subreaper_and_reparent.c:101:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/child_subreaper_existing_child.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_CHILD_SUBREAPER [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/child_subreaper_existing_child.c:99:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/chroot-file.c:25:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/chroot-file.c:153:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/chroot.c:26:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/chroot.c:150:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/clone_fs.c:26:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_kcmp [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/clone_fs.c:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/clone_fs.c:84:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cmdlinenv00.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/chroot-file.c:66:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/chroot-file.c:67:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/chroot-file.c:68:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/console.c:26:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/chroot.c:70:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/chroot.c:71:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/chroot.c:72:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/chroot-file.c:30:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/cgroup_ifpriomap.c:96:8: style: Variable 'space' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/cgroup_ifpriomap.c:163:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/chroot.c:31:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/chroot-file.c:21:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/chroot.c:22:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/console.c:39:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/console.c:47:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/console.c:52:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/console.c:56:2: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/cow00.c:18:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cow00.c:74:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cwd00.c:24:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cwd01.c:21:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cwd02.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cwd01.c:26:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/cwd02.c:24:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/cow00.c:34:3: error: Resource leak: fd1 [resourceLeak] criu-4.1/test/zdtm/static/cow00.c:85:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/cow00.c:88:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/cow00.c:80:9: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/cow00.c:74:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/cow00.c:74:13: note: Assignment 'addr=mmap(NULL,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/cow00.c:80:9: note: Null pointer dereference criu-4.1/test/zdtm/static/cow01.c:79:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cow01.c:190:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cow01.c:264:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cow01.c:296:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cow01.c:330:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_GROWSDOWN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cow01.c:337:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cow01.c:356:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cow01.c:395:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/cow01.c:434:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/del_standalone_un.c:55:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/deleted_dev.c:33:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/del_standalone_un_seqpacket.c:55:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/deleted_unix_sock.c:103:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/del_standalone_un.c:91:28: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/del_standalone_un.c:91:34: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/del_standalone_un.c:96:28: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/del_standalone_un.c:96:34: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/del_standalone_un_seqpacket.c:91:28: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/del_standalone_un_seqpacket.c:91:34: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/del_standalone_un_seqpacket.c:96:28: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/del_standalone_un_seqpacket.c:96:34: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/dumpable01.c:18:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_DUMPABLE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/different_creds.c:33:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/dumpable02.c:25:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_DUMPABLE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/dumpable02.c:178:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/epoll.c:51:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/eventfs00.c:49:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFD_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/epoll01.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fd.c:19:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fanotify00.c:211:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fd01.c:32:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fd_from_pidfd.c:13:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fd_from_pidfd.c:18:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_getfd [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fd_from_pidfd.c:23:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_send_signal [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fd_offset.c:28:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fdt_shared.c:50:23: error: syntax error [syntaxError] criu-4.1/test/zdtm/static/fifo-ghost.c:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fanotify00.c:112:29: warning:inconclusive: Logical disjunction always evaluates to true: *tok > '0' || *tok < 'f'. [incorrectLogicOperator] criu-4.1/test/zdtm/static/fanotify00.c:296:2: error: Resource leak: del_after [resourceLeak] criu-4.1/test/zdtm/static/fanotify00.c:108:32: style: Parameter 'tok' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/fanotify00.c:120:50: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/fanotify00.c:120:76: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/fifo.c:34:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo-ghost.c:40:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/fifo-ghost.c:47:3: error: Resource leak: fd_ro [resourceLeak] criu-4.1/test/zdtm/static/fifo-ghost.c:52:3: error: Resource leak: fd_ro [resourceLeak] criu-4.1/test/zdtm/static/fifo-rowo-pair.c:57:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_ro.c:34:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_upon_unix_socket00.c:31:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_upon_unix_socket00.c:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_upon_unix_socket00.c:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_upon_unix_socket00.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_ro.c:43:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/fifo_ro.c:50:3: error: Resource leak: fd_ro [resourceLeak] criu-4.1/test/zdtm/static/fifo_upon_unix_socket01.c:31:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_upon_unix_socket01.c:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_upon_unix_socket01.c:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_upon_unix_socket01.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_wronly.c:46:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_upon_unix_socket00.c:26:32: warning: If memory allocation fails, then there is a possible null pointer dereference: cwd [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/fifo_upon_unix_socket00.c:25:28: note: Assuming allocation function fails criu-4.1/test/zdtm/static/fifo_upon_unix_socket00.c:25:28: note: Assignment 'cwd=get_current_dir_name()', assigned value is 0 criu-4.1/test/zdtm/static/fifo_upon_unix_socket00.c:26:32: note: Null pointer dereference criu-4.1/test/zdtm/static/cow01.c:96:3: error: Resource leak: fd_child [resourceLeak] criu-4.1/test/zdtm/static/cow01.c:307:2: error: Return value of allocation function 'mmap' is not stored. [leakReturnValNotUsed] criu-4.1/test/zdtm/static/cow01.c:310:2: error: Return value of allocation function 'mmap' is not stored. [leakReturnValNotUsed] criu-4.1/test/zdtm/static/cow01.c:133:5: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] criu-4.1/test/zdtm/static/cow01.c:104:12: note: p is initialized criu-4.1/test/zdtm/static/cow01.c:133:5: note: p is overwritten criu-4.1/test/zdtm/static/file_append.c:25:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_attr.c:23:18: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/test/zdtm/static/cow01.c:133:22: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/cow01.c:308:7: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/cow01.c:310:12: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/fifo_upon_unix_socket01.c:26:32: warning: If memory allocation fails, then there is a possible null pointer dereference: cwd [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/fifo_upon_unix_socket01.c:25:28: note: Assuming allocation function fails criu-4.1/test/zdtm/static/fifo_upon_unix_socket01.c:25:28: note: Assignment 'cwd=get_current_dir_name()', assigned value is 0 criu-4.1/test/zdtm/static/fifo_upon_unix_socket01.c:26:32: note: Null pointer dereference criu-4.1/test/zdtm/static/file_append.c:31:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/file_append.c:38:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/file_append.c:38:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/file_append.c:43:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/file_append.c:43:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/file_cloexec.c:24:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_append.c:50:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/file_cloexec.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_append.c:50:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/file_append.c:55:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/file_append.c:55:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/file_append.c:60:2: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/file_append.c:60:2: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/file_lease00.c:28:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease00.c:40:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETLEASE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease00.c:74:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/fifo_wronly.c:57:4: error: Resource leak: fd1 [resourceLeak] criu-4.1/test/zdtm/static/fifo_wronly.c:90:4: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/file_lease01.c:32:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease01.c:43:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETLEASE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease01.c:75:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_fown.c:41:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_fown.c:86:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease03.c:33:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETLEASE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease03.c:48:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease03.c:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease02.c:38:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETLEASE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease02.c:53:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease02.c:112:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease01.c:17:29: style: Parameter 'fds' can be declared as const array [constParameter] criu-4.1/test/zdtm/static/file_lease04.c:33:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETLEASE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease04.c:48:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease04.c:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_fown.c:39:53: style: Parameter 'pipes' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/file_locks00.c:31:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks00.c:43:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks00.c:72:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks00.c:106:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks00.c:137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease02.c:50:31: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/file_lease02.c:86:29: style: Parameter 'fds' can be declared as const array [constParameter] criu-4.1/test/zdtm/static/file_lease03.c:45:31: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/file_locks00_fail.c:31:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks00_fail.c:43:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks00_fail.c:72:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks00_fail.c:106:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks00_fail.c:137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_lease04.c:45:31: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/file_locks00.c:154:3: error: Resource leak: fd_0 [resourceLeak] criu-4.1/test/zdtm/static/file_locks00.c:154:3: error: Resource leak: fd_1 [resourceLeak] criu-4.1/test/zdtm/static/file_locks00.c:173:3: error: Resource leak: fd_1 [resourceLeak] criu-4.1/test/zdtm/static/file_locks00_fail.c:154:3: error: Resource leak: fd_0 [resourceLeak] criu-4.1/test/zdtm/static/file_locks00_fail.c:154:3: error: Resource leak: fd_1 [resourceLeak] criu-4.1/test/zdtm/static/file_locks00_fail.c:173:3: error: Resource leak: fd_1 [resourceLeak] criu-4.1/test/zdtm/static/file_locks02.c:23:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks02.c:72:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks01.c:41:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks01.c:87:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks01.c:160:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_SH [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks03.c:23:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks03.c:74:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks05.c:23:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks04.c:20:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks04.c:72:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks05.c:32:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/file_locks06.c:16:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks02.c:44:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/file_locks06.c:35:19: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/file_locks03.c:44:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/file_locks08.c:18:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks07.c:38:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks04.c:37:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/file_locks04.c:100:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/file_shared.c:27:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_locks08.c:37:19: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/futex.c:30:18: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/test/zdtm/static/futex-rl.c:23:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/futex-rl.c:72:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/file_shared.c:42:3: error: Resource leak: fd3 [resourceLeak] criu-4.1/test/zdtm/static/file_shared.c:50:4: error: Resource leak: fd3 [resourceLeak] criu-4.1/test/zdtm/static/file_shared.c:54:4: error: Resource leak: fd3 [resourceLeak] criu-4.1/test/zdtm/static/file_shared.c:99:4: error: Resource leak: fd3 [resourceLeak] criu-4.1/test/zdtm/static/file_shared.c:104:4: error: Resource leak: fd3 [resourceLeak] criu-4.1/test/zdtm/static/file_shared.c:109:4: error: Resource leak: fd3 [resourceLeak] criu-4.1/test/zdtm/static/file_shared.c:111:3: error: Resource leak: fd3 [resourceLeak] criu-4.1/test/zdtm/static/get_smaps_bits.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_GROWSDOWN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_holes00.c:55:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_holes01.c:55:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_holes01.c:85:27: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_holes01.c:144:28: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_holes00.c:85:27: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_holes00.c:144:28: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/file_locks01.c:110:9: warning: %x in format string (no. 5) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] criu-4.1/test/zdtm/static/file_locks01.c:110:9: warning: %x in format string (no. 6) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] criu-4.1/test/zdtm/static/file_locks01.c:110:9: warning: %ld in format string (no. 7) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] criu-4.1/test/zdtm/static/file_locks01.c:110:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/ghost_holes02.c:55:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_holes_large00.c:47:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_holes_large01.c:47:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_holes02.c:85:27: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_holes02.c:144:28: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_multi_hole00.c:40:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_holes_large00.c:77:27: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_holes_large00.c:134:28: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_holes_large00.c:138:38: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_holes_large01.c:77:27: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_holes_large01.c:134:28: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_holes_large01.c:138:38: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/ghost_on_rofs.c:19:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_multi_hole01.c:40:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_multi_hole00.c:108:22: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/groups.c:39:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: grp [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/groups.c:27:14: note: Assuming allocation function fails criu-4.1/test/zdtm/static/groups.c:27:14: note: Assignment 'grp=malloc((ng+1)*sizeof(*grp))', assigned value is 0 criu-4.1/test/zdtm/static/groups.c:29:9: note: Assuming condition is false criu-4.1/test/zdtm/static/groups.c:39:2: note: Null pointer dereference criu-4.1/test/zdtm/static/ghost_on_rofs.c:81:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:88:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:93:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:93:3: error: Resource leak: fd_bind [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:108:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:113:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:113:3: error: Resource leak: fd_bind [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:118:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:118:3: error: Resource leak: fd_bind [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:123:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:123:3: error: Resource leak: fd_bind [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:132:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:132:3: error: Resource leak: fd_bind [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:140:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:140:3: error: Resource leak: fd_bind [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:145:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:145:3: error: Resource leak: fd_bind [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:150:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:150:3: error: Resource leak: fd_bind [resourceLeak] criu-4.1/test/zdtm/static/grow_map.c:17:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ghost_on_rofs.c:155:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ghost_on_rofs.c:155:3: error: Resource leak: fd_bind [resourceLeak] criu-4.1/test/zdtm/static/ghost_multi_hole01.c:108:22: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] criu-4.1/test/zdtm/static/grow_map02.c:18:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/get_smaps_bits.c:28:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] criu-4.1/test/zdtm/static/get_smaps_bits.c:64:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] criu-4.1/test/zdtm/static/grow_map03.c:22:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/get_smaps_bits.c:23:8: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/get_smaps_bits.c:73:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/grow_map03.c:27:9: warning: If memory allocation fails, then there is a possible null pointer dereference: start_addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map03.c:27:9: note: Null pointer dereference criu-4.1/test/zdtm/static/grow_map03.c:29:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map03.c:29:26: note: Null pointer addition criu-4.1/test/zdtm/static/grow_map03.c:31:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map03.c:31:26: note: Null pointer addition criu-4.1/test/zdtm/static/helper_zombie_child.c:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_PID [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/helper_zombie_child.c:102:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/grow_map.c:47:3: error: Memory leak: test_addr [memleak] criu-4.1/test/zdtm/static/grow_map.c:56:3: error: Memory leak: grow_down [memleak] criu-4.1/test/zdtm/static/grow_map.c:22:9: warning: If memory allocation fails, then there is a possible null pointer dereference: start_addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:22:9: note: Null pointer dereference criu-4.1/test/zdtm/static/grow_map.c:32:4: warning: If memory allocation fails, then there is a possible null pointer dereference: p-- [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:24:23: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:24:23: note: Assignment 'fake_grow_down=mmap(start_addr+PAGE_SIZE*5,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:31:4: note: p is assigned 'fake_grow_down' here. criu-4.1/test/zdtm/static/grow_map.c:32:4: note: Null pointer dereference criu-4.1/test/zdtm/static/grow_map.c:53:9: warning: If memory allocation fails, then there is a possible null pointer dereference: test_addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:36:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:36:18: note: Assignment 'test_addr=mmap(start_addr+PAGE_SIZE*3,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:45:16: note: Assuming condition is false criu-4.1/test/zdtm/static/grow_map.c:53:9: note: Null pointer dereference criu-4.1/test/zdtm/static/grow_map.c:24:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:24:35: note: Null pointer addition criu-4.1/test/zdtm/static/grow_map.c:32:4: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:24:23: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:24:23: note: Assignment 'fake_grow_down=mmap(start_addr+PAGE_SIZE*5,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:31:4: note: p is assigned 'fake_grow_down' here. criu-4.1/test/zdtm/static/grow_map.c:32:4: note: Null pointer subtraction criu-4.1/test/zdtm/static/grow_map.c:36:30: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:26:21: note: Assuming condition is false criu-4.1/test/zdtm/static/grow_map.c:36:30: note: Null pointer addition criu-4.1/test/zdtm/static/grow_map.c:13:38: style: Variable 'test_addr' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/grow_map02.c:42:3: error: Memory leak: grow_down [memleak] criu-4.1/test/zdtm/static/grow_map02.c:51:3: error: Memory leak: grow_down [memleak] criu-4.1/test/zdtm/static/grow_map02.c:53:3: error: Memory leak: grow_down [memleak] criu-4.1/test/zdtm/static/grow_map02.c:55:3: error: Memory leak: grow_down [memleak] criu-4.1/test/zdtm/static/grow_map02.c:59:2: error: Memory leak: grow_down [memleak] criu-4.1/test/zdtm/static/grow_map02.c:23:9: warning: If memory allocation fails, then there is a possible null pointer dereference: start_addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:18:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:18:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:23:9: note: Null pointer dereference criu-4.1/test/zdtm/static/grow_map02.c:32:2: warning: If memory allocation fails, then there is a possible null pointer dereference: grow_down [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assignment 'grow_down=mmap(start_addr+PAGE_SIZE*3,PAGE_SIZE*3,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:32:2: note: Null pointer dereference criu-4.1/test/zdtm/static/grow_map02.c:33:2: warning: If memory allocation fails, then there is a possible null pointer dereference: grow_down [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assignment 'grow_down=mmap(start_addr+PAGE_SIZE*3,PAGE_SIZE*3,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:33:2: note: Null pointer dereference criu-4.1/test/zdtm/static/grow_map02.c:34:2: warning: If memory allocation fails, then there is a possible null pointer dereference: grow_down [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assignment 'grow_down=mmap(start_addr+PAGE_SIZE*3,PAGE_SIZE*3,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:34:2: note: Null pointer dereference criu-4.1/test/zdtm/static/grow_map02.c:25:30: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:18:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:18:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:25:30: note: Null pointer addition criu-4.1/test/zdtm/static/grow_map02.c:40:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assignment 'grow_down=mmap(start_addr+PAGE_SIZE*3,PAGE_SIZE*3,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:40:25: note: Null pointer addition criu-4.1/test/zdtm/static/inotify00.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inotify_event [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/inotify00.c:96:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_DELETE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/inotify01.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inotify_event [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/inotify01.c:96:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_DELETE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/inotify04.c:24:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inotify_event [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/inotify04.c:54:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_ALL_EVENTS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/inotify02.c:53:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_DELETE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/inotify_irmap.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inotify_event [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/inotify_irmap.c:34:7: error: Return value of allocation function 'creat' is not stored. [leakReturnValNotUsed] criu-4.1/test/zdtm/static/jobctl00.c:20:18: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/test/zdtm/static/link10.c:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/loginuid.c:26:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/loginuid.c:52:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps02.c:24:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ipc_namespace.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps02.c:52:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ipc_namespace.c:102:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_INFO [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ipc_namespace.c:145:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_INFO [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ipc_namespace.c:168:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_INFO [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ipc_namespace.c:219:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ipc_namespace.c:243:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ipc_namespace.c:383:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps01.c:25:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps03.c:24:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps03.c:38:42: style: Condition 'mem[8L<<30]!=2' is always false [knownConditionTrueFalse] criu-4.1/test/zdtm/static/maps03.c:31:18: note: Assignment 'mem[8L<<30]=2', assigned value is 2 criu-4.1/test/zdtm/static/maps03.c:38:42: note: Condition 'mem[8L<<30]!=2' is always false criu-4.1/test/zdtm/static/maps03.c:27:3: error: Memory leak: mem [memleak] criu-4.1/test/zdtm/static/maps03.c:45:2: error: Memory leak: mem [memleak] criu-4.1/test/zdtm/static/maps03.c:30:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mem [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/maps03.c:24:20: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps03.c:24:8: note: Assignment 'mem=(void*)mmap(NULL,10L<<30,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps03.c:30:2: note: Null pointer dereference criu-4.1/test/zdtm/static/maps03.c:31:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mem [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/maps03.c:24:20: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps03.c:24:8: note: Assignment 'mem=(void*)mmap(NULL,10L<<30,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps03.c:31:2: note: Null pointer dereference criu-4.1/test/zdtm/static/maps03.c:38:6: warning: If memory allocation fails, then there is a possible null pointer dereference: mem [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/maps03.c:24:20: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps03.c:24:8: note: Assignment 'mem=(void*)mmap(NULL,10L<<30,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps03.c:38:6: note: Null pointer dereference criu-4.1/test/zdtm/static/maps03.c:38:28: warning: If memory allocation fails, then there is a possible null pointer dereference: mem [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/maps03.c:24:20: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps03.c:24:8: note: Assignment 'mem=(void*)mmap(NULL,10L<<30,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps03.c:38:28: note: Null pointer dereference criu-4.1/test/zdtm/static/maps00.c:32:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps00.c:70:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps00.c:124:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps04.c:27:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps01.c:69:13: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:71:13: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:73:13: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:73:26: portability: 'p+(1LU<<29)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:75:13: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:75:26: portability: 'p+(1LU<<29)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:77:13: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:86:22: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:90:22: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:94:22: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:98:22: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:98:35: portability: 'p+(1LU<<29)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:102:22: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:114:16: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:133:11: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:134:11: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:137:12: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:154:16: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps01.c:162:17: portability: 'p2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps04.c:38:18: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps04.c:27:10: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps04.c:27:10: note: Assignment 'm=mmap(NULL,1L<<29,PROT_WRITE|PROT_READ,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps04.c:38:18: note: Null pointer addition criu-4.1/test/zdtm/static/maps04.c:38:18: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps05.c:33:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps06.c:17:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps09.c:18:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps00.c:142:22: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] criu-4.1/test/zdtm/static/maps00.c:152:23: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] criu-4.1/test/zdtm/static/maps00.c:185:35: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] criu-4.1/test/zdtm/static/maps00.c:187:34: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] criu-4.1/test/zdtm/static/maps00.c:197:37: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/maps09.c:49:13: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps09.c:30:11: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps09.c:30:11: note: Assignment 'm2=mmap(NULL,4UL*(1UL<<20),PROT_READ|PROT_WRITE,MAP_HUGETLB|MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps09.c:37:11: note: Assuming condition is false criu-4.1/test/zdtm/static/maps09.c:49:13: note: Null pointer addition criu-4.1/test/zdtm/static/maps00.c:167:47: portability: 'map->ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps09.c:55:6: style: Variable 'crc' is reassigned a value before the old one has been used. [redundantAssignment] criu-4.1/test/zdtm/static/maps09.c:50:6: note: crc is assigned criu-4.1/test/zdtm/static/maps09.c:55:6: note: crc is overwritten criu-4.1/test/zdtm/static/maps09.c:45:13: portability: 'm1' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps09.c:49:13: portability: 'm2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps09.c:61:17: portability: 'm1' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps09.c:71:17: portability: 'm2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps06.c:35:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/maps06.c:42:3: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/maps06.c:39:14: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps06.c:39:14: note: Assignment 'addr=mmap(start+i*3*ps,ps,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FILE|MAP_FIXED,fd,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps06.c:42:3: note: Null pointer dereference criu-4.1/test/zdtm/static/maps06.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/maps06.c:43:14: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps06.c:43:14: note: Assignment 'addr=mmap(start+(i*3+1)*ps,ps,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps06.c:47:3: note: Null pointer dereference criu-4.1/test/zdtm/static/maps06.c:43:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps06.c:33:14: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps06.c:33:14: note: Assignment 'start=mmap(0,ps*test_size*4,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps06.c:40:12: note: Assuming condition is false criu-4.1/test/zdtm/static/maps06.c:43:21: note: Null pointer addition criu-4.1/test/zdtm/static/maps06.c:55:8: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/maps06.c:39:21: portability: 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps06.c:43:21: portability: 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps06.c:56:16: portability: 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps06.c:59:16: portability: 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps_file_prot.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps10.c:24:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mem-touch.c:26:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps_file_prot.c:38:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps_file_prot.c:35:15: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps_file_prot.c:35:15: note: Assignment 'ro_map=mmap(NULL,2*PAGE_SIZE,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps_file_prot.c:38:18: note: Null pointer addition criu-4.1/test/zdtm/static/maps_file_prot.c:38:18: portability: 'ro_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/ipc_namespace.c:200:10: style: Condition 'ret<0' is always false [knownConditionTrueFalse] criu-4.1/test/zdtm/static/ipc_namespace.c:199:27: note: Calling function 'get_semaphores_info' returns 0 criu-4.1/test/zdtm/static/ipc_namespace.c:199:27: note: Assignment 'ret=get_semaphores_info(ipc)', assigned value is 0 criu-4.1/test/zdtm/static/ipc_namespace.c:200:10: note: Condition 'ret<0' is always false criu-4.1/test/zdtm/static/ipc_namespace.c:224:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] criu-4.1/test/zdtm/static/ipc_namespace.c:248:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] criu-4.1/test/zdtm/static/ipc_namespace.c:248:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] criu-4.1/test/zdtm/static/ipc_namespace.c:248:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] criu-4.1/test/zdtm/static/ipc_namespace.c:248:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] criu-4.1/test/zdtm/static/ipc_namespace.c:228:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/ipc_namespace.c:253:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mem-touch.c:51:21: warning:inconclusive: Possible null pointer dereference: (unsigned int*)(mem+i*PAGE_SIZE) [nullPointer] criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assignment 'mem=mmap(NULL,16*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/mem-touch.c:51:21: note: Null pointer dereference criu-4.1/test/zdtm/static/mem-touch.c:41:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assignment 'mem=mmap(NULL,16*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/mem-touch.c:41:21: note: Null pointer addition criu-4.1/test/zdtm/static/mem-touch.c:41:21: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/mem-touch.c:51:38: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/mem-touch.c:52:81: portability: 'mem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/membarrier.c:24:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_membarrier [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/membarrier.c:48:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEMBARRIER_CMD_QUERY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/membarrier.c:104:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/maps05.c:38:9: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/maps05.c:33:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps05.c:33:13: note: Assignment 'addr=mmap(NULL,summary,PROT_NONE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps05.c:38:9: note: Null pointer dereference criu-4.1/test/zdtm/static/maps05.c:49:5: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/maps05.c:41:16: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps05.c:41:16: note: Assignment 'map[i]=mmap(i>0?map[i-1]+8192:addr,4096,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps05.c:48:11: note: v is assigned '(void*)map[i]' here. criu-4.1/test/zdtm/static/maps05.c:49:5: note: Null pointer dereference criu-4.1/test/zdtm/static/maps05.c:26:32: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/maps05.c:81:8: style: Variable 'v' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/maps05.c:41:36: portability: 'map[i-1]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps05.c:53:43: portability: 'map[(4096+0)-1]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps05.c:62:61: portability: 'map[4096+0]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps05.c:65:39: portability: 'map[4096+0]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps05.c:74:61: portability: 'map[4096+1]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/maps10.c:33:3: error: Memory leak: p1 [memleak] criu-4.1/test/zdtm/static/maps10.c:39:3: error: Memory leak: p1 [memleak] criu-4.1/test/zdtm/static/maps10.c:39:3: error: Memory leak: p2 [memleak] criu-4.1/test/zdtm/static/maps10.c:51:3: error: Memory leak: s1 [memleak] criu-4.1/test/zdtm/static/memfd00.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_memfd_create [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd00.c:40:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MFD_CLOEXEC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd01.c:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_memfd_create [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd01.c:40:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MFD_CLOEXEC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd02-hugetlb.c:31:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_memfd_create [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd02-hugetlb.c:53:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MFD_CLOEXEC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd02.c:31:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_memfd_create [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd02.c:53:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MFD_CLOEXEC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd03.c:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_memfd_create [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd03.c:58:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MFD_ALLOW_SEALING [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd02-hugetlb.c:53:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] criu-4.1/test/zdtm/static/memfd04.c:18:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_memfd_create [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd04.c:23:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_execveat [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd04.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd01.c:95:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/memfd05.c:18:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_memfd_create [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd05.c:23:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_execveat [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd05.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd03.c:78:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/memfd03.c:84:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/memfd03.c:84:3: error: Memory leak: addr_write [memleak] criu-4.1/test/zdtm/static/memfd03.c:93:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/memfd03.c:93:3: error: Memory leak: addr_read [memleak] criu-4.1/test/zdtm/static/mlock_setuid.c:18:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd03.c:98:2: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/memfd03.c:98:2: error: Memory leak: addr_read [memleak] criu-4.1/test/zdtm/static/memfd02.c:53:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] criu-4.1/test/zdtm/static/memfd03.c:91:13: warning: If memory allocation fails, then there is a possible null pointer dereference: addr_read [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/memfd03.c:87:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/memfd03.c:87:18: note: Assignment 'addr_read=mmap(NULL,1,PROT_READ,MAP_PRIVATE,fd2,0)', assigned value is 0 criu-4.1/test/zdtm/static/memfd03.c:91:13: note: Null pointer dereference criu-4.1/test/zdtm/static/mnt_enablefs.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/memfd03.c:53:8: style: Variable 'addr_write' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/memfd03.c:53:21: style: Variable 'addr_read' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_dev.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_master.c:22:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_collision.c:36:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_collision.c:86:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_master.c:22:38: style: Variable 'root' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_auto.c:35:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_manual.c:35:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_collision.c:86:8: style: Variable 'root' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_collision.c:89:8: style: Variable 'zdtm_newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_dev.c:52:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:57:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:57:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:65:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:65:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:70:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:70:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:75:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:75:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:75:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:83:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:83:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:83:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:88:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:88:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:88:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:93:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:93:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:93:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:98:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:98:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:98:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:103:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:103:3: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:103:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:108:2: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:108:2: error: Resource leak: dfd [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_dev.c:108:2: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/mnt_ext_multiple.c:18:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_root.c:19:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_auto.c:48:24: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ext_auto.c:49:44: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ext_auto.c:50:29: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ext_auto.c:51:42: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ext_auto.c:52:35: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ro_bind.c:24:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_auto.c:35:38: style: Variable 'root' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_auto.c:40:8: style: Variable 'zdtm_newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_root_ext.c:16:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_multiple.c:18:8: style: Variable 'root' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_sharing.c:37:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_multiple.c:23:8: style: Variable 'zdtm_newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_sharing.c:75:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_sharing.c:90:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_manual.c:48:24: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ext_manual.c:49:44: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ext_manual.c:50:29: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ext_manual.c:51:42: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ext_manual.c:52:35: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_ext_root.c:19:8: style: Variable 'root' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_root.c:22:8: style: Variable 'zdtm_newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_tracefs.c:21:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_ext_manual.c:35:38: style: Variable 'root' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_manual.c:40:8: style: Variable 'zdtm_newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_tracefs.c:31:24: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mnt_tracefs.c:58:39: error: Allocation with get_current_dir_name, sprintf doesn't release it. [leakNoVarFunctionCall] criu-4.1/test/zdtm/static/mntns_deleted.c:35:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mnt_root_ext.c:16:8: style: Variable 'root' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_root_ext.c:17:8: style: Variable 'zdtm_newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mntns_ghost.c:44:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_ghost01.c:21:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_deleted.c:64:6: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] criu-4.1/test/zdtm/static/mntns_deleted.c:70:6: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] criu-4.1/test/zdtm/static/mntns_deleted.c:64:13: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] criu-4.1/test/zdtm/static/mntns_deleted.c:70:13: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] criu-4.1/test/zdtm/static/mntns_link_ghost.c:31:26: error: syntax error [syntaxError] criu-4.1/test/zdtm/static/mnt_ext_sharing.c:35:32: style: Parameter 'pid' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/mnt_ext_sharing.c:35:43: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/mnt_ext_sharing.c:39:17: style: Variable 'shared' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_sharing.c:90:8: style: Variable 'root' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mnt_ext_sharing.c:94:8: style: Variable 'zdtm_newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mntns_open.c:31:26: error: syntax error [syntaxError] criu-4.1/test/zdtm/static/mntns_link_remap.c:31:26: error: syntax error [syntaxError] criu-4.1/test/zdtm/static/mntns_ghost.c:73:4: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:53:3: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:61:4: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:66:4: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:71:4: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:76:4: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:82:4: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:90:4: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:97:4: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:100:3: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_ghost01.c:107:3: error: Resource leak: pfd [resourceLeak] criu-4.1/test/zdtm/static/mntns_overmount.c:21:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_pivot_root.c:36:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_pivot_root [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_pivot_root.c:47:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_pivot_root.c:144:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_pivot_root_ro.c:36:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_pivot_root [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_pivot_root_ro.c:47:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_pivot_root_ro.c:144:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_remap.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_ro_root.c:40:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_pivot_root.c:44:8: style: Variable 'testfile' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mntns_pivot_root_ro.c:44:8: style: Variable 'testfile' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/mntns_root_bind.c:28:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_rw_ro_rw.c:25:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_BIND [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_root_bind02.c:28:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_shared_bind.c:28:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_shared_bind02.c:28:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mntns_shared_vs_private.c:28:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mount_paths.c:22:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mountpoints.c:22:26: error: syntax error [syntaxError] criu-4.1/test/zdtm/static/mount_complex_sharing.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mount_complex_sharing.c:160:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mount_complex_sharing.c:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mntns_before [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mprotect00.c:33:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mprotect00.c:85:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/msgque.c:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/mprotect00.c:91:28: warning: Either the condition 'pagesize<0' is redundant or mmap() argument nr 2 can have invalid value. The value is 0 but the valid values are '1:'. [invalidFunctionArg] criu-4.1/test/zdtm/static/mprotect00.c:86:15: note: Assuming that condition 'pagesize<0' is not redundant criu-4.1/test/zdtm/static/mprotect00.c:91:28: note: Invalid argument criu-4.1/test/zdtm/static/mprotect00.c:91:31: warning: Division by result of sizeof(). mmap() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] criu-4.1/test/zdtm/static/mtime_mmap.c:36:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/net_lock_socket_iptables.c:28:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/net_lock_socket_iptables.c:45:3: error: Resource leak: f_sync [resourceLeak] criu-4.1/test/zdtm/static/mtime_mmap.c:66:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/mtime_mmap.c:55:20: note: Assuming allocation function fails criu-4.1/test/zdtm/static/mtime_mmap.c:55:8: note: Assignment 'ptr=(char*)mmap(NULL,count,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)', assigned value is 0 criu-4.1/test/zdtm/static/mtime_mmap.c:66:3: note: Null pointer dereference criu-4.1/test/zdtm/static/mtime_mmap.c:68:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/mtime_mmap.c:55:20: note: Assuming allocation function fails criu-4.1/test/zdtm/static/mtime_mmap.c:55:8: note: Assignment 'ptr=(char*)mmap(NULL,count,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)', assigned value is 0 criu-4.1/test/zdtm/static/mtime_mmap.c:68:13: note: Null pointer dereference criu-4.1/test/zdtm/static/net_lock_socket_iptables6.c:28:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/net_lock_socket_nftables.c:28:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/net_lock_socket_nftables6.c:28:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/net_lock_socket_iptables6.c:45:3: error: Resource leak: f_sync [resourceLeak] criu-4.1/test/zdtm/static/net_lock_socket_nftables.c:45:3: error: Resource leak: f_sync [resourceLeak] criu-4.1/test/zdtm/static/net_lock_socket_nftables6.c:45:3: error: Resource leak: f_sync [resourceLeak] criu-4.1/test/zdtm/static/netns_lock_iptables.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns_lock_nftables.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns-dev.c:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns-dev.c:365:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns_sub.c:23:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns_sub_sysctl.c:64:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns-dev.c:398:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns_sub.c:67:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns_sub.c:103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns_sub_veth.c:50:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/non_uniform_share_propagation.c:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/oom_score_adj.c:25:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/oom_score_adj.c:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ofd_file_locks.c:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ofd_file_locks.c:51:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ofd_file_locks.c:83:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/netns-dev.c:417:8: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/netns-dev.c:210:46: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/netns-dev.c:280:40: style: Parameter 'conf' can be declared as pointer to const. However it seems that 'restore_conf' is a callback function, if 'conf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/static/netns-dev.c:493:27: note: You might need to cast the function pointer here criu-4.1/test/zdtm/static/netns-dev.c:280:40: note: Parameter 'conf' can be declared as pointer to const criu-4.1/test/zdtm/static/netns-dev.c:361:48: style: Parameter 'tc' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/netns-dev.c:394:50: style: Parameter 'tc' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/opath_file.c:25:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/opath_file.c:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ofd_file_locks.c:19:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] criu-4.1/test/zdtm/static/ofd_file_locks.c:117:49: style: Parameter 'orig_lck' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/ofd_file_locks.c:117:73: style: Parameter 'lck' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/overmount_dev.c:45:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/overmount_file.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/overmount_fifo.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/overmount_with_shared_parent.c:15:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/overmount_sock.c:26:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/overmount_sock.c:126:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/overmounted_file.c:19:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/packet_sock_mmap.c:74:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/overmounted_file.c:61:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/overmounted_file.c:73:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/overmounted_file.c:81:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/overmounted_file.c:86:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/packet_sock_spkt.c:23:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_PACKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/packet_sock_spkt.c:38:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_PACKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/packet_sock_spkt.c:54:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_ALL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/packet_sock.c:99:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_IP [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/packet_sock_spkt.c:78:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock_spkt.c:29:47: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/packet_sock_spkt.c:16:7: style: struct member 'ethframe::data' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/packet_sock_mmap.c:48:3: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] criu-4.1/test/zdtm/static/packet_sock_mmap.c:48:3: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] criu-4.1/test/zdtm/static/packet_sock_mmap.c:80:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/packet_sock_mmap.c:90:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/packet_sock_mmap.c:96:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/packet_sock_mmap.c:43:35: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] criu-4.1/test/zdtm/static/packet_sock_mmap.c:42:11: note: Assuming allocation function fails criu-4.1/test/zdtm/static/packet_sock_mmap.c:42:11: note: Assignment 'f=fopen("/proc/self/maps","r")', assigned value is 0 criu-4.1/test/zdtm/static/packet_sock_mmap.c:43:35: note: Null pointer dereference criu-4.1/test/zdtm/static/pid_file.c:20:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pdeath_sig.c:44:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/pdeath_sig.c:45:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/pdeath_sig.c:15:36: style: Parameter 'i' can be declared as pointer to const. However it seems that 'sigh' is a callback function, if 'i' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/static/pdeath_sig.c:55:22: note: You might need to cast the function pointer here criu-4.1/test/zdtm/static/pdeath_sig.c:15:36: note: Parameter 'i' can be declared as pointer to const criu-4.1/test/zdtm/static/pdeath_sig.c:15:45: style: Parameter 'd' can be declared as pointer to const. However it seems that 'sigh' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/static/pdeath_sig.c:55:22: note: You might need to cast the function pointer here criu-4.1/test/zdtm/static/pdeath_sig.c:15:45: note: Parameter 'd' can be declared as pointer to const criu-4.1/test/zdtm/static/pidfd_child.c:12:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_child.c:17:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_send_signal [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pid_file.c:32:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/pid_file.c:36:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/pid_file.c:36:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/pid_file.c:40:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/pid_file.c:40:3: error: Resource leak: fd2 [resourceLeak] criu-4.1/test/zdtm/static/pidfd_diffdead.c:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_diffdead.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_send_signal [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pid00.c:23:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/pid00.c:24:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/pid00.c:25:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/pidfd_kill.c:12:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_kill.c:17:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_send_signal [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_dead.c:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_dead.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_send_signal [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_dead.c:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stx_ino [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_dead.c:199:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_of_thread.c:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_of_thread.c:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_send_signal [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_of_thread.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_THREAD [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_of_thread.c:46:30: style: Parameter 'a' can be declared as pointer to const. However it seems that 'thread_func' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/static/pidfd_of_thread.c:85:14: note: You might need to cast the function pointer here criu-4.1/test/zdtm/static/pidfd_of_thread.c:46:30: note: Parameter 'a' can be declared as pointer to const criu-4.1/test/zdtm/static/pidfd_diffdead.c:103:7: style: Local variable 'gchild' shadows outer variable [shadowVariable] criu-4.1/test/zdtm/static/pidfd_diffdead.c:65:18: note: Shadowed declaration criu-4.1/test/zdtm/static/pidfd_diffdead.c:103:7: note: Shadow variable criu-4.1/test/zdtm/static/pidfd_self.c:17:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_open [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_self.c:22:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_send_signal [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pidfd_dead.c:197:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] criu-4.1/test/zdtm/static/pidfd_dead.c:126:7: style: Local variable 'gchild' shadows outer variable [shadowVariable] criu-4.1/test/zdtm/static/pidfd_dead.c:98:18: note: Shadowed declaration criu-4.1/test/zdtm/static/pidfd_dead.c:126:7: note: Shadow variable criu-4.1/test/zdtm/static/pipe01.c:21:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pipe02.c:20:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/packet_sock.c:102:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:110:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:110:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:116:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:116:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:122:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:122:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:128:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:128:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:134:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:134:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:144:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:144:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:150:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:150:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:156:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:156:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:162:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:162:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:170:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:170:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:179:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:179:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:189:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:189:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:198:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:198:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:202:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:202:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:207:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:207:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:212:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:212:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:218:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:218:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:223:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:223:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:231:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:231:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:237:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:237:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:242:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/packet_sock.c:242:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/pidfd_self.c:82:53: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/packet_sock.c:63:16: style: struct member 'packet_mreq_max::mr_address' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/pipe02.c:39:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/pipe02.c:55:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/pipe02.c:60:2: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/pipe03.c:23:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/private_bind_propagation.c:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/poll.c:32:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/poll.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/proc-self.c:46:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/posix_timers.c:125:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/posix_timers.c:195:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/posix_timers.c:303:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/posix_timers.c:380:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/posix_timers.c:413:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread00-pac.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_exit_group [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread00-pac.c:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_exit_group [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread00-pac.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_exit_group [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread00-pac.c:144:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/poll.c:45:8: style: Variable 'deltaenv' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/pthread00.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_exit_group [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread00.c:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_exit_group [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread00.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_exit_group [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread00.c:144:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread02.c:16:32: style: Parameter 'args' can be declared as pointer to const. However it seems that 'thread_func' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/static/pthread02.c:30:36: note: You might need to cast the function pointer here criu-4.1/test/zdtm/static/pthread02.c:16:32: note: Parameter 'args' can be declared as pointer to const criu-4.1/test/zdtm/static/pthread00-pac.c:53:7: style: Variable '__tls_data' can be declared as const array [constVariable] criu-4.1/test/zdtm/static/pthread00-pac.c:77:7: style: Variable '__tls_data' can be declared as const array [constVariable] criu-4.1/test/zdtm/static/pthread00-pac.c:109:7: style: Variable '__tls_data' can be declared as const array [constVariable] criu-4.1/test/zdtm/static/pthread_timers.c:43:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGEV_THREAD [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread01.c:105:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread01.c:152:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread01.c:200:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread_timers_h.c:43:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGEV_THREAD [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread00.c:53:7: style: Variable '__tls_data' can be declared as const array [constVariable] criu-4.1/test/zdtm/static/pthread00.c:77:7: style: Variable '__tls_data' can be declared as const array [constVariable] criu-4.1/test/zdtm/static/pthread00.c:109:7: style: Variable '__tls_data' can be declared as const array [constVariable] criu-4.1/test/zdtm/static/ptrace_sig.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/ptrace_sig.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_PID [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pty-console.c:33:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pty00.c:45:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pthread01.c:229:6: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: results_map [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/pthread01.c:200:20: note: Assuming allocation function fails criu-4.1/test/zdtm/static/pthread01.c:200:20: note: Assignment 'results_map=mmap(NULL,1024,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/pthread01.c:209:10: note: Assuming condition is false criu-4.1/test/zdtm/static/pthread01.c:229:6: note: Null pointer dereference criu-4.1/test/zdtm/static/pthread01.c:95:7: style: Variable '__tls_data' can be declared as const array [constVariable] criu-4.1/test/zdtm/static/pthread01.c:141:7: style: Variable '__tls_data' can be declared as const array [constVariable] criu-4.1/test/zdtm/static/posix_timers.c:411:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] criu-4.1/test/zdtm/static/pty-console.c:52:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:70:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:70:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:80:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:80:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:86:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:86:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:92:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:92:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:98:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:98:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:103:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:103:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:109:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:109:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:115:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/posix_timers.c:188:53: style: Parameter 'sleep_start' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/pty-console.c:115:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/posix_timers.c:188:83: style: Parameter 'sleep_end' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/pty-console.c:120:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty-console.c:120:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:33:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pty00.c:62:3: error: Resource leak: fds [resourceLeak] criu-4.1/test/zdtm/static/pty00.c:68:3: error: Resource leak: fds [resourceLeak] criu-4.1/test/zdtm/static/pty00.c:68:3: error: Resource leak: tty [resourceLeak] criu-4.1/test/zdtm/static/pty00.c:75:3: error: Resource leak: tty [resourceLeak] criu-4.1/test/zdtm/static/pty02.c:35:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pty04.c:23:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/remap_dead_pid.c:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pty03.c:26:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pty04.c:43:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty04.c:48:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty04.c:48:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty03.c:44:3: error: Resource leak: slave [resourceLeak] criu-4.1/test/zdtm/static/pty03.c:63:3: error: Resource leak: slave [resourceLeak] criu-4.1/test/zdtm/static/pty03.c:69:3: error: Resource leak: slave [resourceLeak] criu-4.1/test/zdtm/static/pty03.c:74:3: error: Resource leak: slave [resourceLeak] criu-4.1/test/zdtm/static/remap_dead_pid_root.c:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/rmdir_open.c:19:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/rlimits00.c:14:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIM_NLIMITS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/pty01.c:52:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:70:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:70:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:80:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:80:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:86:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:86:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:92:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:92:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:98:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:98:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:103:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:103:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:109:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:109:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:115:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:115:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/pty02.c:55:19: style: Local variable 'ret' shadows outer variable [shadowVariable] criu-4.1/test/zdtm/static/pty02.c:28:21: note: Shadowed declaration criu-4.1/test/zdtm/static/pty02.c:55:19: note: Shadow variable criu-4.1/test/zdtm/static/pty01.c:120:3: error: Resource leak: slave1 [resourceLeak] criu-4.1/test/zdtm/static/pty01.c:120:3: error: Resource leak: slave2 [resourceLeak] criu-4.1/test/zdtm/static/rtc.c:25:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_mmap_high.c:41:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_gs_threads.c:97:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_gs_threads.c:131:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_gs_threads.c:146:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_mmap_high.c:47:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/s390x_mmap_high.c:41:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/s390x_mmap_high.c:41:12: note: Assignment 'buf=mmap(addr,0x1000,PROT_WRITE|PROT_READ,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/s390x_mmap_high.c:47:9: note: Null pointer dereference criu-4.1/test/zdtm/static/s390x_mmap_high.c:54:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/s390x_mmap_high.c:41:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/s390x_mmap_high.c:41:12: note: Assignment 'buf=mmap(addr,0x1000,PROT_WRITE|PROT_READ,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/s390x_mmap_high.c:54:7: note: Null pointer dereference criu-4.1/test/zdtm/static/s390x_mmap_high.c:56:27: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/s390x_mmap_high.c:41:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/s390x_mmap_high.c:41:12: note: Assignment 'buf=mmap(addr,0x1000,PROT_WRITE|PROT_READ,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/s390x_mmap_high.c:54:14: note: Assuming condition is false criu-4.1/test/zdtm/static/s390x_mmap_high.c:56:27: note: Null pointer dereference criu-4.1/test/zdtm/static/s390x_mmap_high.c:20:8: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/s390x_mmap_high.c:20:41: portability: '(void*)0x20000000000000UL' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/rtc.c:33:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/rtc.c:38:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:145:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sched_prio00.c:50:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIO_PROCESS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sched_policy00.c:54:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_RR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sched_prio00.c:27:27: style: Parameter 'pid' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/s390x_regs_check.c:295:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_regs_check.c:348:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_GETREGSET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_regs_check.c:396:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_regs_check.c:444:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_ATTACH [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_regs_check.c:460:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_DETACH [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm00.c:23:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm00.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TRUNC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm01.c:23:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm01.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TRUNC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm00.c:45:7: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/scm02.c:23:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm02.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TRUNC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_regs_check.c:412:32: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'thread_func' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/static/s390x_regs_check.c:430:37: note: You might need to cast the function pointer here criu-4.1/test/zdtm/static/s390x_regs_check.c:412:32: note: Parameter 'fd' can be declared as pointer to const criu-4.1/test/zdtm/static/scm01.c:45:7: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/scm03-seqpacket.c:49:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm03-seqpacket.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CTRUNC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm03.c:49:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm03.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CTRUNC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm04.c:49:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm04.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CTRUNC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm02.c:45:7: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/scm03.c:74:7: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/scm03-seqpacket.c:74:7: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/scm05.c:26:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm05.c:62:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CTRUNC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm05.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm04.c:74:7: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/scm06.c:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm06.c:66:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CTRUNC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm06.c:98:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm09.c:23:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm09.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TRUNC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm09.c:45:7: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/seccomp_no_new_privs.c:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_NO_NEW_PRIVS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm05.c:50:7: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/selfexe00.c:26:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/scm06.c:54:7: style: Variable 'fdp' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/selinux00.c:40:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/selinux00.c:63:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/selinux01.c:42:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/selinux01.c:63:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/selinux01.c:86:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/selinux02.c:42:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/selinux02.c:63:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/selinux02.c:86:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/selinux00.c:89:9: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] criu-4.1/test/zdtm/static/selinux00.c:87:17: note: Assuming allocation function fails criu-4.1/test/zdtm/static/selinux00.c:87:17: note: Assignment 'f=fopen("/proc/self/attr/sockcreate","r")', assigned value is 0 criu-4.1/test/zdtm/static/selinux00.c:89:9: note: Null pointer dereference criu-4.1/test/zdtm/static/sem.c:23:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sem.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sem_num [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sem.c:76:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sem_num [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sem.c:120:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:141:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:140:14: note: Assuming allocation function fails criu-4.1/test/zdtm/static/s390x_runtime_instr.c:140:14: note: Assignment 'buf=malloc(1024*1024)', assigned value is 0 criu-4.1/test/zdtm/static/s390x_runtime_instr.c:141:9: note: Null pointer dereference criu-4.1/test/zdtm/static/s390x_runtime_instr.c:114:50: style: Parameter 'cb' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:122:51: style: Parameter 'cb' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:37:15: style: struct member 'runtime_instr_cb::v' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:38:15: style: struct member 'runtime_instr_cb::s' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:39:15: style: struct member 'runtime_instr_cb::k' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:40:15: style: struct member 'runtime_instr_cb::h' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:41:15: style: struct member 'runtime_instr_cb::a' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:42:15: style: struct member 'runtime_instr_cb::reserved1' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:43:15: style: struct member 'runtime_instr_cb::ps' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:44:15: style: struct member 'runtime_instr_cb::qs' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:45:15: style: struct member 'runtime_instr_cb::pc' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:46:15: style: struct member 'runtime_instr_cb::qc' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:47:15: style: struct member 'runtime_instr_cb::reserved2' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:48:15: style: struct member 'runtime_instr_cb::g' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:49:15: style: struct member 'runtime_instr_cb::u' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:50:15: style: struct member 'runtime_instr_cb::l' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:51:15: style: struct member 'runtime_instr_cb::key' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:52:15: style: struct member 'runtime_instr_cb::reserved3' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:53:15: style: struct member 'runtime_instr_cb::t' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:54:15: style: struct member 'runtime_instr_cb::rgs' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:56:15: style: struct member 'runtime_instr_cb::m' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:57:15: style: struct member 'runtime_instr_cb::n' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:58:15: style: struct member 'runtime_instr_cb::mae' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:59:15: style: struct member 'runtime_instr_cb::reserved4' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:60:15: style: struct member 'runtime_instr_cb::c' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:61:15: style: struct member 'runtime_instr_cb::r' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:62:15: style: struct member 'runtime_instr_cb::b' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:63:15: style: struct member 'runtime_instr_cb::j' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:64:15: style: struct member 'runtime_instr_cb::e' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:65:15: style: struct member 'runtime_instr_cb::x' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:66:15: style: struct member 'runtime_instr_cb::reserved5' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:67:15: style: struct member 'runtime_instr_cb::bpxn' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:68:15: style: struct member 'runtime_instr_cb::bpxt' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:69:15: style: struct member 'runtime_instr_cb::bpti' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:70:15: style: struct member 'runtime_instr_cb::bpni' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:71:15: style: struct member 'runtime_instr_cb::reserved6' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:73:15: style: struct member 'runtime_instr_cb::d' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:74:15: style: struct member 'runtime_instr_cb::f' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:75:15: style: struct member 'runtime_instr_cb::ic' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:76:15: style: struct member 'runtime_instr_cb::dc' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:78:16: style: struct member 'runtime_instr_cb::reserved7' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:79:16: style: struct member 'runtime_instr_cb::sf' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:80:16: style: struct member 'runtime_instr_cb::rsic' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/s390x_runtime_instr.c:81:16: style: struct member 'runtime_instr_cb::reserved8' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/selinux02.c:112:9: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] criu-4.1/test/zdtm/static/selinux02.c:110:17: note: Assuming allocation function fails criu-4.1/test/zdtm/static/selinux02.c:110:17: note: Assignment 'f=fopen("/proc/self/attr/sockcreate","r")', assigned value is 0 criu-4.1/test/zdtm/static/selinux02.c:112:9: note: Null pointer dereference criu-4.1/test/zdtm/static/selinux01.c:112:9: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] criu-4.1/test/zdtm/static/selinux01.c:110:17: note: Assuming allocation function fails criu-4.1/test/zdtm/static/selinux01.c:110:17: note: Assignment 'f=fopen("/proc/self/attr/sockcreate","r")', assigned value is 0 criu-4.1/test/zdtm/static/selinux01.c:112:9: note: Null pointer dereference criu-4.1/test/zdtm/static/sem.c:106:20: style: union member 'semun::buf' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/sem.c:107:19: style: union member 'semun::array' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/sem.c:108:19: style: union member 'semun::__buf' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/session02.c:60:29: error: syntax error [syntaxError] criu-4.1/test/zdtm/static/session03.c:101:29: error: syntax error [syntaxError] criu-4.1/test/zdtm/static/session00.c:237:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/shared_slave_mount_children.c:15:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/shared_mount_propagation.c:16:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/shm-hugetlb.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/session01.c:199:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/shm-mp.c:22:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/shm-mp.c:79:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/session00.c:151:9: style: Local variable 'ret' shadows outer variable [shadowVariable] criu-4.1/test/zdtm/static/session00.c:57:14: note: Shadowed declaration criu-4.1/test/zdtm/static/session00.c:151:9: note: Shadow variable criu-4.1/test/zdtm/static/session00.c:207:9: style: Local variable 'pid' shadows outer variable [shadowVariable] criu-4.1/test/zdtm/static/session00.c:187:8: note: Shadowed declaration criu-4.1/test/zdtm/static/session00.c:207:9: note: Shadow variable criu-4.1/test/zdtm/static/shm-hugetlb.c:65:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] criu-4.1/test/zdtm/static/shm-hugetlb.c:84:6: style: Redundant initialization for 'crc'. The initialized value is overwritten before it is read. [redundantInitialization] criu-4.1/test/zdtm/static/shm-hugetlb.c:77:15: note: crc is initialized criu-4.1/test/zdtm/static/shm-hugetlb.c:84:6: note: crc is overwritten criu-4.1/test/zdtm/static/shmemfd-priv.c:29:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/shm-unaligned.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/shm.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/session01.c:205:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/session01.c:199:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/session01.c:199:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_WRITE|PROT_READ,MAP_SHARED|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/session01.c:205:18: note: Null pointer addition criu-4.1/test/zdtm/static/shmemfd.c:32:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/session01.c:72:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/session01.c:205:18: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/shm-unaligned.c:65:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] criu-4.1/test/zdtm/static/shm-unaligned.c:84:6: style: Redundant initialization for 'crc'. The initialized value is overwritten before it is read. [redundantInitialization] criu-4.1/test/zdtm/static/shm-unaligned.c:77:15: note: crc is initialized criu-4.1/test/zdtm/static/shm-unaligned.c:84:6: note: crc is overwritten criu-4.1/test/zdtm/static/shm.c:65:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] criu-4.1/test/zdtm/static/sigaltstack.c:19:61: error: syntax error [syntaxError] criu-4.1/test/zdtm/static/shmemfd-priv.c:47:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:47:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/shmemfd-priv.c:53:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/shm.c:84:6: style: Redundant initialization for 'crc'. The initialized value is overwritten before it is read. [redundantInitialization] criu-4.1/test/zdtm/static/shm.c:77:15: note: crc is initialized criu-4.1/test/zdtm/static/shm.c:84:6: note: crc is overwritten criu-4.1/test/zdtm/static/shmemfd-priv.c:53:3: error: Memory leak: priv_addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:53:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/shmemfd-priv.c:63:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:63:3: error: Memory leak: priv_addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:63:3: error: Memory leak: addr2 [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:63:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/shmemfd-priv.c:67:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:67:3: error: Memory leak: priv_addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:67:3: error: Memory leak: addr2 [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:67:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/shmemfd-priv.c:71:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:71:3: error: Memory leak: priv_addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:71:3: error: Memory leak: addr2 [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:71:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/shmemfd-priv.c:76:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:76:3: error: Memory leak: priv_addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:76:3: error: Memory leak: addr2 [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:76:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/shmemfd-priv.c:81:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:81:3: error: Memory leak: priv_addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:81:3: error: Memory leak: addr2 [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:81:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/shmemfd-priv.c:86:2: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:86:2: error: Memory leak: priv_addr [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:86:2: error: Memory leak: addr2 [memleak] criu-4.1/test/zdtm/static/shmemfd-priv.c:86:2: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/shmemfd-priv.c:35:3: warning: If memory allocation fails, then there is a possible null pointer dereference: (int*)addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assignment 'addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:35:3: note: Null pointer dereference criu-4.1/test/zdtm/static/shmemfd-priv.c:65:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (int*)(priv_addr) [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assignment 'priv_addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_FILE|MAP_PRIVATE,fd,PAGE_SIZE)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:51:12: note: Assuming condition is false criu-4.1/test/zdtm/static/shmemfd-priv.c:65:7: note: Null pointer dereference criu-4.1/test/zdtm/static/shmemfd-priv.c:36:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assignment 'addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:36:16: note: Null pointer addition criu-4.1/test/zdtm/static/shmemfd-priv.c:37:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assignment 'addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:37:16: note: Null pointer addition criu-4.1/test/zdtm/static/shmemfd-priv.c:56:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assignment 'priv_addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_FILE|MAP_PRIVATE,fd,PAGE_SIZE)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:51:12: note: Assuming condition is false criu-4.1/test/zdtm/static/shmemfd-priv.c:56:21: note: Null pointer addition criu-4.1/test/zdtm/static/signalfd00.c:34:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFD_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/shmemfd-priv.c:61:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assignment 'priv_addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_FILE|MAP_PRIVATE,fd,PAGE_SIZE)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:51:12: note: Assuming condition is false criu-4.1/test/zdtm/static/shmemfd-priv.c:61:25: note: Null pointer addition criu-4.1/test/zdtm/static/shmemfd-priv.c:36:16: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/shmemfd-priv.c:37:16: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/shmemfd-priv.c:56:21: portability: 'priv_addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/shmemfd-priv.c:61:25: portability: 'priv_addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/shmemfd-priv.c:74:20: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/shmemfd-priv.c:78:16: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/shmemfd-priv.c:79:25: portability: 'priv_addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/sigtrap.c:46:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFD_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-freebind-false.c:33:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/shmemfd.c:43:9: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/shmemfd.c:32:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd.c:32:13: note: Assignment 'addr=mmap(NULL,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd.c:40:9: note: Assuming condition is false criu-4.1/test/zdtm/static/shmemfd.c:43:9: note: Null pointer dereference criu-4.1/test/zdtm/static/sk-freebind.c:33:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sigpending.c:81:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLD_EXITED [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sigpending.c:136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sigpending.c:187:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _sifields [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sigpending.c:224:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-freebind-false.c:45:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-freebind-false.c:49:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-freebind-false.c:66:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-freebind-false.c:71:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-freebind-false.c:76:2: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-freebind.c:45:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-freebind.c:49:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-freebind.c:66:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-freebind.c:71:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-freebind.c:76:2: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:48:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:69:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:101:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:138:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-listen01.c:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-listen02.c:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-listen01.c:75:14: warning: Either the condition 'sk!=-1' is redundant or connect() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] criu-4.1/test/zdtm/static/sk-unix-listen01.c:94:9: note: Assuming that condition 'sk!=-1' is not redundant criu-4.1/test/zdtm/static/sk-unix-listen01.c:75:14: note: Invalid argument criu-4.1/test/zdtm/static/sk-unix-listen01.c:55:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:61:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:65:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:65:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:69:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:69:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:69:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:73:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:73:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:73:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:76:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:76:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:99:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:99:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen01.c:116:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-netlink.c:64:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-listen01.c:40:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/sigpending.c:91:14: style: Variable 'src' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/sigpending.c:35:7: style: struct member 'Anonymous0::si_errno' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/sigpending.c:39:8: style: union member 'Anonymous1::_pad' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/sk-unix-listen02.c:75:14: warning: Either the condition 'sk!=-1' is redundant or connect() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] criu-4.1/test/zdtm/static/sk-unix-listen02.c:94:9: note: Assuming that condition 'sk!=-1' is not redundant criu-4.1/test/zdtm/static/sk-unix-listen02.c:75:14: note: Invalid argument criu-4.1/test/zdtm/static/sk-unix-listen02.c:55:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:61:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:65:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:65:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:69:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:69:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:69:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:73:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:73:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:73:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:76:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:76:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:99:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:99:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:116:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen02.c:40:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/sk-unix-listen03.c:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-listen04.c:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-listen03.c:75:14: warning: Either the condition 'sk!=-1' is redundant or connect() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] criu-4.1/test/zdtm/static/sk-unix-listen03.c:94:9: note: Assuming that condition 'sk!=-1' is not redundant criu-4.1/test/zdtm/static/sk-unix-listen03.c:75:14: note: Invalid argument criu-4.1/test/zdtm/static/sk-unix-listen03.c:55:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:61:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:65:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:65:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:69:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:69:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:69:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:73:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:73:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:73:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:76:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:76:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:99:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:99:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen03.c:116:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:66:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:43:32: warning: If memory allocation fails, then there is a possible null pointer dereference: cwd [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:42:28: note: Assuming allocation function fails criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:42:28: note: Assignment 'cwd=get_current_dir_name()', assigned value is 0 criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:43:32: note: Null pointer dereference criu-4.1/test/zdtm/static/sk-unix-listen03.c:40:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:222:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:194:6: note: ret is assigned criu-4.1/test/zdtm/static/sk-unix-dgram-ghost.c:222:6: note: ret is overwritten criu-4.1/test/zdtm/static/sk-unix-mntns.c:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-listen04.c:75:14: warning: Either the condition 'sk!=-1' is redundant or connect() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] criu-4.1/test/zdtm/static/sk-unix-listen04.c:94:9: note: Assuming that condition 'sk!=-1' is not redundant criu-4.1/test/zdtm/static/sk-unix-listen04.c:75:14: note: Invalid argument criu-4.1/test/zdtm/static/sk-unix-listen04.c:55:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:61:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:65:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:65:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:69:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:69:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:69:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:73:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:73:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:73:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:76:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:76:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:99:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:99:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:116:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-listen04.c:40:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/sk-unix-rel-seqpacket.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-rel.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:22:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-mntns.c:52:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-mntns.c:58:4: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-mntns.c:62:4: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-mntns.c:66:4: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-mntns.c:75:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-mntns.c:34:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/sk-unix-unconn.c:22:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix-rel-seqpacket.c:59:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-rel-seqpacket.c:116:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:37:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:44:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:44:3: error: Resource leak: skc [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:55:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:55:3: error: Resource leak: skc [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:64:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:64:3: error: Resource leak: skc [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:69:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn-seqpacket.c:74:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-rel-seqpacket.c:42:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/sk-unix-unconn.c:37:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn.c:44:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn.c:44:3: error: Resource leak: skc [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn.c:55:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn.c:55:3: error: Resource leak: skc [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn.c:64:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn.c:64:3: error: Resource leak: skc [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn.c:69:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-unconn.c:74:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix-rel.c:59:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-rel.c:116:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sk-unix-rel.c:42:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/skip-me.c:5:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_SKIP_REASON [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-netlink.c:39:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:56:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:56:3: error: Resource leak: bsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:61:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:61:3: error: Resource leak: bsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:61:3: error: Resource leak: csk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:69:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:69:3: error: Resource leak: bsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:69:3: error: Resource leak: csk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:69:3: error: Resource leak: dsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:76:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:76:3: error: Resource leak: bsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:76:3: error: Resource leak: csk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:76:3: error: Resource leak: dsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:83:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:83:3: error: Resource leak: bsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:83:3: error: Resource leak: dsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:105:3: error: Resource leak: ssk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:105:3: error: Resource leak: bsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:105:3: error: Resource leak: dsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:118:3: error: Resource leak: bsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:118:3: error: Resource leak: dsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:123:3: error: Resource leak: dsk [resourceLeak] criu-4.1/test/zdtm/static/sk-netlink.c:72:21: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] criu-4.1/test/zdtm/static/sk-netlink.c:80:21: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] criu-4.1/test/zdtm/static/sk-unix01.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix01.c:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix01.c:88:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix01-seqpacket.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix01-seqpacket.c:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix01-seqpacket.c:88:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sock_ip_opts00.c:74:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sock_filter00.c:60:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:66:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:71:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:77:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:82:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:91:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:96:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:102:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:107:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:112:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:117:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter00.c:64:48: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/sock_filter00.c:89:48: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/sock_filter01.c:60:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:66:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:71:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:77:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:82:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:91:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:96:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:102:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:107:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:112:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:117:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sock_filter01.c:64:48: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/sock_filter01.c:89:48: error: Null pointer dereference [nullPointer] criu-4.1/test/zdtm/static/sock_opts00.c:22:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_PRIORITY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sock_ip_opts01.c:74:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sock_opts01.c:17:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sock_opts01.c:33:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sock_opts01.c:40:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sock_opts01.c:50:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/sock_opts00.c:34:16: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] criu-4.1/test/zdtm/static/sock_opts02.c:72:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sock_peercred.c:38:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sock_peercred.c:87:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-dump-tcp-close.c:30:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCP_CLOSE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-dump-tcp-close.c:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix01-seqpacket.c:346:3: error: Resource leak: dir [resourceLeak] criu-4.1/test/zdtm/static/sk-unix01-seqpacket.c:352:3: error: Resource leak: dir [resourceLeak] criu-4.1/test/zdtm/static/socket-ext.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sk-unix01.c:346:3: error: Resource leak: dir [resourceLeak] criu-4.1/test/zdtm/static/sk-unix01.c:352:3: error: Resource leak: dir [resourceLeak] criu-4.1/test/zdtm/static/sk-unix01-seqpacket.c:97:7: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-linger.c:27:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-linger.c:35:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-linger.c:40:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-linger.c:45:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-linger.c:49:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/sk-unix01.c:97:7: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp-close0.c:30:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCP_CLOSE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-close0.c:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-ext.c:75:4: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-ext.c:47:19: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] criu-4.1/test/zdtm/static/socket-ext.c:32:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp-close-wait.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-close-wait.c:134:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-close1.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-close2.c:21:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-closed.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-closing.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-closing.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:57:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:62:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:70:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:89:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:93:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:97:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:111:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:115:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:119:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:123:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:128:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:132:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:137:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:141:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed-last-ack.c:145:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:57:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:62:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:70:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:89:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:93:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:97:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:111:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:115:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:119:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:123:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:128:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:132:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:137:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:141:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-closed.c:145:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-close-wait.c:99:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp-fin-wait1.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-fin-wait1.c:130:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-ipt-nfconntrack.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-fin-wait2.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-fin-wait2.c:130:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-closing.c:97:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp-fin-wait1.c:98:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp-fin-wait2.c:98:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-raw.c:72:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_TIMESTAMP [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-raw.c:101:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-raw.c:160:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-raw.c:194:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-last-ack.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-last-ack.c:134:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-listen.c:70:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-local.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-last-ack.c:99:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:32:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:37:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:42:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:49:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:57:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:62:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:67:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:72:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:77:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:82:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:87:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:92:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-keepalive.c:96:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-reseted.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-nft-nfconntrack.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-reuseport.c:57:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-skip-in-flight.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:50:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:52:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:57:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:71:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:71:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:76:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:76:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:93:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:101:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:109:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:118:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:124:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:130:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:136:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-syn-sent.c:140:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:51:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:56:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:70:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:70:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:76:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:76:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:85:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:85:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:89:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:89:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:105:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:114:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp-unconn.c:119:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-close-wait.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-close-wait.c:134:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:57:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:62:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:70:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:89:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:93:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:97:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:111:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:115:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:119:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:123:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:128:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:132:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:137:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:141:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closed.c:145:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp4v6-closing.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-closing.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-fin-wait1.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-fin-wait1.c:130:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-fin-wait2.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-fin-wait2.c:130:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-close-wait.c:99:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp4v6-fin-wait1.c:98:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp4v6-closing.c:97:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp4v6-last-ack.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-last-ack.c:134:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-local.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-fin-wait2.c:98:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp4v6.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-close-wait.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-close-wait.c:134:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp4v6-last-ack.c:99:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp6-close-wait.c:99:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-closing.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-closing.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:57:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:62:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:70:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:89:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:93:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:97:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:111:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:115:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:119:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:123:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:128:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:132:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:137:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-fin-wait1.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:141:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-fin-wait1.c:130:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-closed.c:145:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-fin-wait2.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-fin-wait2.c:130:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-last-ack.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-last-ack.c:134:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-fin-wait1.c:98:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp6-fin-wait2.c:98:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp6-local.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-closing.c:97:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcp6-last-ack.c:99:8: style: Variable 'newns' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:51:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:56:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:70:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:70:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:76:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:76:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:85:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:85:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:89:3: error: Resource leak: sock [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:89:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:105:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:114:3: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcp6-unconn.c:119:2: error: Resource leak: sk [resourceLeak] criu-4.1/test/zdtm/static/socket-tcpbuf6-local.c:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcpbuf6-local.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcpbuf.c:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcpbuf.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcpbuf-local.c:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcpbuf-local.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcpbuf6-local.c:143:10: warning: Identical condition 'fd<0', second condition is always false [identicalConditionAfterEarlyExit] criu-4.1/test/zdtm/static/socket-tcpbuf6-local.c:139:10: note: If condition 'fd<0' is true, the function will return/exit criu-4.1/test/zdtm/static/socket-tcpbuf6-local.c:143:10: note: Testing identical condition 'fd<0' criu-4.1/test/zdtm/static/socket-tcpbuf6-local.c:36:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/socket-tcpbuf-local.c:143:10: warning: Identical condition 'fd<0', second condition is always false [identicalConditionAfterEarlyExit] criu-4.1/test/zdtm/static/socket-tcpbuf-local.c:139:10: note: If condition 'fd<0' is true, the function will return/exit criu-4.1/test/zdtm/static/socket-tcpbuf-local.c:143:10: note: Testing identical condition 'fd<0' criu-4.1/test/zdtm/static/socket-tcpbuf-local.c:36:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/socket-tcpbuf6.c:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcpbuf6.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket6_udp.c:27:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcpbuf.c:143:10: warning: Identical condition 'fd<0', second condition is always false [identicalConditionAfterEarlyExit] criu-4.1/test/zdtm/static/socket-tcpbuf.c:139:10: note: If condition 'fd<0' is true, the function will return/exit criu-4.1/test/zdtm/static/socket-tcpbuf.c:143:10: note: Testing identical condition 'fd<0' criu-4.1/test/zdtm/static/socket-tcpbuf.c:36:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/socket_aio.c:41:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_close_data.c:20:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket6_udp.c:46:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket6_udp.c:52:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket6_udp.c:63:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket6_udp.c:63:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/socket6_udp.c:69:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_close_data01.c:30:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_close_data01.c:54:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_dgram_data.c:25:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_listen.c:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_dgram_data.c:33:3: error: Resource leak: srv [resourceLeak] criu-4.1/test/zdtm/static/socket_dgram_data.c:38:3: error: Resource leak: srv [resourceLeak] criu-4.1/test/zdtm/static/socket_dgram_data.c:38:3: error: Resource leak: clnt1 [resourceLeak] criu-4.1/test/zdtm/static/socket_dgram_data.c:60:3: error: Resource leak: srv [resourceLeak] criu-4.1/test/zdtm/static/socket_dgram_data.c:70:3: error: Resource leak: srv [resourceLeak] criu-4.1/test/zdtm/static/socket_dgram_data.c:76:3: error: Resource leak: srv [resourceLeak] criu-4.1/test/zdtm/static/socket_dgram_data.c:80:2: error: Resource leak: srv [resourceLeak] criu-4.1/test/zdtm/static/socket_aio.c:86:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] criu-4.1/test/zdtm/static/socket_aio.c:75:7: note: ret is assigned criu-4.1/test/zdtm/static/socket_aio.c:86:7: note: ret is overwritten criu-4.1/test/zdtm/static/socket_listen4v6.c:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket-tcpbuf6.c:143:10: warning: Identical condition 'fd<0', second condition is always false [identicalConditionAfterEarlyExit] criu-4.1/test/zdtm/static/socket-tcpbuf6.c:139:10: note: If condition 'fd<0' is true, the function will return/exit criu-4.1/test/zdtm/static/socket-tcpbuf6.c:143:10: note: Testing identical condition 'fd<0' criu-4.1/test/zdtm/static/socket-tcpbuf6.c:36:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/socket_listen6.c:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_snd_addr.c:41:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_udp-corked.c:31:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_udp-broadcast.c:29:3: error: Resource leak: sockfd [resourceLeak] criu-4.1/test/zdtm/static/socket_udp-broadcast.c:37:3: error: Resource leak: sockfd [resourceLeak] criu-4.1/test/zdtm/static/socket_udp-broadcast.c:42:3: error: Resource leak: sockfd [resourceLeak] criu-4.1/test/zdtm/static/socket_udp-broadcast.c:46:2: error: Resource leak: sockfd [resourceLeak] criu-4.1/test/zdtm/static/socket_udp.c:32:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_udp_shutdown.c:24:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_udp-corked.c:51:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:32:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sockets00-seqpacket.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_udp.c:51:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udp.c:57:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udp.c:68:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udp.c:68:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/socket_udp.c:74:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/sockets00.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sockets00-seqpacket.c:63:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sockets00-seqpacket.c:167:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sockets00-seqpacket.c:43:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/sockets00.c:63:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sockets00.c:167:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sockets00.c:43:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/socket_udplite.c:51:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:57:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:68:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:68:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:74:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:80:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:91:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:91:3: error: Resource leak: sk3 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:97:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:97:3: error: Resource leak: sk3 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:108:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:108:3: error: Resource leak: sk3 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:108:3: error: Resource leak: sk4 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:114:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:114:3: error: Resource leak: sk3 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:120:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:125:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udplite.c:130:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/sockets01-seqpacket.c:46:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sockets01.c:46:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sockets02-seqpacket.c:55:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sockets02.c:55:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_udp_shutdown.c:52:3: error: Resource leak: sk1 [resourceLeak] criu-4.1/test/zdtm/static/socket_udp_shutdown.c:52:3: error: Resource leak: sk2 [resourceLeak] criu-4.1/test/zdtm/static/sockets03-seqpacket.c:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/socket_snd_addr.c:53:9: warning: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] criu-4.1/test/zdtm/static/socket_snd_addr.c:26:19: note: Assignment 'clnt=-1', assigned value is -1 criu-4.1/test/zdtm/static/socket_snd_addr.c:47:10: note: Assuming condition is false criu-4.1/test/zdtm/static/socket_snd_addr.c:53:9: note: Invalid argument criu-4.1/test/zdtm/static/sockets03.c:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sockets_dgram.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sockets03-seqpacket.c:57:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sockets03-seqpacket.c:126:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sockets03-seqpacket.c:38:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/stopped.c:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_PID [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sockets03.c:57:3: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sockets03.c:126:2: error: Memory leak: cwd [memleak] criu-4.1/test/zdtm/static/sockets03.c:38:8: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/stopped01.c:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_PID [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/stopped02.c:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_PID [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/stopped03.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_PID [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/stopped03.c:100:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/stopped04.c:41:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/stopped04.c:91:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/stopped12.c:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_PID [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/symlink.c:21:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/symlink.c:58:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink.c:63:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink.c:79:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink.c:84:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink.c:90:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink.c:96:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink01.c:21:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/sockets_dgram.c:205:2: error: Resource leak: sk_dgram_bound_server [resourceLeak] criu-4.1/test/zdtm/static/sockets_dgram.c:205:2: error: Resource leak: sk_dgram_conn_server [resourceLeak] criu-4.1/test/zdtm/static/sockets_dgram.c:66:32: style: Same expression 'sk_dgram_conn_server<0' found multiple times in chain of '||' operators. [duplicateExpression] criu-4.1/test/zdtm/static/sockets_dgram.c:49:8: style: Variable 'dirname' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/tempfs.c:23:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tempfs_overmounted01.c:85:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNT_DETACH [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/symlink01.c:58:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink01.c:63:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink01.c:79:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink01.c:84:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink01.c:90:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/symlink01.c:96:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/tempfs_ro02.c:22:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tempfs_ro.c:22:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/thp_disable.c:24:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tempfs_subns.c:45:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/time.c:32:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/thread_different_uid_gid.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_exit_group [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/thread_different_uid_gid.c:113:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_KEEPCAPS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/timens_nested.c:27:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/timens_nested.c:35:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/timens_nested.c:41:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/thread_different_uid_gid.c:63:17: style: Expression is always true because 'else if' condition is opposite to previous condition at line 61. [multiCondition] criu-4.1/test/zdtm/static/thread_different_uid_gid.c:61:10: note: first condition criu-4.1/test/zdtm/static/thread_different_uid_gid.c:63:17: note: else if condition is opposite to first condition criu-4.1/test/zdtm/static/thread_different_uid_gid.c:130:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] criu-4.1/test/zdtm/static/thread_different_uid_gid.c:126:6: note: ret is assigned criu-4.1/test/zdtm/static/thread_different_uid_gid.c:130:6: note: ret is overwritten criu-4.1/test/zdtm/static/timers.c:40:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/timers01.c:29:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tempfs_subns.c:41:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/thread_different_uid_gid.c:132:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] criu-4.1/test/zdtm/static/timerfd.c:116:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tty00.c:34:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tty02.c:25:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tty02.c:47:3: error: Resource leak: fds [resourceLeak] criu-4.1/test/zdtm/static/tty02.c:52:2: error: Resource leak: fds [resourceLeak] criu-4.1/test/zdtm/static/timers01.c:12:12: style: struct member 'Anonymous0::signal' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/timers01.c:13:24: style: struct member 'Anonymous0::count' is never used. [unusedStructMember] criu-4.1/test/zdtm/static/tty00.c:66:4: error: Resource leak: fds [resourceLeak] criu-4.1/test/zdtm/static/tty03.c:31:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/timerfd.c:68:7: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] criu-4.1/test/zdtm/static/timerfd.c:98:57: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/tun.c:33:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tun.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TUNSETIFF [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tun.c:86:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TUNGETIFF [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tun.c:106:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFHWADDR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tun.c:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ALEN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tun_ns.c:33:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tun_ns.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TUNSETIFF [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tun_ns.c:86:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TUNGETIFF [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tun_ns.c:106:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFHWADDR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tun_ns.c:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ALEN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/uffd-events.c:28:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/uffd-events.c:45:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/uffd-events.c:58:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MADV_DONTNEED [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/uffd-events.c:76:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MREMAP_MAYMOVE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/uffd-events.c:104:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MREMAP_MAYMOVE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/tty03.c:62:5: error: Resource leak: fds [resourceLeak] criu-4.1/test/zdtm/static/uffd-events.c:46:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/unbound_sock.c:19:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/uffd-events.c:46:15: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/uffd-events.c:88:4: portability: 'm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/static/unbindable.c:17:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_fifo.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unhashed_proc.c:18:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_fifo_wronly.c:27:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_fifo.c:37:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/unlink_fstat00.c:52:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_fstat01+.c:25:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_fstat01.c:25:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_fifo_wronly.c:36:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/unlink_fifo_wronly.c:41:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/unlink_fifo_wronly.c:41:3: error: Resource leak: fd1 [resourceLeak] criu-4.1/test/zdtm/static/unlink_fifo_wronly.c:49:3: error: Resource leak: fd1 [resourceLeak] criu-4.1/test/zdtm/static/unlink_fstat03.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_fstat02.c:26:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_largefile.c:24:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_fstat04.c:52:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_fstat041.c:52:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_mmap00.c:41:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_mmap01.c:44:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_mmap02.c:41:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_mmap00.c:37:8: style: Variable 'mem_a' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/unlink_mmap00.c:37:16: style: Variable 'mem_b' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/unlink_regular00.c:25:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_mmap01.c:40:8: style: Variable 'mem_a' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/unlink_mmap01.c:40:16: style: Variable 'mem_b' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/unlink_mmap02.c:37:8: style: Variable 'mem_a' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/unlink_mmap02.c:37:16: style: Variable 'mem_b' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/unsupported_children_collision.c:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/uptime_grow.c:20:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_multiple_largefiles.c:37:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fiemap [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_multiple_largefiles.c:88:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fe_logical [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_multiple_largefiles.c:109:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_multiple_largefiles.c:151:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_multiple_largefiles.c:167:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/unlink_multiple_largefiles.c:206:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso00.c:22:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso-proxy.c:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso-proxy.c:114:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vfork00.c:35:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso02.c:138:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_munmap [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso02.c:143:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_kill [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso02.c:148:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_exit [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso02.c:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_exit [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vfork00.c:33:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] criu-4.1/test/zdtm/static/vdso-proxy.c:89:34: style: Parameter 'vmax' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/vdso-proxy.c:89:56: style: Parameter 'vmay' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/vt.c:31:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vt.c:44:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/vt.c:52:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/vt.c:57:3: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/vt.c:61:2: error: Resource leak: fd [resourceLeak] criu-4.1/test/zdtm/static/vdso01.c:166:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso01.c:286:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vma_start [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso01.c:325:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso01.c:359:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/write_read00.c:22:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/write_read01.c:23:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/write_read02.c:24:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/write_read01.c:29:6: style: Redundant initialization for 'crc'. The initialized value is overwritten before it is read. [redundantInitialization] criu-4.1/test/zdtm/static/write_read01.c:18:15: note: crc is initialized criu-4.1/test/zdtm/static/write_read01.c:29:6: note: crc is overwritten criu-4.1/test/zdtm/static/write_read10.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/zombie00.c:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_PID [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/zombie01.c:34:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_PARENT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/zombie_leader.c:47:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/zombie_leader.c:53:3: error: Memory leak: cpid [memleak] criu-4.1/test/zdtm/static/zombie_leader.c:48:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cpid [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/zombie_leader.c:47:20: note: Assuming allocation function fails criu-4.1/test/zdtm/static/zombie_leader.c:47:9: note: Assignment 'cpid=(int*)mmap(NULL,sizeof(int),PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/zombie_leader.c:48:3: note: Null pointer dereference criu-4.1/test/zdtm/static/xids00.c:20:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/xids00.c:42:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/xids00.c:51:3: warning: Return value of function pipe() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/static/vdso02.c:205:7: style: Local variable 'ret' shadows outer variable [shadowVariable] criu-4.1/test/zdtm/static/vdso02.c:185:14: note: Shadowed declaration criu-4.1/test/zdtm/static/vdso02.c:205:7: note: Shadow variable criu-4.1/test/zdtm/static/vdso02.c:23:32: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/transition/epoll.c:79:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/epoll.c:98:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/fifo_loop.c:21:18: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/test/zdtm/static/zombie00.c:52:6: error: Null pointer dereference: (volatile int*)NULL [nullPointer] criu-4.1/test/zdtm/transition/fifo_dyn.c:57:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/file_aio.c:45:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aiocb [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/file_aio.c:59:11: style: The if condition is the same as the previous if condition [duplicateCondition] criu-4.1/test/zdtm/transition/file_aio.c:52:11: note: First condition criu-4.1/test/zdtm/transition/file_aio.c:59:11: note: Second condition criu-4.1/test/zdtm/transition/file_read.c:119:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/file_read.c:193:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/fork.c:69:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/fork2.c:69:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/lazy-thp.c:29:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/ipc.c:63:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/ipc.c:100:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/static/vdso01.c:118:29: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/static/vdso01.c:120:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/vdso01.c:144:9: style: Variable 'dyn_strsz' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/static/vdso01.c:145:9: style: Variable 'dyn_syment' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/transition/maps007.c:25:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps007.c:49:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:65:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:174:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:186:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:198:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:208:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:217:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:227:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:253:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:338:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:394:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:456:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLD_EXITED [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps008.c:474:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/ipc.c:159:5: warning: Return value of function semop() is not used. [ignoredReturnValue] criu-4.1/test/zdtm/transition/netlink00.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/netlink00.c:127:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/netlink00.c:170:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLMSG_DONE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/netlink00.c:206:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RT_TABLE_MAIN [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/netlink00.c:246:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rtmsg [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/netlink00.c:269:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rtmsg [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/pid_reuse.c:22:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/pid_reuse.c:47:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/pidfd_store_sk.c:22:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/pidfd_store_sk.c:47:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/maps007.c:56:3: error: Memory leak: shm [memleak] criu-4.1/test/zdtm/transition/maps007.c:69:3: error: Memory leak: shm [memleak] criu-4.1/test/zdtm/transition/maps007.c:175:4: error: Null pointer dereference: (volatile int*)0 [nullPointer] criu-4.1/test/zdtm/transition/maps007.c:58:35: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/transition/maps007.c:54:14: note: Assuming allocation function fails criu-4.1/test/zdtm/transition/maps007.c:54:14: note: Assignment 'start=mmap(NULL,1UL<<29,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/transition/maps007.c:58:35: note: Null pointer addition criu-4.1/test/zdtm/transition/maps007.c:36:16: style: Variable 'end' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/transition/maps007.c:73:9: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/transition/maps007.c:58:35: portability: 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/maps007.c:60:14: portability: 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/maps007.c:98:13: portability: 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/maps007.c:114:28: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/maps007.c:122:16: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/maps007.c:144:30: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/maps008.c:105:27: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] criu-4.1/test/zdtm/transition/maps008.c:454:48: style: Parameter 'info' can be declared as pointer to const. However it seems that 'sigchld_hand' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/transition/maps008.c:474:42: note: You might need to cast the function pointer here criu-4.1/test/zdtm/transition/maps008.c:454:48: note: Parameter 'info' can be declared as pointer to const criu-4.1/test/zdtm/transition/maps008.c:454:60: style: Parameter 'ucontext' can be declared as pointer to const. However it seems that 'sigchld_hand' is a callback function, if 'ucontext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] criu-4.1/test/zdtm/transition/maps008.c:474:42: note: You might need to cast the function pointer here criu-4.1/test/zdtm/transition/maps008.c:454:60: note: Parameter 'ucontext' can be declared as pointer to const criu-4.1/test/zdtm/transition/pipe_loop00.c:21:18: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/test/zdtm/transition/netlink00.c:81:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:126:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:130:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:151:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:209:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:210:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:211:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:212:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:245:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:268:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] criu-4.1/test/zdtm/transition/netlink00.c:196:7: style: Local variable 'dsts' shadows outer variable [shadowVariable] criu-4.1/test/zdtm/transition/netlink00.c:48:6: note: Shadowed declaration criu-4.1/test/zdtm/transition/netlink00.c:196:7: note: Shadow variable criu-4.1/test/zdtm/transition/netlink00.c:173:21: style: Variable 'err' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm/transition/netlink00.c:248:9: portability: '(void*)(&req.nl)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/netlink00.c:270:9: portability: '(void*)(&req.nl)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/netlink00.c:276:9: portability: '(void*)(&req.nl)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/pipe_shared00.c:21:18: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/test/zdtm/transition/ptrace.c:24:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_gettid [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/ptrace.c:41:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/pid_reuse.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: variable [nullPointerOutOfMemory] criu-4.1/test/zdtm/transition/pid_reuse.c:47:12: note: Assuming allocation function fails criu-4.1/test/zdtm/transition/pid_reuse.c:47:12: note: Assignment 'mem=mmap(NULL,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/transition/pid_reuse.c:53:11: note: variable is assigned '(int*)mem' here. criu-4.1/test/zdtm/transition/pid_reuse.c:54:3: note: Null pointer dereference criu-4.1/test/zdtm/transition/shmem.c:23:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/pidfd_store_sk.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: variable [nullPointerOutOfMemory] criu-4.1/test/zdtm/transition/pidfd_store_sk.c:47:12: note: Assuming allocation function fails criu-4.1/test/zdtm/transition/pidfd_store_sk.c:47:12: note: Assignment 'mem=mmap(NULL,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/transition/pidfd_store_sk.c:53:11: note: variable is assigned '(int*)mem' here. criu-4.1/test/zdtm/transition/pidfd_store_sk.c:54:3: note: Null pointer dereference criu-4.1/test/zdtm/transition/ptrace.c:47:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pids [nullPointerOutOfMemory] criu-4.1/test/zdtm/transition/ptrace.c:41:20: note: Assuming allocation function fails criu-4.1/test/zdtm/transition/ptrace.c:41:9: note: Assignment 'pids=(int*)mmap(NULL,sizeof(int)*nr_threads,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/transition/ptrace.c:47:9: note: Null pointer dereference criu-4.1/test/zdtm/transition/ptrace.c:74:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] criu-4.1/test/zdtm/transition/socket-tcp.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/ptrace.c:108:35: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] criu-4.1/test/zdtm/transition/ptrace.c:109:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] criu-4.1/test/zdtm/transition/socket-tcp6.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm/transition/socket_loop00.c:22:18: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/test/zdtm/transition/shmem.c:28:3: error: Memory leak: sum [memleak] criu-4.1/test/zdtm/transition/shmem.c:32:3: error: Memory leak: addr [memleak] criu-4.1/test/zdtm/transition/shmem.c:32:3: error: Memory leak: sum [memleak] criu-4.1/test/zdtm/transition/shmem.c:36:8: style: Local variable 'size' shadows outer variable [shadowVariable] criu-4.1/test/zdtm/transition/shmem.c:19:7: note: Shadowed declaration criu-4.1/test/zdtm/transition/shmem.c:36:8: note: Shadow variable criu-4.1/test/zdtm/transition/shmem.c:42:29: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/shmem.c:44:19: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/shmem.c:46:29: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/shmem.c:70:28: portability: 'addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] criu-4.1/test/zdtm/transition/unix_sock.c:24:18: error: There is an unknown macro here somewhere. Configuration is required. If __stringify is a macro then please configure it. [unknownMacro] criu-4.1/test/zdtm/transition/thread-bomb.c:51:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] criu-4.1/test/zdtm_ct.c:23:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC_COARSE [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm_ct.c:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm_ct.c:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLONE_NEWNS [valueFlowBailoutIncompleteVar] criu-4.1/test/zdtm_ct.c:36:3: error: Resource leak: fd [resourceLeak] diff: head criu-4.1/compel/src/main-host.c:67:2: error: #error "CONFIG_ not defined, or unsupported ARCH" [preprocessorErrorDirective] head criu-4.1/compel/src/main.c:67:2: error: #error "CONFIG_ not defined, or unsupported ARCH" [preprocessorErrorDirective] 2.17.0 criu-4.1/criu/apparmor.c:229:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/criu/autofs.c:170:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/criu/cr-dedup.c:29:9: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/criu/cr-dump.c:235:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/criu/filesystems.c:537:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/criu/irmap.c:152:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/criu/kerndat.c:809:17: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/criu/kerndat.c:802:12: note: Assuming allocation function fails criu-4.1/criu/kerndat.c:802:12: note: Assignment 'mem=mmap(NULL,3ul<<20,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/criu/kerndat.c:809:17: note: Null pointer addition head criu-4.1/criu/kerndat.c:809:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/criu/kerndat.c:802:12: note: Assuming allocation function fails criu-4.1/criu/kerndat.c:802:12: note: Assignment 'mem=mmap(NULL,3ul<<20,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/criu/kerndat.c:809:17: note: Null pointer addition head criu-4.1/criu/mem.c:1339:10: style: Condition 'ret<0' is always false [knownConditionTrueFalse] criu-4.1/criu/mem.c:1070:11: note: Assuming that condition 'ret<0' is not redundant criu-4.1/criu/mem.c:1338:24: note: Calling function 'premap_priv_vmas' returns !<=-1 criu-4.1/criu/mem.c:1339:10: note: Condition 'ret<0' is always false head criu-4.1/criu/page-xfer.c:249:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head criu-4.1/criu/pie/restorer.c:1354:37: portability: 'p1' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] head criu-4.1/criu/pie/restorer.c:1360:59: portability: 'p2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.17.0 criu-4.1/criu/plugin.c:237:8: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/criu/proc_parse.c:2517:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/criu/proc_parse.c:2837:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head criu-4.1/criu/proc_parse.c:541:68: warning: Either the condition 'prev' is redundant or there is possible null pointer dereference: prev. [nullPointerRedundantCheck] criu-4.1/criu/proc_parse.c:522:7: note: Assuming that condition 'prev' is not redundant criu-4.1/criu/proc_parse.c:541:68: note: Null pointer dereference 2.17.0 criu-4.1/criu/sysfs_parse.c:178:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head criu-4.1/include/common/scm-code.c:2:2: error: #error "The __sys macro is required" [preprocessorErrorDirective] 2.17.0 criu-4.1/test/others/app-emu/job/job.c:57:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head criu-4.1/test/zdtm/lib/test.c:414:2: error: #error "Unsupported architecture" [preprocessorErrorDirective] head criu-4.1/test/zdtm/static/del_standalone_un.c:91:34: error: Null pointer dereference [nullPointer] head criu-4.1/test/zdtm/static/del_standalone_un.c:96:34: error: Null pointer dereference [nullPointer] head criu-4.1/test/zdtm/static/del_standalone_un_seqpacket.c:91:34: error: Null pointer dereference [nullPointer] head criu-4.1/test/zdtm/static/del_standalone_un_seqpacket.c:96:34: error: Null pointer dereference [nullPointer] 2.17.0 criu-4.1/test/zdtm/static/fd.c:45:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/test/zdtm/static/fd.c:75:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 criu-4.1/test/zdtm/static/grow_map.c:24:35: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:24:35: note: Null pointer addition head criu-4.1/test/zdtm/static/grow_map.c:24:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:24:35: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/grow_map.c:32:4: error: If memory allocation fail: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:24:23: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:24:23: note: Assignment 'fake_grow_down=mmap(start_addr+PAGE_SIZE*5,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:31:4: note: p is assigned 'fake_grow_down' here. criu-4.1/test/zdtm/static/grow_map.c:32:4: note: Null pointer subtraction head criu-4.1/test/zdtm/static/grow_map.c:32:4: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:24:23: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:24:23: note: Assignment 'fake_grow_down=mmap(start_addr+PAGE_SIZE*5,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:31:4: note: p is assigned 'fake_grow_down' here. criu-4.1/test/zdtm/static/grow_map.c:32:4: note: Null pointer subtraction 2.17.0 criu-4.1/test/zdtm/static/grow_map.c:36:30: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:26:21: note: Assuming condition is false criu-4.1/test/zdtm/static/grow_map.c:36:30: note: Null pointer addition head criu-4.1/test/zdtm/static/grow_map.c:36:30: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map.c:17:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map.c:26:21: note: Assuming condition is false criu-4.1/test/zdtm/static/grow_map.c:36:30: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/grow_map02.c:25:30: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:18:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:18:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:25:30: note: Null pointer addition head criu-4.1/test/zdtm/static/grow_map02.c:25:30: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:18:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:18:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:25:30: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/grow_map02.c:40:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assignment 'grow_down=mmap(start_addr+PAGE_SIZE*3,PAGE_SIZE*3,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:40:25: note: Null pointer addition head criu-4.1/test/zdtm/static/grow_map02.c:40:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map02.c:25:18: note: Assignment 'grow_down=mmap(start_addr+PAGE_SIZE*3,PAGE_SIZE*3,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED|MAP_GROWSDOWN,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map02.c:40:25: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/grow_map03.c:29:26: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map03.c:29:26: note: Null pointer addition head criu-4.1/test/zdtm/static/grow_map03.c:29:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map03.c:29:26: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/grow_map03.c:31:26: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map03.c:31:26: note: Null pointer addition head criu-4.1/test/zdtm/static/grow_map03.c:31:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assuming allocation function fails criu-4.1/test/zdtm/static/grow_map03.c:22:19: note: Assignment 'start_addr=mmap(NULL,PAGE_SIZE*10,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/grow_map03.c:31:26: note: Null pointer addition head criu-4.1/test/zdtm/static/maps03.c:38:28: warning: If memory allocation fails, then there is a possible null pointer dereference: mem [nullPointerOutOfMemory] criu-4.1/test/zdtm/static/maps03.c:24:20: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps03.c:24:8: note: Assignment 'mem=(void*)mmap(NULL,10L<<30,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps03.c:38:28: note: Null pointer dereference 2.17.0 criu-4.1/test/zdtm/static/maps04.c:38:18: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps04.c:27:10: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps04.c:27:10: note: Assignment 'm=mmap(NULL,1L<<29,PROT_WRITE|PROT_READ,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps04.c:38:18: note: Null pointer addition head criu-4.1/test/zdtm/static/maps04.c:38:18: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps04.c:27:10: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps04.c:27:10: note: Assignment 'm=mmap(NULL,1L<<29,PROT_WRITE|PROT_READ,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps04.c:38:18: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/maps06.c:39:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps06.c:33:14: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps06.c:33:14: note: Assignment 'start=mmap(0,ps*test_size*4,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps06.c:39:21: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/maps06.c:43:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps06.c:33:14: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps06.c:33:14: note: Assignment 'start=mmap(0,ps*test_size*4,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps06.c:40:12: note: Assuming condition is false criu-4.1/test/zdtm/static/maps06.c:43:21: note: Null pointer addition head criu-4.1/test/zdtm/static/maps06.c:43:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps06.c:33:14: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps06.c:33:14: note: Assignment 'start=mmap(0,ps*test_size*4,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps06.c:40:12: note: Assuming condition is false criu-4.1/test/zdtm/static/maps06.c:43:21: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/maps09.c:49:13: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps09.c:30:11: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps09.c:30:11: note: Assignment 'm2=mmap(NULL,4UL*(1UL<<20),PROT_READ|PROT_WRITE,MAP_HUGETLB|MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps09.c:37:11: note: Assuming condition is false criu-4.1/test/zdtm/static/maps09.c:49:13: note: Null pointer addition head criu-4.1/test/zdtm/static/maps09.c:49:13: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps09.c:30:11: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps09.c:30:11: note: Assignment 'm2=mmap(NULL,4UL*(1UL<<20),PROT_READ|PROT_WRITE,MAP_HUGETLB|MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps09.c:37:11: note: Assuming condition is false criu-4.1/test/zdtm/static/maps09.c:49:13: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/maps_file_prot.c:38:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps_file_prot.c:35:15: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps_file_prot.c:35:15: note: Assignment 'ro_map=mmap(NULL,2*PAGE_SIZE,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps_file_prot.c:38:18: note: Null pointer addition head criu-4.1/test/zdtm/static/maps_file_prot.c:38:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/maps_file_prot.c:35:15: note: Assuming allocation function fails criu-4.1/test/zdtm/static/maps_file_prot.c:35:15: note: Assignment 'ro_map=mmap(NULL,2*PAGE_SIZE,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 criu-4.1/test/zdtm/static/maps_file_prot.c:38:18: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/mem-touch.c:41:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assignment 'mem=mmap(NULL,16*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/mem-touch.c:41:21: note: Null pointer addition head criu-4.1/test/zdtm/static/mem-touch.c:41:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assignment 'mem=mmap(NULL,16*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/mem-touch.c:41:21: note: Null pointer addition head criu-4.1/test/zdtm/static/mem-touch.c:51:21: warning:inconclusive: Possible null pointer dereference: (unsigned int*)(mem+i*PAGE_SIZE) [nullPointer] criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assignment 'mem=mmap(NULL,16*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/mem-touch.c:51:21: note: Null pointer dereference 2.17.0 criu-4.1/test/zdtm/static/mem-touch.c:51:38: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/mem-touch.c:26:12: note: Assignment 'mem=mmap(NULL,16*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,0,0)', assigned value is 0 criu-4.1/test/zdtm/static/mem-touch.c:51:38: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/mntns_ghost.c:88:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head criu-4.1/test/zdtm/static/mprotect00.c:91:28: warning: Either the condition 'pagesize<0' is redundant or mmap() argument nr 2 can have invalid value. The value is 0 but the valid values are '1:'. [invalidFunctionArg] criu-4.1/test/zdtm/static/mprotect00.c:86:15: note: Assuming that condition 'pagesize<0' is not redundant criu-4.1/test/zdtm/static/mprotect00.c:91:28: note: Invalid argument 2.17.0 criu-4.1/test/zdtm/static/session01.c:205:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/session01.c:199:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/session01.c:199:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_WRITE|PROT_READ,MAP_SHARED|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/session01.c:205:18: note: Null pointer addition head criu-4.1/test/zdtm/static/session01.c:205:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/session01.c:199:12: note: Assuming allocation function fails criu-4.1/test/zdtm/static/session01.c:199:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_WRITE|PROT_READ,MAP_SHARED|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/session01.c:205:18: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/shmemfd-priv.c:36:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assignment 'addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:36:16: note: Null pointer addition head criu-4.1/test/zdtm/static/shmemfd-priv.c:36:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assignment 'addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:36:16: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/shmemfd-priv.c:37:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assignment 'addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:37:16: note: Null pointer addition head criu-4.1/test/zdtm/static/shmemfd-priv.c:37:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:29:13: note: Assignment 'addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:37:16: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/shmemfd-priv.c:56:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assignment 'priv_addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_FILE|MAP_PRIVATE,fd,PAGE_SIZE)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:51:12: note: Assuming condition is false criu-4.1/test/zdtm/static/shmemfd-priv.c:56:21: note: Null pointer addition head criu-4.1/test/zdtm/static/shmemfd-priv.c:56:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assignment 'priv_addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_FILE|MAP_PRIVATE,fd,PAGE_SIZE)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:51:12: note: Assuming condition is false criu-4.1/test/zdtm/static/shmemfd-priv.c:56:21: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/static/shmemfd-priv.c:61:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assignment 'priv_addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_FILE|MAP_PRIVATE,fd,PAGE_SIZE)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:51:12: note: Assuming condition is false criu-4.1/test/zdtm/static/shmemfd-priv.c:61:25: note: Null pointer addition head criu-4.1/test/zdtm/static/shmemfd-priv.c:61:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assuming allocation function fails criu-4.1/test/zdtm/static/shmemfd-priv.c:44:18: note: Assignment 'priv_addr=mmap(NULL,5*PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_FILE|MAP_PRIVATE,fd,PAGE_SIZE)', assigned value is 0 criu-4.1/test/zdtm/static/shmemfd-priv.c:51:12: note: Assuming condition is false criu-4.1/test/zdtm/static/shmemfd-priv.c:61:25: note: Null pointer addition 2.17.0 criu-4.1/test/zdtm/transition/maps007.c:58:35: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/transition/maps007.c:54:14: note: Assuming allocation function fails criu-4.1/test/zdtm/transition/maps007.c:54:14: note: Assignment 'start=mmap(NULL,1UL<<29,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/transition/maps007.c:58:35: note: Null pointer addition head criu-4.1/test/zdtm/transition/maps007.c:58:35: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] criu-4.1/test/zdtm/transition/maps007.c:54:14: note: Assuming allocation function fails criu-4.1/test/zdtm/transition/maps007.c:54:14: note: Assignment 'start=mmap(NULL,1UL<<29,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 criu-4.1/test/zdtm/transition/maps007.c:58:35: note: Null pointer addition head criu-4.1/test/zdtm/transition/ptrace.c:108:35: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head criu-4.1/test/zdtm/transition/ptrace.c:109:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head criu-4.1/test/zdtm/transition/ptrace.c:74:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] DONE