2026-05-06 05:44 ftp://ftp.de.debian.org/debian/pool/main/a/arptables/arptables_0.0.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 182 182 elapsed-time: 1.9 2.0 head-timing-info: old-timing-info: head results: arptables-0.0.5/arptables-standalone.c:47:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:283:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ALEN [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:422:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:444:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:459:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:573:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:613:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:625:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:673:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:695:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:717:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:744:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:780:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:802:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DONT_LOAD [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:824:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:863:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:875:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:895:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:958:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:975:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:998:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPTC_LABEL_ACCEPT [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1033:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1056:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1086:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1145:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1220:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1413:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1457:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1477:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arpt_entry [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1525:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1551:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arpt_chainlabel [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1580:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1592:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1604:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1657:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1666:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1733:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arpt_entry [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:1795:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/arptables.c:421:13: portability: Non reentrant function 'getnetbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetbyname_r'. [prohibitedgetnetbynameCalled] arptables-0.0.5/arptables.c:672:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] arptables-0.0.5/arptables.c:694:14: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] arptables-0.0.5/arptables.c:895:13: portability: Non reentrant function 'getnetbyaddr' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetbyaddr_r'. [prohibitedgetnetbyaddrCalled] arptables-0.0.5/arptables.c:1040:9: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] arptables-0.0.5/arptables.c:1039:16: note: Assuming allocation function fails arptables-0.0.5/arptables.c:1039:16: note: Assignment 'merge=malloc(sizeof(struct option)*(num_new+num_old+1))', assigned value is 0 arptables-0.0.5/arptables.c:1040:9: note: Null pointer dereference arptables-0.0.5/arptables.c:1042:3: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] arptables-0.0.5/arptables.c:1039:16: note: Assuming allocation function fails arptables-0.0.5/arptables.c:1039:16: note: Assignment 'merge=malloc(sizeof(struct option)*(num_new+num_old+1))', assigned value is 0 arptables-0.0.5/arptables.c:1042:3: note: Null pointer dereference arptables-0.0.5/arptables.c:1043:3: warning: If memory allocation fails, then there is a possible null pointer dereference: merge [nullPointerOutOfMemory] arptables-0.0.5/arptables.c:1039:16: note: Assuming allocation function fails arptables-0.0.5/arptables.c:1039:16: note: Assignment 'merge=malloc(sizeof(struct option)*(num_new+num_old+1))', assigned value is 0 arptables-0.0.5/arptables.c:1043:3: note: Null pointer dereference arptables-0.0.5/arptables.c:1045:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] arptables-0.0.5/arptables.c:1039:16: note: Assuming allocation function fails arptables-0.0.5/arptables.c:1039:16: note: Assignment 'merge=malloc(sizeof(struct option)*(num_new+num_old+1))', assigned value is 0 arptables-0.0.5/arptables.c:1045:15: note: Null pointer addition arptables-0.0.5/arptables.c:1122:14: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] arptables-0.0.5/arptables.c:1124:18: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] arptables-0.0.5/arptables.c:1126:17: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] arptables-0.0.5/arptables.c:1128:12: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] arptables-0.0.5/arptables.c:1130:11: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] arptables-0.0.5/arptables.c:1132:10: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] arptables-0.0.5/arptables.c:280:21: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/arptables.c:312:30: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] arptables-0.0.5/arptables.c:332:26: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] arptables-0.0.5/arptables.c:384:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/arptables.c:418:17: style: Variable 'net' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/arptables.c:432:48: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] arptables-0.0.5/arptables.c:1027:30: style: Parameter 'oldopts' can be declared as pointer to const [constParameterPointer] arptables-0.0.5/arptables.c:1393:28: style: Variable 't' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/arptables.c:1474:26: style: Variable 'm' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/arptables.c:1782:8: style: Variable 'protocol' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/arptables.c:233:10: style: struct member 'pprot::num' is never used. [unusedStructMember] arptables-0.0.5/arptables.c:558:18: style: Variable 'legal' is assigned a value that is never used. [unreadVariable] arptables-0.0.5/extensions/arpt_CLASSIFY.c:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPTABLES_VERSION [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_CLASSIFY.c:65:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_CLASSIFY.c:85:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_CLASSIFY.c:65:8: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] arptables-0.0.5/extensions/arpt_CLASSIFY.c:65:8: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] arptables-0.0.5/extensions/arpt_CLASSIFY.c:51:34: style: Local variable 'classify' shadows outer variable [shadowVariable] arptables-0.0.5/extensions/arpt_CLASSIFY.c:102:25: note: Shadowed declaration arptables-0.0.5/extensions/arpt_CLASSIFY.c:51:34: note: Shadow variable arptables-0.0.5/extensions/arpt_CLASSIFY.c:60:34: style: Local variable 'classify' shadows outer variable [shadowVariable] arptables-0.0.5/extensions/arpt_CLASSIFY.c:102:25: note: Shadowed declaration arptables-0.0.5/extensions/arpt_CLASSIFY.c:60:34: note: Shadow variable arptables-0.0.5/extensions/arpt_CLASSIFY.c:91:34: style: Variable 't' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/extensions/arpt_MARK.c:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPTABLES_VERSION [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_MARK.c:64:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_MARK.c:109:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_PROBLEM [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_MARK.c:64:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] arptables-0.0.5/extensions/arpt_MARK.c:76:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] arptables-0.0.5/extensions/arpt_MARK.c:89:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] arptables-0.0.5/extensions/arpt_MARK.c:115:26: style: Variable 'info' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/extensions/arpt_mangle.c:20:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPTABLES_VERSION [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_mangle.c:42:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NF_ACCEPT [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_mangle.c:71:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_mangle.c:157:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPT_MANGLE_SIP [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_mangle.c:52:21: style: Variable 'macaddr' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/extensions/arpt_standard.c:16:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPTABLES_VERSION [valueFlowBailoutIncompleteVar] arptables-0.0.5/extensions/arpt_standard.c:25:32: style: Parameter 't' can be declared as pointer to const. However it seems that 'init' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/extensions/arpt_standard.c:59:6: note: You might need to cast the function pointer here arptables-0.0.5/extensions/arpt_standard.c:25:32: note: Parameter 't' can be declared as pointer to const arptables-0.0.5/extensions/arpt_standard.c:32:53: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'parse' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/extensions/arpt_standard.c:60:6: note: You might need to cast the function pointer here arptables-0.0.5/extensions/arpt_standard.c:32:53: note: Parameter 'flags' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:117:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:174:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPT_ERROR_TARGET [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:195:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:226:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUNTIME_NF_ARP_NUMHOOKS [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:288:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPTABLES_VERSION [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:308:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUNTIME_NF_ARP_NUMHOOKS [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:324:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:374:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:410:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:443:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUNTIME_NF_ARP_NUMHOOKS [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:495:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:568:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPT_STANDARD_TARGET [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:614:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUNTIME_NF_ARP_NUMHOOKS [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:655:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPT_STANDARD_TARGET [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:692:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:762:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:817:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arpt_standard_target [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:845:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPTC_LABEL_ACCEPT [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:899:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:939:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:979:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1057:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1142:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1156:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1177:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1206:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1235:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1272:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1315:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPTC_LABEL_DROP [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1359:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPT_STANDARD_TARGET [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1377:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1403:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1447:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPTC_LABEL_DROP [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1496:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1562:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arpt_counters_info [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc.c:125:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc.c:201:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARPT_DEV_ADDR_LEN_MAX [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc.c:282:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arpt_entry [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:117:3: portability: %zu in format string (no. 1) requires 'size_t' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_uint] arptables-0.0.5/libarptc/libarptc.c:169:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] arptables-0.0.5/libarptc/libarptc.c:116:23: style: Variable 't' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc.c:181:23: style: Variable 'ta' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc.c:181:28: style: Variable 'tb' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:304:29: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] arptables-0.0.5/libarptc/libarptc_incl.c:437:24: style: Variable 't' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:491:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:509:53: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] arptables-0.0.5/libarptc/libarptc_incl.c:563:16: style: Variable 'jumpto' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:630:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:647:9: style: Parameter 'base' can be declared as pointer to const. However it seems that 'correct_verdict' is a callback function, if 'base' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/libarptc/libarptc_incl.c:671:9: note: You might need to cast the function pointer here arptables-0.0.5/libarptc/libarptc_incl.c:647:9: note: Parameter 'base' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:859:23: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:875:52: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] arptables-0.0.5/libarptc/libarptc_incl.c:893:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:894:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:932:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:933:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:973:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1052:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1053:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1108:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1109:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1139:17: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'arptc_check_packet' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/libarptc/libarptc_incl.c:1752:8: note: You might need to cast the function pointer here arptables-0.0.5/libarptc/libarptc_incl.c:1139:17: note: Parameter 'entry' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:1140:16: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'arptc_check_packet' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/libarptc/libarptc_incl.c:1752:8: note: You might need to cast the function pointer here arptables-0.0.5/libarptc/libarptc_incl.c:1140:16: note: Parameter 'handle' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:1174:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1199:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1228:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1261:26: style: Parameter 'counters' can be declared as pointer to const. However it seems that 'arptc_set_counter' is a callback function, if 'counters' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/libarptc/libarptc_incl.c:1268:13: note: You might need to cast the function pointer here arptables-0.0.5/libarptc/libarptc_incl.c:1261:26: note: Parameter 'counters' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:1265:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1357:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1374:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1439:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] arptables-0.0.5/libarptc/libarptc_incl.c:1484:25: style: Parameter 'counters' can be declared as pointer to const. However it seems that 'arptc_set_policy' is a callback function, if 'counters' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/libarptc/libarptc_incl.c:1759:8: note: You might need to cast the function pointer here arptables-0.0.5/libarptc/libarptc_incl.c:1484:25: note: Parameter 'counters' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:18:19: portability: '(void*)e' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] arptables-0.0.5/libarptc/libarptc_incl.c:200:3: portability: '(void*)h' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] arptables-0.0.5/libarptc/libarptc_incl.c:201:3: portability: '(void*)h+sizeof(struct arptc_handle)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] arptables-0.0.5/libarptc/libarptc_incl.c:339:16: portability: '(void*)e' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] arptables-0.0.5/libarptc/libarptc_incl.c:511:19: portability: '(void*)prev' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] arptables-0.0.5/libarptc/libarptc_incl.c:515:22: portability: '(void*)prev' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] arptables-0.0.5/libarptc/libarptc_incl.c:593:26: portability: '(void*)e' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] arptables-0.0.5/libarptc/libarptc_incl.c:174:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_TARGET [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:190:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRUCT_TC_HANDLE [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:568:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STANDARD_TARGET [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:655:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STANDARD_TARGET [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:817:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRUCT_STANDARD_TARGET [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:845:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LABEL_ACCEPT [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1315:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LABEL_DROP [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1359:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STANDARD_TARGET [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1447:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LABEL_DROP [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1562:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRUCT_COUNTERS_INFO [valueFlowBailoutIncompleteVar] arptables-0.0.5/libarptc/libarptc_incl.c:1139:17: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'TC_CHECK_PACKET' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/libarptc/libarptc_incl.c:1752:8: note: You might need to cast the function pointer here arptables-0.0.5/libarptc/libarptc_incl.c:1139:17: note: Parameter 'entry' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:1140:16: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'TC_CHECK_PACKET' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/libarptc/libarptc_incl.c:1752:8: note: You might need to cast the function pointer here arptables-0.0.5/libarptc/libarptc_incl.c:1140:16: note: Parameter 'handle' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:1261:26: style: Parameter 'counters' can be declared as pointer to const. However it seems that 'TC_SET_COUNTER' is a callback function, if 'counters' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/libarptc/libarptc_incl.c:1268:13: note: You might need to cast the function pointer here arptables-0.0.5/libarptc/libarptc_incl.c:1261:26: note: Parameter 'counters' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:1484:25: style: Parameter 'counters' can be declared as pointer to const. However it seems that 'TC_SET_POLICY' is a callback function, if 'counters' is declared with const you might also need to cast function pointer(s). [constParameterCallback] arptables-0.0.5/libarptc/libarptc_incl.c:1759:8: note: You might need to cast the function pointer here arptables-0.0.5/libarptc/libarptc_incl.c:1484:25: note: Parameter 'counters' can be declared as pointer to const arptables-0.0.5/libarptc/libarptc_incl.c:201:3: portability: '(void*)h+sizeof(STRUCT_TC_HANDLE)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] diff: DONE