2022-06-20 12:36 ftp://ftp.de.debian.org/debian/pool/main/x/xdebug/xdebug_3.1.2+2.9.8+2.8.1+2.5.5.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.24 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: ff50a01 (2022-06-20 09:17:11 +0200) count: 149 149 elapsed-time: 15.4 26.1 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: xdebug-2.5.5/debugclient/usefulstuff.c:35:21: style: Variable 'newl' is assigned a value that is never used. [unreadVariable] xdebug-2.5.5/php_xdebug.h:289:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_END_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-2.5.5/debugclient/main.c:251:8: style: Local variable 'opt' shadows outer variable [shadowVariable] xdebug-2.5.5/debugclient/main.c:149:27: note: Shadowed declaration xdebug-2.5.5/debugclient/main.c:251:8: note: Shadow variable xdebug-2.5.5/xdebug_str.c:108:3: error: Common realloc mistake: 'new_str' nulled but not freed upon failure [memleakOnRealloc] xdebug-2.5.5/xdebug_trace_html.c:32:2: error: Memory leak: tmp_html_context [memleak] xdebug-2.5.5/xdebug_trace_html.c:37:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_html.c:37:29: note: Shadow variable xdebug-2.5.5/xdebug_trace_html.c:48:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_html.c:48:29: note: Shadow variable xdebug-2.5.5/xdebug_trace_html.c:62:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_html.c:62:29: note: Shadow variable xdebug-2.5.5/xdebug_trace_html.c:70:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_html.c:70:29: note: Shadow variable xdebug-2.5.5/xdebug_trace_html.c:77:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_html.c:77:29: note: Shadow variable xdebug-2.5.5/xdebug_trace_html.c:30:37: error: Uninitialized variable: used_fname [uninitvar] xdebug-2.5.5/xdebug_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-2.5.5/xdebug_trace_computerized.c:33:2: error: Memory leak: tmp_computerized_context [memleak] xdebug-2.5.5/xdebug_trace_computerized.c:38:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_computerized.c:38:37: note: Shadow variable xdebug-2.5.5/xdebug_trace_computerized.c:49:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_computerized.c:49:37: note: Shadow variable xdebug-2.5.5/xdebug_trace_computerized.c:63:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_computerized.c:63:37: note: Shadow variable xdebug-2.5.5/xdebug_trace_computerized.c:87:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_computerized.c:87:37: note: Shadow variable xdebug-2.5.5/xdebug_trace_computerized.c:117:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_computerized.c:117:37: note: Shadow variable xdebug-2.5.5/xdebug_trace_computerized.c:199:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_computerized.c:199:37: note: Shadow variable xdebug-2.5.5/xdebug_trace_computerized.c:216:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_computerized.c:216:37: note: Shadow variable xdebug-2.5.5/xdebug_trace_computerized.c:31:45: error: Uninitialized variable: used_fname [uninitvar] xdebug-2.8.1/debugclient/usefulstuff.c:35:21: style: Variable 'newl' is assigned a value that is never used. [unreadVariable] xdebug-2.5.5/xdebug_trace_textual.c:34:2: error: Memory leak: tmp_textual_context [memleak] xdebug-2.5.5/xdebug_trace_textual.c:39:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_textual.c:39:32: note: Shadow variable xdebug-2.5.5/xdebug_trace_textual.c:50:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_textual.c:50:32: note: Shadow variable xdebug-2.5.5/xdebug_trace_textual.c:61:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_textual.c:61:32: note: Shadow variable xdebug-2.5.5/xdebug_trace_textual.c:84:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_textual.c:84:32: note: Shadow variable xdebug-2.5.5/xdebug_trace_textual.c:116:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_textual.c:116:32: note: Shadow variable xdebug-2.5.5/xdebug_trace_textual.c:247:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_textual.c:247:32: note: Shadow variable xdebug-2.5.5/xdebug_trace_textual.c:316:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.5.5/php_xdebug.h:250:16: note: Shadowed declaration xdebug-2.5.5/xdebug_trace_textual.c:316:32: note: Shadow variable xdebug-2.5.5/xdebug_trace_textual.c:32:40: error: Uninitialized variable: used_fname [uninitvar] xdebug-2.8.1/php_xdebug.h:325:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_END_MODULE_GLOBALS is a macro then please configure it. [unknownMacro] xdebug-2.8.1/debugclient/main.c:251:8: style: Local variable 'opt' shadows outer variable [shadowVariable] xdebug-2.8.1/debugclient/main.c:149:27: note: Shadowed declaration xdebug-2.8.1/debugclient/main.c:251:8: note: Shadow variable xdebug-2.8.1/xdebug_code_coverage.c:1147:28: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_NUM_ARGS is a macro then please configure it. [unknownMacro] xdebug-2.8.1/xdebug_filter.c:193:28: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_NUM_ARGS is a macro then please configure it. [unknownMacro] xdebug-2.8.1/xdebug_compat.c:297:33: style:inconclusive: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] xdebug-2.8.1/xdebug_compat.h:37:33: note: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. xdebug-2.8.1/xdebug_compat.c:297:33: note: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. xdebug-2.8.1/xdebug_compat.c:297:43: style:inconclusive: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. [funcArgNamesDifferent] xdebug-2.8.1/xdebug_compat.h:37:46: note: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. xdebug-2.8.1/xdebug_compat.c:297:43: note: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. xdebug-2.8.1/xdebug_compat.c:394:208: style:inconclusive: Function 'xdebug_setcookie' argument 12 names different: declaration 'TSRMLS_DC' definition 'TSRMLS_CC'. [funcArgNamesDifferent] xdebug-2.8.1/xdebug_compat.h:43:208: note: Function 'xdebug_setcookie' argument 12 names different: declaration 'TSRMLS_DC' definition 'TSRMLS_CC'. xdebug-2.8.1/xdebug_compat.c:394:208: note: Function 'xdebug_setcookie' argument 12 names different: declaration 'TSRMLS_DC' definition 'TSRMLS_CC'. xdebug-2.8.1/xdebug_handlers.c:48:44: style:inconclusive: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. [funcArgNamesDifferent] xdebug-2.8.1/xdebug_handlers.h:162:44: note: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-2.8.1/xdebug_handlers.c:48:44: note: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-2.8.1/xdebug_handlers.c:65:44: style:inconclusive: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. [funcArgNamesDifferent] xdebug-2.8.1/xdebug_handlers.h:164:44: note: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-2.8.1/xdebug_handlers.c:65:44: note: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-2.8.1/xdebug_handlers.c:70:58: style:inconclusive: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. [funcArgNamesDifferent] xdebug-2.8.1/xdebug_handlers.h:163:58: note: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. xdebug-2.8.1/xdebug_handlers.c:70:58: note: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. xdebug-2.8.1/xdebug_com.c:303:30: style:inconclusive: Function 'xdebug_close_socket' argument 1 names different: declaration 'socket' definition 'socketfd'. [funcArgNamesDifferent] xdebug-2.8.1/xdebug_com.h:59:30: note: Function 'xdebug_close_socket' argument 1 names different: declaration 'socket' definition 'socketfd'. xdebug-2.8.1/xdebug_com.c:303:30: note: Function 'xdebug_close_socket' argument 1 names different: declaration 'socket' definition 'socketfd'. xdebug-2.8.1/xdebug_com.c:90:29: style: Local variable 'status' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:139:16: note: Shadowed declaration xdebug-2.8.1/xdebug_com.c:90:29: note: Shadow variable xdebug-2.8.1/xdebug_str.c:175:3: error: Common realloc mistake: 'new_str' nulled but not freed upon failure [memleakOnRealloc] xdebug-2.8.1/xdebug_stack.c:136:27: error: There is an unknown macro here somewhere. Configuration is required. If PG is a macro then please configure it. [unknownMacro] xdebug-2.8.1/xdebug_profiler.c:404:3: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] xdebug-2.8.1/xdebug_profiler.c:410:40: error: Uninitialized variable: xae_call->function [uninitvar] xdebug-2.8.1/xdebug_trace_html.c:32:2: error: Memory leak: tmp_html_context [memleak] xdebug-2.8.1/xdebug_trace_html.c:37:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_html.c:37:29: note: Shadow variable xdebug-2.8.1/xdebug_trace_html.c:48:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_html.c:48:29: note: Shadow variable xdebug-2.8.1/xdebug_trace_html.c:62:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_html.c:62:29: note: Shadow variable xdebug-2.8.1/xdebug_trace_html.c:70:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_html.c:70:29: note: Shadow variable xdebug-2.8.1/xdebug_trace_html.c:77:29: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_html.c:77:29: note: Shadow variable xdebug-2.8.1/xdebug_trace_computerized.c:33:2: error: Memory leak: tmp_computerized_context [memleak] xdebug-2.8.1/xdebug_trace_html.c:30:37: error: Uninitialized variable: used_fname [uninitvar] xdebug-2.8.1/xdebug_trace_computerized.c:38:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_computerized.c:38:37: note: Shadow variable xdebug-2.8.1/xdebug_trace_computerized.c:49:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_computerized.c:49:37: note: Shadow variable xdebug-2.8.1/xdebug_trace_computerized.c:63:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_computerized.c:63:37: note: Shadow variable xdebug-2.8.1/xdebug_trace_computerized.c:87:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_computerized.c:87:37: note: Shadow variable xdebug-2.8.1/xdebug_trace_computerized.c:121:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_computerized.c:121:37: note: Shadow variable xdebug-2.8.1/xdebug_trace_computerized.c:194:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_computerized.c:194:37: note: Shadow variable xdebug-2.8.1/xdebug_trace_computerized.c:211:37: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_computerized.c:211:37: note: Shadow variable xdebug-2.8.1/xdebug_trace_computerized.c:31:45: error: Uninitialized variable: used_fname [uninitvar] xdebug-2.8.1/xdebug_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-2.8.1/xdebug_trace_textual.c:34:2: error: Memory leak: tmp_textual_context [memleak] xdebug-2.8.1/xdebug_trace_textual.c:39:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_textual.c:39:32: note: Shadow variable xdebug-2.8.1/xdebug_trace_textual.c:50:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_textual.c:50:32: note: Shadow variable xdebug-2.8.1/xdebug_trace_textual.c:61:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_textual.c:61:32: note: Shadow variable xdebug-2.8.1/xdebug_trace_textual.c:84:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_textual.c:84:32: note: Shadow variable xdebug-2.8.1/xdebug_trace_textual.c:117:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_textual.c:117:32: note: Shadow variable xdebug-2.8.1/xdebug_trace_textual.c:229:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_textual.c:229:32: note: Shadow variable xdebug-2.8.1/xdebug_trace_textual.c:250:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_textual.c:250:32: note: Shadow variable xdebug-2.8.1/xdebug_trace_textual.c:291:32: style: Local variable 'context' shadows outer variable [shadowVariable] xdebug-2.8.1/php_xdebug.h:268:16: note: Shadowed declaration xdebug-2.8.1/xdebug_trace_textual.c:291:32: note: Shadow variable xdebug-2.8.1/xdebug_trace_textual.c:32:40: error: Uninitialized variable: used_fname [uninitvar] xdebug-2.9.8/debugclient/usefulstuff.c:35:21: style: Variable 'newl' is assigned a value that is never used. [unreadVariable] xdebug-2.9.8/debugclient/main.c:251:8: style: Local variable 'opt' shadows outer variable [shadowVariable] xdebug-2.9.8/debugclient/main.c:149:27: note: Shadowed declaration xdebug-2.9.8/debugclient/main.c:251:8: note: Shadow variable xdebug-2.9.8/src/base/superglobals.c:165:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xdebug-2.9.8/src/base/superglobals.c:182:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xdebug-2.9.8/src/coverage/branch_info.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-2.9.8/src/base/base.c:329:2: warning: Either the condition 'fse' is redundant or there is possible null pointer dereference: fse. [nullPointerRedundantCheck] xdebug-2.9.8/src/base/base.c:332:6: note: Assuming that condition 'fse' is not redundant xdebug-2.9.8/src/base/base.c:329:2: note: Null pointer dereference xdebug-2.9.8/src/base/base.c:340:2: warning:inconclusive: Either the condition 'fse' is redundant or there is possible null pointer dereference: fse. [nullPointerRedundantCheck] xdebug-2.9.8/src/base/base.c:332:6: note: Assuming that condition 'fse' is not redundant xdebug-2.9.8/src/base/base.c:340:2: note: Null pointer dereference xdebug-2.9.8/src/debugger/com.c:349:30: style:inconclusive: Function 'xdebug_close_socket' argument 1 names different: declaration 'socket' definition 'socketfd'. [funcArgNamesDifferent] xdebug-2.9.8/src/debugger/com.h:58:30: note: Function 'xdebug_close_socket' argument 1 names different: declaration 'socket' definition 'socketfd'. xdebug-2.9.8/src/debugger/com.c:349:30: note: Function 'xdebug_close_socket' argument 1 names different: declaration 'socket' definition 'socketfd'. xdebug-2.9.8/src/coverage/code_coverage.c:590:6: style: Condition 'path' is always true [knownConditionTrueFalse] xdebug-2.9.8/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-2.9.8/src/debugger/handlers.c:25:44: style:inconclusive: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. [funcArgNamesDifferent] xdebug-2.9.8/src/debugger/handlers.h:147:44: note: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-2.9.8/src/debugger/handlers.c:25:44: note: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-2.9.8/src/debugger/handlers.c:42:44: style:inconclusive: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. [funcArgNamesDifferent] xdebug-2.9.8/src/debugger/handlers.h:149:44: note: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-2.9.8/src/debugger/handlers.c:42:44: note: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-2.9.8/src/debugger/handlers.c:47:58: style:inconclusive: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. [funcArgNamesDifferent] xdebug-2.9.8/src/debugger/handlers.h:148:58: note: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. xdebug-2.9.8/src/debugger/handlers.c:47:58: note: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. xdebug-2.9.8/src/debugger/debugger.c:174:30: style: Variable 'level' is assigned a value that is never used. [unreadVariable] xdebug-2.9.8/src/debugger/debugger.c:175:32: style: Variable 'func_nr' is assigned a value that is never used. [unreadVariable] xdebug-2.9.8/src/debugger/debugger.c:366:27: style: Variable 'tmp_len' is assigned a value that is never used. [unreadVariable] xdebug-2.9.8/src/lib/compat.c:286:33: style:inconclusive: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] xdebug-2.9.8/src/lib/compat.h:35:33: note: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. xdebug-2.9.8/src/lib/compat.c:286:33: note: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. xdebug-2.9.8/src/lib/compat.c:286:43: style:inconclusive: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. [funcArgNamesDifferent] xdebug-2.9.8/src/lib/compat.h:35:46: note: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. xdebug-2.9.8/src/lib/compat.c:286:43: note: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. xdebug-2.9.8/src/lib/str.c:175:3: error: Common realloc mistake: 'new_str' nulled but not freed upon failure [memleakOnRealloc] xdebug-2.9.8/src/lib/usefulstuff.c:53: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-2.9.8/src/lib/var.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-2.9.8/src/lib/var_export_serialized.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-2.9.8/src/lib/var_export_line.c:79:8: style: Condition 'property_type' is always false [knownConditionTrueFalse] xdebug-2.9.8/src/lib/var_export_line.c:70:32: note: Assignment 'property_type=NULL', assigned value is 0 xdebug-2.9.8/src/lib/var_export_line.c:79:8: note: Condition 'property_type' is always false xdebug-2.9.8/src/lib/var_export_html.c:89:8: style: Condition 'property_type' is always false [knownConditionTrueFalse] xdebug-2.9.8/src/lib/var_export_html.c:80:32: note: Assignment 'property_type=NULL', assigned value is 0 xdebug-2.9.8/src/lib/var_export_html.c:89:8: note: Condition 'property_type' is always false xdebug-2.9.8/src/base/stack.c:1088:4: style: Condition 'edata' is always true [knownConditionTrueFalse] xdebug-2.9.8/src/base/stack.c:1102:4: style: Condition 'edata' is always true [knownConditionTrueFalse] xdebug-2.9.8/src/base/stack.c:1129:4: style: Condition 'edata' is always true [knownConditionTrueFalse] xdebug-2.9.8/src/base/stack.c:1423:38: warning: Either the condition 'argument' is redundant or there is possible null pointer dereference: argument. [nullPointerRedundantCheck] xdebug-2.9.8/src/base/stack.c:1420:46: note: Assuming that condition 'argument' is not redundant xdebug-2.9.8/src/base/stack.c:1423:38: note: Null pointer dereference xdebug-2.9.8/src/base/stack.c:1016:13: style: Variable 'tmp->type' is reassigned a value before the old one has been used. [redundantAssignment] xdebug-2.9.8/src/base/stack.c:1012:13: note: tmp->type is assigned xdebug-2.9.8/src/base/stack.c:1016:13: note: tmp->type is overwritten xdebug-2.9.8/src/base/stack.c:332:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xdebug-2.9.8/src/base/stack.c:1145:26: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xdebug-2.9.8/src/lib/var_export_xml.c:43:37: style: Parameter 'value' can be declared as pointer to const [constParameter] xdebug-3.1.2/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-2.9.8/src/tracing/tracing.c:806:47: style:inconclusive: Function 'xdebug_tracing_save_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. [funcArgNamesDifferent] xdebug-2.9.8/src/tracing/tracing.h:64:47: note: Function 'xdebug_tracing_save_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. xdebug-2.9.8/src/tracing/tracing.c:806:47: note: Function 'xdebug_tracing_save_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. xdebug-2.9.8/src/tracing/tracing.c:812:49: style:inconclusive: Function 'xdebug_tracing_restore_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. [funcArgNamesDifferent] xdebug-2.9.8/src/tracing/tracing.h:65:49: note: Function 'xdebug_tracing_restore_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. xdebug-2.9.8/src/tracing/tracing.c:812:49: note: Function 'xdebug_tracing_restore_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. xdebug-3.1.2/src/coverage/code_coverage.c:683:6: style: Condition 'path' is always true [knownConditionTrueFalse] xdebug-3.1.2/src/coverage/code_coverage.c:147:13: style: Variable 'tmp->type' is reassigned a value before the old one has been used. [redundantAssignment] xdebug-3.1.2/src/coverage/code_coverage.c:143:13: note: tmp->type is assigned xdebug-3.1.2/src/coverage/code_coverage.c:147:13: note: tmp->type is overwritten xdebug-3.1.2/src/coverage/code_coverage.c:668:81: style:inconclusive: Function 'xdebug_code_coverage_end_of_function' argument 2 names different: declaration 'file_name' definition 'filename'. [funcArgNamesDifferent] xdebug-3.1.2/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.1.2/src/coverage/code_coverage.c:668:81: note: Function 'xdebug_code_coverage_end_of_function' argument 2 names different: declaration 'file_name' definition 'filename'. xdebug-3.1.2/src/debugger/com.c:365:30: style:inconclusive: Function 'xdebug_close_socket' argument 1 names different: declaration 'socket' definition 'socketfd'. [funcArgNamesDifferent] xdebug-3.1.2/src/debugger/com.h:55:30: note: Function 'xdebug_close_socket' argument 1 names different: declaration 'socket' definition 'socketfd'. xdebug-3.1.2/src/debugger/com.c:365:30: note: Function 'xdebug_close_socket' argument 1 names different: declaration 'socket' definition 'socketfd'. xdebug-3.1.2/src/debugger/handler_dbgp.c:57: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.1.2/src/base/base.c:276:4: style: Condition 'edata' is always true [knownConditionTrueFalse] xdebug-3.1.2/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.1.2/src/debugger/handlers.h:159:44: note: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-3.1.2/src/debugger/handlers.c:47:44: note: Function 'xdebug_brk_info_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-3.1.2/src/base/base.c:290:4: style: Condition 'edata' is always true [knownConditionTrueFalse] xdebug-3.1.2/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.1.2/src/debugger/handlers.h:161:44: note: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-3.1.2/src/debugger/handlers.c:67:44: note: Function 'xdebug_hash_brk_dtor' argument 1 names different: declaration 'brk' definition 'brk_info'. xdebug-3.1.2/src/base/base.c:318:4: style: Condition 'edata' is always true [knownConditionTrueFalse] xdebug-3.1.2/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.1.2/src/debugger/handlers.h:160:58: note: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. xdebug-3.1.2/src/debugger/handlers.c:72:58: note: Function 'xdebug_llist_brk_dtor' argument 2 names different: declaration 'brk' definition 'brk_info'. xdebug-3.1.2/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.1.2/src/base/base.c:722:2: warning: Either the condition 'fse' is redundant or there is possible null pointer dereference: fse. [nullPointerRedundantCheck] xdebug-3.1.2/src/base/base.c:725:6: note: Assuming that condition 'fse' is not redundant xdebug-3.1.2/src/base/base.c:722:2: note: Null pointer dereference xdebug-3.1.2/src/develop/superglobals.c:168:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xdebug-3.1.2/src/develop/superglobals.c:185:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xdebug-3.1.2/src/debugger/debugger.c:229:30: style: Variable 'level' is assigned a value that is never used. [unreadVariable] xdebug-3.1.2/src/debugger/debugger.c:230:32: style: Variable 'func_nr' is assigned a value that is never used. [unreadVariable] xdebug-3.1.2/src/debugger/debugger.c:431:27: style: Variable 'tmp_len' is assigned a value that is never used. [unreadVariable] xdebug-3.1.2/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.1.2/src/lib/compat.c:286:33: style:inconclusive: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] xdebug-3.1.2/src/lib/compat.h:33:33: note: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. xdebug-3.1.2/src/lib/compat.c:286:33: note: Function 'xdebug_stripcslashes' argument 1 names different: declaration 'string' definition 'str'. xdebug-3.1.2/src/lib/compat.c:286:43: style:inconclusive: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. [funcArgNamesDifferent] xdebug-3.1.2/src/lib/compat.h:33:46: note: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. xdebug-3.1.2/src/lib/compat.c:286:43: note: Function 'xdebug_stripcslashes' argument 2 names different: declaration 'new_len' definition 'len'. xdebug-3.1.2/src/develop/stack.c:1104:52: warning: Either the condition 'argument' is redundant or there is possible null pointer dereference: argument. [nullPointerRedundantCheck] xdebug-3.1.2/src/develop/stack.c:1101:48: note: Assuming that condition 'argument' is not redundant xdebug-3.1.2/src/develop/stack.c:1104:52: note: Null pointer dereference xdebug-3.1.2/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.1.2/src/lib/timing.c:208:41: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] xdebug-3.1.2/src/lib/timing.c:129:50: style:inconclusive: Function 'xdebug_nanotime_init' argument 1 names different: declaration 'xg' definition 'base'. [funcArgNamesDifferent] xdebug-3.1.2/src/lib/timing.h:24:50: note: Function 'xdebug_nanotime_init' argument 1 names different: declaration 'xg' definition 'base'. xdebug-3.1.2/src/lib/timing.c:129:50: note: Function 'xdebug_nanotime_init' argument 1 names different: declaration 'xg' definition 'base'. xdebug-3.1.2/src/lib/str.c:94:13: style: Condition 'digit<10' is always true [knownConditionTrueFalse] xdebug-3.1.2/src/lib/str.c:92:15: note: Assignment 'digit=num%10', assigned value is less than 10 xdebug-3.1.2/src/lib/str.c:94:13: note: Condition 'digit<10' is always true xdebug-3.1.2/src/lib/usefulstuff.c:54: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.1.2/src/lib/str.c:233:3: error: Common realloc mistake: 'new_str' nulled but not freed upon failure [memleakOnRealloc] xdebug-3.1.2/src/lib/var.c:36: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.1.2/src/lib/var_export_html.c:92:8: style: Condition 'property_type' is always false [knownConditionTrueFalse] xdebug-3.1.2/src/lib/var_export_html.c:83:32: note: Assignment 'property_type=NULL', assigned value is 0 xdebug-3.1.2/src/lib/var_export_html.c:92:8: note: Condition 'property_type' is always false xdebug-3.1.2/src/lib/var_export_line.c:80:8: style: Condition 'property_type' is always false [knownConditionTrueFalse] xdebug-3.1.2/src/lib/var_export_line.c:71:32: note: Assignment 'property_type=NULL', assigned value is 0 xdebug-3.1.2/src/lib/var_export_line.c:80:8: note: Condition 'property_type' is always false xdebug-3.1.2/src/lib/var_export_xml.c:42:37: style: Parameter 'value' can be declared as pointer to const [constParameter] xdebug-3.1.2/src/tracing/tracing.c:55:43: style:inconclusive: Function 'xdebug_trace_open_file' argument 1 names different: declaration 'fname' definition 'requested_filename'. [funcArgNamesDifferent] xdebug-3.1.2/src/tracing/tracing_private.h:81:43: note: Function 'xdebug_trace_open_file' argument 1 names different: declaration 'fname' definition 'requested_filename'. xdebug-3.1.2/src/tracing/tracing.c:55:43: note: Function 'xdebug_trace_open_file' argument 1 names different: declaration 'fname' definition 'requested_filename'. xdebug-3.1.2/src/tracing/tracing.c:818:47: style:inconclusive: Function 'xdebug_tracing_save_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. [funcArgNamesDifferent] xdebug-3.1.2/src/tracing/tracing.h:66:47: note: Function 'xdebug_tracing_save_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. xdebug-3.1.2/src/tracing/tracing.c:818:47: note: Function 'xdebug_tracing_save_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. xdebug-3.1.2/src/tracing/tracing.c:824:49: style:inconclusive: Function 'xdebug_tracing_restore_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. [funcArgNamesDifferent] xdebug-3.1.2/src/tracing/tracing.h:67:49: note: Function 'xdebug_tracing_restore_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. xdebug-3.1.2/src/tracing/tracing.c:824:49: note: Function 'xdebug_tracing_restore_trace_context' argument 1 names different: declaration 'old_trace_context' definition 'original_trace_context'. xdebug-2.8.1/xdebug_handler_dbgp.c:309:3: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xdebug-2.8.1/xdebug_handler_dbgp.c:428:2: error: Memory leak: parts [memleak] xdebug-2.8.1/xdebug_handler_dbgp.c:2889:62: style:inconclusive: Function 'xdebug_dbgp_resolve_breakpoints' argument 2 names different: declaration 'type' definition 'breakpoint_type_set'. [funcArgNamesDifferent] xdebug-2.8.1/xdebug_handler_dbgp.h:107:62: note: Function 'xdebug_dbgp_resolve_breakpoints' argument 2 names different: declaration 'type' definition 'breakpoint_type_set'. xdebug-2.8.1/xdebug_handler_dbgp.c:2889:62: note: Function 'xdebug_dbgp_resolve_breakpoints' argument 2 names different: declaration 'type' definition 'breakpoint_type_set'. xdebug-2.8.1/xdebug_handler_dbgp.c:2919:117: style:inconclusive: Function 'xdebug_dbgp_notification' argument 6 names different: declaration 'TSRMLS_DC' definition 'message'. [funcArgNamesDifferent] xdebug-2.8.1/xdebug_handler_dbgp.h:109:125: note: Function 'xdebug_dbgp_notification' argument 6 names different: declaration 'TSRMLS_DC' definition 'message'. xdebug-2.8.1/xdebug_handler_dbgp.c:2919:117: note: Function 'xdebug_dbgp_notification' argument 6 names different: declaration 'TSRMLS_DC' definition 'message'. xdebug-2.8.1/xdebug_handler_dbgp.c:1921:32: style: Variable 'counter' is assigned a value that is never used. [unreadVariable] diff: head xdebug-2.9.8/src/lib/var_export_xml.c:43:37: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 xdebug-2.9.8/src/lib/var_export_xml.c:43:37: style: Parameter 'value' can be declared with const [constParameter] head xdebug-3.1.2/src/lib/var_export_xml.c:42:37: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 xdebug-3.1.2/src/lib/var_export_xml.c:42:37: style: Parameter 'value' can be declared with const [constParameter] DONE