2025-05-05 15:13 ftp://ftp.de.debian.org/debian/pool/main/l/luajit/luajit_2.1.0~beta3+git20220320+dfsg.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=lua --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: fcc0493 (2025-05-05 13:08:11 +0200) count: 162 159 elapsed-time: 14.0 12.5 head-timing-info: old-timing-info: head results: src/host/buildvm.c:69:0: error: #error "No support for this architecture (yet)" [preprocessorErrorDirective] src/host/buildvm.c:69:2: error: #error "No support for this architecture (yet)" [preprocessorErrorDirective] src/host/buildvm_asm.c:160:0: error: #error "missing relocation support for this architecture" [preprocessorErrorDirective] src/host/buildvm_asm.c:160:2: error: #error "missing relocation support for this architecture" [preprocessorErrorDirective] src/host/buildvm_fold.c:88:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/buildvm_fold.c:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/buildvm_fold.c:150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/buildvm_fold.c:175:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/buildvm_fold.c:53:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/host/buildvm_fold.c:50:48: style: Parameter 'htab' can be declared as pointer to const [constParameterPointer] src/host/buildvm_lib.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBINIT_STRING [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:70:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBINIT_END [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:113:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBINIT_CF [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:179:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LJ_TNUMX [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:199:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBINIT_LUA [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:270:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBINIT_STRING [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:312:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBINIT_STRING [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:359:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FF_C [valueFlowBailoutIncompleteVar] src/host/buildvm_lib.c:74:48: style: Parameter 'p' can be declared as pointer to const. However it seems that 'libdef_module' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] src/host/buildvm_lib.c:334:27: note: You might need to cast the function pointer here src/host/buildvm_lib.c:74:48: note: Parameter 'p' can be declared as pointer to const src/host/buildvm_lib.c:189:34: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'libdef_lua' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] src/host/buildvm_lib.c:338:19: note: You might need to cast the function pointer here src/host/buildvm_lib.c:189:34: note: Parameter 'ctx' can be declared as pointer to const src/host/buildvm_lib.c:189:45: style: Parameter 'p' can be declared as pointer to const. However it seems that 'libdef_lua' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] src/host/buildvm_lib.c:338:19: note: You might need to cast the function pointer here src/host/buildvm_lib.c:189:45: note: Parameter 'p' can be declared as pointer to const src/host/buildvm_lib.c:212:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] src/host/buildvm_lib.c:262:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'libdef_push' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] src/host/buildvm_lib.c:340:20: note: You might need to cast the function pointer here src/host/buildvm_lib.c:262:35: note: Parameter 'ctx' can be declared as pointer to const src/host/buildvm_lib.c:307:34: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'libdef_set' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] src/host/buildvm_lib.c:341:19: note: You might need to cast the function pointer here src/host/buildvm_lib.c:307:34: note: Parameter 'ctx' can be declared as pointer to const src/host/buildvm_peobj.c:375:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/minilua.c:721:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ts [valueFlowBailoutIncompleteVar] src/host/minilua.c:844:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] src/host/minilua.c:876:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] src/host/minilua.c:1055:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] src/host/minilua.c:1100:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:1186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] src/host/minilua.c:1272:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tsv [valueFlowBailoutIncompleteVar] src/host/minilua.c:1404:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:1461:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:1487:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:1524:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:1605:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:1706:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:1739:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv [valueFlowBailoutIncompleteVar] src/host/minilua.c:1791:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv [valueFlowBailoutIncompleteVar] src/host/minilua.c:1818:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:1853:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:1868:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:2000:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tsv [valueFlowBailoutIncompleteVar] src/host/minilua.c:2017:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable openupval [valueFlowBailoutIncompleteVar] src/host/minilua.c:2082:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:2089:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:2098:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:2109:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:2226:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:2273:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:2290:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:3154:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:3737:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:3772:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:3867:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:4745:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:4767:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable marked [valueFlowBailoutIncompleteVar] src/host/minilua.c:4887:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:4975:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:5373:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:5406:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] src/host/minilua.c:5681:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:5690:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:5699:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] src/host/minilua.c:5735:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] src/host/minilua.c:6090:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:6101:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:6136:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] src/host/minilua.c:6150:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] src/host/minilua.c:6211:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/minilua.c:6615:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] src/host/minilua.c:6631:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] src/host/minilua.c:6775:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] src/host/minilua.c:6783:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:6802:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:6871:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] src/host/minilua.c:6958:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] src/host/minilua.c:6969:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] src/host/minilua.c:7021:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:7032:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:7072:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:7444:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:7516:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:7528:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:7590:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] src/host/minilua.c:7765:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/host/minilua.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] src/host/minilua.c:1312:20: error: Array 'str[4]' accessed at index 22, which is out of bounds. [arrayIndexOutOfBounds] src/host/minilua.c:996:1: note: Calling function 'luaS_newlstr', 3rd argument '(sizeof("error in error handling")/sizeof(char))-1' value is 23 src/host/minilua.c:1311:8: note: Assignment 'l1=l', assigned value is 23 src/host/minilua.c:1312:20: note: Array index out of bounds src/host/minilua.c:5566:1: error: Array 'cl->c.upvalue[1]' accessed at index -1, which is out of bounds. [negativeIndex] src/host/minilua.c:7687:1: note: Calling function 'lua_pushcclosure', 3rd argument '0' value is 0 src/host/minilua.c:5565:7: note: n is decremented', new value is -1 src/host/minilua.c:5566:1: note: Negative array index src/host/minilua.c:2693:16: warning: Either the condition 'token<257' is redundant or iscntrl() argument nr 1 can have invalid value. The value is 256 but the valid values are '0:255'. [invalidFunctionArg] src/host/minilua.c:2692:9: note: Assuming that condition 'token<257' is not redundant src/host/minilua.c:2693:16: note: Invalid argument src/host/minilua.c:1107:4: style: Condition 'htab' is always false [knownConditionTrueFalse] src/host/minilua.c:1097:12: note: Assignment 'htab=NULL', assigned value is 0 src/host/minilua.c:1107:4: note: Condition 'htab' is always false src/host/minilua.c:6372:5: style: Condition 'n<=0' is always false [knownConditionTrueFalse] src/host/minilua.c:6370:5: note: Assuming that condition 'i>e' is not redundant src/host/minilua.c:6371:6: note: Assignment 'n=e-i+1', assigned value is greater than 0 src/host/minilua.c:6372:5: note: Condition 'n<=0' is always false src/host/minilua.c:3902:9: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3902:9: note: Null pointer dereference src/host/minilua.c:3905:1: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3905:1: note: Null pointer dereference src/host/minilua.c:3906:13: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3906:13: note: Null pointer dereference src/host/minilua.c:3907:1: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3907:1: note: Null pointer dereference src/host/minilua.c:3908:17: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3908:17: note: Null pointer dereference src/host/minilua.c:3909:1: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3909:1: note: Null pointer dereference src/host/minilua.c:3910:10: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3910:10: note: Null pointer dereference src/host/minilua.c:3911:1: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3911:1: note: Null pointer dereference src/host/minilua.c:3912:10: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3912:10: note: Null pointer dereference src/host/minilua.c:3913:1: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3913:1: note: Null pointer dereference src/host/minilua.c:3914:16: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3914:16: note: Null pointer dereference src/host/minilua.c:3917:8: warning: Either the condition 'fs' is redundant or there is possible null pointer dereference: fs. [nullPointerRedundantCheck] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3917:8: note: Null pointer dereference src/host/minilua.c:2491:23: style: Same value in both branches of ternary operator. [duplicateValueTernary] src/host/minilua.c:2541:5: style: Same value in both branches of ternary operator. [duplicateValueTernary] src/host/minilua.c:1290:12: style: Variable 'ts' is reassigned a value before the old one has been used. [redundantAssignment] src/host/minilua.c:1289:3: note: ts is assigned src/host/minilua.c:1290:12: note: ts is overwritten src/host/minilua.c:1329:13: style: Variable 'u' is reassigned a value before the old one has been used. [redundantAssignment] src/host/minilua.c:1328:2: note: u is assigned src/host/minilua.c:1329:13: note: u is overwritten src/host/minilua.c:530:66: style:inconclusive: Function 'luaM_growaux_' argument 4 names different: declaration 'size_elem' definition 'size_elems'. [funcArgNamesDifferent] src/host/minilua.c:389:8: note: Function 'luaM_growaux_' argument 4 names different: declaration 'size_elem' definition 'size_elems'. src/host/minilua.c:530:66: note: Function 'luaM_growaux_' argument 4 names different: declaration 'size_elem' definition 'size_elems'. src/host/minilua.c:552:57: style:inconclusive: Function 'luaM_realloc_' argument 3 names different: declaration 'oldsize' definition 'osize'. [funcArgNamesDifferent] src/host/minilua.c:385:57: note: Function 'luaM_realloc_' argument 3 names different: declaration 'oldsize' definition 'osize'. src/host/minilua.c:552:57: note: Function 'luaM_realloc_' argument 3 names different: declaration 'oldsize' definition 'osize'. src/host/minilua.c:552:70: style:inconclusive: Function 'luaM_realloc_' argument 4 names different: declaration 'size' definition 'nsize'. [funcArgNamesDifferent] src/host/minilua.c:386:8: note: Function 'luaM_realloc_' argument 4 names different: declaration 'size' definition 'nsize'. src/host/minilua.c:552:70: note: Function 'luaM_realloc_' argument 4 names different: declaration 'size' definition 'nsize'. src/host/minilua.c:2537:66: style:inconclusive: Function 'luaG_typeerror' argument 3 names different: declaration 'opname' definition 'op'. [funcArgNamesDifferent] src/host/minilua.c:516:12: note: Function 'luaG_typeerror' argument 3 names different: declaration 'opname' definition 'op'. src/host/minilua.c:2537:66: note: Function 'luaG_typeerror' argument 3 names different: declaration 'opname' definition 'op'. src/host/minilua.c:3638:51: style:inconclusive: Function 'luaK_codeABC' argument 3 names different: declaration 'A' definition 'a'. [funcArgNamesDifferent] src/host/minilua.c:2393:51: note: Function 'luaK_codeABC' argument 3 names different: declaration 'A' definition 'a'. src/host/minilua.c:3638:51: note: Function 'luaK_codeABC' argument 3 names different: declaration 'A' definition 'a'. src/host/minilua.c:3638:57: style:inconclusive: Function 'luaK_codeABC' argument 4 names different: declaration 'B' definition 'b'. [funcArgNamesDifferent] src/host/minilua.c:2393:57: note: Function 'luaK_codeABC' argument 4 names different: declaration 'B' definition 'b'. src/host/minilua.c:3638:57: note: Function 'luaK_codeABC' argument 4 names different: declaration 'B' definition 'b'. src/host/minilua.c:3638:63: style:inconclusive: Function 'luaK_codeABC' argument 5 names different: declaration 'C' definition 'c'. [funcArgNamesDifferent] src/host/minilua.c:2393:63: note: Function 'luaK_codeABC' argument 5 names different: declaration 'C' definition 'c'. src/host/minilua.c:3638:63: note: Function 'luaK_codeABC' argument 5 names different: declaration 'C' definition 'c'. src/host/minilua.c:3641:51: style:inconclusive: Function 'luaK_codeABx' argument 3 names different: declaration 'A' definition 'a'. [funcArgNamesDifferent] src/host/minilua.c:2392:51: note: Function 'luaK_codeABx' argument 3 names different: declaration 'A' definition 'a'. src/host/minilua.c:3641:51: note: Function 'luaK_codeABx' argument 3 names different: declaration 'A' definition 'a'. src/host/minilua.c:3641:66: style:inconclusive: Function 'luaK_codeABx' argument 4 names different: declaration 'Bx' definition 'bc'. [funcArgNamesDifferent] src/host/minilua.c:2392:66: note: Function 'luaK_codeABx' argument 4 names different: declaration 'Bx' definition 'bc'. src/host/minilua.c:3641:66: note: Function 'luaK_codeABx' argument 4 names different: declaration 'Bx' definition 'bc'. src/host/minilua.c:5531:61: style:inconclusive: Function 'lua_pushlstring' argument 3 names different: declaration 'l' definition 'len'. [funcArgNamesDifferent] src/host/minilua.c:174:61: note: Function 'lua_pushlstring' argument 3 names different: declaration 'l' definition 'len'. src/host/minilua.c:5531:61: note: Function 'lua_pushlstring' argument 3 names different: declaration 'l' definition 'len'. src/host/minilua.c:5607:45: style:inconclusive: Function 'lua_createtable' argument 2 names different: declaration 'narr' definition 'narray'. [funcArgNamesDifferent] src/host/minilua.c:176:45: note: Function 'lua_createtable' argument 2 names different: declaration 'narr' definition 'narray'. src/host/minilua.c:5607:45: note: Function 'lua_createtable' argument 2 names different: declaration 'narr' definition 'narray'. src/host/minilua.c:5871:42: style:inconclusive: Function 'luaL_argerror' argument 2 names different: declaration 'numarg' definition 'narg'. [funcArgNamesDifferent] src/host/minilua.c:5843:42: note: Function 'luaL_argerror' argument 2 names different: declaration 'numarg' definition 'narg'. src/host/minilua.c:5871:42: note: Function 'luaL_argerror' argument 2 names different: declaration 'numarg' definition 'narg'. src/host/minilua.c:5951:53: style:inconclusive: Function 'luaL_checklstring' argument 2 names different: declaration 'numArg' definition 'narg'. [funcArgNamesDifferent] src/host/minilua.c:5844:54: note: Function 'luaL_checklstring' argument 2 names different: declaration 'numArg' definition 'narg'. src/host/minilua.c:5951:53: note: Function 'luaL_checklstring' argument 2 names different: declaration 'numArg' definition 'narg'. src/host/minilua.c:5951:65: style:inconclusive: Function 'luaL_checklstring' argument 3 names different: declaration 'l' definition 'len'. [funcArgNamesDifferent] src/host/minilua.c:5845:8: note: Function 'luaL_checklstring' argument 3 names different: declaration 'l' definition 'len'. src/host/minilua.c:5951:65: note: Function 'luaL_checklstring' argument 3 names different: declaration 'l' definition 'len'. src/host/minilua.c:5956:51: style:inconclusive: Function 'luaL_optlstring' argument 2 names different: declaration 'numArg' definition 'narg'. [funcArgNamesDifferent] src/host/minilua.c:5846:52: note: Function 'luaL_optlstring' argument 2 names different: declaration 'numArg' definition 'narg'. src/host/minilua.c:5956:51: note: Function 'luaL_optlstring' argument 2 names different: declaration 'numArg' definition 'narg'. src/host/minilua.c:5957:23: style:inconclusive: Function 'luaL_optlstring' argument 4 names different: declaration 'l' definition 'len'. [funcArgNamesDifferent] src/host/minilua.c:5847:23: note: Function 'luaL_optlstring' argument 4 names different: declaration 'l' definition 'len'. src/host/minilua.c:5957:23: note: Function 'luaL_optlstring' argument 4 names different: declaration 'l' definition 'len'. src/host/minilua.c:5971:54: style:inconclusive: Function 'luaL_checkinteger' argument 2 names different: declaration 'numArg' definition 'narg'. [funcArgNamesDifferent] src/host/minilua.c:5848:54: note: Function 'luaL_checkinteger' argument 2 names different: declaration 'numArg' definition 'narg'. src/host/minilua.c:5971:54: note: Function 'luaL_checkinteger' argument 2 names different: declaration 'numArg' definition 'narg'. src/host/minilua.c:5977:52: style:inconclusive: Function 'luaL_optinteger' argument 2 names different: declaration 'nArg' definition 'narg'. [funcArgNamesDifferent] src/host/minilua.c:5849:52: note: Function 'luaL_optinteger' argument 2 names different: declaration 'nArg' definition 'narg'. src/host/minilua.c:5977:52: note: Function 'luaL_optinteger' argument 2 names different: declaration 'nArg' definition 'narg'. src/host/minilua.c:875:14: style: Variable 'g' can be declared as pointer to const [constVariablePointer] src/host/minilua.c:877:10: style: Variable 'o' can be declared as pointer to const [constVariablePointer] src/host/minilua.c:1050:45: style: Parameter 'oldstack' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:1072:10: style: Variable 'oldci' can be declared as pointer to const [constVariablePointer] src/host/minilua.c:1094:47: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:1419:29: style: Parameter 'nums' can be declared as const array [constParameter] src/host/minilua.c:2397:32: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:2461:5: style: Variable 'lineinfo' can be declared as pointer to const [constVariablePointer] src/host/minilua.c:2997:30: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:3138:42: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:3142:37: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:3349:48: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:3388:45: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:3669:9: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] src/host/minilua.c:3777:32: style: Parameter 'fs' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:3777:43: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:4320:69: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:4732:61: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:4755:61: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:5096:8: style: Variable 'rb' can be declared as pointer to const [constVariablePointer] src/host/minilua.c:5097:8: style: Variable 'rc' can be declared as pointer to const [constVariablePointer] src/host/minilua.c:5289:10: style: Variable 'ci' can be declared as pointer to const [constVariablePointer] src/host/minilua.c:5366:33: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] src/host/minilua.c:6690:6: style: Variable 'f' can be declared as pointer to const [constVariablePointer] src/host/minilua.c:816:11: warning: Expression 'nelems-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] src/host/minilua.c:7687:1: note: Calling function 'lua_pushcclosure', 3rd argument '0' value is 0 src/host/minilua.c:5562:23: note: Calling function 'luaF_newCclosure', 2nd argument 'n' value is 0 src/host/minilua.c:816:11: note: Negative value is converted to an unsigned value src/host/minilua.c:7731:19: warning: Uninitialized variable: buf [uninitvar] src/host/minilua.c:7730:17: note: Assuming condition is false src/host/minilua.c:7731:19: note: Uninitialized variable: buf src/host/minilua.c:194:5: style: struct member 'lua_Debug::event' is never used. [unusedStructMember] src/host/minilua.c:272:13: style: union member 'TString::dummy' is never used. [unusedStructMember] src/host/minilua.c:283:13: style: union member 'Udata::dummy' is never used. [unusedStructMember] src/lj_arch.h:69:0: error: #error "No support for this architecture (yet)" [preprocessorErrorDirective] src/lj_arch.h:69:2: error: #error "No support for this architecture (yet)" [preprocessorErrorDirective] src/host/minilua.c:3628:9: warning: Null pointer dereference: fs [ctunullpointer] src/host/minilua.c:3918:4: note: Assuming that condition 'fs' is not redundant src/host/minilua.c:3904:10: note: Calling function 'luaK_ret', 1st argument 'fs' value is 0 src/host/minilua.c:3031:13: note: Calling function luaK_codeABC, 1st argument is null src/host/minilua.c:3639:8: note: Calling function luaK_code, 1st argument is null src/host/minilua.c:3628:9: note: Dereferencing argument fs that is null diff: head src/host/buildvm.c:69:2: error: #error "No support for this architecture (yet)" [preprocessorErrorDirective] head src/host/buildvm_asm.c:160:2: error: #error "missing relocation support for this architecture" [preprocessorErrorDirective] head src/lj_arch.h:69:2: error: #error "No support for this architecture (yet)" [preprocessorErrorDirective] DONE