2024-04-24 16:06 ftp://ftp.de.debian.org/debian/pool/main/f/flam3/flam3_3.1.1+ds2.orig.tar.xz 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.5.0-28-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.57 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 cppcheck: head 2.14.0 head-info: 9fab9b9 (2024-04-24 10:46:48 +0200) count: 206 206 elapsed-time: 24.9 24.1 head-timing-info: old-timing-info: head results: flam3-3.1.1/docstring.c:202:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flam3-3.1.1/filters.c:265:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/filters.c:285:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/filters.c:286:14: error: Uninitialized variables: de.max_filtered_counts, de.max_filter_index, de.filter_widths, de.filter_coefs [uninitvar] flam3-3.1.1/flam3-animate.c:93:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-animate.c:27:9: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-animate.c:36:9: style: Variable 'format' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-convert.c:217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-convert.c:221:2: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] flam3-3.1.1/flam3-convert.c:161:33: error: Uninitialized variable: cm [uninitvar] flam3-3.1.1/flam3-genome.c:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-genome.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-genome.c:204:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-genome.c:393:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-genome.c:554:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-genome.c:110:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] flam3-3.1.1/flam3-genome.c:589:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flam3-3.1.1/flam3-genome.c:592:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flam3-3.1.1/flam3-genome.c:614:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flam3-3.1.1/flam3-genome.c:617:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flam3-3.1.1/flam3-genome.c:87:15: style: Variable 'localt' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:89:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:95:10: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:228:11: style: Variable 'os' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:288:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:399:10: style: Variable 'pgen' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:399:24: style: Variable 'pid' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:416:12: style: Variable 'att_str' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:442:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:460:10: style: Variable 'method' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:486:10: style: Variable 'var_tok' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:1130:16: style: Variable 'maxforms' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-genome.c:84:38: style: Variable 'comment_doc' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/flam3-genome.c:85:38: style: Variable 'node' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/flam3-genome.c:85:55: style: Variable 'nodecopy' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/flam3-genome.c:86:28: style: Variable 'root_comment' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/flam3-genome.c:386:22: style: Variable 'chld_ptr' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/flam3-genome.c:386:37: style: Variable 'cur_chld' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/flam3-render.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-render.c:104:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-render.c:181:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3-render.c:299:24: style: Condition 'last_size!=-1' is always true [knownConditionTrueFalse] flam3-3.1.1/flam3-render.c:283:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flam3-3.1.1/flam3-render.c:339:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flam3-3.1.1/flam3-render.c:339:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flam3-3.1.1/flam3-render.c:123:10: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-render.c:124:10: style: Variable 'out' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-render.c:125:10: style: Variable 'format' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3-render.c:324:36: portability: 'image' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flam3-3.1.1/flam3.c:64:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIT_REV [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:186:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:758:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:1400:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXBUF [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:1440:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:1534:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:1684:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:2654:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:3030:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:3096:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/rect.c:183:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/rect.c:294:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/rect.c:599:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:3890:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:4028:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/flam3.c:4030:22: error: Invalid sqrt() argument nr 1. The value is -1 but the valid values are '0.0:'. [invalidFunctionArg] flam3-3.1.1/rect.c:140:68: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] flam3-3.1.1/rect.c:963:27: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] flam3-3.1.1/flam3.c:1667:8: style: Condition 'using_tmpdir' is always false [knownConditionTrueFalse] flam3-3.1.1/flam3.c:1634:23: note: Assignment 'using_tmpdir=0', assigned value is 0 flam3-3.1.1/flam3.c:1638:12: note: Assuming condition is false flam3-3.1.1/flam3.c:1667:8: note: Condition 'using_tmpdir' is always false flam3-3.1.1/rect.c:1045:14: style: Condition 'de_aborted' is always false [knownConditionTrueFalse] flam3-3.1.1/rect.c:978:25: note: Assignment 'de_aborted=0', assigned value is 0 flam3-3.1.1/rect.c:1045:14: note: Condition 'de_aborted' is always false flam3-3.1.1/flam3.c:3592:7: error: Memory leak: points [memleak] flam3-3.1.1/flam3.c:3595:7: error: Memory leak: points [memleak] flam3-3.1.1/rect.c:701:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] flam3-3.1.1/rect.c:709:11: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] flam3-3.1.1/rect.c:721:14: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] flam3-3.1.1/rect.c:709:11: portability:inconclusive: Casting from float * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] flam3-3.1.1/flam3.c:880:27: style: Variable 'dest->flower_petals' is reassigned a value before the old one has been used. [redundantAssignment] flam3-3.1.1/flam3.c:879:27: note: dest->flower_petals is assigned flam3-3.1.1/flam3.c:880:27: note: dest->flower_petals is overwritten flam3-3.1.1/flam3.c:1337:21: style: Variable 'cp->nbatches' is reassigned a value before the old one has been used. [redundantAssignment] flam3-3.1.1/flam3.c:1327:21: note: cp->nbatches is assigned flam3-3.1.1/flam3.c:1337:21: note: cp->nbatches is overwritten flam3-3.1.1/flam3.c:1338:30: style: Variable 'cp->ntemporal_samples' is reassigned a value before the old one has been used. [redundantAssignment] flam3-3.1.1/flam3.c:1328:30: note: cp->ntemporal_samples is assigned flam3-3.1.1/flam3.c:1338:30: note: cp->ntemporal_samples is overwritten flam3-3.1.1/flam3.c:1653:25: style: The comparison 'using_tmpdir == 0' is always true. [knownConditionTrueFalse] flam3-3.1.1/flam3.c:1634:23: note: 'using_tmpdir' is assigned value '0' here. flam3-3.1.1/flam3.c:1653:25: note: The comparison 'using_tmpdir == 0' is always true. flam3-3.1.1/flam3.c:1400:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] flam3-3.1.1/rect.c:1093:28: style: Checking if unsigned expression 'ac[0][3]' is less than zero. [unsignedLessThanZero] flam3-3.1.1/flam3.c:232:33: style:inconclusive: Function 'flam3_iterate' argument 1 names different: declaration 'g' definition 'cp'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:555:40: note: Function 'flam3_iterate' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:232:33: note: Function 'flam3_iterate' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:232:41: style:inconclusive: Function 'flam3_iterate' argument 2 names different: declaration 'nsamples' definition 'n'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:555:47: note: Function 'flam3_iterate' argument 2 names different: declaration 'nsamples' definition 'n'. flam3-3.1.1/flam3.c:232:41: note: Function 'flam3_iterate' argument 2 names different: declaration 'nsamples' definition 'n'. flam3-3.1.1/flam3.c:512:33: style:inconclusive: Function 'flam3_rotate' argument 1 names different: declaration 'g' definition 'cp'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:590:33: note: Function 'flam3_rotate' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:512:33: note: Function 'flam3_rotate' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:512:44: style:inconclusive: Function 'flam3_rotate' argument 2 names different: declaration 'angle' definition 'by'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:590:43: note: Function 'flam3_rotate' argument 2 names different: declaration 'angle' definition 'by'. flam3-3.1.1/flam3.c:512:44: note: Function 'flam3_rotate' argument 2 names different: declaration 'angle' definition 'by'. flam3-3.1.1/flam3.c:512:52: style:inconclusive: Function 'flam3_rotate' argument 3 names different: declaration 'interp_type' definition 'interpolation_type'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:590:54: note: Function 'flam3_rotate' argument 3 names different: declaration 'interp_type' definition 'interpolation_type'. flam3-3.1.1/flam3.c:512:52: note: Function 'flam3_rotate' argument 3 names different: declaration 'interp_type' definition 'interpolation_type'. flam3-3.1.1/flam3.c:717:37: style:inconclusive: Function 'flam3_interpolate' argument 1 names different: declaration 'genomes' definition 'cps'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:562:45: note: Function 'flam3_interpolate' argument 1 names different: declaration 'genomes' definition 'cps'. flam3-3.1.1/flam3.c:717:37: note: Function 'flam3_interpolate' argument 1 names different: declaration 'genomes' definition 'cps'. flam3-3.1.1/flam3.c:717:48: style:inconclusive: Function 'flam3_interpolate' argument 2 names different: declaration 'ngenomes' definition 'ncps'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:562:58: note: Function 'flam3_interpolate' argument 2 names different: declaration 'ngenomes' definition 'ncps'. flam3-3.1.1/flam3.c:717:48: note: Function 'flam3_interpolate' argument 2 names different: declaration 'ngenomes' definition 'ncps'. flam3-3.1.1/flam3.c:1033:37: style:inconclusive: Function 'flam3_add_xforms' argument 1 names different: declaration 'cp' definition 'thiscp'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:536:37: note: Function 'flam3_add_xforms' argument 1 names different: declaration 'cp' definition 'thiscp'. flam3-3.1.1/flam3.c:1033:37: note: Function 'flam3_add_xforms' argument 1 names different: declaration 'cp' definition 'thiscp'. flam3-3.1.1/flam3.c:1211:61: style:inconclusive: Function 'flam3_copyx' argument 3 names different: declaration 'num_std' definition 'dest_std_xforms'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:540:61: note: Function 'flam3_copyx' argument 3 names different: declaration 'num_std' definition 'dest_std_xforms'. flam3-3.1.1/flam3.c:1211:61: note: Function 'flam3_copyx' argument 3 names different: declaration 'num_std' definition 'dest_std_xforms'. flam3-3.1.1/flam3.c:1211:82: style:inconclusive: Function 'flam3_copyx' argument 4 names different: declaration 'num_final' definition 'dest_final_xform'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:540:74: note: Function 'flam3_copyx' argument 4 names different: declaration 'num_final' definition 'dest_final_xform'. flam3-3.1.1/flam3.c:1211:82: note: Function 'flam3_copyx' argument 4 names different: declaration 'num_final' definition 'dest_final_xform'. flam3-3.1.1/flam3.c:1270:37: style:inconclusive: Function 'clear_cp' argument 2 names different: declaration 'def_flag' definition 'default_flag'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:548:37: note: Function 'clear_cp' argument 2 names different: declaration 'def_flag' definition 'default_flag'. flam3-3.1.1/flam3.c:1270:37: note: Function 'clear_cp' argument 2 names different: declaration 'def_flag' definition 'default_flag'. flam3-3.1.1/flam3.c:1423:38: style:inconclusive: Function 'flam3_parse_xml2' argument 1 names different: declaration 's' definition 'xmldata'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:581:45: note: Function 'flam3_parse_xml2' argument 1 names different: declaration 's' definition 'xmldata'. flam3-3.1.1/flam3.c:1423:38: note: Function 'flam3_parse_xml2' argument 1 names different: declaration 's' definition 'xmldata'. flam3-3.1.1/flam3.c:1423:53: style:inconclusive: Function 'flam3_parse_xml2' argument 2 names different: declaration 'fn' definition 'xmlfilename'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:581:54: note: Function 'flam3_parse_xml2' argument 2 names different: declaration 'fn' definition 'xmlfilename'. flam3-3.1.1/flam3.c:1423:53: note: Function 'flam3_parse_xml2' argument 2 names different: declaration 'fn' definition 'xmlfilename'. flam3-3.1.1/flam3.c:1524:53: style:inconclusive: Function 'flam3_parse_from_file' argument 2 names different: declaration 'fn' definition 'fname'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:582:52: note: Function 'flam3_parse_from_file' argument 2 names different: declaration 'fn' definition 'fname'. flam3-3.1.1/flam3.c:1524:53: note: Function 'flam3_parse_from_file' argument 2 names different: declaration 'fn' definition 'fname'. flam3-3.1.1/flam3.c:1674:41: style:inconclusive: Function 'flam3_print' argument 2 names different: declaration 'g' definition 'cp'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:565:48: note: Function 'flam3_print' argument 2 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:1674:41: note: Function 'flam3_print' argument 2 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:2558:39: style:inconclusive: Function 'flam3_add_symmetry' argument 1 names different: declaration 'g' definition 'cp'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:584:39: note: Function 'flam3_add_symmetry' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:2558:39: note: Function 'flam3_add_symmetry' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:3073:33: style:inconclusive: Function 'flam3_random' argument 1 names different: declaration 'g' definition 'cp'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:573:40: note: Function 'flam3_random' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:3073:33: note: Function 'flam3_random' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:3574:47: style:inconclusive: Function 'flam3_estimate_bounding_box' argument 1 names different: declaration 'g' definition 'cp'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:588:54: note: Function 'flam3_estimate_bounding_box' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:3574:47: note: Function 'flam3_estimate_bounding_box' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:3874:50: style:inconclusive: Function 'flam3_render_memory_required' argument 1 names different: declaration 'f' definition 'spec'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:625:57: note: Function 'flam3_render_memory_required' argument 1 names different: declaration 'f' definition 'spec'. flam3-3.1.1/flam3.c:3874:50: note: Function 'flam3_render_memory_required' argument 1 names different: declaration 'f' definition 'spec'. flam3-3.1.1/flam3.c:3894:31: style:inconclusive: Function 'flam3_render' argument 1 names different: declaration 'f' definition 'spec'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:623:38: note: Function 'flam3_render' argument 1 names different: declaration 'f' definition 'spec'. flam3-3.1.1/flam3.c:3894:31: note: Function 'flam3_render' argument 1 names different: declaration 'f' definition 'spec'. flam3-3.1.1/flam3.c:3895:35: style:inconclusive: Function 'flam3_render' argument 5 names different: declaration 'transp' definition 'trans'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:623:78: note: Function 'flam3_render' argument 5 names different: declaration 'transp' definition 'trans'. flam3-3.1.1/flam3.c:3895:35: note: Function 'flam3_render' argument 5 names different: declaration 'transp' definition 'trans'. flam3-3.1.1/flam3.c:3951:38: style:inconclusive: Function 'flam3_dimension' argument 1 names different: declaration 'g' definition 'cp'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:592:38: note: Function 'flam3_dimension' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:3951:38: note: Function 'flam3_dimension' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:4067:37: style:inconclusive: Function 'flam3_lyapunov' argument 1 names different: declaration 'g' definition 'cp'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:593:37: note: Function 'flam3_lyapunov' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/flam3.c:4067:37: note: Function 'flam3_lyapunov' argument 1 names different: declaration 'g' definition 'cp'. flam3-3.1.1/rect.c:1142:24: style: Local variable 'rgbi' shadows outer variable [shadowVariable] flam3-3.1.1/rect.c:1074:11: note: Shadowed declaration flam3-3.1.1/rect.c:1142:24: note: Shadow variable flam3-3.1.1/rect.c:1149:26: style: Local variable 'k' shadows outer variable [shadowVariable] flam3-3.1.1/rect.c:532:14: note: Shadowed declaration flam3-3.1.1/rect.c:1149:26: note: Shadow variable flam3-3.1.1/flam3.c:134:35: style: Parameter 'center' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:148:43: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:232:88: style: Parameter 'xform_distrib' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:440:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:804:56: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:1147:55: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:1432:10: style: Variable 'lorig' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:1635:9: style: Variable 'tmpnam' can be declared as const array [constVariable] flam3-3.1.1/flam3.c:1674:51: style: Parameter 'extra_attributes' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:1677:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:1682:10: style: Variable 'lorig' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:1899:85: style: Parameter 'chaos_row' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:1915:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:2497:10: style: Variable 'isaac_seed' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:2643:40: style: Parameter 'addtoaction' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:3073:42: style: Parameter 'ivars' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:3078:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:3537:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:3538:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:3545:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:3546:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:3613:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:3889:30: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/flam3.c:3937:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/rect.c:416:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/rect.c:567:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/flam3.c:2893:17: warning: Uninitialized variable: done [uninitvar] flam3-3.1.1/flam3.c:2879:24: note: Assuming condition is false flam3-3.1.1/flam3.c:2893:17: note: Uninitialized variable: done flam3-3.1.1/interpolation.c:157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/interpolation.c:194:38: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/isaac.c:25:25: style:inconclusive: Function 'isaac' argument 1 names different: declaration 'r' definition 'ctx'. [funcArgNamesDifferent] flam3-3.1.1/isaac.h:41:22: note: Function 'isaac' argument 1 names different: declaration 'r' definition 'ctx'. flam3-3.1.1/isaac.c:25:25: note: Function 'isaac' argument 1 names different: declaration 'r' definition 'ctx'. flam3-3.1.1/isaac.c:61:25: style:inconclusive: Function 'irandinit' argument 1 names different: declaration 'r' definition 'ctx'. [funcArgNamesDifferent] flam3-3.1.1/isaac.h:39:26: note: Function 'irandinit' argument 1 names different: declaration 'r' definition 'ctx'. flam3-3.1.1/isaac.c:61:25: note: Function 'irandinit' argument 1 names different: declaration 'r' definition 'ctx'. flam3-3.1.1/isaac.c:27:40: style: Variable 'mend' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/isaac.c:65:12: style: Variable 'r' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/jpeg.c:55:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JCS_RGB [valueFlowBailoutIncompleteVar] flam3-3.1.1/jpeg.c:110:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] flam3-3.1.1/jpeg.c:102:32: style:inconclusive: Function 'read_jpeg' argument 1 names different: declaration 'file' definition 'ifp'. [funcArgNamesDifferent] flam3-3.1.1/img.h:44:32: note: Function 'read_jpeg' argument 1 names different: declaration 'file' definition 'ifp'. flam3-3.1.1/jpeg.c:102:32: note: Function 'read_jpeg' argument 1 names different: declaration 'file' definition 'ifp'. flam3-3.1.1/jpeg.c:31:89: style: Parameter 'fpc' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/jpeg.c:35:10: style: Variable 'nick' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/jpeg.c:36:10: style: Variable 'url' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/jpeg.c:37:10: style: Variable 'id' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/jpeg.c:38:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/palettes.c:32:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] flam3-3.1.1/palettes.c:98:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/palettes.c:154:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_DATA_DIR [valueFlowBailoutIncompleteVar] flam3-3.1.1/palettes.c:409:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/palettes.c:465:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/palettes.c:485:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/palettes.c:51:32: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/palettes.c:51:32: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/palettes.c:51:32: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/palettes.c:80:13: error: Common realloc mistake: 'the_palettes' nulled but not freed upon failure [memleakOnRealloc] flam3-3.1.1/palettes.c:118:10: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] flam3-3.1.1/palettes.c:141:27: style:inconclusive: Function 'flam3_get_palette' argument 1 names different: declaration 'palette_index' definition 'n'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:55:27: note: Function 'flam3_get_palette' argument 1 names different: declaration 'palette_index' definition 'n'. flam3-3.1.1/palettes.c:141:27: note: Function 'flam3_get_palette' argument 1 names different: declaration 'palette_index' definition 'n'. flam3-3.1.1/palettes.c:141:44: style:inconclusive: Function 'flam3_get_palette' argument 2 names different: declaration 'p' definition 'c'. [funcArgNamesDifferent] flam3-3.1.1/flam3.h:55:56: note: Function 'flam3_get_palette' argument 2 names different: declaration 'p' definition 'c'. flam3-3.1.1/palettes.c:141:44: note: Function 'flam3_get_palette' argument 2 names different: declaration 'p' definition 'c'. flam3-3.1.1/palettes.c:200:12: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/palettes.c:243:12: style: Parameter 'hsv' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/palettes.c:292:32: style: Parameter 'cbuf' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/palettes.c:351:39: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/parser.c:33:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flam3-3.1.1/parser.c:57:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flam3-3.1.1/parser.c:108:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/parser.c:235:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] flam3-3.1.1/parser.c:322:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/parser.c:845:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/parser.c:1274:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] flam3-3.1.1/parser.c:184:31: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] flam3-3.1.1/parser.c:936:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flam3-3.1.1/parser.c:943:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flam3-3.1.1/parser.c:958:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flam3-3.1.1/parser.c:101:23: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:101:23: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:101:23: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:103:23: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:103:23: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:103:23: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:105:23: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:105:23: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:105:23: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:105:23: warning: %x in format string (no. 4) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] flam3-3.1.1/parser.c:220:98: style:inconclusive: Function 'scan_for_flame_nodes' argument 4 names different: declaration 'all_cp' definition 'all_cps'. [funcArgNamesDifferent] flam3-3.1.1/parser.h:29:98: note: Function 'scan_for_flame_nodes' argument 4 names different: declaration 'all_cp' definition 'all_cps'. flam3-3.1.1/parser.c:220:98: note: Function 'scan_for_flame_nodes' argument 4 names different: declaration 'all_cp' definition 'all_cps'. flam3-3.1.1/parser.c:83:40: style: Parameter 'colstr' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/parser.c:1260:10: style: Variable 'tab_string' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/parser.c:1265:10: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/parser.c:267:22: style: Variable 'col_success' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/parser.c:1262:22: style: Variable 'att_ptr' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/parser.c:1262:35: style: Variable 'cur_att' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/parser.c:1263:23: style: Variable 'chld_ptr' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/parser.c:1263:38: style: Variable 'cur_chld' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/parser.c:1264:23: style: Variable 'indent_printed' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/parser.c:1306:14: style: Variable 'tabs' is assigned a value that is never used. [unreadVariable] flam3-3.1.1/png.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compression [valueFlowBailoutIncompleteVar] flam3-3.1.1/png.c:130:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/png.c:121:31: style:inconclusive: Function 'read_png' argument 1 names different: declaration 'file' definition 'ifp'. [funcArgNamesDifferent] flam3-3.1.1/img.h:43:31: note: Function 'read_png' argument 1 names different: declaration 'file' definition 'ifp'. flam3-3.1.1/png.c:121:31: note: Function 'read_png' argument 1 names different: declaration 'file' definition 'ifp'. flam3-3.1.1/png.c:36:84: style: Parameter 'fpc' can be declared as pointer to const [constParameterPointer] flam3-3.1.1/png.c:46:9: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] flam3-3.1.1/rect.c:109:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DE_THRESH [valueFlowBailoutIncompleteVar] flam3-3.1.1/rect.c:589:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flam3_genome [valueFlowBailoutIncompleteVar] flam3-3.1.1/rect.c:567:10: style: Unused variable: ai [unusedVariable] flam3-3.1.1/variations.c:2025:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flam3-3.1.1/variations.c:2129:51: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] diff: DONE