2025-07-01 15:39 ftp://ftp.de.debian.org/debian/pool/main/x/xdebug/xdebug_3.4.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --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: f4eb733 (2025-07-01 13:53:18 +0200) count: 255 256 elapsed-time: 0.5 0.5 head-timing-info: old-timing-info: head results: xdebug-3.4.3/src/base/filter.c:23:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/coverage/branch_info.c:20:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/base/base.c:51:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/debugger/com.c:59:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/develop/develop.c:24:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/develop/monitor.c:27:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/debugger/handlers.c:47:44: style:inconclusive: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. [funcArgNamesDifferent] xdebug-3.4.3/src/debugger/handlers.h:164:44: note: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-3.4.3/src/debugger/handlers.c:47:44: note: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-3.4.3/src/debugger/handlers.c:67:44: style:inconclusive: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. [funcArgNamesDifferent] xdebug-3.4.3/src/debugger/handlers.h:166:44: note: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-3.4.3/src/debugger/handlers.c:67:44: note: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-3.4.3/src/debugger/handlers.c:72:58: style:inconclusive: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. [funcArgNamesDifferent] xdebug-3.4.3/src/debugger/handlers.h:165:58: note: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. xdebug-3.4.3/src/debugger/handlers.c:72:58: note: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. xdebug-3.4.3/src/develop/php_functions.c:28:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/gcstats/gc_stats.c:31:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/develop/superglobals.c:90:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/develop/superglobals.c:108:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable symbol_table [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/develop/superglobals.c:150:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/develop/superglobals.c:192:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable html_errors [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/develop/stack.c:38:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/lib/cmd_parser.c:142:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/develop/superglobals.c:169:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xdebug-3.4.3/src/develop/superglobals.c:186:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xdebug-3.4.3/src/debugger/handler_dbgp.c:58:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/debugger/debugger.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ub_write [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ide_key_setting [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:85:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ide_key [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:94:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_exec [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:103:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable context [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:150:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_execute_data [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:219:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable context [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:229:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable context [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:244:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable context [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:268:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable context [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:379:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_connection_enabled [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:434:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_connection_enabled [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:469:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable context [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:547:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable context [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:599:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable context [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:622:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_connection_enabled [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:631:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_connection_enabled [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:643:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ub_write [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:651:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ub_write [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:669:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable breakpoint_count [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:676:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ide_key [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:687:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ide_key [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:747:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_connection_enabled [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:787:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opcode [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:818:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable breakable_lines_map [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:928:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_MODE_STEP_DEBUG [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:983:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_connection_enabled [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:1000:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_connection_enabled [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:1011:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_connection_enabled [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:1026:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_MODE_STEP_DEBUG [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:1042:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_MODE_STEP_DEBUG [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:1051:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_connection_enabled [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/debugger/debugger.c:1059:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_MODE_STEP_DEBUG [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/file.c:21:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/lib/compat.c:430:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GC_IMMUTABLE [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/compat.c:441:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GC_IMMUTABLE [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:90:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFUNC_NORMAL [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:124:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdebug_func [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:176:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op_array [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:191:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable previous_filename [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:231:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op_array [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:248:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op_array [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:266:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZEND_RECV_VARIADIC [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:294:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZEND_JMP [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:464:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lineno [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:545:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opcode [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:565:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dead_code_analysis_tracker_offset [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:642:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZEND_USER_FUNCTION [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:662:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZEND_USER_CLASS [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:678:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dead_code_analysis_tracker_offset [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:702:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable branches [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:722:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:744:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_MODE_COVERAGE [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:765:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_MODE_COVERAGE [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:952:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_branch_check [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:976:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable return_value [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:987:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function_count [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:992:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_active [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1014:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_active [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1021:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_active [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1028:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_filter_offset [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1035:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_active [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1044:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_active [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1071:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_active [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1082:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter_type_code_coverage [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1097:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opline [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1113:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_NAME [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1214:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONST_PERSISTENT [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1221:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_active [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:1241:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code_coverage_active [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/headers.c:30:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/headers.c:46:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/headers.c:84:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header_handler [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/headers.c:91:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header_handler [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/headers.c:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable return_value [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/headers.c:25:75: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/headers.c:28:24: style: Variable 'header' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/lib/hash.c:163:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/hash.c:197:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/hash.c:219:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/compat.c:101:7: warning: If memory allocation fails, then there is a possible null pointer dereference: out++ [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/compat.c:202:34: note: Assuming allocation function fails xdebug-3.4.3/src/lib/compat.c:202:34: note: Assignment 'retval=malloc((((data_len+2)/3)+1)*(4*sizeof(char)))', assigned value is 0 xdebug-3.4.3/src/lib/compat.c:205:50: note: Calling function 'xdebug_base64_encode_impl', 3rd argument 'retval' value is 0 xdebug-3.4.3/src/lib/compat.c:101:7: note: Null pointer dereference xdebug-3.4.3/src/lib/compat.c:101:7: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xdebug-3.4.3/src/lib/compat.c:202:34: note: Assuming allocation function fails xdebug-3.4.3/src/lib/compat.c:202:34: note: Assignment 'retval=malloc((((data_len+2)/3)+1)*(4*sizeof(char)))', assigned value is 0 xdebug-3.4.3/src/lib/compat.c:205:50: note: Calling function 'xdebug_base64_encode_impl', 3rd argument 'retval' value is 0 xdebug-3.4.3/src/lib/compat.c:101:7: note: Null pointer addition xdebug-3.4.3/src/lib/llist.c:34:2: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/llist.c:26:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/llist.c:26:12: note: Assignment 'l=malloc(sizeof(struct xdebug_llist))', assigned value is 0 xdebug-3.4.3/src/lib/llist.c:27:20: note: Calling function 'xdebug_llist_init', 1st argument 'l' value is 0 xdebug-3.4.3/src/lib/llist.c:34:2: note: Null pointer dereference xdebug-3.4.3/src/lib/llist.c:35:2: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/llist.c:26:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/llist.c:26:12: note: Assignment 'l=malloc(sizeof(struct xdebug_llist))', assigned value is 0 xdebug-3.4.3/src/lib/llist.c:27:20: note: Calling function 'xdebug_llist_init', 1st argument 'l' value is 0 xdebug-3.4.3/src/lib/llist.c:35:2: note: Null pointer dereference xdebug-3.4.3/src/lib/llist.c:36:2: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/llist.c:26:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/llist.c:26:12: note: Assignment 'l=malloc(sizeof(struct xdebug_llist))', assigned value is 0 xdebug-3.4.3/src/lib/llist.c:27:20: note: Calling function 'xdebug_llist_init', 1st argument 'l' value is 0 xdebug-3.4.3/src/lib/llist.c:36:2: note: Null pointer dereference xdebug-3.4.3/src/lib/llist.c:37:2: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/llist.c:26:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/llist.c:26:12: note: Assignment 'l=malloc(sizeof(struct xdebug_llist))', assigned value is 0 xdebug-3.4.3/src/lib/llist.c:27:20: note: Calling function 'xdebug_llist_init', 1st argument 'l' value is 0 xdebug-3.4.3/src/lib/llist.c:37:2: note: Null pointer dereference xdebug-3.4.3/src/lib/llist.c:49:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ne [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/llist.c:48:38: note: Assuming allocation function fails xdebug-3.4.3/src/lib/llist.c:48:7: note: Assignment 'ne=(struct xdebug_llist_element*)malloc(sizeof(struct xdebug_llist_element))', assigned value is 0 xdebug-3.4.3/src/lib/llist.c:49:2: note: Null pointer dereference xdebug-3.4.3/src/lib/llist.c:80:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ne [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/llist.c:79:38: note: Assuming allocation function fails xdebug-3.4.3/src/lib/llist.c:79:7: note: Assignment 'ne=(struct xdebug_llist_element*)malloc(sizeof(struct xdebug_llist_element))', assigned value is 0 xdebug-3.4.3/src/lib/llist.c:80:2: note: Null pointer dereference xdebug-3.4.3/src/lib/compat.c:286:33: style:inconclusive: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] xdebug-3.4.3/src/lib/compat.h:33:33: note: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. xdebug-3.4.3/src/lib/compat.c:286:33: note: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. xdebug-3.4.3/src/lib/compat.c:286:43: style:inconclusive: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. [funcArgNamesDifferent] xdebug-3.4.3/src/lib/compat.h:33:46: note: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. xdebug-3.4.3/src/lib/compat.c:286:43: note: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. xdebug-3.4.3/src/lib/compat.c:200:52: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/compat.c:203:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/lib/compat.c:211:52: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/compat.c:288:26: style: Variable 'end' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/lib/compat.c:379:15: style: Variable 'cv' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/lib/llist.c:161:41: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/lib.c:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_level [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:56:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZEND_ASSIGN [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:78:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opcode_multi_handlers [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:89:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable diagnosis_buffer [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:103:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:194:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode_from_environment [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:235:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_with_request [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:241:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_with_request [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:262:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_with_request [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:277:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_with_request [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:287:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_upon_error [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:293:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_upon_error [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:310:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_upon_error [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:344:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable symbol_table [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:400:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trigger_value [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:427:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trigger_value [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:530:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_with_request [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:564:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stack [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:584:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:606:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_execute_data [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:612:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_stack_entry [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:617:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_symbol_table [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:622:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_execute_data [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:627:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_execute_data [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:632:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_object [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:637:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_symbol_table [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:642:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_execute_data [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:647:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_execute_data [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:652:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_stack_entry [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:657:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_symbol_table [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:662:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_object [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:667:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opcode_handlers_set [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:675:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable original_opcode_handlers [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:684:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opcode_multi_handlers [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:699:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable original_opcode_handlers [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:715:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opcode_multi_handlers [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:730:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opcode_handlers_set [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:738:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable original_opcode_handlers [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:752:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output_dir [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:777:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trait_location_map [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:799:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trait_location_map [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:879:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/set.c:78:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xdebug-3.4.3/src/lib/set.c:26:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/set.c:25:14: note: Assuming allocation function fails xdebug-3.4.3/src/lib/set.c:25:14: note: Assignment 'tmp=calloc(1,sizeof(struct xdebug_set))', assigned value is 0 xdebug-3.4.3/src/lib/set.c:26:2: note: Null pointer dereference xdebug-3.4.3/src/lib/set.c:28:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/set.c:25:14: note: Assuming allocation function fails xdebug-3.4.3/src/lib/set.c:25:14: note: Assignment 'tmp=calloc(1,sizeof(struct xdebug_set))', assigned value is 0 xdebug-3.4.3/src/lib/set.c:28:2: note: Null pointer dereference xdebug-3.4.3/src/lib/set.c:63:17: style: Variable 'byte' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/lib/hash.c:33:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/hash.c:32:15: note: Assuming allocation function fails xdebug-3.4.3/src/lib/hash.c:32:15: note: Assignment 'tmp=calloc(key->value.str.len+1,1)', assigned value is 0 xdebug-3.4.3/src/lib/hash.c:33:9: note: Null pointer dereference xdebug-3.4.3/src/lib/hash.c:87:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/hash.c:86:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/hash.c:86:12: note: Assignment 'h=malloc(sizeof(struct xdebug_hash))', assigned value is 0 xdebug-3.4.3/src/lib/hash.c:87:2: note: Null pointer dereference xdebug-3.4.3/src/lib/hash.c:88:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/hash.c:86:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/hash.c:86:12: note: Assignment 'h=malloc(sizeof(struct xdebug_hash))', assigned value is 0 xdebug-3.4.3/src/lib/hash.c:88:2: note: Null pointer dereference xdebug-3.4.3/src/lib/hash.c:89:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/hash.c:86:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/hash.c:86:12: note: Assignment 'h=malloc(sizeof(struct xdebug_hash))', assigned value is 0 xdebug-3.4.3/src/lib/hash.c:89:2: note: Null pointer dereference xdebug-3.4.3/src/lib/hash.c:90:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/hash.c:86:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/hash.c:86:12: note: Assignment 'h=malloc(sizeof(struct xdebug_hash))', assigned value is 0 xdebug-3.4.3/src/lib/hash.c:90:2: note: Null pointer dereference xdebug-3.4.3/src/lib/hash.c:92:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/hash.c:86:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/hash.c:86:12: note: Assignment 'h=malloc(sizeof(struct xdebug_hash))', assigned value is 0 xdebug-3.4.3/src/lib/hash.c:92:2: note: Null pointer dereference xdebug-3.4.3/src/lib/hash.c:93:18: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/hash.c:86:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/hash.c:86:12: note: Assignment 'h=malloc(sizeof(struct xdebug_hash))', assigned value is 0 xdebug-3.4.3/src/lib/hash.c:93:18: note: Null pointer dereference xdebug-3.4.3/src/lib/hash.c:94:3: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/hash.c:86:12: note: Assuming allocation function fails xdebug-3.4.3/src/lib/hash.c:86:12: note: Assignment 'h=malloc(sizeof(struct xdebug_hash))', assigned value is 0 xdebug-3.4.3/src/lib/hash.c:94:3: note: Null pointer dereference xdebug-3.4.3/src/lib/hash.c:41:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/lib/hash.c:42:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/lib/hash.c:129:53: style: Parameter 'key1' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/hash.c:129:76: style: Parameter 'key2' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/hash.c:228:37: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/log.c:72:33: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_ULONG_FMT is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/lib/timing.c:41:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/lib/str.c:101:13: style: Condition 'digit<10' is always true [knownConditionTrueFalse] xdebug-3.4.3/src/lib/str.c:99:15: note: Assignment 'digit=num%10', assigned value is less than 10 xdebug-3.4.3/src/lib/str.c:101:13: note: Condition 'digit<10' is always true xdebug-3.4.3/src/lib/str.c:184:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/str.c:182:28: note: Assuming allocation function fails xdebug-3.4.3/src/lib/str.c:182:28: note: Assignment 'tmp=malloc(sizeof(struct xdebug_str))', assigned value is 0 xdebug-3.4.3/src/lib/str.c:184:2: note: Null pointer dereference xdebug-3.4.3/src/lib/str.c:185:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/str.c:182:28: note: Assuming allocation function fails xdebug-3.4.3/src/lib/str.c:182:28: note: Assignment 'tmp=malloc(sizeof(struct xdebug_str))', assigned value is 0 xdebug-3.4.3/src/lib/str.c:185:2: note: Null pointer dereference xdebug-3.4.3/src/lib/str.c:186:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/str.c:182:28: note: Assuming allocation function fails xdebug-3.4.3/src/lib/str.c:182:28: note: Assignment 'tmp=malloc(sizeof(struct xdebug_str))', assigned value is 0 xdebug-3.4.3/src/lib/str.c:186:2: note: Null pointer dereference xdebug-3.4.3/src/lib/var.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/lib/str.c:204:47: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/str.c:209:41: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/usefulstuff.c:61:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/lib/var_export_html.c:24:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/lib/var_export_line.c:26:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/lib/var_export_text.c:33:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/debugger/debugger.c:210:8: style: Variable 'end_marker' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/debugger/debugger.c:227:46: style: Parameter 'fse' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/debugger/debugger.c:242:48: style: Parameter 'fse' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/profiler/profiler.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/tracing/trace_computerized.c:59:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_VERSION [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_computerized.c:114:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_variadic [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_computerized.c:137:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_computerized.c:188:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_computerized.c:205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_computerized.c:223:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/lib.c:708:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/lib.c:707:47: note: Assuming allocation function fails xdebug-3.4.3/src/lib/lib.c:707:47: note: Assignment 'tmp=malloc(sizeof(struct xdebug_multi_opcode_handler_t))', assigned value is 0 xdebug-3.4.3/src/lib/lib.c:708:2: note: Null pointer dereference xdebug-3.4.3/src/lib/lib.c:709:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/lib.c:707:47: note: Assuming allocation function fails xdebug-3.4.3/src/lib/lib.c:707:47: note: Assignment 'tmp=malloc(sizeof(struct xdebug_multi_opcode_handler_t))', assigned value is 0 xdebug-3.4.3/src/lib/lib.c:709:2: note: Null pointer dereference xdebug-3.4.3/src/lib/lib.c:238:45: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/lib.c:290:43: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/lib.c:400:8: style: Variable 'shared_secret' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/tracing/trace_flamegraph.c:88:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stack [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_flamegraph.c:151:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_TRACE_OPTION_FLAMEGRAPH_COST [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_flamegraph.c:156:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_TRACE_OPTION_FLAMEGRAPH_MEM [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_flamegraph.c:191:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_SHOW_FNAME_ADD_FILE_NAME [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_flamegraph.c:224:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/xml.c:102:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:100:33: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:100:33: note: Assignment 'xml=malloc(sizeof(struct xdebug_xml_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:102:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:103:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:100:33: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:100:33: note: Assignment 'xml=malloc(sizeof(struct xdebug_xml_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:103:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:104:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:100:33: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:100:33: note: Assignment 'xml=malloc(sizeof(struct xdebug_xml_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:104:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:105:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:100:33: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:100:33: note: Assignment 'xml=malloc(sizeof(struct xdebug_xml_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:105:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:106:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:100:33: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:100:33: note: Assignment 'xml=malloc(sizeof(struct xdebug_xml_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:106:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:107:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:100:33: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:100:33: note: Assignment 'xml=malloc(sizeof(struct xdebug_xml_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:107:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:118:2: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:114:39: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:114:39: note: Assignment 'attr=malloc(sizeof(struct xdebug_xml_attribute))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:118:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:119:2: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:114:39: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:114:39: note: Assignment 'attr=malloc(sizeof(struct xdebug_xml_attribute))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:119:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:120:2: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:114:39: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:114:39: note: Assignment 'attr=malloc(sizeof(struct xdebug_xml_attribute))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:120:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:121:2: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:114:39: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:114:39: note: Assignment 'attr=malloc(sizeof(struct xdebug_xml_attribute))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:121:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:122:2: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:114:39: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:114:39: note: Assignment 'attr=malloc(sizeof(struct xdebug_xml_attribute))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:122:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:182:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:181:39: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:181:39: note: Assignment 'node=malloc(sizeof(struct xdebug_xml_text_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:182:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:183:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:181:39: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:181:39: note: Assignment 'node=malloc(sizeof(struct xdebug_xml_text_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:183:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:188:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:181:39: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:181:39: note: Assignment 'node=malloc(sizeof(struct xdebug_xml_text_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:188:2: note: Null pointer dereference xdebug-3.4.3/src/lib/xml.c:189:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/xml.c:181:39: note: Assuming allocation function fails xdebug-3.4.3/src/lib/xml.c:181:39: note: Assignment 'node=malloc(sizeof(struct xdebug_xml_text_node))', assigned value is 0 xdebug-3.4.3/src/lib/xml.c:189:2: note: Null pointer dereference xdebug-3.4.3/src/tracing/trace_html.c:83:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_flamegraph.c:184:35: style: Variable 'context' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/tracing/trace_flamegraph.c:185:35: style: Variable 'parent_fse' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/tracing/trace_flamegraph.c:218:78: style: Parameter 'fse' can be declared as pointer to const. However it seems that 'xdebug_trace_flamegraph_function_exit' is a callback function, if 'fse' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdebug-3.4.3/src/tracing/trace_flamegraph.c:277:2: note: You might need to cast the function pointer here xdebug-3.4.3/src/tracing/trace_flamegraph.c:218:78: note: Parameter 'fse' can be declared as pointer to const xdebug-3.4.3/src/tracing/trace_flamegraph.c:223:26: style: Variable 'parent_fse' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/tracing/tracing.c:31:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_EXTERN_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-3.4.3/src/tracing/trace_textual.c:116:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_variadic [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_textual.c:172:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_textual.c:230:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_textual.c:251:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/tracing/trace_textual.c:293:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/coverage/code_coverage.c:145:13: style: Variable 'tmp->type' is reassigned a value before the old one has been used. [redundantAssignment] xdebug-3.4.3/src/coverage/code_coverage.c:141:13: note: tmp->type is assigned xdebug-3.4.3/src/coverage/code_coverage.c:145:13: note: tmp->type is overwritten xdebug-3.4.3/src/coverage/code_coverage.c:720:81: style:inconclusive: Function 'xdebug_code_coverage_end_of_function' argument 2 names different: declaration 'file_name' definition 'filename'. [funcArgNamesDifferent] xdebug-3.4.3/src/coverage/code_coverage_private.h:48:81: note: Function 'xdebug_code_coverage_end_of_function' argument 2 names different: declaration 'file_name' definition 'filename'. xdebug-3.4.3/src/coverage/code_coverage.c:720:81: note: Function 'xdebug_code_coverage_end_of_function' argument 2 names different: declaration 'file_name' definition 'filename'. xdebug-3.4.3/src/coverage/code_coverage.c:176:17: style: Variable 'op_array' can be declared as pointer to const [constVariablePointer] xdebug-3.4.3/src/coverage/code_coverage.c:799:38: style: Parameter 'f' can be declared as pointer to const. However it seems that 'xdebug_lineno_cmp' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdebug-3.4.3/src/coverage/code_coverage.c:949:30: note: You might need to cast the function pointer here xdebug-3.4.3/src/coverage/code_coverage.c:799:38: note: Parameter 'f' can be declared as pointer to const xdebug-3.4.3/src/coverage/code_coverage.c:799:49: style: Parameter 's' can be declared as pointer to const. However it seems that 'xdebug_lineno_cmp' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdebug-3.4.3/src/coverage/code_coverage.c:949:30: note: You might need to cast the function pointer here xdebug-3.4.3/src/coverage/code_coverage.c:799:49: note: Parameter 's' can be declared as pointer to const xdebug-3.4.3/src/coverage/code_coverage.c:1012:58: style: Parameter 'op_array' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/coverage/code_coverage.c:1026:87: style: Parameter 'op_array' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/coverage/code_coverage.c:1040:54: style: Parameter 'fse' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/coverage/code_coverage.c:1068:59: style: Parameter 'fse' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/tracing/trace_textual.c:213:85: style: Parameter 'fse' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/tracing/trace_textual.c:289:72: style: Parameter 'fse' can be declared as pointer to const. However it seems that 'xdebug_trace_textual_assignment' is a callback function, if 'fse' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdebug-3.4.3/src/tracing/trace_textual.c:342:2: note: You might need to cast the function pointer here xdebug-3.4.3/src/tracing/trace_textual.c:289:72: note: Parameter 'fse' can be declared as pointer to const xdebug-3.4.3/src/lib/var_export_xml.c:76:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_STRING [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/var_export_xml.c:182:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZEND_ACC_STATIC [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/var_export_xml.c:244:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/var_export_xml.c:469:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZEND_ACC_STATIC [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/var_export_xml.c:552:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_INDIRECT [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/var_export_xml.c:843:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDEBUG_STR_INITIALIZER [valueFlowBailoutIncompleteVar] xdebug-3.4.3/src/lib/var_export_xml.c:42:37: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/var_export_xml.c:198:86: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/var_export_xml.c:217:84: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] xdebug-3.4.3/src/lib/var_export_xml.c:462:185: style: Parameter 'class_name' can be declared as pointer to const [constParameterPointer] diff: 2.17.0 xdebug-3.4.3/src/lib/compat.c:101:7: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xdebug-3.4.3/src/lib/compat.c:202:34: note: Assuming allocation function fails xdebug-3.4.3/src/lib/compat.c:202:34: note: Assignment 'retval=malloc((((data_len+2)/3)+1)*(4*sizeof(char)))', assigned value is 0 xdebug-3.4.3/src/lib/compat.c:205:50: note: Calling function 'xdebug_base64_encode_impl', 3rd argument 'retval' value is 0 xdebug-3.4.3/src/lib/compat.c:101:7: note: Null pointer addition head xdebug-3.4.3/src/lib/compat.c:101:7: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xdebug-3.4.3/src/lib/compat.c:202:34: note: Assuming allocation function fails xdebug-3.4.3/src/lib/compat.c:202:34: note: Assignment 'retval=malloc((((data_len+2)/3)+1)*(4*sizeof(char)))', assigned value is 0 xdebug-3.4.3/src/lib/compat.c:205:50: note: Calling function 'xdebug_base64_encode_impl', 3rd argument 'retval' value is 0 xdebug-3.4.3/src/lib/compat.c:101:7: note: Null pointer addition 2.17.0 xdebug-3.4.3/src/lib/hash.c:175:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] xdebug-3.4.3/src/lib/hash.c:173:36: note: Assuming allocation function fails xdebug-3.4.3/src/lib/hash.c:173:6: note: Assignment 'e=(struct xdebug_hash_element*)malloc(sizeof(struct xdebug_hash_element))', assigned value is 0 xdebug-3.4.3/src/lib/hash.c:175:2: note: Null pointer dereference 2.17.0 xdebug-3.4.3/src/tracing/trace_textual.c:289:72: style: Parameter 'fse' can be declared as pointer to const [constParameterPointer] head xdebug-3.4.3/src/tracing/trace_textual.c:289:72: style: Parameter 'fse' can be declared as pointer to const. However it seems that 'xdebug_trace_textual_assignment' is a callback function, if 'fse' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdebug-3.4.3/src/tracing/trace_textual.c:342:2: note: You might need to cast the function pointer here xdebug-3.4.3/src/tracing/trace_textual.c:289:72: note: Parameter 'fse' can be declared as pointer to const DONE