Error: CLANG_WARNING: [#def1] python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/builder.c:10325:9: warning[deadcode.DeadStores]: Value stored to 'args' is never read #10323| case 1: #10324| self = args[0]; #10325|-> args += 1; #10326| nargs -= 1; #10327| break; Error: COMPILER_WARNING (CWE-477): [#def2] python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c: scope_hint: In function ‘__pyx_f_4lxml_5etree__setupPythonUnicode’ python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c:126169:3: warning[-Wdeprecated-declarations]: ‘Py_UNICODE’ is deprecated #126167| xmlCharEncodingHandler *__pyx_v_enchandler; #126168| const char *__pyx_v_enc; #126169|-> Py_UNICODE *__pyx_v_uchars; #126170| const xmlChar *__pyx_v_buffer; #126171| int __pyx_r; Error: COMPILER_WARNING (CWE-477): [#def3] python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c:126172:3: warning[-Wdeprecated-declarations]: ‘Py_UNICODE’ is deprecated #126170| const xmlChar *__pyx_v_buffer; #126171| int __pyx_r; #126172|-> Py_UNICODE __pyx_t_1[7]; #126173| int __pyx_t_2; #126174| int __pyx_t_3; Error: COMPILER_WARNING (CWE-477): [#def4] python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c:126343:5: warning[-Wdeprecated-declarations]: ‘Py_UNICODE’ is deprecated #126341| */ #126342| /*else*/ { #126343|-> __pyx_t_4 = __pyx_f_4lxml_5etree__findEncodingName(__pyx_v_buffer, ((sizeof(Py_UNICODE)) * 7)); if (unlikely(__pyx_t_4 == ((const char *)NULL) && PyErr_Occurred())) __PYX_ERR(2, 208, __pyx_L1_error) #126344| __pyx_v_enc = __pyx_t_4; #126345| Error: COMPILER_WARNING (CWE-477): [#def5] python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c: scope_hint: In function ‘__pyx_f_4lxml_5etree_11_BaseParser__registerHtmlErrorHandler’ python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c:135489:5: warning[-Wdeprecated-declarations]: ‘__htmlDefaultSAXHandler’ is deprecated python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/includes/etree_defs.h:12: included_from: Included from here. python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c:1302: included_from: Included from here. /usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here /usr/include/libxml2/libxml/HTMLparser.h:91:16: note: in expansion of macro ‘XML_DECLARE_GLOBAL’ /usr/include/libxml2/libxml/HTMLparser.h:86:5: note: in expansion of macro ‘XML_OP’ /usr/include/libxml2/libxml/HTMLparser.h:92:1: note: in expansion of macro ‘XML_GLOBALS_HTML’ #135487| * if sax is NULL: #135488| */ #135489|-> __pyx_t_2 = (((xmlSAXHandlerV1 *)__pyx_v_sax) == (&htmlDefaultSAXHandler)); #135490| if (__pyx_t_2) { #135491| Error: COMPILER_WARNING (CWE-477): [#def6] python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c:135536:7: warning[-Wdeprecated-declarations]: ‘__htmlDefaultSAXHandler’ is deprecated /usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here /usr/include/libxml2/libxml/HTMLparser.h:91:16: note: in expansion of macro ‘XML_DECLARE_GLOBAL’ /usr/include/libxml2/libxml/HTMLparser.h:86:5: note: in expansion of macro ‘XML_OP’ /usr/include/libxml2/libxml/HTMLparser.h:92:1: note: in expansion of macro ‘XML_GLOBALS_HTML’ #135534| * c_ctxt.sax = sax #135535| */ #135536|-> (void)(memcpy(__pyx_v_sax, (&htmlDefaultSAXHandler), (sizeof(htmlDefaultSAXHandler)))); #135537| #135538| /* "src/lxml/parser.pxi":940 Error: COMPILER_WARNING (CWE-704): [#def7] python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c: scope_hint: In function ‘__pyx_f_4lxml_5etree__getInternalEntityOnly’ python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c:139097:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type #139095| * str1=<char*> name, #139096| */ #139097|-> __pyx_t_4.file = __pyx_v_parser_input->filename; #139098| #139099| /* "src/lxml/parser.pxi":1266 Error: COMPILER_WARNING (CWE-477): [#def8] python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c: scope_hint: In function ‘__pyx_pymod_exec_etree’ python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/etree.c:287338:3: warning[-Wdeprecated-declarations]: ‘xmlThrDefLineNumbersDefaultValue’ is deprecated /usr/include/libxml2/libxml/tree.h:17: included_from: Included from here. python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/includes/etree_defs.h:155: included_from: Included from here. /usr/include/libxml2/libxml/parser.h:969:17: note: declared here #287336| * _initThreadLogging() #287337| */ #287338|-> (void)(xmlThrDefLineNumbersDefaultValue(1)); #287339| #287340| /* "lxml/etree.pyx":147 Error: GCC_ANALYZER_WARNING (CWE-476): [#def9] python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/sax.c: scope_hint: In function ‘__Pyx_MergeVtables’ python-lxml-5.2.1-build/lxml-5.2.1/src/lxml/sax.c:15993:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’ #15991| } #15992| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1)); #15993|-> base_vtables[0] = unknown; #15994| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) { #15995| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-248.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | python-lxml-5.2.1-4.fc41 |
store-results-to | /tmp/tmpwthm5v1m/python-lxml-5.2.1-4.fc41.tar.xz |
time-created | 2024-07-03 17:30:28 |
time-finished | 2024-07-03 17:36:02 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpwthm5v1m/python-lxml-5.2.1-4.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpwthm5v1m/python-lxml-5.2.1-4.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |