2026-05-06 01:01 ftp://ftp.de.debian.org/debian/pool/main/a/adns/adns_1.6.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -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: 217 213 elapsed-time: 4.0 3.6 head-timing-info: old-timing-info: head results: adns-1.6.1/client/addrtext.c:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADNS_ADDR2TEXT_BUFLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-main.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-main.c:46:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-main.c:55:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-main.c:83:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adns_r_ns [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-main.c:142:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ot_funcarg [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-main.c:205:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-main.c:252:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-opts.c:145:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oip [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-opts.c:289:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-opts.c:294:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-opts.c:320:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ot_end [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:37:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:59:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adns_s_nomemory [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:90:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adns_qf_quoteok_cname [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:101:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adns_qf_addrlit_scope_forbid [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:116:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adns_r_none [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:135:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adns_r_none [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adns_r_none [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:168:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:179:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:226:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:238:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:268:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adh-query.c:75:3: warning: If memory allocation fails, then there is a possible null pointer dereference: qun [nullPointerOutOfMemory] adns-1.6.1/client/adh-query.c:74:14: note: Assuming allocation function fails adns-1.6.1/client/adh-query.c:74:14: note: Assignment 'qun=malloc(sizeof(*qun))', assigned value is 0 adns-1.6.1/client/adh-query.c:75:3: note: Null pointer dereference adns-1.6.1/client/adh-query.c:171:42: style: Parameter 'qun' can be declared as pointer to const [constParameterPointer] adns-1.6.1/client/adh-query.c:171:60: style: Parameter 'answer' can be declared as pointer to const [constParameterPointer] adns-1.6.1/client/adnsheloex.c:70:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsheloex.c:78:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsheloex.c:124:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adns_qf_quoteok_cname [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsheloex.c:149:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsheloex.c:222:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsheloex.c:226:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsheloex.c:237:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnslogres.c:69:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnslogres.c:77:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnslogres.c:169:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnslogres.c:222:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnslogres.c:226:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnslogres.c:244:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnslogres.c:102:21: error: Array 'ptrs[5]' accessed at index ptrs[*][-1], which is out of bounds. [negativeIndex] adns-1.6.1/client/adnslogres.c:103:17: error: Array 'ptrs[5]' accessed at index ptrs[*][-1], which is out of bounds. [negativeIndex] adns-1.6.1/client/adnslogres.c:119:41: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] adns-1.6.1/client/adnslogres.c:119:54: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] adns-1.6.1/client/adnslogres.c:119:66: style: Parameter 'rest' can be declared as pointer to const [constParameterPointer] adns-1.6.1/client/adnslogres.c:119:78: style: Parameter 'domain' can be declared as pointer to const [constParameterPointer] adns-1.6.1/client/adnsresfilter.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:98:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:136:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:164:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adns_r_ptr_raw [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:243:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:290:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESRCH [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:355:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:397:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:454:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnsresfilter.c:230:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] adns-1.6.1/client/adnsresfilter.c:222:19: note: Assuming allocation function fails adns-1.6.1/client/adnsresfilter.c:222:19: note: Assignment 'entry=xmalloc(sizeof(*entry))', assigned value is 0 adns-1.6.1/client/adnsresfilter.c:230:3: note: Null pointer dereference adns-1.6.1/client/adnsresfilter.c:230:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] adns-1.6.1/client/adnsresfilter.c:222:19: note: Assuming allocation function fails adns-1.6.1/client/adnsresfilter.c:222:19: note: Assignment 'entry=xmalloc(sizeof(*entry))', assigned value is 0 adns-1.6.1/client/adnsresfilter.c:230:16: note: Null pointer dereference adns-1.6.1/client/adnsresfilter.c:319:10: warning: If memory allocation fails, then there is a possible null pointer dereference: newthing [nullPointerOutOfMemory] adns-1.6.1/client/adnsresfilter.c:314:22: note: Assuming allocation function fails adns-1.6.1/client/adnsresfilter.c:314:22: note: Assignment 'newthing=xmalloc(sizeof(struct treething))', assigned value is 0 adns-1.6.1/client/adnsresfilter.c:319:10: note: Null pointer dereference adns-1.6.1/client/adnsresfilter.c:46:24: style: struct member 'outqueuenode::next' is never used. [unusedStructMember] adns-1.6.1/client/adnsresfilter.c:46:31: style: struct member 'outqueuenode::back' is never used. [unusedStructMember] adns-1.6.1/client/adnstest.c:64:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnstest.c:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnstest.c:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnstest.c:96:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnstest.c:138:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnstest.c:152:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/adnstest.c:171:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domain [valueFlowBailoutIncompleteVar] adns-1.6.1/client/fanftest.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/client/fanftest.c:57:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/regress/hfuzz.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/regress/hfuzz.c:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/regress/hfuzz.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/regress/hfuzz.c:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] adns-1.6.1/regress/hfuzz.c:111:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] adns-1.6.1/regress/hnonfuzz.c:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/regress/hnonfuzz.c:68:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: newnode [nullPointerOutOfMemory] adns-1.6.1/regress/hnonfuzz.c:65:18: note: Assuming allocation function fails adns-1.6.1/regress/hnonfuzz.c:65:18: note: Assignment 'newnode=malloc(((char*)&mallocedlist.head->data-(char*)mallocedlist.head)+sz)', assigned value is 0 adns-1.6.1/regress/hnonfuzz.c:68:3: note: Null pointer dereference adns-1.6.1/regress/hnonfuzz.c:69:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: newnode [nullPointerOutOfMemory] adns-1.6.1/regress/hnonfuzz.c:65:18: note: Assuming allocation function fails adns-1.6.1/regress/hnonfuzz.c:65:18: note: Assignment 'newnode=malloc(((char*)&mallocedlist.head->data-(char*)mallocedlist.head)+sz)', assigned value is 0 adns-1.6.1/regress/hnonfuzz.c:69:3: note: Null pointer dereference adns-1.6.1/regress/hnonfuzz.c:79:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: newnode [nullPointerOutOfMemory] adns-1.6.1/regress/hnonfuzz.c:65:18: note: Assuming allocation function fails adns-1.6.1/regress/hnonfuzz.c:65:18: note: Assignment 'newnode=malloc(((char*)&mallocedlist.head->data-(char*)mallocedlist.head)+sz)', assigned value is 0 adns-1.6.1/regress/hnonfuzz.c:79:10: note: Null pointer dereference adns-1.6.1/regress/hnonfuzz.c:96:20: style: Variable 'oldnode' can be declared as pointer to const [constVariablePointer] adns-1.6.1/regress/hnonfuzz.c:108:20: style: Variable 'loopnode' can be declared as pointer to const [constVariablePointer] adns-1.6.1/regress/hnonfuzz.c:47:27: style: struct member 'malloced::back' is never used. [unusedStructMember] adns-1.6.1/regress/hnonfuzz.c:50:19: style: struct member 'Anonymous0::d' is never used. [unusedStructMember] adns-1.6.1/regress/hnonfuzz.c:50:27: style: struct member 'Anonymous0::ul' is never used. [unusedStructMember] adns-1.6.1/regress/hnonfuzz.c:50:37: style: struct member 'Anonymous0::p' is never used. [unusedStructMember] adns-1.6.1/regress/hnonfuzz.c:50:47: style: struct member 'Anonymous0::fp' is never used. [unusedStructMember] adns-1.6.1/regress/hnonfuzz.c:54:41: style: struct member 'Anonymous1::tail' is never used. [unusedStructMember] adns-1.6.1/src/adns.h:427:23: debug: Scope::checkVariable found variable 'manyistr' with varid 0. [varid0] adns-1.6.1/src/internal.h:941:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:48:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:123:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:148:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:158:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:189:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:213:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:227:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:242:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:249:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin6_addr [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:260:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:267:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:403:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:466:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:489:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:595:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:620:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] adns-1.6.1/src/addrfam.c:432:20: style: Comparing expression of type 'unsigned int' against value 4294967295. Condition is always true. [compareValueOutOfTypeRangeError] adns-1.6.1/src/addrfam.c:172:52: style:inconclusive: Function 'adns__guess_prefix_length' argument 1 names different: declaration 'addr' definition 'sa'. [funcArgNamesDifferent] adns-1.6.1/src/internal.h:430:59: note: Function 'adns__guess_prefix_length' argument 1 names different: declaration 'addr' definition 'sa'. adns-1.6.1/src/addrfam.c:172:52: note: Function 'adns__guess_prefix_length' argument 1 names different: declaration 'addr' definition 'sa'. adns-1.6.1/src/addrfam.c:265:23: style:inconclusive: Function 'adns_text2addr' argument 4 names different: declaration 'sa_r' definition 'sa'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:722:23: note: Function 'adns_text2addr' argument 4 names different: declaration 'sa_r' definition 'sa'. adns-1.6.1/src/addrfam.c:265:23: note: Function 'adns_text2addr' argument 4 names different: declaration 'sa_r' definition 'sa'. adns-1.6.1/src/addrfam.c:327:9: style: Local variable 'r' shadows outer variable [shadowVariable] adns-1.6.1/src/addrfam.c:266:7: note: Shadowed declaration adns-1.6.1/src/addrfam.c:327:9: note: Shadow variable adns-1.6.1/src/addrfam.c:330:9: style: Local variable 'r' shadows outer variable [shadowVariable] adns-1.6.1/src/addrfam.c:266:7: note: Shadowed declaration adns-1.6.1/src/addrfam.c:330:9: note: Shadow variable adns-1.6.1/src/addrfam.c:452:6: style: Local variable 'r' shadows outer variable [shadowVariable] adns-1.6.1/src/addrfam.c:399:7: note: Shadowed declaration adns-1.6.1/src/addrfam.c:452:6: note: Shadow variable adns-1.6.1/src/check.c:112:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_tosend [valueFlowBailoutIncompleteVar] adns-1.6.1/src/check.c:125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_tcpw [valueFlowBailoutIncompleteVar] adns-1.6.1/src/check.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_childw [valueFlowBailoutIncompleteVar] adns-1.6.1/src/check.c:155:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_done [valueFlowBailoutIncompleteVar] adns-1.6.1/src/check.c:77:26: style: A pointer can not be negative so it is either pointless or an error to check if it is not. [pointerPositive] adns-1.6.1/src/event.c:52:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable server_connecting [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:71:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable server_ok [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:82:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable server_broken [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:121:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:154:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:171:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:236:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_tosend [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:278:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable server_disconnected [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:336:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:361:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:474:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:558:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:572:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:606:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:631:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable revents [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:692:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable revents [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:718:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:744:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/event.c:478:14: warning: Assert statement calls a function which may have desired side effects: 'FD_ISSET'. [assertWithSideEffect] adns-1.6.1/src/event.c:115:12: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] adns-1.6.1/src/event.c:149:56: style:inconclusive: Function 'adns__gettimeofday' argument 2 names different: declaration 'tv_buf' definition 'tv'. [funcArgNamesDifferent] adns-1.6.1/src/internal.h:894:56: note: Function 'adns__gettimeofday' argument 2 names different: declaration 'tv_buf' definition 'tv'. adns-1.6.1/src/event.c:149:56: note: Function 'adns__gettimeofday' argument 2 names different: declaration 'tv_buf' definition 'tv'. adns-1.6.1/src/event.c:301:27: style:inconclusive: Function 'adns_firsttimeout' argument 2 names different: declaration 'tv_mod' definition 'tv_io'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:862:27: note: Function 'adns_firsttimeout' argument 2 names different: declaration 'tv_mod' definition 'tv_io'. adns-1.6.1/src/event.c:301:27: note: Function 'adns_firsttimeout' argument 2 names different: declaration 'tv_mod' definition 'tv_io'. adns-1.6.1/src/event.c:301:50: style:inconclusive: Function 'adns_firsttimeout' argument 3 names different: declaration 'tv_buf' definition 'tvbuf'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:862:51: note: Function 'adns_firsttimeout' argument 3 names different: declaration 'tv_buf' definition 'tvbuf'. adns-1.6.1/src/event.c:301:50: note: Function 'adns_firsttimeout' argument 3 names different: declaration 'tv_buf' definition 'tvbuf'. adns-1.6.1/src/event.c:586:45: style:inconclusive: Function 'adns_beforeselect' argument 2 names different: declaration 'maxfd' definition 'maxfd_io'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:902:45: note: Function 'adns_beforeselect' argument 2 names different: declaration 'maxfd' definition 'maxfd_io'. adns-1.6.1/src/event.c:586:45: note: Function 'adns_beforeselect' argument 2 names different: declaration 'maxfd' definition 'maxfd_io'. adns-1.6.1/src/event.c:586:63: style:inconclusive: Function 'adns_beforeselect' argument 3 names different: declaration 'readfds' definition 'readfds_io'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:902:60: note: Function 'adns_beforeselect' argument 3 names different: declaration 'readfds' definition 'readfds_io'. adns-1.6.1/src/event.c:586:63: note: Function 'adns_beforeselect' argument 3 names different: declaration 'readfds' definition 'readfds_io'. adns-1.6.1/src/event.c:587:18: style:inconclusive: Function 'adns_beforeselect' argument 4 names different: declaration 'writefds' definition 'writefds_io'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:903:18: note: Function 'adns_beforeselect' argument 4 names different: declaration 'writefds' definition 'writefds_io'. adns-1.6.1/src/event.c:587:18: note: Function 'adns_beforeselect' argument 4 names different: declaration 'writefds' definition 'writefds_io'. adns-1.6.1/src/event.c:587:39: style:inconclusive: Function 'adns_beforeselect' argument 5 names different: declaration 'exceptfds' definition 'exceptfds_io'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:903:36: note: Function 'adns_beforeselect' argument 5 names different: declaration 'exceptfds' definition 'exceptfds_io'. adns-1.6.1/src/event.c:587:39: note: Function 'adns_beforeselect' argument 5 names different: declaration 'exceptfds' definition 'exceptfds_io'. adns-1.6.1/src/event.c:588:51: style:inconclusive: Function 'adns_beforeselect' argument 7 names different: declaration 'tv_buf' definition 'tv_tobuf'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:904:51: note: Function 'adns_beforeselect' argument 7 names different: declaration 'tv_buf' definition 'tv_tobuf'. adns-1.6.1/src/event.c:588:51: note: Function 'adns_beforeselect' argument 7 names different: declaration 'tv_buf' definition 'tv_tobuf'. adns-1.6.1/src/event.c:362:21: style: Variable 'udp' can be declared as pointer to const [constVariablePointer] adns-1.6.1/src/general.c:49:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/general.c:365:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/general.c:379:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] adns-1.6.1/src/general.c:337:10: style:inconclusive: Function 'adns__isort' argument 6 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] adns-1.6.1/src/general.c:355:39: style:inconclusive: Function 'adns__sigpipe_protect' argument 1 names different: declaration '' definition 'ads'. [funcArgNamesDifferentUnnamed] adns-1.6.1/src/general.c:373:41: style:inconclusive: Function 'adns__sigpipe_unprotect' argument 1 names different: declaration '' definition 'ads'. [funcArgNamesDifferentUnnamed] adns-1.6.1/src/general.c:85:8: style: Variable 'bef' is assigned a value that is never used. [unreadVariable] adns-1.6.1/src/query.c:46:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_tosend [valueFlowBailoutIncompleteVar] adns-1.6.1/src/query.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] adns-1.6.1/src/query.c:362:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] adns-1.6.1/src/query.c:642:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_done [valueFlowBailoutIncompleteVar] adns-1.6.1/src/query.c:335:20: style:inconclusive: Function 'adns_submit_reverse_any' argument 3 names different: declaration 'rzone' definition 'zone'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:700:20: note: Function 'adns_submit_reverse_any' argument 3 names different: declaration 'rzone' definition 'zone'. adns-1.6.1/src/query.c:335:20: note: Function 'adns_submit_reverse_any' argument 3 names different: declaration 'rzone' definition 'zone'. adns-1.6.1/src/query.c:517:49: style:inconclusive: Function 'adns__returning' argument 2 names different: declaration 'qu' definition 'qu_for_caller'. [funcArgNamesDifferent] adns-1.6.1/src/internal.h:713:49: note: Function 'adns__returning' argument 2 names different: declaration 'qu' definition 'qu_for_caller'. adns-1.6.1/src/query.c:517:49: note: Function 'adns__returning' argument 2 names different: declaration 'qu' definition 'qu_for_caller'. adns-1.6.1/src/query.c:552:29: style:inconclusive: Function 'adns_cancel' argument 1 names different: declaration 'query' definition 'qu'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:674:29: note: Function 'adns_cancel' argument 1 names different: declaration 'query' definition 'qu'. adns-1.6.1/src/query.c:552:29: note: Function 'adns_cancel' argument 1 names different: declaration 'query' definition 'qu'. adns-1.6.1/src/query.c:108:35: style: Parameter 'cls' can be declared as pointer to const [constParameterPointer] adns-1.6.1/src/query.c:109:21: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] adns-1.6.1/src/query.c:659:9: style: Variable 'before' can be declared as pointer to const [constVariablePointer] adns-1.6.1/src/query.c:670:9: style: Variable 'before' can be declared as pointer to const [constVariablePointer] adns-1.6.1/src/reply.c:91:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_tcpw [valueFlowBailoutIncompleteVar] adns-1.6.1/src/reply.c:27:61: style:inconclusive: Function 'adns__procdgram' argument 3 names different: declaration 'len' definition 'dglen'. [funcArgNamesDifferent] adns-1.6.1/src/internal.h:725:61: note: Function 'adns__procdgram' argument 3 names different: declaration 'len' definition 'dglen'. adns-1.6.1/src/reply.c:27:61: note: Function 'adns__procdgram' argument 3 names different: declaration 'len' definition 'dglen'. adns-1.6.1/src/setup.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:110:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:148:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:179:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:213:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:451:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:488:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:552:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:603:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:616:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:663:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:734:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:749:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] adns-1.6.1/src/setup.c:669:10: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] adns-1.6.1/src/setup.c:748:27: style:inconclusive: Function 'adns_init' argument 1 names different: declaration 'newstate_r' definition 'ads_r'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:504:27: note: Function 'adns_init' argument 1 names different: declaration 'newstate_r' definition 'ads_r'. adns-1.6.1/src/setup.c:748:27: note: Function 'adns_init' argument 1 names different: declaration 'newstate_r' definition 'ads_r'. adns-1.6.1/src/setup.c:774:34: style:inconclusive: Function 'adns_init_strcfg' argument 1 names different: declaration 'newstate_r' definition 'ads_r'. [funcArgNamesDifferent] adns-1.6.1/src/adns.h:507:34: note: Function 'adns_init_strcfg' argument 1 names different: declaration 'newstate_r' definition 'ads_r'. adns-1.6.1/src/setup.c:774:34: note: Function 'adns_init_strcfg' argument 1 names different: declaration 'newstate_r' definition 'ads_r'. adns-1.6.1/src/setup.c:784:13: style:inconclusive: Function 'adns_init_logfn' argument 5 names different: declaration '' definition 'logfndata'. [funcArgNamesDifferentUnnamed] adns-1.6.1/src/transmit.c:183:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable server_ok [valueFlowBailoutIncompleteVar] adns-1.6.1/src/transmit.c:232:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_tcpw [valueFlowBailoutIncompleteVar] adns-1.6.1/src/transmit.c:252:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_tosend [valueFlowBailoutIncompleteVar] adns-1.6.1/src/transmit.c:250:17: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] adns-1.6.1/src/transmit.c:141:5: style: Variable 'st' is assigned a value that is never used. [unreadVariable] adns-1.6.1/src/transmit.c:172:5: style: Variable 'st' is assigned a value that is never used. [unreadVariable] adns-1.6.1/src/types.c:266:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:298:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:302:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:316:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:334:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:338:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:408:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:475:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:561:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_childw [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:737:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] adns-1.6.1/src/types.c:1118:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] adns-1.6.1/src/types.c:1514:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] adns-1.6.1/src/types.c:1514:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] adns-1.6.1/src/types.c:1514:3: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] adns-1.6.1/src/types.c:459:13: style: Pointer expression 'sortlist' converted to bool is always true. [knownPointerToBool] adns-1.6.1/src/types.c:171:24: style: Variable 'table' can be declared as pointer to const [constVariablePointer] adns-1.6.1/src/types.c:629:39: style: Variable 'cans' can be declared as pointer to const [constVariablePointer] adns-1.6.1/src/types.c:1542:40: style: Variable 'arrayend' can be declared as pointer to const [constVariablePointer] adns-1.6.1/src/types.c:1654:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'mf_flat' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] adns-1.6.1/src/types.c:1706:1: note: You might need to cast the function pointer here adns-1.6.1/src/types.c:1654:42: note: Parameter 'data' can be declared as pointer to const adns-1.6.1/src/types.c:421:15: error: Uninitialized variable: v6map [uninitvar] adns-1.6.1/src/types.c:1544:25: style: union member 'Anonymous11::ha' is never used. [unusedStructMember] adns-1.6.1/src/types.c:1544:44: style: union member 'Anonymous11::raw' is never used. [unusedStructMember] adns-1.6.1/src/types.c:178:14: style: Variable 'table' is assigned a value that is never used. [unreadVariable] adns-1.6.1/src/types.c:1027:9: style: Variable 'st' is assigned a value that is never used. [unreadVariable] diff: head adns-1.6.1/src/general.c:337:10: style:inconclusive: Function 'adns__isort' argument 6 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] head adns-1.6.1/src/general.c:355:39: style:inconclusive: Function 'adns__sigpipe_protect' argument 1 names different: declaration '' definition 'ads'. [funcArgNamesDifferentUnnamed] head adns-1.6.1/src/general.c:373:41: style:inconclusive: Function 'adns__sigpipe_unprotect' argument 1 names different: declaration '' definition 'ads'. [funcArgNamesDifferentUnnamed] head adns-1.6.1/src/setup.c:784:13: style:inconclusive: Function 'adns_init_logfn' argument 5 names different: declaration '' definition 'logfndata'. [funcArgNamesDifferentUnnamed] DONE