Task #23903 - stdout.log
back to task #23903download
<...trimmed, download required for full log>
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:308:1: note: (7) entry to ‘SELinuxPopulateItem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:311:29: note: (8) calling ‘dixLookupPrivate’ from ‘SELinuxPopulateItem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (9) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (10) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (11) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (12) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (14) ...to here <--[csmock-gcc-wrapper]
In function ‘SELinuxSendItemsToClient’:
cc1: note: (15) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:311:29: note: (16) returning to ‘SELinuxPopulateItem’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:312:30: note: (17) calling ‘dixLookupPrivate’ from ‘SELinuxPopulateItem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (18) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (19) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (20) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (21) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (23) ...to here <--[csmock-gcc-wrapper]
In function ‘SELinuxSendItemsToClient’:
cc1: note: (24) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:312:30: note: (25) returning to ‘SELinuxPopulateItem’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:314:8: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:316:9: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:316:8: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:319:11: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:464:14: note: (30) returning to ‘ProcSELinuxListSelections.part.0’ from ‘SELinuxPopulateItem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:465:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:469:10: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:462:36: note: (33) following ‘false’ branch (when ‘pSel’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:472:12: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:472:12: note: (35) calling ‘SELinuxSendItemsToClient’ from ‘ProcSELinuxListSelections.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:340:1: note: (36) entry to ‘SELinuxSendItemsToClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:347:11: note: (37) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:348:8: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (39) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:354:19: note: (40) following ‘true’ branch (when ‘k < count’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:355:25: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xselinux_ext.c:355:18: note: (42) ‘buf + (long unsigned int)pos * 4’ could be NULL: unchecked value from (37) <--[csmock-gcc-wrapper]
[225/636] gcc -IXext/liblibxserver_xext.a.p -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xext/liblibxserver_xext.a.p/xvdisp.c.o -MF Xext/liblibxserver_xext.a.p/xvdisp.c.o.d -o Xext/liblibxserver_xext.a.p/xvdisp.c.o -c ../Xext/xvdisp.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c: In function ‘XineramifyXv’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1787:13: warning: use of uninitialized value ‘*port.info[0].id’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1748:1: note: (1) entry to ‘XineramifyXv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1751:9: note: (2) calling ‘dixLookupPrivate’ from ‘XineramifyXv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:33: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (3) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (4) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (5) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘XineramifyXv’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (11) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1751:9: note: (12) returning to ‘XineramifyXv’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1757:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1759:5: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1761:19: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1763:38: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1765:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1768:29: note: (18) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:52: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/panoramiX.h:72:51: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1770:9: note: in expansion of macro ‘FOR_NSCREENS_FORWARD_SKIP’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1772:13: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1772:13: note: (21) calling ‘matchAdaptor’ from ‘XineramifyXv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1708:1: note: (22) entry to ‘matchAdaptor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1712:9: note: (23) calling ‘dixLookupPrivate’ from ‘matchAdaptor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (24) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (25) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (26) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (28) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘XineramifyXv’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (32) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1712:9: note: (33) returning to ‘matchAdaptor’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1714:8: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (35) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1772:13: note: (36) returning to ‘XineramifyXv’ from ‘matchAdaptor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/panoramiX.h:72:51: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1770:9: note: in expansion of macro ‘FOR_NSCREENS_FORWARD_SKIP’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1772:13: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1772:13: note: (39) calling ‘matchAdaptor’ from ‘XineramifyXv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1708:1: note: (40) entry to ‘matchAdaptor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1712:9: note: (41) calling ‘dixLookupPrivate’ from ‘matchAdaptor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (42) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (43) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (44) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (46) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘XineramifyXv’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (50) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1712:9: note: (51) returning to ‘matchAdaptor’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1772:13: note: (52) returning to ‘XineramifyXv’ from ‘matchAdaptor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/panoramiX.h:72:51: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1770:9: note: in expansion of macro ‘FOR_NSCREENS_FORWARD_SKIP’ <--[csmock-gcc-wrapper]
cc1: note: (54) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1775:23: note: (55) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1776:34: note: (56) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1776:34: note: (57) region created on heap here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1778:16: note: (58) following ‘false’ branch (when ‘port’ is non-NULL)... <--[csmock-gcc-wrapper]
cc1: note: (59) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/panoramiX.h:71:46: note: (60) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/panoramiX.h:74:25: note: in expansion of macro ‘FOR_NSCREENS_FORWARD’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1781:13: note: in expansion of macro ‘FOR_NSCREENS’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1787:13: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdisp.c:1787:13: note: (62) use of uninitialized value ‘*port.info[0].id’ here <--[csmock-gcc-wrapper]
[226/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/chgfctl.c.o -MF Xi/liblibxserver_xi.a.p/chgfctl.c.o.d -o Xi/liblibxserver_xi.a.p/chgfctl.c.o -c ../Xi/chgfctl.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[227/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/chgkbd.c.o -MF Xi/liblibxserver_xi.a.p/chgkbd.c.o.d -o Xi/liblibxserver_xi.a.p/chgkbd.c.o -c ../Xi/chgkbd.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[228/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/chgkmap.c.o -MF Xi/liblibxserver_xi.a.p/chgkmap.c.o.d -o Xi/liblibxserver_xi.a.p/chgkmap.c.o -c ../Xi/chgkmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[229/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/chgprop.c.o -MF Xi/liblibxserver_xi.a.p/chgprop.c.o.d -o Xi/liblibxserver_xi.a.p/chgprop.c.o -c ../Xi/chgprop.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[230/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/chgptr.c.o -MF Xi/liblibxserver_xi.a.p/chgptr.c.o.d -o Xi/liblibxserver_xi.a.p/chgptr.c.o -c ../Xi/chgptr.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[231/636] gcc -IXext/liblibxserver_xext_vidmode.a.p -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xext/liblibxserver_xext_vidmode.a.p/vidmode.c.o -MF Xext/liblibxserver_xext_vidmode.a.p/vidmode.c.o.d -o Xext/liblibxserver_xext_vidmode.a.p/vidmode.c.o -c ../Xext/vidmode.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In function ‘VidModeCopyMode’,
inlined from ‘ProcVidModeValidateModeLine’ at ../Xext/vidmode.c:954:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:96:5: warning: use of NULL ‘VidModeCreateMode()’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c: In function ‘ProcVidModeValidateModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1870:1: note: (1) entry to ‘SProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1877:11: note: (2) calling ‘ClientMajorVersion’ from ‘SProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:184:1: note: (3) entry to ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:67:5: note: (4) calling ‘dixLookupPrivate’ from ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:54, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixstruct.h:28, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:42: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (5) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (8) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (9) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (11) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘ProcVidModeValidateModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (15) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:67:5: note: (16) returning to ‘ClientMajorVersion’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:189:8: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (18) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1877:11: note: (19) returning to ‘SProcVidModeValidateModeLine’ from ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1878:8: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:41: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:374:33: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1879:9: note: in expansion of macro ‘swaps’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:78:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1880:9: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:361:24: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1881:9: note: in expansion of macro ‘swapl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1911:12: note: (24) calling ‘ProcVidModeValidateModeLine’ from ‘SProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:870:1: note: (25) entry to ‘ProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:885:11: note: (26) calling ‘ClientMajorVersion’ from ‘ProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:184:1: note: (27) entry to ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:67:5: note: (28) calling ‘dixLookupPrivate’ from ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (29) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (32) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (33) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (35) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘ProcVidModeValidateModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (39) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:67:5: note: (40) returning to ‘ClientMajorVersion’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:885:11: note: (41) returning to ‘ProcVidModeValidateModeLine’ from ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:78:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:893:9: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:895:29: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:927:8: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:930:14: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:930:8: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:932:13: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:936:8: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:937:14: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:936:45: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:938:14: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:937:45: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:939:14: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:938:41: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:940:14: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:939:45: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:941:14: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:940:45: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:946:16: note: (59) inlined call to ‘VidModeGetPtr’ from ‘ProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
In function ‘VidModeGetPtr’,
inlined from ‘ProcVidModeValidateModeLine’ at ../Xext/vidmode.c:946:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2151:43: note: (60) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2151:26: note: (61) calling ‘dixLookupPrivate’ from ‘ProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘ProcVidModeValidateModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (62) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (63) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (64) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (65) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (66) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (67) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (68) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘ProcVidModeValidateModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (70) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:946:16: note: (71) inlined call to ‘VidModeGetPtr’ from ‘ProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
In function ‘VidModeGetPtr’,
inlined from ‘ProcVidModeValidateModeLine’ at ../Xext/vidmode.c:946:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2151:26: note: (72) returning to ‘ProcVidModeValidateModeLine’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c: In function ‘ProcVidModeValidateModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:947:8: note: (73) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:950:18: note: (74) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:950:8: note: (75) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:953:15: note: (76) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:953:15: note: (77) calling ‘VidModeCreateMode’ from ‘ProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:78:1: note: (78) entry to ‘VidModeCreateMode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:82:12: note: (79) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:83:8: note: (80) assuming ‘mode’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:83:8: note: (81) following ‘false’ branch (when ‘mode’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:90:12: note: (82) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:953:15: note: (83) returning to ‘ProcVidModeValidateModeLine’ from ‘VidModeCreateMode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:954:5: note: (84) inlined call to ‘VidModeCopyMode’ from ‘ProcVidModeValidateModeLine’ <--[csmock-gcc-wrapper]
In function ‘VidModeCopyMode’,
inlined from ‘ProcVidModeValidateModeLine’ at ../Xext/vidmode.c:954:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:96:5: note: (85) argument 1 (‘VidModeCreateMode()’) NULL where non-null expected <--[csmock-gcc-wrapper]
<built-in>: In function ‘ProcVidModeValidateModeLine’:
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
In function ‘VidModeCopyMode’,
inlined from ‘ProcVidModeModModeLine’ at ../Xext/vidmode.c:811:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:96:5: warning: use of NULL ‘VidModeCreateMode()’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c: In function ‘ProcVidModeModModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2070:1: note: (1) entry to ‘SProcVidModeDispatch’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2073:5: note: (2) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2098:5: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2100:13: note: (4) following ‘case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2105:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2106:24: note: (6) calling ‘SProcVidModeModModeLine’ from ‘SProcVidModeDispatch’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1825:1: note: (7) entry to ‘SProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1832:11: note: (8) calling ‘ClientMajorVersion’ from ‘SProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:184:1: note: (9) entry to ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:67:5: note: (10) calling ‘dixLookupPrivate’ from ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (11) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (14) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (15) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (17) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘ProcVidModeModModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (21) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:67:5: note: (22) returning to ‘ClientMajorVersion’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:189:8: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (24) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1832:11: note: (25) returning to ‘SProcVidModeModModeLine’ from ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1833:8: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:374:33: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1834:9: note: in expansion of macro ‘swaps’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:78:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1835:9: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:361:24: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1836:9: note: in expansion of macro ‘swapl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1866:12: note: (30) calling ‘ProcVidModeModModeLine’ from ‘SProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:736:1: note: (31) entry to ‘ProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:750:11: note: (32) calling ‘ClientMajorVersion’ from ‘ProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:184:1: note: (33) entry to ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:67:5: note: (34) calling ‘dixLookupPrivate’ from ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (35) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (38) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (39) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (40) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (41) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘ProcVidModeModModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (45) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:67:5: note: (46) returning to ‘ClientMajorVersion’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:750:11: note: (47) returning to ‘ProcVidModeModModeLine’ from ‘ClientMajorVersion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:78:12: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:759:9: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:761:29: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:789:8: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:792:14: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:792:8: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:793:14: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:792:45: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:794:14: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:793:45: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:795:14: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:794:41: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:796:14: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:795:45: note: (60) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:796:53: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:796:45: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:799:14: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:799:8: note: (64) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:801:13: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:803:16: note: (66) inlined call to ‘VidModeGetPtr’ from ‘ProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
In function ‘VidModeGetPtr’,
inlined from ‘ProcVidModeModModeLine’ at ../Xext/vidmode.c:803:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2151:26: note: (67) calling ‘dixLookupPrivate’ from ‘ProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘ProcVidModeModModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (68) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (69) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (70) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (71) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (72) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (73) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (74) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (75) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘ProcVidModeModModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (76) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:803:16: note: (77) inlined call to ‘VidModeGetPtr’ from ‘ProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
In function ‘VidModeGetPtr’,
inlined from ‘ProcVidModeModModeLine’ at ../Xext/vidmode.c:803:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2151:26: note: (78) returning to ‘ProcVidModeModModeLine’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c: In function ‘ProcVidModeModModeLine’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:804:8: note: (79) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:807:18: note: (80) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:807:8: note: (81) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:810:15: note: (82) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:810:15: note: (83) calling ‘VidModeCreateMode’ from ‘ProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:78:1: note: (84) entry to ‘VidModeCreateMode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:82:12: note: (85) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:83:8: note: (86) assuming ‘mode’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:83:8: note: (87) following ‘false’ branch (when ‘mode’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:90:12: note: (88) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:810:15: note: (89) returning to ‘ProcVidModeModModeLine’ from ‘VidModeCreateMode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:811:5: note: (90) inlined call to ‘VidModeCopyMode’ from ‘ProcVidModeModModeLine’ <--[csmock-gcc-wrapper]
In function ‘VidModeCopyMode’,
inlined from ‘ProcVidModeModModeLine’ at ../Xext/vidmode.c:811:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:96:5: note: (91) argument 1 (‘VidModeCreateMode()’) NULL where non-null expected <--[csmock-gcc-wrapper]
<built-in>: In function ‘ProcVidModeModModeLine’:
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c: In function ‘ProcVidModeGetDotClocks’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1377:30: warning: dereference of NULL ‘Clocks’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1979:1: note: (1) entry to ‘SProcVidModeGetDotClocks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:72:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1983:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:374:33: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1984:5: note: in expansion of macro ‘swaps’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1985:12: note: (4) calling ‘ProcVidModeGetDotClocks’ from ‘SProcVidModeGetDotClocks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1319:1: note: (5) entry to ‘ProcVidModeGetDotClocks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:72:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1333:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1335:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1335:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1337:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1339:16: note: (10) inlined call to ‘VidModeGetPtr’ from ‘ProcVidModeGetDotClocks’ <--[csmock-gcc-wrapper]
In function ‘VidModeGetPtr’,
inlined from ‘ProcVidModeGetDotClocks’ at ../Xext/vidmode.c:1339:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2151:26: note: (11) calling ‘dixLookupPrivate’ from ‘ProcVidModeGetDotClocks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘ProcVidModeGetDotClocks’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (12) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (13) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (14) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (15) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (17) ...to here <--[csmock-gcc-wrapper]
In function ‘ProcVidModeGetDotClocks’:
cc1: note: (18) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1339:16: note: (19) inlined call to ‘VidModeGetPtr’ from ‘ProcVidModeGetDotClocks’ <--[csmock-gcc-wrapper]
In function ‘VidModeGetPtr’,
inlined from ‘ProcVidModeGetDotClocks’ at ../Xext/vidmode.c:1339:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:2151:26: note: (20) returning to ‘ProcVidModeGetDotClocks’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c: In function ‘ProcVidModeGetDotClocks’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1340:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1343:25: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1355:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1364:9: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1364:8: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1365:12: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1367:8: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1374:5: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1375:8: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (30) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1376:23: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1377:30: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1377:30: note: (33) ‘Clocks’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/vidmode.c:1377:30: note: (34) dereference of NULL ‘Clocks + (long unsigned int)n * 4’ <--[csmock-gcc-wrapper]
[232/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/closedev.c.o -MF Xi/liblibxserver_xi.a.p/closedev.c.o.d -o Xi/liblibxserver_xi.a.p/closedev.c.o -c ../Xi/closedev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[233/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/devbell.c.o -MF Xi/liblibxserver_xi.a.p/devbell.c.o.d -o Xi/liblibxserver_xi.a.p/devbell.c.o -c ../Xi/devbell.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[234/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/extinit.c.o -MF Xi/liblibxserver_xi.a.p/extinit.c.o.d -o Xi/liblibxserver_xi.a.p/extinit.c.o -c ../Xi/extinit.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[235/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/getbmap.c.o -MF Xi/liblibxserver_xi.a.p/getbmap.c.o.d -o Xi/liblibxserver_xi.a.p/getbmap.c.o -c ../Xi/getbmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[236/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/getdctl.c.o -MF Xi/liblibxserver_xi.a.p/getdctl.c.o.d -o Xi/liblibxserver_xi.a.p/getdctl.c.o -c ../Xi/getdctl.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[237/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/getfctl.c.o -MF Xi/liblibxserver_xi.a.p/getfctl.c.o.d -o Xi/liblibxserver_xi.a.p/getfctl.c.o -c ../Xi/getfctl.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/input.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/inputstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:57: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c: In function ‘CopySwapKbdFeedback’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:361:24: warning: use of uninitialized value ‘*k2.led_values’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:108:9: note: in expansion of macro ‘swapl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:278:1: note: (1) entry to ‘ProcXGetFeedbackControl’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixstruct.h:28, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/inputstr.h:55: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:72:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:292:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:294:37: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:295:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:301:33: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:306:28: note: (6) following ‘false’ branch (when ‘k’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:310:12: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:310:28: note: (8) following ‘false’ branch (when ‘p’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:314:12: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:314:31: note: (10) following ‘false’ branch (when ‘s’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:319:12: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:319:28: note: (12) following ‘false’ branch (when ‘i’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:323:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:323:25: note: (14) following ‘false’ branch (when ‘l’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:327:12: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:327:25: note: (16) following ‘true’ branch (when ‘b’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:328:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:327:25: note: (18) following ‘false’ branch (when ‘b’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:332:8: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:332:8: note: (20) following ‘false’ branch (when ‘total_length != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:335:20: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:335:20: note: (22) region created on heap here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:336:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (24) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:340:28: note: (25) following ‘true’ branch (when ‘k’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:341:9: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:341:9: note: (27) calling ‘CopySwapKbdFeedback’ from ‘ProcXGetFeedbackControl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:86:1: note: (28) entry to ‘CopySwapKbdFeedback’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:101:19: note: (29) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:102:50: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:101:19: note: (31) following ‘false’ branch (when ‘i == 32’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:103:9: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:103:8: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:374:22: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:104:9: note: in expansion of macro ‘swaps’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:361:24: note: (35) use of uninitialized value ‘*k2.led_values’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getfctl.c:108:9: note: in expansion of macro ‘swapl’ <--[csmock-gcc-wrapper]
[238/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/getselev.c.o -MF Xi/liblibxserver_xi.a.p/getselev.c.o.d -o Xi/liblibxserver_xi.a.p/getselev.c.o -c ../Xi/getselev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[239/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/getkmap.c.o -MF Xi/liblibxserver_xi.a.p/getkmap.c.o.d -o Xi/liblibxserver_xi.a.p/getkmap.c.o -c ../Xi/getkmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[240/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/getmmap.c.o -MF Xi/liblibxserver_xi.a.p/getmmap.c.o.d -o Xi/liblibxserver_xi.a.p/getmmap.c.o -c ../Xi/getmmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[241/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/getfocus.c.o -MF Xi/liblibxserver_xi.a.p/getfocus.c.o.d -o Xi/liblibxserver_xi.a.p/getfocus.c.o -c ../Xi/getfocus.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[242/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/getvers.c.o -MF Xi/liblibxserver_xi.a.p/getvers.c.o.d -o Xi/liblibxserver_xi.a.p/getvers.c.o -c ../Xi/getvers.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[243/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/getprop.c.o -MF Xi/liblibxserver_xi.a.p/getprop.c.o.d -o Xi/liblibxserver_xi.a.p/getprop.c.o -c ../Xi/getprop.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c: In function ‘ClassFromMask’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:163:32: warning: dereference of possibly-NULL ‘buf’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:92:1: note: (1) entry to ‘ProcXGetDeviceDontPropagateList’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixstruct.h:28, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/inputstr.h:55, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:57: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:72:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:102:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:107:33: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:113:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:58: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:180:45: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:116:19: note: in expansion of macro ‘wOtherInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:182:34: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:116:19: note: in expansion of macro ‘wOtherInputMasks’ <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:117:23: note: (8) following ‘true’ branch (when ‘i != 258’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:118:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:118:13: note: (10) calling ‘ClassFromMask’ from ‘ProcXGetDeviceDontPropagateList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:149:7: note: (11) entry to ‘ClassFromMask’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:156:19: note: (12) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:157:19: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:118:13: note: (14) returning to ‘ProcXGetDeviceDontPropagateList’ from ‘ClassFromMask’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:119:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:120:23: note: (16) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/input.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/inputstr.h:53: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (17) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:121:19: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:125:27: note: (18) following ‘true’ branch (when ‘i != 258’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:126:24: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:126:24: note: (20) calling ‘ClassFromMask’ from ‘ProcXGetDeviceDontPropagateList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:149:7: note: (21) entry to ‘ClassFromMask’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:156:19: note: (22) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:157:19: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:157:12: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (25) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:158:27: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:159:33: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:159:20: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:160:24: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:160:24: note: (30) following ‘false’ branch (when ‘mode != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:163:38: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/getprop.c:163:32: note: (32) ‘buf’ could be NULL: unchecked value from (17) <--[csmock-gcc-wrapper]
[244/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/grabdev.c.o -MF Xi/liblibxserver_xi.a.p/grabdev.c.o.d -o Xi/liblibxserver_xi.a.p/grabdev.c.o -c ../Xi/grabdev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[245/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/grabdevk.c.o -MF Xi/liblibxserver_xi.a.p/grabdevk.c.o.d -o Xi/liblibxserver_xi.a.p/grabdevk.c.o -c ../Xi/grabdevk.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[246/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/grabdevb.c.o -MF Xi/liblibxserver_xi.a.p/grabdevb.c.o.d -o Xi/liblibxserver_xi.a.p/grabdevb.c.o -c ../Xi/grabdevb.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[247/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/gtmotion.c.o -MF Xi/liblibxserver_xi.a.p/gtmotion.c.o.d -o Xi/liblibxserver_xi.a.p/gtmotion.c.o -c ../Xi/gtmotion.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[248/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/opendev.c.o -MF Xi/liblibxserver_xi.a.p/opendev.c.o.d -o Xi/liblibxserver_xi.a.p/opendev.c.o -c ../Xi/opendev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[249/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/queryst.c.o -MF Xi/liblibxserver_xi.a.p/queryst.c.o.d -o Xi/liblibxserver_xi.a.p/queryst.c.o -c ../Xi/queryst.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[250/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/selectev.c.o -MF Xi/liblibxserver_xi.a.p/selectev.c.o.d -o Xi/liblibxserver_xi.a.p/selectev.c.o -c ../Xi/selectev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[251/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/sendexev.c.o -MF Xi/liblibxserver_xi.a.p/sendexev.c.o.d -o Xi/liblibxserver_xi.a.p/sendexev.c.o -c ../Xi/sendexev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[252/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/setbmap.c.o -MF Xi/liblibxserver_xi.a.p/setbmap.c.o.d -o Xi/liblibxserver_xi.a.p/setbmap.c.o -c ../Xi/setbmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[253/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/listdev.c.o -MF Xi/liblibxserver_xi.a.p/listdev.c.o.d -o Xi/liblibxserver_xi.a.p/listdev.c.o -c ../Xi/listdev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c: In function ‘CopySwapDevice’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:171:13: warning: dereference of possibly-NULL ‘dev’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:331:1: note: (1) entry to ‘ProcXListInputDevices’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixstruct.h:28, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/inputstr.h:55, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:59: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:72:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:343:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:348:33: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:354:8: note: (4) following ‘false’ branch (when ‘skip’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:359:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:359:33: note: (6) following ‘true’ branch (when ‘d’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:360:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:361:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:364:9: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:364:9: note: (10) calling ‘SizeDeviceInfo’ from ‘ProcXListInputDevices’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:93:1: note: (11) entry to ‘SizeDeviceInfo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:98:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:99:9: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:102:8: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:103:9: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:104:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:109:1: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:364:9: note: (18) returning to ‘ProcXListInputDevices’ from ‘SizeDeviceInfo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:359:33: note: (19) following ‘false’ branch (when ‘d’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:368:12: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:368:37: note: (21) following ‘false’ branch (when ‘d’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:378:50: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:379:23: note: (23) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:387:33: note: (24) following ‘true’ branch (when ‘d’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:388:17: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:388:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:391:9: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:391:9: note: (28) calling ‘ListDeviceInfo’ from ‘ProcXListInputDevices’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:293:1: note: (29) entry to ‘ListDeviceInfo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:297:5: note: (30) calling ‘CopySwapDevice’ from ‘ListDeviceInfo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:165:1: note: (31) entry to ‘CopySwapDevice’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/listdev.c:171:13: note: (32) ‘dev’ could be NULL: unchecked value from (23) <--[csmock-gcc-wrapper]
[254/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/exevents.c.o -MF Xi/liblibxserver_xi.a.p/exevents.c.o.d -o Xi/liblibxserver_xi.a.p/exevents.c.o -c ../Xi/exevents.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c: In function ‘DeepCopyKeyboardClasses’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:490:44: warning: dereference of NULL ‘*to.key’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2384:1: note: (1) entry to ‘SetScrollValuator’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/input.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/inputstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:85: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:441:17: note: (2) following ‘false’ branch (when ‘dev’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2392:5: note: in expansion of macro ‘BUG_RETURN_VAL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2393:23: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:441:17: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2393:5: note: in expansion of macro ‘BUG_RETURN_VAL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2394:42: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:441:17: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2394:5: note: in expansion of macro ‘BUG_RETURN_VAL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2396:5: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2411:8: note: (8) following ‘false’ branch (when ‘increment != 0.0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2414:9: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2437:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2438:9: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2438:9: note: (12) calling ‘ChangeMasterDeviceClasses’ from ‘SetScrollValuator’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:765:1: note: (13) entry to ‘ChangeMasterDeviceClasses’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:771:8: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:774:10: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:776:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:779:9: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:779:8: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:782:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:782:8: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:785:9: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:785:8: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:790:41: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:793:5: note: (24) calling ‘DeepCopyDeviceClasses’ from ‘ChangeMasterDeviceClasses’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:727:1: note: (25) entry to ‘DeepCopyDeviceClasses’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:733:5: note: (26) calling ‘DeepCopyFeedbackClasses’ from ‘DeepCopyDeviceClasses’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:287:1: note: (27) entry to ‘DeepCopyFeedbackClasses’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:291:8: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:294:16: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:301:34: note: (30) following ‘true’ branch (when ‘it’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:302:19: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:733:5: note: (32) returning to ‘DeepCopyDeviceClasses’ from ‘DeepCopyFeedbackClasses’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:735:8: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:736:9: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:736:9: note: (35) calling ‘DeepCopyKeyboardClasses’ from ‘DeepCopyDeviceClasses’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:417:1: note: (36) entry to ‘DeepCopyKeyboardClasses’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:455:13: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:461:13: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:461:8: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:473:16: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:473:13: note: (41) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:474:17: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:476:17: note: (43) ‘*to.key’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:476:17: note: (44) ‘*to.key’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:476:17: note: (45) ‘*to.key’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:483:8: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (47) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:486:31: note: (48) following ‘true’ branch (when ‘k’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:487:19: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:487:16: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:489:27: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:489:16: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:490:39: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:490:39: note: (54) ‘*to.key’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:490:44: note: (55) dereference of NULL ‘*to.key’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/input.h:58: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c: In function ‘RetrieveTouchDeliveryData’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1388:13: note: in expansion of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2192:1: note: (1) entry to ‘DeliverTouchEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2203:19: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2204:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2213:14: note: (4) calling ‘RetrieveTouchDeliveryData’ from ‘DeliverTouchEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1353:1: note: (5) entry to ‘RetrieveTouchDeliveryData’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1362:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1373:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1376:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1379:21: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1379:12: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1382:19: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:182:34: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:23: note: in definition of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1389:36: note: in expansion of macro ‘wOtherInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1388:13: note: in expansion of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:21: note: (14) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1388:13: note: in expansion of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1402:13: note: in expansion of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2192:1: note: (1) entry to ‘DeliverTouchEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2203:19: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2204:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2213:14: note: (4) calling ‘RetrieveTouchDeliveryData’ from ‘DeliverTouchEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1353:1: note: (5) entry to ‘RetrieveTouchDeliveryData’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1362:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1373:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1376:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1379:21: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1379:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1398:17: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1398:17: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1399:37: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:182:34: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:23: note: in definition of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1403:36: note: in expansion of macro ‘wOtherInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:21: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1402:13: note: in expansion of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:21: note: (16) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:1402:13: note: in expansion of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c: In function ‘RetrieveGestureDeliveryData’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2291:9: note: in expansion of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2272:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2282:14: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2284:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2289:18: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:182:34: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:23: note: in definition of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2291:42: note: in expansion of macro ‘wOtherInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:21: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2291:9: note: in expansion of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:21: note: (7) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2291:9: note: in expansion of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c: In function ‘SelectForWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2680:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2667:8: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2668:56: note: (2) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:92: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:182:34: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2680:23: note: in expansion of macro ‘wOtherInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2680:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2680:21: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c: In function ‘MakeInputMasks’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2768:32: warning: leak of ‘imasks’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2760:14: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2761:8: note: (2) assuming ‘imasks’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2761:8: note: (3) following ‘false’ branch (when ‘imasks’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2763:23: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2764:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2768:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2768:32: note: (7) ‘imasks’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c: In function ‘DeviceEventSuppressForWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3242:32: warning: dereference of NULL ‘inputMasks’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3220:1: note: (1) entry to ‘DeviceEventSuppressForWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3225:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3230:8: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3230:8: note: (4) following ‘false’ branch (when ‘mask != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3235:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3235:12: note: (6) following ‘true’ branch (when ‘inputMasks’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3236:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3236:13: note: (8) calling ‘AddExtensionClient’ from ‘DeviceEventSuppressForWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2728:1: note: (9) entry to ‘AddExtensionClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2732:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2732:29: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3236:13: note: (12) returning to ‘DeviceEventSuppressForWindow’ from ‘AddExtensionClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:182:34: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3237:22: note: in expansion of macro ‘wOtherInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3238:48: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3241:9: note: (15) calling ‘ShouldFreeInputMasks’ from ‘DeviceEventSuppressForWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3247:1: note: (16) entry to ‘ShouldFreeInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3253:19: note: (17) following ‘true’ branch (when ‘i != 258’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3254:60: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3255:8: note: (19) following ‘true’ branch (when ‘ignoreSelectedEvents == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (20) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3256:23: note: (21) following ‘true’ branch (when ‘i != 258’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3257:58: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3241:9: note: (23) returning to ‘DeviceEventSuppressForWindow’ from ‘ShouldFreeInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3241:8: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3242:32: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3242:32: note: (26) dereference of NULL ‘inputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c: In function ‘XISetEventMask’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3336:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3316:1: note: (1) entry to ‘XISetEventMask’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3333:8: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3334:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3334:13: note: (4) calling ‘AddExtensionClient’ from ‘XISetEventMask’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2728:1: note: (5) entry to ‘AddExtensionClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2732:25: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2734:14: note: (7) inlined call to ‘AllocInputClient’ from ‘AddExtensionClient’ <--[csmock-gcc-wrapper]
In function ‘AllocInputClient’,
inlined from ‘AddExtensionClient’ at ../Xi/exevents.c:2734:14:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2724:12: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c: In function ‘XISetEventMask’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2735:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2737:14: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2737:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2739:23: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2740:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2742:26: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2746:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /usr/include/X11/extensions/XI2proto.h:61, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/inputstr.h:50: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:2733:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3334:13: note: (17) returning to ‘XISetEventMask’ from ‘AddExtensionClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3334:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:180:45: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3336:18: note: in expansion of macro ‘wOtherInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:182:34: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3336:18: note: in expansion of macro ‘wOtherInputMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3336:16: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/exevents.c:3336:16: note: (22) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
[255/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/setdval.c.o -MF Xi/liblibxserver_xi.a.p/setdval.c.o.d -o Xi/liblibxserver_xi.a.p/setdval.c.o -c ../Xi/setdval.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[256/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/setfocus.c.o -MF Xi/liblibxserver_xi.a.p/setfocus.c.o.d -o Xi/liblibxserver_xi.a.p/setfocus.c.o -c ../Xi/setfocus.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[257/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/setmmap.c.o -MF Xi/liblibxserver_xi.a.p/setmmap.c.o.d -o Xi/liblibxserver_xi.a.p/setmmap.c.o -c ../Xi/setmmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[258/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/setmode.c.o -MF Xi/liblibxserver_xi.a.p/setmode.c.o.d -o Xi/liblibxserver_xi.a.p/setmode.c.o -c ../Xi/setmode.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[259/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/ungrdev.c.o -MF Xi/liblibxserver_xi.a.p/ungrdev.c.o.d -o Xi/liblibxserver_xi.a.p/ungrdev.c.o -c ../Xi/ungrdev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[260/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/ungrdevb.c.o -MF Xi/liblibxserver_xi.a.p/ungrdevb.c.o.d -o Xi/liblibxserver_xi.a.p/ungrdevb.c.o -c ../Xi/ungrdevb.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[261/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/ungrdevk.c.o -MF Xi/liblibxserver_xi.a.p/ungrdevk.c.o.d -o Xi/liblibxserver_xi.a.p/ungrdevk.c.o -c ../Xi/ungrdevk.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[262/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xigetclientpointer.c.o -MF Xi/liblibxserver_xi.a.p/xigetclientpointer.c.o.d -o Xi/liblibxserver_xi.a.p/xigetclientpointer.c.o -c ../Xi/xigetclientpointer.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[263/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xichangecursor.c.o -MF Xi/liblibxserver_xi.a.p/xichangecursor.c.o.d -o Xi/liblibxserver_xi.a.p/xichangecursor.c.o -c ../Xi/xichangecursor.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[264/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xigrabdev.c.o -MF Xi/liblibxserver_xi.a.p/xigrabdev.c.o.d -o Xi/liblibxserver_xi.a.p/xigrabdev.c.o -c ../Xi/xigrabdev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[265/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xiallowev.c.o -MF Xi/liblibxserver_xi.a.p/xiallowev.c.o.d -o Xi/liblibxserver_xi.a.p/xiallowev.c.o -c ../Xi/xiallowev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[266/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xiqueryversion.c.o -MF Xi/liblibxserver_xi.a.p/xiqueryversion.c.o.d -o Xi/liblibxserver_xi.a.p/xiqueryversion.c.o -c ../Xi/xiqueryversion.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[267/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xipassivegrab.c.o -MF Xi/liblibxserver_xi.a.p/xipassivegrab.c.o.d -o Xi/liblibxserver_xi.a.p/xipassivegrab.c.o -c ../Xi/xipassivegrab.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[268/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xiquerypointer.c.o -MF Xi/liblibxserver_xi.a.p/xiquerypointer.c.o.d -o Xi/liblibxserver_xi.a.p/xiquerypointer.c.o -c ../Xi/xiquerypointer.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[269/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xichangehierarchy.c.o -MF Xi/liblibxserver_xi.a.p/xichangehierarchy.c.o.d -o Xi/liblibxserver_xi.a.p/xichangehierarchy.c.o -c ../Xi/xichangehierarchy.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[270/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xisetclientpointer.c.o -MF Xi/liblibxserver_xi.a.p/xisetclientpointer.c.o.d -o Xi/liblibxserver_xi.a.p/xisetclientpointer.c.o -c ../Xi/xisetclientpointer.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[271/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xisetdevfocus.c.o -MF Xi/liblibxserver_xi.a.p/xisetdevfocus.c.o.d -o Xi/liblibxserver_xi.a.p/xisetdevfocus.c.o -c ../Xi/xisetdevfocus.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[272/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/meson-generated_.._xf86DefModeSet.c.o -MF hw/xfree86/common/libxorg_common.a.p/meson-generated_.._xf86DefModeSet.c.o.d -o hw/xfree86/common/libxorg_common.a.p/meson-generated_.._xf86DefModeSet.c.o -c hw/xfree86/common/xf86DefModeSet.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[273/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xiproperty.c.o -MF Xi/liblibxserver_xi.a.p/xiproperty.c.o.d -o Xi/liblibxserver_xi.a.p/xiproperty.c.o -c ../Xi/xiproperty.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[274/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xiquerydevice.c.o -MF Xi/liblibxserver_xi.a.p/xiquerydevice.c.o.d -o Xi/liblibxserver_xi.a.p/xiquerydevice.c.o -c ../Xi/xiquerydevice.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[275/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xiselectev.c.o -MF Xi/liblibxserver_xi.a.p/xiselectev.c.o.d -o Xi/liblibxserver_xi.a.p/xiselectev.c.o -c ../Xi/xiselectev.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[276/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xiwarppointer.c.o -MF Xi/liblibxserver_xi.a.p/xiwarppointer.c.o.d -o Xi/liblibxserver_xi.a.p/xiwarppointer.c.o -c ../Xi/xiwarppointer.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[277/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86fbBus.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86fbBus.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86fbBus.c.o -c ../hw/xfree86/common/xf86fbBus.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[278/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86noBus.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86noBus.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86noBus.c.o -c ../hw/xfree86/common/xf86noBus.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[279/636] gcc -IXi/liblibxserver_xi.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi.a.p/xibarriers.c.o -MF Xi/liblibxserver_xi.a.p/xibarriers.c.o.d -o Xi/liblibxserver_xi.a.p/xibarriers.c.o -c ../Xi/xibarriers.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/input.h:58, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixstruct.h:28, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/xfixes/xfixesint.h:56, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.h:29, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:48: <--[csmock-gcc-wrapper]
In function ‘__xorg_list_add’,
inlined from ‘xorg_list_add’ at ../include/list.h:156:5,
inlined from ‘CreatePointerBarrierClient’ at ../Xi/xibarriers.c:615:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:135:16: warning: leak of ‘AllocBarrierDevice()’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c: In function ‘CreatePointerBarrierClient’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:539:1: note: (1) entry to ‘CreatePointerBarrierClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:556:8: note: (2) following ‘false’ branch (when ‘ret’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:560:5: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:563:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:568:18: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:98:48: note: (6) calling ‘dixLookupPrivate’ from ‘CreatePointerBarrierClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:569:10: note: in expansion of macro ‘GetBarrierScreen’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:54: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (7) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (8) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (9) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (10) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (12) ...to here <--[csmock-gcc-wrapper]
In function ‘CreatePointerBarrierClient’:
cc1: note: (13) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:98:48: note: (14) returning to ‘CreatePointerBarrierClient’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:569:10: note: in expansion of macro ‘GetBarrierScreen’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:574:8: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:575:33: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:601:28: note: (17) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:387:30: note: in definition of macro ‘nt_list_for_each_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:604:16: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:604:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:607:15: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:607:15: note: (21) calling ‘AllocBarrierDevice’ from ‘CreatePointerBarrierClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:102:37: note: (22) entry to ‘AllocBarrierDevice’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:106:11: note: (23) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:107:8: note: (24) assuming ‘pbd’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:107:8: note: (25) following ‘false’ branch (when ‘pbd’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:110:19: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:607:15: note: (27) returning to ‘CreatePointerBarrierClient’ from ‘AllocBarrierDevice’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:608:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:612:28: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:615:9: note: (30) inlined call to ‘xorg_list_add’ from ‘CreatePointerBarrierClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:156:5: note: (31) inlined call to ‘__xorg_list_add’ from ‘xorg_list_add’ <--[csmock-gcc-wrapper]
In function ‘__xorg_list_add’,
inlined from ‘xorg_list_add’ at ../include/list.h:156:5,
inlined from ‘CreatePointerBarrierClient’ at ../Xi/xibarriers.c:615:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:135:16: note: (32) ‘AllocBarrierDevice()’ leaks here; was allocated at (23) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c: In function ‘FreePointerBarrierClient’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:325:10: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:124:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:780:1: note: (1) entry to ‘XICreatePointerBarrier’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:539:1: note: (2) entry to ‘CreatePointerBarrierClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:120:13: note: (3) entry to ‘FreePointerBarrierClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:325:10: note: (4) infinite loop here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:124:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:325:23: note: (5) if it ever follows ‘true’ branch, it will always do so... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:124:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:125:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:326:25: note: (7) looping back... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:124:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:325:10: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:124:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:125:9: warning: double-‘free’ of ‘pbd’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:780:1: note: (1) entry to ‘XICreatePointerBarrier’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:792:36: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:796:8: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:803:33: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:806:16: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:806:16: note: (6) calling ‘CreatePointerBarrierClient’ from ‘XICreatePointerBarrier’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:539:1: note: (7) entry to ‘CreatePointerBarrierClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:556:8: note: (8) following ‘false’ branch (when ‘ret’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:560:5: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:563:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:564:35: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:640:5: note: (12) calling ‘FreePointerBarrierClient’ from ‘CreatePointerBarrierClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:120:13: note: (13) entry to ‘FreePointerBarrierClient’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:325:23: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:124:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:125:9: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:125:9: note: (16) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:325:23: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:124:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:125:9: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:125:9: note: (19) second ‘free’ here; first ‘free’ was at (16) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c: In function ‘add_master_func’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:716:19: warning: dereference of NULL ‘AllocBarrierDevice()’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:704:13: note: (1) entry to ‘add_master_func’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:715:11: note: (2) calling ‘AllocBarrierDevice’ from ‘add_master_func’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:102:37: note: (3) entry to ‘AllocBarrierDevice’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:106:11: note: (4) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:107:8: note: (5) assuming ‘pbd’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:107:8: note: (6) following ‘true’ branch (when ‘pbd’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:715:11: note: (8) returning to ‘add_master_func’ from ‘AllocBarrierDevice’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xi/xibarriers.c:716:19: note: (9) dereference of NULL ‘AllocBarrierDevice()’ <--[csmock-gcc-wrapper]
[280/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Globals.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Globals.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Globals.c.o -c ../hw/xfree86/common/xf86Globals.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[281/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86DPMS.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86DPMS.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86DPMS.c.o -c ../hw/xfree86/common/xf86DPMS.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[282/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86AutoConfig.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86AutoConfig.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86AutoConfig.c.o -c ../hw/xfree86/common/xf86AutoConfig.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[283/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Bus.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Bus.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Bus.c.o -c ../hw/xfree86/common/xf86Bus.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[284/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Events.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Events.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Events.c.o -c ../hw/xfree86/common/xf86Events.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Events.c: In function ‘removeInputHandler’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Events.c:615:21: warning: dereference of NULL ‘p’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Events.c:608:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (2) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Events.c:612:18: note: (3) following ‘false’ branch (when ‘p’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Events.c:615:25: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Events.c:615:21: note: (5) dereference of NULL ‘p’ <--[csmock-gcc-wrapper]
[285/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86VidMode.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86VidMode.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86VidMode.c.o -c ../hw/xfree86/common/xf86VidMode.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[286/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Cursor.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Cursor.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Cursor.c.o -c ../hw/xfree86/common/xf86Cursor.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[287/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Init.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Init.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Init.c.o -c ../hw/xfree86/common/xf86Init.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[288/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86cmap.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86cmap.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86cmap.c.o -c ../hw/xfree86/common/xf86cmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[289/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Option.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Option.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Option.c.o -c ../hw/xfree86/common/xf86Option.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c: In function ‘xf86NormalizeName’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:916:22: warning: dereference of possibly-NULL ‘q’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:904:8: note: (1) following ‘false’ branch (when ‘s’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:907:18: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:907:11: note: (3) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:908:29: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:909:9: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:909:9: note: (6) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:914:9: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:915:16: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:39: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:916:24: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:916:22: note: (10) ‘q’ could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:918:22: warning: dereference of possibly-NULL ‘q’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:904:8: note: (1) following ‘false’ branch (when ‘s’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:907:18: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:907:11: note: (3) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:908:29: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:909:9: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:909:9: note: (6) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:914:9: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:915:16: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:918:19: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:918:22: note: (10) ‘q’ could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:921:8: warning: dereference of possibly-NULL ‘q’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:904:8: note: (1) following ‘false’ branch (when ‘s’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:907:18: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:907:11: note: (3) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Option.c:921:8: note: (4) ‘q’ could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper]
[290/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Configure.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Configure.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Configure.c.o -c ../hw/xfree86/common/xf86Configure.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c: In function ‘configureInputSection’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:179:27: warning: dereference of possibly-NULL ‘mouse’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:35: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:161:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86str.h:37, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86.h:44, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:30: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:82:22: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:163:27: note: in expansion of macro ‘xnfstrdup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:178:13: note: (3) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:179:27: note: (4) ‘mouse’ could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c: In function ‘configureScreenSection’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:213:34: warning: dereference of possibly-NULL ‘conf_display’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:200:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:202:5: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:209:19: note: (3) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:212:24: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:212:24: note: (5) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:213:34: note: (6) ‘conf_display’ could be NULL: unchecked value from (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c: In function ‘configureLayoutSection’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:338:31: warning: dereference of possibly-NULL ‘iptr’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:329:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:331:25: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:336:16: note: (3) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:338:31: note: (4) ‘iptr’ could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:352:31: warning: dereference of possibly-NULL ‘iptr’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:329:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:331:25: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:350:16: note: (3) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:352:31: note: (4) ‘iptr’ could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:367:21: warning: dereference of possibly-NULL ‘aptr’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:329:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:331:25: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:361:29: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:365:16: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:365:16: note: (5) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:367:21: note: (6) ‘aptr’ could be NULL: unchecked value from (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c: In function ‘configureModuleSection’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:410:31: warning: dereference of possibly-NULL ‘module’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:402:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:404:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:405:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:406:26: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:409:22: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:409:22: note: (7) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:410:31: note: (8) ‘module’ could be NULL: unchecked value from (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c: In function ‘handle_detailed_input’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:459:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:454:5: note: (1) following ‘case 252:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:455:5: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:456:30: note: (3) when ‘realloc’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:456:28: note: (4) ‘0’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:459:9: note: (5) argument 1 (‘realloc(*(struct <anonymous> *)data.mon_modelname, strlen(&*det_mon.section.name) + 1)’) NULL where non-null expected <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c: In function ‘DoConfigure’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:650:85: warning: dereference of possibly-NULL ‘xf86config’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:595:1: note: (1) entry to ‘DoConfigure’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:607:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:612:5: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:624:18: note: (4) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:637:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (6) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:643:35: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:648:22: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:648:22: note: (9) calling ‘configureDeviceSection’ from ‘DoConfigure’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:252:1: note: (10) entry to ‘configureDeviceSection’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (11) following ‘true’ branch (when ‘ptr’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:258:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
In file included from /usr/include/sys/mman.h:25, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/xf86_OSlib.h:195, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:56: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:258:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:648:22: note: (13) returning to ‘DoConfigure’ from ‘configureDeviceSection’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Configure.c:650:85: note: (14) ‘xf86config’ could be NULL: unchecked value from (4) <--[csmock-gcc-wrapper]
[291/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86fbman.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86fbman.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86fbman.c.o -c ../hw/xfree86/common/xf86fbman.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c: In function ‘localAllocateOffscreenLinear’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:974:32: warning: leak of ‘link’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:902:1: note: (1) entry to ‘localAllocateOffscreenLinear’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:916:29: note: (2) calling ‘dixLookupPrivate’ from ‘localAllocateOffscreenLinear’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86str.h:39, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86.h:44, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:34: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (3) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
cc1: note: (6) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (7) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (8) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (10) ...to here <--[csmock-gcc-wrapper]
In function ‘localAllocateOffscreenLinear’:
cc1: note: (11) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:916:29: note: (12) returning to ‘localAllocateOffscreenLinear’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:921:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:926:18: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:926:18: note: (15) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:926:8: note: (16) assuming ‘link’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:926:8: note: (17) following ‘false’ branch (when ‘link’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:930:15: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:957:17: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:957:17: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:957:17: note: (21) calling ‘localAllocateOffscreenArea’ from ‘localAllocateOffscreenLinear’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:436:1: note: (22) entry to ‘localAllocateOffscreenArea’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:445:29: note: (23) calling ‘dixLookupPrivate’ from ‘localAllocateOffscreenArea’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (24) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (26) ...to here
cc1: note: (27) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (28) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (29) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (31) ...to here <--[csmock-gcc-wrapper]
In function ‘localAllocateOffscreenLinear’:
cc1: note: (32) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:445:29: note: (33) returning to ‘localAllocateOffscreenArea’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:447:17: note: (34) calling ‘AllocateArea’ from ‘localAllocateOffscreenArea’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:346:1: note: (35) entry to ‘AllocateArea’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:366:19: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:367:17: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:375:12: note: (38) following ‘false’ branch (when ‘link’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:378:14: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:386:8: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:416:8: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:416:8: note: (42) following ‘true’ branch (when ‘area’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:417:23: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:429:9: note: (44) calling ‘RegionUninit’ from ‘AllocateArea’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/region.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/window.h:51, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/input.h:55, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86str.h:38: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (45) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:169:1: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:429:9: note: (48) returning to ‘AllocateArea’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:447:17: note: (49) returning to ‘localAllocateOffscreenArea’ from ‘AllocateArea’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:447:8: note: (50) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:448:9: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:448:9: note: (52) calling ‘SendCallFreeBoxCallbacks’ from ‘localAllocateOffscreenArea’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:298:1: note: (53) entry to ‘SendCallFreeBoxCallbacks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:302:12: note: (54) following ‘false’ branch (when ‘i == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:307:1: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:448:9: note: (56) returning to ‘localAllocateOffscreenArea’ from ‘SendCallFreeBoxCallbacks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:957:17: note: (57) returning to ‘localAllocateOffscreenLinear’ from ‘localAllocateOffscreenArea’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:957:8: note: (58) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:961:20: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.c:974:32: note: (60) ‘link’ leaks here; was allocated at (15) <--[csmock-gcc-wrapper]
[292/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xorgHelper.c.o -MF hw/xfree86/common/libxorg_common.a.p/xorgHelper.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xorgHelper.c.o -c ../hw/xfree86/common/xorgHelper.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[293/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xisb.c.o -MF hw/xfree86/common/libxorg_common.a.p/xisb.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xisb.c.o -c ../hw/xfree86/common/xisb.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[294/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86PM.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86PM.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86PM.c.o -c ../hw/xfree86/common/xf86PM.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[295/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Config.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Config.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Config.c.o -c ../hw/xfree86/common/xf86Config.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[296/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Helper.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Helper.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Helper.c.o -c ../hw/xfree86/common/xf86Helper.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[297/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86RandR.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86RandR.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86RandR.c.o -c ../hw/xfree86/common/xf86RandR.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[298/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Xinput.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Xinput.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Xinput.c.o -c ../hw/xfree86/common/xf86Xinput.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[299/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Mode.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Mode.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Mode.c.o -c ../hw/xfree86/common/xf86Mode.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[300/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86Extensions.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86Extensions.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86Extensions.c.o -c ../hw/xfree86/common/xf86Extensions.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[301/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86DGA.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86DGA.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86DGA.c.o -c ../hw/xfree86/common/xf86DGA.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[302/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86xvmc.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86xvmc.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86xvmc.c.o -c ../hw/xfree86/common/xf86xvmc.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[303/636] gcc -Ihw/xfree86/ddc/libxorg_ddc.a.p -Ihw/xfree86/ddc -I../hw/xfree86/ddc -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/ddc/libxorg_ddc.a.p/print_edid.c.o -MF hw/xfree86/ddc/libxorg_ddc.a.p/print_edid.c.o.d -o hw/xfree86/ddc/libxorg_ddc.a.p/print_edid.c.o -c ../hw/xfree86/ddc/print_edid.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[304/636] gcc -Ihw/xfree86/ddc/libxorg_ddc.a.p -Ihw/xfree86/ddc -I../hw/xfree86/ddc -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/ddc/libxorg_ddc.a.p/ddc.c.o -MF hw/xfree86/ddc/libxorg_ddc.a.p/ddc.c.o.d -o hw/xfree86/ddc/libxorg_ddc.a.p/ddc.c.o -c ../hw/xfree86/ddc/ddc.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[305/636] gcc -Ihw/xfree86/ddc/libxorg_ddc.a.p -Ihw/xfree86/ddc -I../hw/xfree86/ddc -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/ddc/libxorg_ddc.a.p/ddcProperty.c.o -MF hw/xfree86/ddc/libxorg_ddc.a.p/ddcProperty.c.o.d -o hw/xfree86/ddc/libxorg_ddc.a.p/ddcProperty.c.o -c ../hw/xfree86/ddc/ddcProperty.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[306/636] gcc -Ihw/xfree86/dri2/libxorg_dri2.a.p -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/dri2/libxorg_dri2.a.p/dri2ext.c.o -MF hw/xfree86/dri2/libxorg_dri2.a.p/dri2ext.c.o.d -o hw/xfree86/dri2/libxorg_dri2.a.p/dri2ext.c.o -c ../hw/xfree86/dri2/dri2ext.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[307/636] gcc -Ihw/xfree86/i2c/libxorg_i2c.a.p -Ihw/xfree86/i2c -I../hw/xfree86/i2c -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/i2c/libxorg_i2c.a.p/xf86i2c.c.o -MF hw/xfree86/i2c/libxorg_i2c.a.p/xf86i2c.c.o.d -o hw/xfree86/i2c/libxorg_i2c.a.p/xf86i2c.c.o -c ../hw/xfree86/i2c/xf86i2c.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[308/636] gcc -Ihw/xfree86/ddc/libxorg_ddc.a.p -Ihw/xfree86/ddc -I../hw/xfree86/ddc -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/ddc/libxorg_ddc.a.p/interpret_edid.c.o -MF hw/xfree86/ddc/libxorg_ddc.a.p/interpret_edid.c.o.d -o hw/xfree86/ddc/libxorg_ddc.a.p/interpret_edid.c.o -c ../hw/xfree86/ddc/interpret_edid.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[309/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86platformBus.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86platformBus.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86platformBus.c.o -c ../hw/xfree86/common/xf86platformBus.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c: In function ‘doPlatformProbe’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:474:57: warning: dereference of NULL ‘drvp’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:614:1: note: (1) entry to ‘xf86platformAddDevice’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:621:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:625:5: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:636:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:639:17: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:640:5: note: (6) calling ‘doPlatformProbe’ from ‘xf86platformAddDevice’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:446:13: note: (7) entry to ‘doPlatformProbe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:452:8: note: (8) following ‘false’ branch (when ‘gdev’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:455:14: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:455:14: note: (10) calling ‘xf86ClaimPlatformSlot’ from ‘doPlatformProbe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:398:1: note: (11) entry to ‘xf86ClaimPlatformSlot’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:413:12: note: (12) following ‘false’ branch (when ‘dev’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:416:28: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:455:14: note: (14) returning to ‘doPlatformProbe’ from ‘xf86ClaimPlatformSlot’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:458:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:473:8: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:473:8: note: (17) following ‘true’ branch (when ‘entity != -1’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:474:17: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:474:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:474:57: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:474:57: note: (21) dereference of NULL ‘drvp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:481:17: warning: dereference of NULL ‘drvp’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:614:1: note: (1) entry to ‘xf86platformAddDevice’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:621:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:625:5: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:636:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:639:17: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:640:5: note: (6) calling ‘doPlatformProbe’ from ‘xf86platformAddDevice’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:446:13: note: (7) entry to ‘doPlatformProbe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:452:8: note: (8) following ‘false’ branch (when ‘gdev’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:455:14: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:455:14: note: (10) calling ‘xf86ClaimPlatformSlot’ from ‘doPlatformProbe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:398:1: note: (11) entry to ‘xf86ClaimPlatformSlot’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:413:12: note: (12) following ‘false’ branch (when ‘dev’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:416:28: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:455:14: note: (14) returning to ‘doPlatformProbe’ from ‘xf86ClaimPlatformSlot’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:458:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:473:8: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:473:8: note: (17) following ‘true’ branch (when ‘entity != -1’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:474:17: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:474:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:481:17: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.c:481:17: note: (21) dereference of NULL ‘drvp’ <--[csmock-gcc-wrapper]
[310/636] gcc -Ihw/xfree86/loader/libxorg_loader.a.p -Ihw/xfree86/loader -I../hw/xfree86/loader -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/loader/libxorg_loader.a.p/loader.c.o -MF hw/xfree86/loader/libxorg_loader.a.p/loader.c.o.d -o hw/xfree86/loader/libxorg_loader.a.p/loader.c.o -c ../hw/xfree86/loader/loader.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[311/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86xv.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86xv.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86xv.c.o -c ../hw/xfree86/common/xf86xv.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[312/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86pciBus.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86pciBus.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86pciBus.c.o -c ../hw/xfree86/common/xf86pciBus.c
[313/636] gcc -Ihw/xfree86/common/libxorg_common.a.p -Ihw/xfree86/common -I../hw/xfree86/common -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I. -I.. -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DFALLBACK_INPUT_DRIVER="libinput"' -MD -MQ hw/xfree86/common/libxorg_common.a.p/xf86VGAarbiter.c.o -MF hw/xfree86/common/libxorg_common.a.p/xf86VGAarbiter.c.o.d -o hw/xfree86/common/libxorg_common.a.p/xf86VGAarbiter.c.o -c ../hw/xfree86/common/xf86VGAarbiter.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[314/636] gcc -Ihw/xfree86/dri2/libxorg_dri2.a.p -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/dri2/libxorg_dri2.a.p/dri2.c.o -MF hw/xfree86/dri2/libxorg_dri2.a.p/dri2.c.o.d -o hw/xfree86/dri2/libxorg_dri2.a.p/dri2.c.o -c ../hw/xfree86/dri2/dri2.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:42: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c: In function ‘DRI2ScreenInit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:108:15: warning: leak of ‘ds’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1515:16: note: in expansion of macro ‘FALSE’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1514:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1517:10: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1517:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1520:10: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1520:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1523:10: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1523:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1526:10: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1526:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1529:10: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1529:10: note: (11) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1530:8: note: (12) assuming ‘ds’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1530:8: note: (13) following ‘false’ branch (when ‘ds’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1533:16: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1559:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1564:8: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1564:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1568:8: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1568:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1585:12: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1585:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1586:23: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1591:12: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1593:33: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1607:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1610:17: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1610:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1615:13: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1617:16: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (30) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:108:15: note: (31) ‘ds’ leaks here; was allocated at (11) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.c:1515:16: note: in expansion of macro ‘FALSE’ <--[csmock-gcc-wrapper]
[315/636] gcc -Ihw/xfree86/loader/libxorg_loader.a.p -Ihw/xfree86/loader -I../hw/xfree86/loader -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/loader/libxorg_loader.a.p/loadmod.c.o -MF hw/xfree86/loader/libxorg_loader.a.p/loadmod.c.o.d -o hw/xfree86/loader/libxorg_loader.a.p/loadmod.c.o -c ../hw/xfree86/loader/loadmod.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c: In function ‘LoadModule’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:705:14: warning: use of possibly-NULL ‘m’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:668:1: note: (1) entry to ‘LoadModule’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:685:16: note: (2) calling ‘InitPatterns’ from ‘LoadModule’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:206:1: note: (3) entry to ‘InitPatterns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:226:8: note: (4) following ‘false’ branch (when ‘patternlist’ is NULL)... <--[csmock-gcc-wrapper]
In file included from /usr/include/dirent.h:247, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:62: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:232:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:685:16: note: (6) returning to ‘LoadModule’ from ‘InitPatterns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:701:8: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:702:20: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:702:20: note: (9) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:704:37: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:705:14: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:705:14: note: (12) argument 1 (‘m’) from (9) could be NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:56, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/gc.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h:51, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:53: <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:982:25: warning: leak of ‘LoaderGetCanonicalName(module, InitPatterns(0))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:668:1: note: (1) entry to ‘LoadModule’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:685:16: note: (2) calling ‘InitPatterns’ from ‘LoadModule’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:206:1: note: (3) entry to ‘InitPatterns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:226:8: note: (4) following ‘false’ branch (when ‘patternlist’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:232:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:685:16: note: (6) returning to ‘LoadModule’ from ‘InitPatterns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:686:12: note: (7) calling ‘LoaderGetCanonicalName’ from ‘LoadModule’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:966:1: note: (8) entry to ‘LoaderGetCanonicalName’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:994:12: note: (9) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:686:12: note: (10) returning to ‘LoadModule’ from ‘LoaderGetCanonicalName’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:687:26: note: (11) assuming ‘LoaderGetCanonicalName(module, InitPatterns(0))’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:687:26: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:687:29: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:687:26: note: (14) following ‘false’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:696:9: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/loader/loadmod.c:982:25: note: (16) ‘LoaderGetCanonicalName(module, InitPatterns(0))’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper]
[316/636] gcc -Ihw/xfree86/modes/libxorg_modes.a.p -Ihw/xfree86/modes -I../hw/xfree86/modes -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/modes/libxorg_modes.a.p/xf86gtf.c.o -MF hw/xfree86/modes/libxorg_modes.a.p/xf86gtf.c.o.d -o hw/xfree86/modes/libxorg_modes.a.p/xf86gtf.c.o -c ../hw/xfree86/modes/xf86gtf.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[317/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/bus_nobus.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/bus_nobus.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/bus_nobus.c.o -c ../hw/xfree86/os-support/bus/nobus.c
[318/636] gcc -Ihw/xfree86/modes/libxorg_modes.a.p -Ihw/xfree86/modes -I../hw/xfree86/modes -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/modes/libxorg_modes.a.p/xf86DiDGA.c.o -MF hw/xfree86/modes/libxorg_modes.a.p/xf86DiDGA.c.o.d -o hw/xfree86/modes/libxorg_modes.a.p/xf86DiDGA.c.o -c ../hw/xfree86/modes/xf86DiDGA.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[319/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/shared_posix_tty.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/shared_posix_tty.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/shared_posix_tty.c.o -c ../hw/xfree86/os-support/shared/posix_tty.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/shared/posix_tty.c:63: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/shared/posix_tty.c: In function ‘xf86CloseSerial’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/shared/posix_tty.c:388:17: warning: double ‘close’ of file descriptor ‘fd’ [CWE-1341] [-Wanalyzer-fd-double-close] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/xf86_OSlib.h:350:31: note: in definition of macro ‘SYSCALL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/shared/posix_tty.c:388:17: note: (1) first ‘close’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/xf86_OSlib.h:350:31: note: in definition of macro ‘SYSCALL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/xf86_OSlib.h:350:44: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/shared/posix_tty.c:388:5: note: in expansion of macro ‘SYSCALL’ <--[csmock-gcc-wrapper]
cc1: note: (3) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/shared/posix_tty.c:388:17: note: (4) second ‘close’ here; first ‘close’ was at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/xf86_OSlib.h:350:31: note: in definition of macro ‘SYSCALL’ <--[csmock-gcc-wrapper]
[320/636] gcc -Ihw/xfree86/modes/libxorg_modes.a.p -Ihw/xfree86/modes -I../hw/xfree86/modes -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/modes/libxorg_modes.a.p/xf86Cursors.c.o -MF hw/xfree86/modes/libxorg_modes.a.p/xf86Cursors.c.o.d -o hw/xfree86/modes/libxorg_modes.a.p/xf86Cursors.c.o -c ../hw/xfree86/modes/xf86Cursors.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[321/636] gcc -Ihw/xfree86/modes/libxorg_modes.a.p -Ihw/xfree86/modes -I../hw/xfree86/modes -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/modes/libxorg_modes.a.p/xf86EdidModes.c.o -MF hw/xfree86/modes/libxorg_modes.a.p/xf86EdidModes.c.o.d -o hw/xfree86/modes/libxorg_modes.a.p/xf86EdidModes.c.o -c ../hw/xfree86/modes/xf86EdidModes.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[322/636] gcc -Ihw/xfree86/modes/libxorg_modes.a.p -Ihw/xfree86/modes -I../hw/xfree86/modes -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/modes/libxorg_modes.a.p/xf86Modes.c.o -MF hw/xfree86/modes/libxorg_modes.a.p/xf86Modes.c.o.d -o hw/xfree86/modes/libxorg_modes.a.p/xf86Modes.c.o -c ../hw/xfree86/modes/xf86Modes.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[323/636] gcc -Ihw/xfree86/modes/libxorg_modes.a.p -Ihw/xfree86/modes -I../hw/xfree86/modes -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/modes/libxorg_modes.a.p/xf86Rotate.c.o -MF hw/xfree86/modes/libxorg_modes.a.p/xf86Rotate.c.o.d -o hw/xfree86/modes/libxorg_modes.a.p/xf86Rotate.c.o -c ../hw/xfree86/modes/xf86Rotate.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[324/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/shared_sigio.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/shared_sigio.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/shared_sigio.c.o -c ../hw/xfree86/os-support/shared/sigio.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[325/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/bus_Pci.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/bus_Pci.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/bus_Pci.c.o -c ../hw/xfree86/os-support/bus/Pci.c
[326/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/shared_vidmem.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/shared_vidmem.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/shared_vidmem.c.o -c ../hw/xfree86/os-support/shared/vidmem.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[327/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_bell.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_bell.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_bell.c.o -c ../hw/xfree86/os-support/linux/lnx_bell.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[328/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_kmod.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_kmod.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_kmod.c.o -c ../hw/xfree86/os-support/linux/lnx_kmod.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[329/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_platform.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_platform.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_platform.c.o -c ../hw/xfree86/os-support/linux/lnx_platform.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[330/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_video.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_video.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_video.c.o -c ../hw/xfree86/os-support/linux/lnx_video.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[331/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/misc_SlowBcopy.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/misc_SlowBcopy.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/misc_SlowBcopy.c.o -c ../hw/xfree86/os-support/misc/SlowBcopy.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[332/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_init.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_init.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_init.c.o -c ../hw/xfree86/os-support/linux/lnx_init.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[333/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/shared_VTsw_usl.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/shared_VTsw_usl.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/shared_VTsw_usl.c.o -c ../hw/xfree86/os-support/shared/VTsw_usl.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[334/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/shared_pm_noop.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/shared_pm_noop.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/shared_pm_noop.c.o -c ../hw/xfree86/os-support/shared/pm_noop.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[335/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_agp.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_agp.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_agp.c.o -c ../hw/xfree86/os-support/linux/lnx_agp.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[336/636] gcc -Ihw/xfree86/modes/libxorg_modes.a.p -Ihw/xfree86/modes -I../hw/xfree86/modes -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/modes/libxorg_modes.a.p/xf86Crtc.c.o -MF hw/xfree86/modes/libxorg_modes.a.p/xf86Crtc.c.o.d -o hw/xfree86/modes/libxorg_modes.a.p/xf86Crtc.c.o -c ../hw/xfree86/modes/xf86Crtc.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[337/636] gcc -Ihw/xfree86/os-support/libxorg_os_support.a.p -Ihw/xfree86/os-support -I../hw/xfree86/os-support -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/os-support/libxorg_os_support.a.p/linux_systemd-logind.c.o -MF hw/xfree86/os-support/libxorg_os_support.a.p/linux_systemd-logind.c.o.d -o hw/xfree86/os-support/libxorg_os_support.a.p/linux_systemd-logind.c.o -c ../hw/xfree86/os-support/linux/systemd-logind.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[338/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Device.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Device.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Device.c.o -c ../hw/xfree86/parser/Device.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Device.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
[339/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Files.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Files.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Files.c.o -c ../hw/xfree86/parser/Files.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c: In function ‘xf86parseFilesSection’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:109:32: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:61: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:86:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
cc1: note: (2) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:88:49: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (5) following ‘case 17:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:93:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:94:16: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:97:17: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:98:16: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:99:38: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:99:38: note: (11) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:109:34: note: (12) when ‘realloc’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:109:32: note: (13) ‘<unknown>’ leaks here; was allocated at (11) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:111:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:86:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
cc1: note: (2) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:88:49: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (5) following ‘case 17:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:93:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:94:16: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:97:17: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:109:34: note: (9) when ‘realloc’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:109:32: note: (10) ‘0’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:110:16: note: (11) following ‘true’ branch (when ‘j != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:111:17: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:111:17: note: (13) argument 1 (‘realloc(*ptr.file_fontpath, (long unsigned int)i)’) NULL where non-null expected <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:113:13: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:86:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
cc1: note: (2) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:88:49: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (5) following ‘case 17:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:93:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:94:16: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:97:17: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:109:34: note: (9) when ‘realloc’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:109:32: note: (10) ‘0’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:110:16: note: (11) following ‘false’ branch (when ‘j == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:113:13: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:113:13: note: (13) ‘0’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:113:13: note: (14) argument 1 (‘*ptr.file_fontpath’) NULL where non-null expected <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strcat’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:123:41: warning: dereference of possibly-NULL ‘malloc(1)’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:86:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
cc1: note: (2) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:88:49: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (5) following ‘case 18:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:116:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:117:16: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:120:17: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:121:16: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:122:40: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:122:40: note: (11) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:123:41: note: (12) ‘malloc(1)’ could be NULL: unchecked value from (11) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:134:34: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:86:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
cc1: note: (2) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:88:49: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (5) following ‘case 18:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:116:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:117:16: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:120:17: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:121:16: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:122:40: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:122:40: note: (11) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:123:41: note: (12) assuming ‘<unknown>’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:134:36: note: (13) when ‘realloc’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:134:34: note: (14) ‘<unknown>’ leaks here; was allocated at (11) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:136:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:86:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
cc1: note: (2) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:88:49: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (5) following ‘case 18:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:116:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:117:16: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:120:17: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:134:36: note: (9) when ‘realloc’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:134:34: note: (10) ‘0’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:135:16: note: (11) following ‘true’ branch (when ‘l != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:136:17: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:136:17: note: (13) argument 1 (‘realloc(*ptr.file_modulepath, (long unsigned int)k)’) NULL where non-null expected <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:138:13: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (1) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:86:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
cc1: note: (2) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:88:49: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:89:9: note: (5) following ‘case 18:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:116:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:117:16: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:120:17: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:134:36: note: (9) when ‘realloc’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:134:34: note: (10) ‘0’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:135:16: note: (11) following ‘false’ branch (when ‘l == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:138:13: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:138:13: note: (13) ‘0’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Files.c:138:13: note: (14) argument 1 (‘*ptr.file_modulepath’) NULL where non-null expected <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strcat’ must be non-null
[340/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Input.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Input.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Input.c.o -c ../hw/xfree86/parser/Input.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[341/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Flags.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Flags.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Flags.c.o -c ../hw/xfree86/parser/Flags.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c: In function ‘addNewOption2’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:201:19: warning: dereference of possibly-NULL ‘new’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:227:1: note: (1) entry to ‘xf86optionListDup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:232:12: note: (2) following ‘true’ branch (when ‘opt’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:233:19: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:233:52: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:234:53: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:234:18: note: (6) calling ‘xf86addNewOption’ from ‘xf86optionListDup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:211:1: note: (7) entry to ‘xf86addNewOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:213:12: note: (8) calling ‘addNewOption2’ from ‘xf86addNewOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:189:1: note: (9) entry to ‘addNewOption2’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:194:8: note: (10) following ‘false’ branch (when ‘head’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:200:15: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:200:15: note: (12) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:201:19: note: (13) ‘new’ could be NULL: unchecked value from (12) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c: In function ‘xf86parseOption’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:438:29: warning: dereference of NULL ‘xf86newOption(name, xf86_lex_val.str)’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:423:1: note: (1) entry to ‘xf86parseOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:429:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:435:10: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:436:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:437:18: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:437:18: note: (6) calling ‘xf86newOption’ from ‘xf86parseOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:275:1: note: (7) entry to ‘xf86newOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:279:11: note: (8) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:280:8: note: (9) assuming ‘opt’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:280:8: note: (10) following ‘true’ branch (when ‘opt’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (11) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:437:18: note: (12) returning to ‘xf86parseOption’ from ‘xf86newOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:438:29: note: (13) dereference of NULL ‘xf86newOption(name, xf86_lex_val.str)’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:446:29: warning: dereference of NULL ‘xf86newOption(name, 0)’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:423:1: note: (1) entry to ‘xf86parseOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:429:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:435:10: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:436:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:445:18: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:445:18: note: (6) calling ‘xf86newOption’ from ‘xf86parseOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:275:1: note: (7) entry to ‘xf86newOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:279:11: note: (8) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:280:8: note: (9) assuming ‘opt’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:280:8: note: (10) following ‘true’ branch (when ‘opt’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (11) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:445:18: note: (12) returning to ‘xf86parseOption’ from ‘xf86newOption’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Flags.c:446:29: note: (13) dereference of NULL ‘xf86newOption(name, 0)’ <--[csmock-gcc-wrapper]
[342/636] gcc -Ihw/xfree86/modes/libxorg_modes.a.p -Ihw/xfree86/modes -I../hw/xfree86/modes -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/modes/libxorg_modes.a.p/xf86RandR12.c.o -MF hw/xfree86/modes/libxorg_modes.a.p/xf86RandR12.c.o.d -o hw/xfree86/modes/libxorg_modes.a.p/xf86RandR12.c.o -c ../hw/xfree86/modes/xf86RandR12.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c: In function ‘xf86ComputeCrtcPan’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:306:54: warning: use of uninitialized value ‘r[1]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1876:1: note: (1) entry to ‘xf86RandR12PointerMoved’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:83:5: note: (2) calling ‘dixLookupPrivate’ from ‘xf86RandR12PointerMoved’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1880:31: note: in expansion of macro ‘XF86RANDRINFO’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86str.h:39, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86.h:44, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:27: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (3) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (4) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (5) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (6) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (8) ...to here <--[csmock-gcc-wrapper]
In function ‘xf86ComputeCrtcPan’:
cc1: note: (9) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:83:5: note: (10) returning to ‘xf86RandR12PointerMoved’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1880:31: note: in expansion of macro ‘XF86RANDRINFO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1885:19: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1886:30: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1886:9: note: (13) calling ‘xf86RandR13Pan’ from ‘xf86RandR12PointerMoved’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:346:1: note: (14) entry to ‘xf86RandR13Pan’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:352:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:355:14: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:355:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:356:32: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:402:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:403:20: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:407:16: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:408:57: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:422:12: note: (23) following ‘true’ branch (when ‘panned != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:423:13: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:423:13: note: (25) calling ‘xf86ComputeCrtcPan’ from ‘xf86RandR13Pan’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:200:1: note: (26) entry to ‘xf86ComputeCrtcPan’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:294:16: note: (27) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:206:8: note: (28) following ‘true’ branch (when ‘transform_in_use != 0’)... <--[csmock-gcc-wrapper]
cc1: note: (29) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:301:23: note: (30) following ‘true’ branch (when ‘i != 3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:302:27: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:301:23: note: (32) following ‘false’ branch (when ‘i == 3’)... <--[csmock-gcc-wrapper]
cc1: note: (33) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:305:23: note: (34) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:306:27: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:306:54: note: (36) use of uninitialized value ‘r[1]’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c: In function ‘xf86RandR12SetInfo12’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1658:32: warning: dereference of possibly-NULL ‘crtcs’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86str.h:37: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1651:13: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1652:19: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1653:38: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1656:23: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1657:23: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1657:16: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1658:40: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1658:32: note: (8) ‘crtcs + (long unsigned int)ncrtc * 8’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1695:34: warning: dereference of possibly-NULL ‘clones’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1650:14: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1652:19: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1653:38: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1660:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1666:9: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1691:23: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1692:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1694:16: note: (8) following ‘false’ branch (when ‘o == l’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1691:46: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1691:23: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1692:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.c:1695:34: note: (12) ‘clones + (long unsigned int)nclone * 8’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
[343/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Pointer.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Pointer.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Pointer.c.o -c ../hw/xfree86/parser/Pointer.c
[344/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/InputClass.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/InputClass.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/InputClass.c.o -c ../hw/xfree86/parser/InputClass.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[345/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Layout.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Layout.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Layout.c.o -c ../hw/xfree86/parser/Layout.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c: In function ‘xf86layoutAddInputDevices’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:454:41: warning: dereference of possibly-NULL ‘iptr’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:438:12: note: (1) following ‘true’ branch (when ‘input’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:440:19: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:439:12: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:441:33: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:444:20: note: (5) following ‘false’ branch (when ‘iref’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:450:16: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:450:16: note: (7) following ‘true’ branch (when ‘iref’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:453:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:453:24: note: (9) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Layout.c:454:41: note: (10) ‘iptr’ could be NULL: unchecked value from (9) <--[csmock-gcc-wrapper]
[346/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Module.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Module.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Module.c.o -c ../hw/xfree86/parser/Module.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Module.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Module.c: In function ‘xf86addNewLoadDirective’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Module.c:227:20: warning: dereference of possibly-NULL ‘new’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Module.c:226:11: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Module.c:227:20: note: (2) ‘new’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
[347/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Video.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Video.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Video.c.o -c ../hw/xfree86/parser/Video.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Video.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
[348/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Monitor.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Monitor.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Monitor.c.o -c ../hw/xfree86/parser/Monitor.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Monitor.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
[349/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/OutputClass.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/OutputClass.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/OutputClass.c.o -c ../hw/xfree86/parser/OutputClass.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c: In function ‘xf86freeOutputClassList’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:61:40: warning: dereference of NULL ‘list’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:91:1: note: (1) entry to ‘xf86parseOutputClassSection’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:33: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:98:3: note: (2) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:96:5: note: in expansion of macro ‘parsePrologue’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:99:5: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:101:51: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:102:9: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:102:9: note: (6) following ‘case -4:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:143:9: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:74:17: note: (8) calling ‘xf86freeOutputClassList’ from ‘xf86parseOutputClassSection’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:122:47: note: in expansion of macro ‘CLEANUP’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:144:13: note: in expansion of macro ‘Error’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:46:1: note: (9) entry to ‘xf86freeOutputClassList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:50:12: note: (10) following ‘true’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:54:21: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:95:25: note: in definition of macro ‘TestFree’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:95:24: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:54:9: note: in expansion of macro ‘TestFree’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:55:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:95:25: note: in definition of macro ‘TestFree’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:95:24: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:55:9: note: in expansion of macro ‘TestFree’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:56:21: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:95:25: note: in definition of macro ‘TestFree’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:95:24: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:56:9: note: in expansion of macro ‘TestFree’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:57:21: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:95:25: note: in definition of macro ‘TestFree’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Configint.h:95:24: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:57:9: note: in expansion of macro ‘TestFree’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Optionstr.h:27, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/xf86Optrec.h:67, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/xf86Parser.h:67, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:31: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:323:14: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:59:9: note: in expansion of macro ‘xorg_list_for_each_entry_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:325:23: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:59:9: note: in expansion of macro ‘xorg_list_for_each_entry_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:60:13: note: (21) inlined call to ‘xorg_list_del’ from ‘xf86freeOutputClassList’ <--[csmock-gcc-wrapper]
In function ‘xorg_list_del’,
inlined from ‘xf86freeOutputClassList’ at ../hw/xfree86/parser/OutputClass.c:60:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h:204:5: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c: In function ‘xf86freeOutputClassList’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:61:23: note: (23) ‘list’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/OutputClass.c:61:40: note: (24) dereference of NULL ‘list’ <--[csmock-gcc-wrapper]
[350/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Extensions.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Extensions.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Extensions.c.o -c ../hw/xfree86/parser/Extensions.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[351/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/write.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/write.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/write.c.o -c ../hw/xfree86/parser/write.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[352/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/DRI.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/DRI.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/DRI.c.o -c ../hw/xfree86/parser/DRI.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[353/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Vendor.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Vendor.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Vendor.c.o -c ../hw/xfree86/parser/Vendor.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Vendor.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
[354/636] gcc -Ihw/xfree86/xkb/libxorg_xkb.a.p -Ihw/xfree86/xkb -I../hw/xfree86/xkb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/xkb/libxorg_xkb.a.p/xkbVT.c.o -MF hw/xfree86/xkb/libxorg_xkb.a.p/xkbVT.c.o.d -o hw/xfree86/xkb/libxorg_xkb.a.p/xkbVT.c.o -c ../hw/xfree86/xkb/xkbVT.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[355/636] rm -f config/liblibxserver_config.a && gcc-ar csrDT config/liblibxserver_config.a config/liblibxserver_config.a.p/config.c.o config/liblibxserver_config.a.p/dbus-core.c.o config/liblibxserver_config.a.p/udev.c.o
[356/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/read.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/read.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/read.c.o -c ../hw/xfree86/parser/read.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[357/636] gcc -Ihw/xfree86/ramdac/libxorg_ramdac.a.p -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/ramdac/libxorg_ramdac.a.p/xf86CursorRD.c.o -MF hw/xfree86/ramdac/libxorg_ramdac.a.p/xf86CursorRD.c.o.d -o hw/xfree86/ramdac/libxorg_ramdac.a.p/xf86CursorRD.c.o -c ../hw/xfree86/ramdac/xf86CursorRD.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[358/636] gcc -Ihw/xfree86/ramdac/libxorg_ramdac.a.p -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/ramdac/libxorg_ramdac.a.p/xf86HWCurs.c.o -MF hw/xfree86/ramdac/libxorg_ramdac.a.p/xf86HWCurs.c.o.d -o hw/xfree86/ramdac/libxorg_ramdac.a.p/xf86HWCurs.c.o -c ../hw/xfree86/ramdac/xf86HWCurs.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[359/636] gcc -Ihw/xfree86/xkb/libxorg_xkb.a.p -Ihw/xfree86/xkb -I../hw/xfree86/xkb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/xkb/libxorg_xkb.a.p/xkbPrivate.c.o -MF hw/xfree86/xkb/libxorg_xkb.a.p/xkbPrivate.c.o.d -o hw/xfree86/xkb/libxorg_xkb.a.p/xkbPrivate.c.o -c ../hw/xfree86/xkb/xkbPrivate.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[360/636] rm -f dix/liblibxserver_dix.a && gcc-ar csrDT dix/liblibxserver_dix.a dix/liblibxserver_dix.a.p/atom.c.o dix/liblibxserver_dix.a.p/colormap.c.o dix/liblibxserver_dix.a.p/cursor.c.o dix/liblibxserver_dix.a.p/devices.c.o dix/liblibxserver_dix.a.p/dispatch.c.o dix/liblibxserver_dix.a.p/dixfonts.c.o dix/liblibxserver_dix.a.p/main.c.o dix/liblibxserver_dix.a.p/dixutils.c.o dix/liblibxserver_dix.a.p/enterleave.c.o dix/liblibxserver_dix.a.p/events.c.o dix/liblibxserver_dix.a.p/eventconvert.c.o dix/liblibxserver_dix.a.p/extension.c.o dix/liblibxserver_dix.a.p/gc.c.o dix/liblibxserver_dix.a.p/gestures.c.o dix/liblibxserver_dix.a.p/getevents.c.o dix/liblibxserver_dix.a.p/globals.c.o dix/liblibxserver_dix.a.p/glyphcurs.c.o dix/liblibxserver_dix.a.p/grabs.c.o dix/liblibxserver_dix.a.p/initatoms.c.o dix/liblibxserver_dix.a.p/inpututils.c.o dix/liblibxserver_dix.a.p/pixmap.c.o dix/liblibxserver_dix.a.p/privates.c.o dix/liblibxserver_dix.a.p/property.c.o dix/liblibxserver_dix.a.p/ptrveloc.c.o dix/liblibxserver_dix.a.p/region.c.o dix/liblibxserver_dix.a.p/registry.c.o dix/liblibxserver_dix.a.p/resource.c.o dix/liblibxserver_dix.a.p/selection.c.o dix/liblibxserver_dix.a.p/swaprep.c.o dix/liblibxserver_dix.a.p/swapreq.c.o dix/liblibxserver_dix.a.p/tables.c.o dix/liblibxserver_dix.a.p/touch.c.o dix/liblibxserver_dix.a.p/window.c.o
[361/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/Screen.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/Screen.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/Screen.c.o -c ../hw/xfree86/parser/Screen.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c: In function ‘xf86validateScreen’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:529:17: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:505:12: note: (1) following ‘true’ branch (when ‘screen’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:506:19: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:527:16: note: (3) following ‘true’ branch (when ‘adaptor’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:529:17: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:531:16: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:537:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:537:21: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:544:46: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:544:46: note: (9) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:527:16: note: (10) following ‘true’ branch (when ‘adaptor’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:529:17: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/Screen.c:529:17: note: (12) ‘<unknown>’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper]
[362/636] gcc -Ihw/xfree86/xkb/libxorg_xkb.a.p -Ihw/xfree86/xkb -I../hw/xfree86/xkb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/xkb/libxorg_xkb.a.p/xkbKillSrv.c.o -MF hw/xfree86/xkb/libxorg_xkb.a.p/xkbKillSrv.c.o.d -o hw/xfree86/xkb/libxorg_xkb.a.p/xkbKillSrv.c.o -c ../hw/xfree86/xkb/xkbKillSrv.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[363/636] gcc -Ihw/xfree86/parser/libxorg_parser.a.p -Ihw/xfree86/parser -I../hw/xfree86/parser -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS '-DDATADIR="/usr/share"' -MD -MQ hw/xfree86/parser/libxorg_parser.a.p/scan.c.o -MF hw/xfree86/parser/libxorg_parser.a.p/scan.c.o.d -o hw/xfree86/parser/libxorg_parser.a.p/scan.c.o -c ../hw/xfree86/parser/scan.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c: In function ‘DoSubstitution’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:582:25: warning: dereference of possibly-NULL ‘result’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:582:21: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:582:25: note: (20) ‘result + (sizetype)l’ could be NULL: unchecked value from (15) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:589:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (20) following ‘case 65:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:587:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:588:20: note: (22) following ‘true’ branch (when ‘cmdline’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:588:32: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:588:32: note: (24) calling ‘xf86pathIsAbsolute’ from ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:488:1: note: (25) entry to ‘xf86pathIsAbsolute’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:490:8: note: (26) following ‘true’ branch (when ‘path’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:490:21: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:588:32: note: (28) returning to ‘DoSubstitution’ from ‘xf86pathIsAbsolute’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:588:29: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:61: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:589:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:60: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:589:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:589:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (33) argument 1 (‘result + (long unsigned int)l’) from (15) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:589:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:598:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (20) following ‘case 82:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:596:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:597:20: note: (22) following ‘true’ branch (when ‘cmdline’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:597:33: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:597:33: note: (24) calling ‘xf86pathIsAbsolute’ from ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:488:1: note: (25) entry to ‘xf86pathIsAbsolute’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:490:8: note: (26) following ‘true’ branch (when ‘path’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:490:21: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:597:33: note: (28) returning to ‘DoSubstitution’ from ‘xf86pathIsAbsolute’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:597:29: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:61: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:598:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:60: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:598:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:598:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (33) argument 1 (‘result + (long unsigned int)l’) from (15) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:598:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:615:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (20) following ‘case 88:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:614:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:60: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:615:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:615:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (24) argument 1 (‘result + (long unsigned int)l’) from (15) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:615:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:630:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (20) following ‘case 72:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:617:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:629:20: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:61: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:630:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:60: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:630:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:630:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (26) argument 1 (‘result + (long unsigned int)l’) from (15) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:630:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:636:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (20) following ‘case 72:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:617:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:618:20: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:619:37: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:619:24: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:629:21: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:629:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:31: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (32) following ‘case 69:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:632:13: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:633:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:635:21: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:635:20: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:635:28: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:635:28: note: (38) calling ‘xf86pathIsAbsolute’ from ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:488:1: note: (39) entry to ‘xf86pathIsAbsolute’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:490:8: note: (40) following ‘true’ branch (when ‘path’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:490:21: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:635:28: note: (42) returning to ‘DoSubstitution’ from ‘xf86pathIsAbsolute’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:635:25: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:61: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:636:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:60: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:636:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:636:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (47) argument 1 (‘result + (long unsigned int)l’) from (15) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:636:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:647:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (20) following ‘case 70:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:643:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:646:20: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:61: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:647:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:60: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:647:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:647:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (26) argument 1 (‘result + (long unsigned int)l’) from (15) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:647:21: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:672:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (20) following ‘case 67:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:671:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:60: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:672:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:672:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (24) argument 1 (‘result + (long unsigned int)l’) from (15) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:672:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:675:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (20) following ‘case 68:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:674:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:553:60: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:675:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:675:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:556:65: note: (24) argument 1 (‘result + (long unsigned int)l’) from (15) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:675:17: note: in expansion of macro ‘APPEND_STR’ <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:678:29: warning: dereference of possibly-NULL ‘result’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:920:1: note: (1) entry to ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:929:12: note: (2) calling ‘OpenConfigDir’ from ‘xf86openConfigDirFiles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:798:1: note: (3) entry to ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:21: note: (4) when ‘strtok’ on non-NULL string returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:807:53: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:809:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:812:19: note: (7) calling ‘DoSubstitution’ from ‘OpenConfigDir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:562:1: note: (8) entry to ‘DoSubstitution’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:570:8: note: (9) following ‘false’ branch (when ‘template’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:573:8: note: (11) following ‘true’ branch (when ‘cmdlineUsed’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:574:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:575:8: note: (13) following ‘false’ branch (when ‘envUsed’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:578:14: note: (15) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:580:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:581:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:586:13: note: (20) following ‘case 37:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:677:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/scan.c:678:29: note: (22) ‘result + (sizetype)l’ could be NULL: unchecked value from (15) <--[csmock-gcc-wrapper]
[364/636] rm -f dix/liblibxserver_main.a && gcc-ar csrDT dix/liblibxserver_main.a dix/liblibxserver_main.a.p/stubmain.c.o
[365/636] rm -f dri3/liblibxserver_dri3.a && gcc-ar csrDT dri3/liblibxserver_dri3.a dri3/liblibxserver_dri3.a.p/dri3.c.o dri3/liblibxserver_dri3.a.p/dri3_request.c.o dri3/liblibxserver_dri3.a.p/dri3_screen.c.o
[366/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/indirect_dispatch.c.o -MF glx/liblibxserver_glx.a.p/indirect_dispatch.c.o.d -o glx/liblibxserver_glx.a.p/indirect_dispatch.c.o -c ../glx/indirect_dispatch.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[367/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/indirect_reqsize.c.o -MF glx/liblibxserver_glx.a.p/indirect_reqsize.c.o.d -o glx/liblibxserver_glx.a.p/indirect_reqsize.c.o -c ../glx/indirect_reqsize.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[368/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/indirect_size_get.c.o -MF glx/liblibxserver_glx.a.p/indirect_size_get.c.o.d -o glx/liblibxserver_glx.a.p/indirect_size_get.c.o -c ../glx/indirect_size_get.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[369/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/indirect_table.c.o -MF glx/liblibxserver_glx.a.p/indirect_table.c.o.d -o glx/liblibxserver_glx.a.p/indirect_table.c.o -c ../glx/indirect_table.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[370/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/indirect_program.c.o -MF glx/liblibxserver_glx.a.p/indirect_program.c.o.d -o glx/liblibxserver_glx.a.p/indirect_program.c.o -c ../glx/indirect_program.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[371/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/extension_string.c.o -MF glx/liblibxserver_glx.a.p/extension_string.c.o.d -o glx/liblibxserver_glx.a.p/extension_string.c.o -c ../glx/extension_string.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[372/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/indirect_util.c.o -MF glx/liblibxserver_glx.a.p/indirect_util.c.o.d -o glx/liblibxserver_glx.a.p/indirect_util.c.o -c ../glx/indirect_util.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[373/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/indirect_texture_compression.c.o -MF glx/liblibxserver_glx.a.p/indirect_texture_compression.c.o.d -o glx/liblibxserver_glx.a.p/indirect_texture_compression.c.o -c ../glx/indirect_texture_compression.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[374/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/createcontext.c.o -MF glx/liblibxserver_glx.a.p/createcontext.c.o.d -o glx/liblibxserver_glx.a.p/createcontext.c.o -c ../glx/createcontext.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c: In function ‘__glXDisp_CreateContextAttribsARB’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:174:24: warning: dereference of NULL ‘attribs’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:85:71: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:93:19: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:122:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:133:36: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:133:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:138:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:138:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:147:12: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:147:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:173:5: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:173:19: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:174:27: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:174:24: note: (13) ‘attribs’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/createcontext.c:174:24: note: (14) dereference of NULL ‘attribs + (long unsigned int)(i * 2) * 4’ <--[csmock-gcc-wrapper]
[375/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/clientinfo.c.o -MF glx/liblibxserver_glx.a.p/clientinfo.c.o.d -o glx/liblibxserver_glx.a.p/clientinfo.c.o -c ../glx/clientinfo.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[376/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/render2.c.o -MF glx/liblibxserver_glx.a.p/render2.c.o.d -o glx/liblibxserver_glx.a.p/render2.c.o -c ../glx/render2.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[377/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/glxdriswrast.c.o -MF glx/liblibxserver_glx.a.p/glxdriswrast.c.o.d -o glx/liblibxserver_glx.a.p/glxdriswrast.c.o -c ../glx/glxdriswrast.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[378/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/glxcmdsswap.c.o -MF glx/liblibxserver_glx.a.p/glxcmdsswap.c.o.d -o glx/liblibxserver_glx.a.p/glxcmdsswap.c.o -c ../glx/glxcmdsswap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[379/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/glxext.c.o -MF glx/liblibxserver_glx.a.p/glxext.c.o.d -o glx/liblibxserver_glx.a.p/glxext.c.o -c ../glx/glxext.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[380/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/glxdricommon.c.o -MF glx/liblibxserver_glx.a.p/glxdricommon.c.o.d -o glx/liblibxserver_glx.a.p/glxdricommon.c.o -c ../glx/glxdricommon.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxdricommon.c: In function ‘createModeFromConfig’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxdricommon.c:142:23: warning: dereference of possibly-NULL ‘config’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxdricommon.c:238:1: note: (1) entry to ‘glxConvertConfigs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxdricommon.c:247:17: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxdricommon.c:248:22: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxdricommon.c:248:22: note: (4) calling ‘createModeFromConfig’ from ‘glxConvertConfigs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxdricommon.c:129:1: note: (5) entry to ‘createModeFromConfig’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxdricommon.c:140:14: note: (6) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxdricommon.c:142:23: note: (7) ‘config’ could be NULL: unchecked value from (6) <--[csmock-gcc-wrapper]
[381/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/renderpix.c.o -MF glx/liblibxserver_glx.a.p/renderpix.c.o.d -o glx/liblibxserver_glx.a.p/renderpix.c.o -c ../glx/renderpix.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[382/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/indirect_dispatch_swap.c.o -MF glx/liblibxserver_glx.a.p/indirect_dispatch_swap.c.o.d -o glx/liblibxserver_glx.a.p/indirect_dispatch_swap.c.o -c ../glx/indirect_dispatch_swap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[383/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/glxscreens.c.o -MF glx/liblibxserver_glx.a.p/glxscreens.c.o.d -o glx/liblibxserver_glx.a.p/glxscreens.c.o -c ../glx/glxscreens.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[384/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/render2swap.c.o -MF glx/liblibxserver_glx.a.p/render2swap.c.o.d -o glx/liblibxserver_glx.a.p/render2swap.c.o -c ../glx/render2swap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[385/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/glxcmds.c.o -MF glx/liblibxserver_glx.a.p/glxcmds.c.o.d -o glx/liblibxserver_glx.a.p/glxcmds.c.o -c ../glx/glxcmds.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxcmds.c: In function ‘validGlxFBConfigForWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxcmds.c:126:16: warning: dereference of NULL ‘pVisual’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/glxcmds.c:126:16: note: (1) dereference of NULL ‘pVisual’ <--[csmock-gcc-wrapper]
[386/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/renderpixswap.c.o -MF glx/liblibxserver_glx.a.p/renderpixswap.c.o.d -o glx/liblibxserver_glx.a.p/renderpixswap.c.o -c ../glx/renderpixswap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[387/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/rensize.c.o -MF glx/liblibxserver_glx.a.p/rensize.c.o.d -o glx/liblibxserver_glx.a.p/rensize.c.o -c ../glx/rensize.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[388/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/single2.c.o -MF glx/liblibxserver_glx.a.p/single2.c.o.d -o glx/liblibxserver_glx.a.p/single2.c.o -c ../glx/single2.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[389/636] rm -f glx/liblibglxvnd.a && gcc-ar csrDT glx/liblibglxvnd.a glx/liblibglxvnd.a.p/vndcmds.c.o glx/liblibglxvnd.a.p/vndext.c.o glx/liblibglxvnd.a.p/vndservermapping.c.o glx/liblibglxvnd.a.p/vndservervendor.c.o
[390/636] rm -f fb/liblibxserver_fb.a && gcc-ar csrDT fb/liblibxserver_fb.a fb/liblibxserver_fb.a.p/fballpriv.c.o fb/liblibxserver_fb.a.p/fbarc.c.o fb/liblibxserver_fb.a.p/fbbits.c.o fb/liblibxserver_fb.a.p/fbblt.c.o fb/liblibxserver_fb.a.p/fbbltone.c.o fb/liblibxserver_fb.a.p/fbcmap_mi.c.o fb/liblibxserver_fb.a.p/fbcopy.c.o fb/liblibxserver_fb.a.p/fbfill.c.o fb/liblibxserver_fb.a.p/fbfillrect.c.o fb/liblibxserver_fb.a.p/fbfillsp.c.o fb/liblibxserver_fb.a.p/fbgc.c.o fb/liblibxserver_fb.a.p/fbgetsp.c.o fb/liblibxserver_fb.a.p/fbglyph.c.o fb/liblibxserver_fb.a.p/fbimage.c.o fb/liblibxserver_fb.a.p/fbline.c.o fb/liblibxserver_fb.a.p/fboverlay.c.o fb/liblibxserver_fb.a.p/fbpict.c.o fb/liblibxserver_fb.a.p/fbpixmap.c.o fb/liblibxserver_fb.a.p/fbpoint.c.o fb/liblibxserver_fb.a.p/fbpush.c.o fb/liblibxserver_fb.a.p/fbscreen.c.o fb/liblibxserver_fb.a.p/fbseg.c.o fb/liblibxserver_fb.a.p/fbsetsp.c.o fb/liblibxserver_fb.a.p/fbsolid.c.o fb/liblibxserver_fb.a.p/fbtrap.c.o fb/liblibxserver_fb.a.p/fbutil.c.o fb/liblibxserver_fb.a.p/fbwindow.c.o
[391/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fballpriv.c.o -MF fb/liblibxserver_wfb.a.p/fballpriv.c.o.d -o fb/liblibxserver_wfb.a.p/fballpriv.c.o -c ../fb/fballpriv.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[392/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/swap_interval.c.o -MF glx/liblibxserver_glx.a.p/swap_interval.c.o.d -o glx/liblibxserver_glx.a.p/swap_interval.c.o -c ../glx/swap_interval.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[393/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/singlesize.c.o -MF glx/liblibxserver_glx.a.p/singlesize.c.o.d -o glx/liblibxserver_glx.a.p/singlesize.c.o -c ../glx/singlesize.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[394/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/single2swap.c.o -MF glx/liblibxserver_glx.a.p/single2swap.c.o.d -o glx/liblibxserver_glx.a.p/single2swap.c.o -c ../glx/single2swap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[395/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbarc.c.o -MF fb/liblibxserver_wfb.a.p/fbarc.c.o.d -o fb/liblibxserver_wfb.a.p/fbarc.c.o -c ../fb/fbarc.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[396/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/xfont.c.o -MF glx/liblibxserver_glx.a.p/xfont.c.o.d -o glx/liblibxserver_glx.a.p/xfont.c.o -c ../glx/xfont.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[397/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/singlepix.c.o -MF glx/liblibxserver_glx.a.p/singlepix.c.o.d -o glx/liblibxserver_glx.a.p/singlepix.c.o -c ../glx/singlepix.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[398/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbcmap_mi.c.o -MF fb/liblibxserver_wfb.a.p/fbcmap_mi.c.o.d -o fb/liblibxserver_wfb.a.p/fbcmap_mi.c.o -c ../fb/fbcmap_mi.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[399/636] gcc -Iglx/liblibxserver_glx.a.p -Iglx -I../glx -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D__GLX_ALIGN64 -Wno-unused-function -MD -MQ glx/liblibxserver_glx.a.p/singlepixswap.c.o -MF glx/liblibxserver_glx.a.p/singlepixswap.c.o.d -o glx/liblibxserver_glx.a.p/singlepixswap.c.o -c ../glx/singlepixswap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[400/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbfillrect.c.o -MF fb/liblibxserver_wfb.a.p/fbfillrect.c.o.d -o fb/liblibxserver_wfb.a.p/fbfillrect.c.o -c ../fb/fbfillrect.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[401/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbblt.c.o -MF fb/liblibxserver_wfb.a.p/fbblt.c.o.d -o fb/liblibxserver_wfb.a.p/fbblt.c.o -c ../fb/fbblt.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[402/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbcopy.c.o -MF fb/liblibxserver_wfb.a.p/fbcopy.c.o.d -o fb/liblibxserver_wfb.a.p/fbcopy.c.o -c ../fb/fbcopy.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[403/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbfill.c.o -MF fb/liblibxserver_wfb.a.p/fbfill.c.o.d -o fb/liblibxserver_wfb.a.p/fbfill.c.o -c ../fb/fbfill.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[404/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbfillsp.c.o -MF fb/liblibxserver_wfb.a.p/fbfillsp.c.o.d -o fb/liblibxserver_wfb.a.p/fbfillsp.c.o -c ../fb/fbfillsp.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[405/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbgc.c.o -MF fb/liblibxserver_wfb.a.p/fbgc.c.o.d -o fb/liblibxserver_wfb.a.p/fbgc.c.o -c ../fb/fbgc.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[406/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbbltone.c.o -MF fb/liblibxserver_wfb.a.p/fbbltone.c.o.d -o fb/liblibxserver_wfb.a.p/fbbltone.c.o -c ../fb/fbbltone.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[407/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbgetsp.c.o -MF fb/liblibxserver_wfb.a.p/fbgetsp.c.o.d -o fb/liblibxserver_wfb.a.p/fbgetsp.c.o -c ../fb/fbgetsp.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[408/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbline.c.o -MF fb/liblibxserver_wfb.a.p/fbline.c.o.d -o fb/liblibxserver_wfb.a.p/fbline.c.o -c ../fb/fbline.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[409/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbglyph.c.o -MF fb/liblibxserver_wfb.a.p/fbglyph.c.o.d -o fb/liblibxserver_wfb.a.p/fbglyph.c.o -c ../fb/fbglyph.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[410/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbimage.c.o -MF fb/liblibxserver_wfb.a.p/fbimage.c.o.d -o fb/liblibxserver_wfb.a.p/fbimage.c.o -c ../fb/fbimage.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[411/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbpixmap.c.o -MF fb/liblibxserver_wfb.a.p/fbpixmap.c.o.d -o fb/liblibxserver_wfb.a.p/fbpixmap.c.o -c ../fb/fbpixmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[412/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbpict.c.o -MF fb/liblibxserver_wfb.a.p/fbpict.c.o.d -o fb/liblibxserver_wfb.a.p/fbpict.c.o -c ../fb/fbpict.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[413/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbpoint.c.o -MF fb/liblibxserver_wfb.a.p/fbpoint.c.o.d -o fb/liblibxserver_wfb.a.p/fbpoint.c.o -c ../fb/fbpoint.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[414/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbpush.c.o -MF fb/liblibxserver_wfb.a.p/fbpush.c.o.d -o fb/liblibxserver_wfb.a.p/fbpush.c.o -c ../fb/fbpush.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[415/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fboverlay.c.o -MF fb/liblibxserver_wfb.a.p/fboverlay.c.o.d -o fb/liblibxserver_wfb.a.p/fboverlay.c.o -c ../fb/fboverlay.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:51, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fb.h:30, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:31: <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fb.h:46: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayCopyWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:70:29: note: (1) entry to ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:190:1: note: in expansion of macro ‘fbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:197:15: note: (2) capacity: 32 bytes <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (3) calling ‘dixLookupPrivate’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (5) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
In function ‘wfbOverlayCopyWindow’:
cc1: note: (10) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (11) returning to ‘wfbOverlayCopyWindow’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (13) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (14) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayCopyWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (16) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (17) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (20) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (22) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (23) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayCopyWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (25) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (26) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (29) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (31) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (32) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (34) out-of-bounds read from byte 40 till byte 47 but ‘layerRgn’ ends at byte 32 <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: read of 8 bytes from after the end of ‘layerRgn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayCopyWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:70:29: note: (1) entry to ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:190:1: note: in expansion of macro ‘fbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:197:15: note: (2) capacity: 32 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (3) calling ‘dixLookupPrivate’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (5) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
In function ‘wfbOverlayCopyWindow’:
cc1: note: (10) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (11) returning to ‘wfbOverlayCopyWindow’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (13) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (14) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayCopyWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (16) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (17) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (20) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (22) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (23) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayCopyWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (25) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (26) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (29) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (31) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (32) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayCopyWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (34) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (35) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (38) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (40) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (41) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (43) out-of-bounds read from byte 56 till byte 63 but ‘layerRgn’ ends at byte 32 <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: read of 8 bytes from after the end of ‘layerRgn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayUpdateLayerRegion’ at ../fb/fboverlay.c:164:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayUpdateLayerRegion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:70:29: note: (1) entry to ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:190:1: note: in expansion of macro ‘fbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:197:15: note: (2) capacity: 32 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (3) calling ‘dixLookupPrivate’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (5) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
In function ‘wfbOverlayUpdateLayerRegion’:
cc1: note: (10) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (11) returning to ‘wfbOverlayCopyWindow’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (13) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (14) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayUpdateLayerRegion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (16) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (17) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (20) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (22) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (23) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayUpdateLayerRegion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (25) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (26) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (29) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (31) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (32) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayUpdateLayerRegion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:78:36: note: (34) calling ‘wfbOverlayUpdateLayerRegion’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:231:13: note: in expansion of macro ‘fbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:78:36: note: (35) entry to ‘wfbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:158:1: note: in expansion of macro ‘fbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (36) calling ‘dixLookupPrivate’ from ‘wfbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:160:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (37) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (38) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (39) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (40) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (41) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (42) ...to here <--[csmock-gcc-wrapper]
In function ‘wfbOverlayUpdateLayerRegion’:
cc1: note: (43) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (44) returning to ‘wfbOverlayUpdateLayerRegion’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:160:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:164:8: note: (45) following ‘false’ branch (when ‘prgn’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:164:19: note: (46) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (47) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayUpdateLayerRegion’ at ../fb/fboverlay.c:164:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (49) out-of-bounds read from byte 40 till byte 47 but ‘layerRgn’ ends at byte 32 <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: read of 8 bytes from after the end of ‘layerRgn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayUpdateLayerRegion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:70:29: note: (1) entry to ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:190:1: note: in expansion of macro ‘fbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:197:15: note: (2) capacity: 32 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (3) calling ‘dixLookupPrivate’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (5) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
In function ‘wfbOverlayUpdateLayerRegion’:
cc1: note: (10) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (11) returning to ‘wfbOverlayCopyWindow’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (13) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (14) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayUpdateLayerRegion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (16) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (17) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (20) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (22) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (23) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayUpdateLayerRegion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (25) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (26) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (29) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (31) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (32) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayUpdateLayerRegion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (34) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (35) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (38) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (40) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (41) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘wfbOverlayUpdateLayerRegion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:78:36: note: (43) calling ‘wfbOverlayUpdateLayerRegion’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:231:13: note: in expansion of macro ‘fbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:78:36: note: (44) entry to ‘wfbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:158:1: note: in expansion of macro ‘fbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (45) calling ‘dixLookupPrivate’ from ‘wfbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:160:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (46) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (47) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (48) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (49) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (50) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (51) ...to here <--[csmock-gcc-wrapper]
In function ‘wfbOverlayUpdateLayerRegion’:
cc1: note: (52) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (53) returning to ‘wfbOverlayUpdateLayerRegion’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:160:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:164:8: note: (54) following ‘false’ branch (when ‘prgn’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:164:19: note: (55) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayUpdateLayerRegion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (56) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayUpdateLayerRegion’ at ../fb/fboverlay.c:164:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (58) out-of-bounds read from byte 56 till byte 63 but ‘layerRgn’ ends at byte 32 <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: read of 8 bytes from after the end of ‘layerRgn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:16: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:70:29: note: (1) entry to ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:190:1: note: in expansion of macro ‘fbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:197:15: note: (2) capacity: 32 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (3) calling ‘dixLookupPrivate’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (5) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
In function ‘RegionUninit’:
cc1: note: (10) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (11) returning to ‘wfbOverlayCopyWindow’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (13) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (14) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (16) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (17) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (20) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (22) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (23) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (25) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (26) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (29) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (31) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (32) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (34) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (35) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:16: note: (36) out-of-bounds read from byte 40 till byte 47 but ‘layerRgn’ ends at byte 32 <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:16: note: read of 8 bytes from after the end of ‘layerRgn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:16: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:16: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:70:29: note: (1) entry to ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:190:1: note: in expansion of macro ‘fbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:197:15: note: (2) capacity: 32 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (3) calling ‘dixLookupPrivate’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (5) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
In function ‘RegionUninit’:
cc1: note: (10) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (11) returning to ‘wfbOverlayCopyWindow’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (13) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (14) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (16) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (17) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (20) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (22) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (23) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (25) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (26) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (29) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (31) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (32) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (34) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (35) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (38) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (40) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (41) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (43) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (44) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:16: note: (45) out-of-bounds read from byte 56 till byte 63 but ‘layerRgn’ ends at byte 32 <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:16: note: read of 8 bytes from after the end of ‘layerRgn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:16: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:167:23: warning: stack-based buffer overflow [CWE-121] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:70:29: note: (1) entry to ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:190:1: note: in expansion of macro ‘fbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:197:15: note: (2) capacity: 32 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (3) calling ‘dixLookupPrivate’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (5) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
In function ‘RegionUninit’:
cc1: note: (10) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (11) returning to ‘wfbOverlayCopyWindow’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (13) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (14) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (16) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (17) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (20) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (22) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (23) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (25) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (26) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (29) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (31) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (32) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (34) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (35) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:167:23: note: (38) out-of-bounds write from byte 40 till byte 47 but ‘layerRgn’ ends at byte 32 <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:167:23: note: write of 8 bytes to beyond the end of ‘layerRgn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:167:23: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:167:23: warning: stack-based buffer overflow [CWE-121] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h:70:29: note: (1) entry to ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:190:1: note: in expansion of macro ‘fbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:197:15: note: (2) capacity: 32 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (3) calling ‘dixLookupPrivate’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (5) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
In function ‘RegionUninit’:
cc1: note: (10) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h:61:5: note: (11) returning to ‘wfbOverlayCopyWindow’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (13) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (14) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (16) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (17) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (20) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (22) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (23) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (25) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (26) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (29) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (31) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (32) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (34) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (35) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (38) returning to ‘wfbOverlayCopyWindow’ from ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:229:19: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:230:13: note: (40) inlined call to ‘RegionNotEmpty’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:182:13: note: (41) inlined call to ‘RegionNil’ from ‘RegionNotEmpty’ <--[csmock-gcc-wrapper]
In function ‘RegionNil’,
inlined from ‘RegionNotEmpty’ at ../include/regionstr.h:182:13,
inlined from ‘wfbOverlayCopyWindow’ at ../fb/fboverlay.c:230:13:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:74:18: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c: In function ‘RegionUninit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.c:233:9: note: (43) calling ‘RegionUninit’ from ‘wfbOverlayCopyWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:163:1: note: (44) entry to ‘RegionUninit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:165:8: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:166:9: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:167:23: note: (47) out-of-bounds write from byte 56 till byte 63 but ‘layerRgn’ ends at byte 32 <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:167:23: note: write of 8 bytes to beyond the end of ‘layerRgn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:167:23: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’ <--[csmock-gcc-wrapper]
[416/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbbits.c.o -MF fb/liblibxserver_wfb.a.p/fbbits.c.o.d -o fb/liblibxserver_wfb.a.p/fbbits.c.o -c ../fb/fbbits.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[417/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbscreen.c.o -MF fb/liblibxserver_wfb.a.p/fbscreen.c.o.d -o fb/liblibxserver_wfb.a.p/fbscreen.c.o -c ../fb/fbscreen.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[418/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbseg.c.o -MF fb/liblibxserver_wfb.a.p/fbseg.c.o.d -o fb/liblibxserver_wfb.a.p/fbseg.c.o -c ../fb/fbseg.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[419/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbsetsp.c.o -MF fb/liblibxserver_wfb.a.p/fbsetsp.c.o.d -o fb/liblibxserver_wfb.a.p/fbsetsp.c.o -c ../fb/fbsetsp.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[420/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbsolid.c.o -MF fb/liblibxserver_wfb.a.p/fbsolid.c.o.d -o fb/liblibxserver_wfb.a.p/fbsolid.c.o -c ../fb/fbsolid.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[421/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbtrap.c.o -MF fb/liblibxserver_wfb.a.p/fbtrap.c.o.d -o fb/liblibxserver_wfb.a.p/fbtrap.c.o -c ../fb/fbtrap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[422/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbutil.c.o -MF fb/liblibxserver_wfb.a.p/fbutil.c.o.d -o fb/liblibxserver_wfb.a.p/fbutil.c.o -c ../fb/fbutil.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[423/636] rm -f os/liblibxlibc.a && gcc-ar csrDT os/liblibxlibc.a os/liblibxlibc.a.p/timingsafe_memcmp.c.o
[424/636] rm -f miext/damage/liblibxserver_miext_damage.a && gcc-ar csrDT miext/damage/liblibxserver_miext_damage.a miext/damage/liblibxserver_miext_damage.a.p/damage.c.o
[425/636] rm -f dbe/liblibxserver_dbe.a && gcc-ar csrDT dbe/liblibxserver_dbe.a dbe/liblibxserver_dbe.a.p/dbe.c.o dbe/liblibxserver_dbe.a.p/midbe.c.o
[426/636] rm -f os/liblibxserver_os.a && gcc-ar csrDT os/liblibxserver_os.a os/liblibxserver_os.a.p/WaitFor.c.o os/liblibxserver_os.a.p/access.c.o os/liblibxserver_os.a.p/auth.c.o os/liblibxserver_os.a.p/backtrace.c.o os/liblibxserver_os.a.p/client.c.o os/liblibxserver_os.a.p/connection.c.o os/liblibxserver_os.a.p/inputthread.c.o os/liblibxserver_os.a.p/io.c.o os/liblibxserver_os.a.p/mitauth.c.o os/liblibxserver_os.a.p/oscolor.c.o os/liblibxserver_os.a.p/osinit.c.o os/liblibxserver_os.a.p/ospoll.c.o os/liblibxserver_os.a.p/utils.c.o os/liblibxserver_os.a.p/xdmauth.c.o os/liblibxserver_os.a.p/xsha1.c.o os/liblibxserver_os.a.p/xstrans.c.o os/liblibxserver_os.a.p/xprintf.c.o os/liblibxserver_os.a.p/log.c.o os/liblibxserver_os.a.p/busfault.c.o os/liblibxserver_os.a.p/xdmcp.c.o
[427/636] rm -f composite/liblibxserver_composite.a && gcc-ar csrDT composite/liblibxserver_composite.a composite/liblibxserver_composite.a.p/compalloc.c.o composite/liblibxserver_composite.a.p/compext.c.o composite/liblibxserver_composite.a.p/compinit.c.o composite/liblibxserver_composite.a.p/compoverlay.c.o composite/liblibxserver_composite.a.p/compwindow.c.o
[428/636] rm -f mi/liblibxserver_mi.a && gcc-ar csrDT mi/liblibxserver_mi.a mi/liblibxserver_mi.a.p/miarc.c.o mi/liblibxserver_mi.a.p/mibitblt.c.o mi/liblibxserver_mi.a.p/micmap.c.o mi/liblibxserver_mi.a.p/micopy.c.o mi/liblibxserver_mi.a.p/midash.c.o mi/liblibxserver_mi.a.p/midispcur.c.o mi/liblibxserver_mi.a.p/mieq.c.o mi/liblibxserver_mi.a.p/miexpose.c.o mi/liblibxserver_mi.a.p/mifillarc.c.o mi/liblibxserver_mi.a.p/mifillrct.c.o mi/liblibxserver_mi.a.p/migc.c.o mi/liblibxserver_mi.a.p/miglblt.c.o mi/liblibxserver_mi.a.p/mioverlay.c.o mi/liblibxserver_mi.a.p/mipointer.c.o mi/liblibxserver_mi.a.p/mipoly.c.o mi/liblibxserver_mi.a.p/mipolypnt.c.o mi/liblibxserver_mi.a.p/mipolyrect.c.o mi/liblibxserver_mi.a.p/mipolyseg.c.o mi/liblibxserver_mi.a.p/mipolytext.c.o mi/liblibxserver_mi.a.p/mipushpxl.c.o mi/liblibxserver_mi.a.p/miscrinit.c.o mi/liblibxserver_mi.a.p/misprite.c.o mi/liblibxserver_mi.a.p/mivaltree.c.o mi/liblibxserver_mi.a.p/miwideline.c.o mi/liblibxserver_mi.a.p/miwindow.c.o mi/liblibxserver_mi.a.p/mizerarc.c.o mi/liblibxserver_mi.a.p/mizerclip.c.o mi/liblibxserver_mi.a.p/mizerline.c.o
[429/636] rm -f damageext/liblibxserver_damageext.a && gcc-ar csrDT damageext/liblibxserver_damageext.a damageext/liblibxserver_damageext.a.p/damageext.c.o
[430/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/sh3224.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/sh3224.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/sh3224.c.o -c ../miext/shadow/sh3224.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[431/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shpacked.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shpacked.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shpacked.c.o -c ../miext/shadow/shpacked.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[432/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shadow.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shadow.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shadow.c.o -c ../miext/shadow/shadow.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[433/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shiplan2p4.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shiplan2p4.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shiplan2p4.c.o -c ../miext/shadow/shiplan2p4.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[434/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shiplan2p8.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shiplan2p8.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shiplan2p8.c.o -c ../miext/shadow/shiplan2p8.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[435/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shafb8.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shafb8.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shafb8.c.o -c ../miext/shadow/shafb8.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[436/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shafb4.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shafb4.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shafb4.c.o -c ../miext/shadow/shafb4.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[437/636] gcc -Ifb/liblibxserver_wfb.a.p -Ifb -I../fb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DFB_ACCESS_WRAPPER -MD -MQ fb/liblibxserver_wfb.a.p/fbwindow.c.o -MF fb/liblibxserver_wfb.a.p/fbwindow.c.o.d -o fb/liblibxserver_wfb.a.p/fbwindow.c.o -c ../fb/fbwindow.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[438/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shplanar.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shplanar.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shplanar.c.o -c ../miext/shadow/shplanar.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[439/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shplanar8.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shplanar8.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shplanar8.c.o -c ../miext/shadow/shplanar8.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[440/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_180.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_180.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_180.c.o -c ../miext/shadow/shrot16pack_180.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[441/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_270.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_270.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_270.c.o -c ../miext/shadow/shrot16pack_270.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[442/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_270YX.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_270YX.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_270YX.c.o -c ../miext/shadow/shrot16pack_270YX.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[443/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_90.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_90.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_90.c.o -c ../miext/shadow/shrot16pack_90.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[444/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_90YX.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_90YX.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_90YX.c.o -c ../miext/shadow/shrot16pack_90YX.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[445/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack.c.o -c ../miext/shadow/shrot16pack.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[446/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_180.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_180.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_180.c.o -c ../miext/shadow/shrot32pack_180.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[447/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_270.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_270.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_270.c.o -c ../miext/shadow/shrot8pack_270.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[448/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack.c.o -c ../miext/shadow/shrot32pack.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[449/636] rm -f miext/sync/liblibxserver_miext_sync.a && gcc-ar csrDT miext/sync/liblibxserver_miext_sync.a miext/sync/liblibxserver_miext_sync.a.p/misync.c.o miext/sync/liblibxserver_miext_sync.a.p/misyncfd.c.o miext/sync/liblibxserver_miext_sync.a.p/misyncshm.c.o
[450/636] rm -f present/liblibxserver_present.a && gcc-ar csrDT present/liblibxserver_present.a present/liblibxserver_present.a.p/present.c.o present/liblibxserver_present.a.p/present_event.c.o present/liblibxserver_present.a.p/present_execute.c.o present/liblibxserver_present.a.p/present_fake.c.o present/liblibxserver_present.a.p/present_fence.c.o present/liblibxserver_present.a.p/present_notify.c.o present/liblibxserver_present.a.p/present_request.c.o present/liblibxserver_present.a.p/present_scmd.c.o present/liblibxserver_present.a.p/present_screen.c.o present/liblibxserver_present.a.p/present_vblank.c.o
[451/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack.c.o -c ../miext/shadow/shrot8pack.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[452/636] rm -f randr/liblibxserver_randr.a && gcc-ar csrDT randr/liblibxserver_randr.a randr/liblibxserver_randr.a.p/randr.c.o randr/liblibxserver_randr.a.p/rrcrtc.c.o randr/liblibxserver_randr.a.p/rrdispatch.c.o randr/liblibxserver_randr.a.p/rrinfo.c.o randr/liblibxserver_randr.a.p/rrlease.c.o randr/liblibxserver_randr.a.p/rrmode.c.o randr/liblibxserver_randr.a.p/rrmonitor.c.o randr/liblibxserver_randr.a.p/rroutput.c.o randr/liblibxserver_randr.a.p/rrpointer.c.o randr/liblibxserver_randr.a.p/rrproperty.c.o randr/liblibxserver_randr.a.p/rrprovider.c.o randr/liblibxserver_randr.a.p/rrproviderproperty.c.o randr/liblibxserver_randr.a.p/rrscreen.c.o randr/liblibxserver_randr.a.p/rrsdispatch.c.o randr/liblibxserver_randr.a.p/rrtransform.c.o randr/liblibxserver_randr.a.p/rrxinerama.c.o
[453/636] rm -f record/liblibxserver_record.a && gcc-ar csrDT record/liblibxserver_record.a record/liblibxserver_record.a.p/record.c.o record/liblibxserver_record.a.p/set.c.o
[454/636] rm -f render/liblibxserver_render.a && gcc-ar csrDT render/liblibxserver_render.a render/liblibxserver_render.a.p/animcur.c.o render/liblibxserver_render.a.p/filter.c.o render/liblibxserver_render.a.p/glyph.c.o render/liblibxserver_render.a.p/matrix.c.o render/liblibxserver_render.a.p/miindex.c.o render/liblibxserver_render.a.p/mipict.c.o render/liblibxserver_render.a.p/mirect.c.o render/liblibxserver_render.a.p/mitrap.c.o render/liblibxserver_render.a.p/mitri.c.o render/liblibxserver_render.a.p/picture.c.o render/liblibxserver_render.a.p/render.c.o
[455/636] rm -f xfixes/liblibxserver_xfixes.a && gcc-ar csrDT xfixes/liblibxserver_xfixes.a xfixes/liblibxserver_xfixes.a.p/cursor.c.o xfixes/liblibxserver_xfixes.a.p/disconnect.c.o xfixes/liblibxserver_xfixes.a.p/region.c.o xfixes/liblibxserver_xfixes.a.p/saveset.c.o xfixes/liblibxserver_xfixes.a.p/select.c.o xfixes/liblibxserver_xfixes.a.p/xfixes.c.o
[456/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_180.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_180.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_180.c.o -c ../miext/shadow/shrot8pack_180.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[457/636] rm -f xkb/liblibxserver_xkb.a && gcc-ar csrDT xkb/liblibxserver_xkb.a xkb/liblibxserver_xkb.a.p/ddxBeep.c.o xkb/liblibxserver_xkb.a.p/ddxCtrls.c.o xkb/liblibxserver_xkb.a.p/ddxLEDs.c.o xkb/liblibxserver_xkb.a.p/ddxLoad.c.o xkb/liblibxserver_xkb.a.p/maprules.c.o xkb/liblibxserver_xkb.a.p/xkmread.c.o xkb/liblibxserver_xkb.a.p/xkbtext.c.o xkb/liblibxserver_xkb.a.p/xkbfmisc.c.o xkb/liblibxserver_xkb.a.p/xkbout.c.o xkb/liblibxserver_xkb.a.p/xkb.c.o xkb/liblibxserver_xkb.a.p/xkbUtils.c.o xkb/liblibxserver_xkb.a.p/xkbEvents.c.o xkb/liblibxserver_xkb.a.p/xkbAccessX.c.o xkb/liblibxserver_xkb.a.p/xkbSwap.c.o xkb/liblibxserver_xkb.a.p/xkbLEDs.c.o xkb/liblibxserver_xkb.a.p/xkbInit.c.o xkb/liblibxserver_xkb.a.p/xkbActions.c.o xkb/liblibxserver_xkb.a.p/xkbPrKeyEv.c.o xkb/liblibxserver_xkb.a.p/XKBMisc.c.o xkb/liblibxserver_xkb.a.p/XKBAlloc.c.o xkb/liblibxserver_xkb.a.p/XKBGAlloc.c.o xkb/liblibxserver_xkb.a.p/XKBMAlloc.c.o
[458/636] rm -f Xext/liblibxserver_xext.a && gcc-ar csrDT Xext/liblibxserver_xext.a Xext/liblibxserver_xext.a.p/bigreq.c.o Xext/liblibxserver_xext.a.p/geext.c.o Xext/liblibxserver_xext.a.p/shape.c.o Xext/liblibxserver_xext.a.p/sleepuntil.c.o Xext/liblibxserver_xext.a.p/sync.c.o Xext/liblibxserver_xext.a.p/xcmisc.c.o Xext/liblibxserver_xext.a.p/xtest.c.o Xext/liblibxserver_xext.a.p/dpms.c.o Xext/liblibxserver_xext.a.p/shm.c.o Xext/liblibxserver_xext.a.p/hashtable.c.o Xext/liblibxserver_xext.a.p/xres.c.o Xext/liblibxserver_xext.a.p/saver.c.o Xext/liblibxserver_xext.a.p/xace.c.o Xext/liblibxserver_xext.a.p/panoramiX.c.o Xext/liblibxserver_xext.a.p/panoramiXprocs.c.o Xext/liblibxserver_xext.a.p/panoramiXSwap.c.o Xext/liblibxserver_xext.a.p/security.c.o Xext/liblibxserver_xext.a.p/xselinux_ext.c.o Xext/liblibxserver_xext.a.p/xselinux_hooks.c.o Xext/liblibxserver_xext.a.p/xselinux_label.c.o Xext/liblibxserver_xext.a.p/xvmain.c.o Xext/liblibxserver_xext.a.p/xvdisp.c.o Xext/liblibxserver_xext.a.p/xvmc.c.o
[459/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_90.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_90.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_90.c.o -c ../miext/shadow/shrot32pack_90.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[460/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_270.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_270.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_270.c.o -c ../miext/shadow/shrot32pack_270.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[461/636] rm -f Xext/liblibxserver_xext_vidmode.a && gcc-ar csrDT Xext/liblibxserver_xext_vidmode.a Xext/liblibxserver_xext_vidmode.a.p/vidmode.c.o
[462/636] rm -f Xi/liblibxserver_xi.a && gcc-ar csrDT Xi/liblibxserver_xi.a Xi/liblibxserver_xi.a.p/allowev.c.o Xi/liblibxserver_xi.a.p/chgdctl.c.o Xi/liblibxserver_xi.a.p/chgfctl.c.o Xi/liblibxserver_xi.a.p/chgkbd.c.o Xi/liblibxserver_xi.a.p/chgkmap.c.o Xi/liblibxserver_xi.a.p/chgprop.c.o Xi/liblibxserver_xi.a.p/chgptr.c.o Xi/liblibxserver_xi.a.p/closedev.c.o Xi/liblibxserver_xi.a.p/devbell.c.o Xi/liblibxserver_xi.a.p/exevents.c.o Xi/liblibxserver_xi.a.p/extinit.c.o Xi/liblibxserver_xi.a.p/getbmap.c.o Xi/liblibxserver_xi.a.p/getdctl.c.o Xi/liblibxserver_xi.a.p/getfctl.c.o Xi/liblibxserver_xi.a.p/getfocus.c.o Xi/liblibxserver_xi.a.p/getkmap.c.o Xi/liblibxserver_xi.a.p/getmmap.c.o Xi/liblibxserver_xi.a.p/getprop.c.o Xi/liblibxserver_xi.a.p/getselev.c.o Xi/liblibxserver_xi.a.p/getvers.c.o Xi/liblibxserver_xi.a.p/grabdev.c.o Xi/liblibxserver_xi.a.p/grabdevb.c.o Xi/liblibxserver_xi.a.p/grabdevk.c.o Xi/liblibxserver_xi.a.p/gtmotion.c.o Xi/liblibxserver_xi.a.p/listdev.c.o Xi/liblibxserver_xi.a.p/opendev.c.o Xi/liblibxserver_xi.a.p/queryst.c.o Xi/liblibxserver_xi.a.p/selectev.c.o Xi/liblibxserver_xi.a.p/sendexev.c.o Xi/liblibxserver_xi.a.p/setbmap.c.o Xi/liblibxserver_xi.a.p/setdval.c.o Xi/liblibxserver_xi.a.p/setfocus.c.o Xi/liblibxserver_xi.a.p/setmmap.c.o Xi/liblibxserver_xi.a.p/setmode.c.o Xi/liblibxserver_xi.a.p/ungrdev.c.o Xi/liblibxserver_xi.a.p/ungrdevb.c.o Xi/liblibxserver_xi.a.p/ungrdevk.c.o Xi/liblibxserver_xi.a.p/xiallowev.c.o Xi/liblibxserver_xi.a.p/xibarriers.c.o Xi/liblibxserver_xi.a.p/xichangecursor.c.o Xi/liblibxserver_xi.a.p/xichangehierarchy.c.o Xi/liblibxserver_xi.a.p/xigetclientpointer.c.o Xi/liblibxserver_xi.a.p/xigrabdev.c.o Xi/liblibxserver_xi.a.p/xipassivegrab.c.o Xi/liblibxserver_xi.a.p/xiproperty.c.o Xi/liblibxserver_xi.a.p/xiquerydevice.c.o Xi/liblibxserver_xi.a.p/xiquerypointer.c.o Xi/liblibxserver_xi.a.p/xiqueryversion.c.o Xi/liblibxserver_xi.a.p/xiselectev.c.o Xi/liblibxserver_xi.a.p/xisetclientpointer.c.o Xi/liblibxserver_xi.a.p/xisetdevfocus.c.o Xi/liblibxserver_xi.a.p/xiwarppointer.c.o
[463/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_90.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_90.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_90.c.o -c ../miext/shadow/shrot8pack_90.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[464/636] gcc -Ixkb/liblibxserver_xkb_stubs.a.p -Ixkb -I../xkb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ xkb/liblibxserver_xkb_stubs.a.p/ddxVT.c.o -MF xkb/liblibxserver_xkb_stubs.a.p/ddxVT.c.o.d -o xkb/liblibxserver_xkb_stubs.a.p/ddxVT.c.o -c ../xkb/ddxVT.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[465/636] gcc -Ixkb/liblibxserver_xkb_stubs.a.p -Ixkb -I../xkb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ xkb/liblibxserver_xkb_stubs.a.p/ddxPrivate.c.o -MF xkb/liblibxserver_xkb_stubs.a.p/ddxPrivate.c.o.d -o xkb/liblibxserver_xkb_stubs.a.p/ddxPrivate.c.o -c ../xkb/ddxPrivate.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[466/636] gcc -Ixkb/liblibxserver_xkb_stubs.a.p -Ixkb -I../xkb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ xkb/liblibxserver_xkb_stubs.a.p/ddxKillSrv.c.o -MF xkb/liblibxserver_xkb_stubs.a.p/ddxKillSrv.c.o.d -o xkb/liblibxserver_xkb_stubs.a.p/ddxKillSrv.c.o -c ../xkb/ddxKillSrv.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[467/636] gcc -Imiext/shadow/liblibxserver_miext_shadow.a.p -Imiext/shadow -I../miext/shadow -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ miext/shadow/liblibxserver_miext_shadow.a.p/shrotate.c.o -MF miext/shadow/liblibxserver_miext_shadow.a.p/shrotate.c.o.d -o miext/shadow/liblibxserver_miext_shadow.a.p/shrotate.c.o -c ../miext/shadow/shrotate.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[468/636] gcc -IXi/liblibxserver_xi_stubs.a.p -IXi -I../Xi -IXext -I../Xext -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ Xi/liblibxserver_xi_stubs.a.p/stubs.c.o -MF Xi/liblibxserver_xi_stubs.a.p/stubs.c.o.d -o Xi/liblibxserver_xi_stubs.a.p/stubs.c.o -c ../Xi/stubs.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[469/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_font.c.o -MF glamor/libglamor.a.p/glamor_font.c.o.d -o glamor/libglamor.a.p/glamor_font.c.o -c ../glamor/glamor_font.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[470/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_core.c.o -MF glamor/libglamor.a.p/glamor_core.c.o.d -o glamor/libglamor.a.p/glamor_core.c.o -c ../glamor/glamor_core.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c: In function ‘glamor_get_drawable_location’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:44:20: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:39:1: note: (1) entry to ‘glamor_get_drawable_location’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:42:42: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_get_drawable_location’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:36: <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_get_drawable_location’ at ../glamor/glamor_core.c:42:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c: In function ‘glamor_get_drawable_location’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:44:20: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:44:20: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c: In function ‘glamor_validate_gc’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:204:19: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:194:1: note: (1) entry to ‘glamor_validate_gc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:200:8: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:201:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:201:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:203:17: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:203:17: note: (6) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_validate_gc’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_validate_gc’ at ../glamor/glamor_core.c:203:17:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c: In function ‘glamor_validate_gc’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:204:19: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (9) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_core.c:204:19: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[471/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor.c.o -MF glamor/libglamor.a.p/glamor.c.o.d -o glamor/libglamor.a.p/glamor.c.o -c ../glamor/glamor.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c: In function ‘glamor_close_screen’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:958:19: warning: dereference of NULL ‘ps’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:937:1: note: (1) entry to ‘glamor_close_screen’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/pixmapstr.h:55, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:33, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:37: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/render/picturestr.h:358:106: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:941:27: note: in expansion of macro ‘GetPictureScreenIfSet’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:943:19: note: (3) inlined call to ‘glamor_get_screen_private’ from ‘glamor_close_screen’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_screen_private’,
inlined from ‘glamor_close_screen’ at ../glamor/glamor.c:943:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:48:26: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:48:9: note: (5) calling ‘dixLookupPrivate’ from ‘glamor_close_screen’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_close_screen’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (8) ...to here
cc1: note: (9) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (10) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (11) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (13) ...to here <--[csmock-gcc-wrapper]
In function ‘glamor_close_screen’:
cc1: note: (14) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:943:19: note: (15) inlined call to ‘glamor_get_screen_private’ from ‘glamor_close_screen’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_screen_private’,
inlined from ‘glamor_close_screen’ at ../glamor/glamor.c:943:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:48:9: note: (16) returning to ‘glamor_close_screen’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c: In function ‘glamor_close_screen’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:958:19: note: (17) dereference of NULL ‘ps’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c: In function ‘_glamor_fds_from_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1030:24: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1020:1: note: (1) entry to ‘_glamor_fds_from_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1024:42: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘_glamor_fds_from_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘_glamor_fds_from_pixmap’ at ../glamor/glamor.c:1024:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c: In function ‘_glamor_fds_from_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1026:9: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1026:9: note: (5) inlined call to ‘glamor_get_screen_private’ from ‘_glamor_fds_from_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_screen_private’,
inlined from ‘_glamor_fds_from_pixmap’ at ../glamor/glamor.c:1026:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:48:9: note: (6) calling ‘dixLookupPrivate’ from ‘_glamor_fds_from_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘_glamor_fds_from_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (7) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (8) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (9) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (10) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (12) ...to here <--[csmock-gcc-wrapper]
In function ‘_glamor_fds_from_pixmap’:
cc1: note: (13) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1026:9: note: (14) inlined call to ‘glamor_get_screen_private’ from ‘_glamor_fds_from_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_screen_private’,
inlined from ‘_glamor_fds_from_pixmap’ at ../glamor/glamor.c:1026:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:48:9: note: (15) returning to ‘_glamor_fds_from_pixmap’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c: In function ‘_glamor_fds_from_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1028:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1030:24: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1030:24: note: (18) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c: In function ‘glamor_name_from_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1106:24: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1102:1: note: (1) entry to ‘glamor_name_from_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1104:42: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_name_from_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_name_from_pixmap’ at ../glamor/glamor.c:1104:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c: In function ‘glamor_name_from_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1106:24: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.c:1106:24: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
[472/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_dash.c.o -MF glamor/libglamor.a.p/glamor_dash.c.o.d -o glamor/libglamor.a.p/glamor_dash.c.o -c ../glamor/glamor_dash.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:23: <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_dash_loop’ at ../glamor/glamor_dash.c:213:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c: In function ‘glamor_dash_loop’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:203:1: note: (1) entry to ‘glamor_dash_loop’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:207:42: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_dash_loop’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_dash_loop’ at ../glamor/glamor_dash.c:207:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /usr/include/epoxy/gl.h:89, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:40: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c: In function ‘glamor_dash_loop’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:211:5: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:511:37: note: (5) inlined call to ‘glamor_pixmap_hcnt’ from ‘glamor_dash_loop’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:213:5: note: in expansion of macro ‘glamor_pixmap_loop’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_dash_loop’ at ../glamor/glamor_dash.c:213:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: note: (6) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c: In function ‘glamor_dash_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:143:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:133:1: note: (1) entry to ‘glamor_dash_setup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:138:42: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_dash_setup’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_dash_setup’ at ../glamor/glamor_dash.c:138:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c: In function ‘glamor_dash_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:143:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:143:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:152:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:320:1: note: (1) entry to ‘glamor_poly_segment_dash_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:331:18: note: (2) calling ‘glamor_dash_setup’ from ‘glamor_poly_segment_dash_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:133:1: note: (3) entry to ‘glamor_dash_setup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:138:42: note: (4) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_dash_setup’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_dash_setup’ at ../glamor/glamor_dash.c:138:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (7) calling ‘dixLookupPrivate’ from ‘glamor_dash_setup’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_dash_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (8) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (9) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (10) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (12) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_dash_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (16) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:138:42: note: (17) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_dash_setup’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_dash_setup’ at ../glamor/glamor_dash.c:138:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (18) returning to ‘glamor_dash_setup’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c: In function ‘glamor_dash_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:143:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:146:11: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:146:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:149:19: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:149:19: note: (23) calling ‘glamor_get_dash_pixmap’ from ‘glamor_dash_setup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:78:1: note: (24) entry to ‘glamor_get_dash_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:80:34: note: (25) inlined call to ‘glamor_get_gc_private’ from ‘glamor_get_dash_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_gc_private’,
inlined from ‘glamor_get_dash_pixmap’ at ../glamor/glamor_dash.c:80:34:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:534:12: note: (26) calling ‘dixLookupPrivate’ from ‘glamor_get_dash_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_dash_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (27) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (28) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (29) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (31) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_dash_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (35) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:80:34: note: (36) inlined call to ‘glamor_get_gc_private’ from ‘glamor_get_dash_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_gc_private’,
inlined from ‘glamor_get_dash_pixmap’ at ../glamor/glamor_dash.c:80:34:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:534:12: note: (37) returning to ‘glamor_get_dash_pixmap’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c: In function ‘glamor_dash_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:88:8: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (39) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:149:19: note: (40) returning to ‘glamor_dash_setup’ from ‘glamor_get_dash_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:150:17: note: (41) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_dash_setup’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_dash_setup’ at ../glamor/glamor_dash.c:150:17:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c: In function ‘glamor_dash_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:152:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (44) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_dash.c:152:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[473/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_copy.c.o -MF glamor/libglamor.a.p/glamor_copy.c.o.d -o glamor/libglamor.a.p/glamor_copy.c.o -c ../glamor/glamor_copy.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:23: <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_copy_fbo_fbo_draw’ at ../glamor/glamor_copy.c:449:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:726:1: note: (1) entry to ‘glamor_copy.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:741:9: note: (2) calling ‘glamor_copy_gl’ from ‘glamor_copy.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:687:1: note: (3) entry to ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:701:39: note: (4) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:701:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (7) calling ‘dixLookupPrivate’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (8) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (9) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (10) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (12) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (16) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:701:39: note: (17) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:701:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (18) returning to ‘glamor_copy_gl’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:702:39: note: (19) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:702:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (22) calling ‘dixLookupPrivate’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (23) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (24) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (25) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (27) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (31) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:702:39: note: (32) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:702:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (33) returning to ‘glamor_copy_gl’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:704:8: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:705:13: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:705:12: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:706:17: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:706:16: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:710:24: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:710:24: note: (40) calling ‘glamor_copy_fbo_fbo_draw’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:346:1: note: (41) entry to ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:362:39: note: (42) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_fbo_fbo_draw’ at ../glamor/glamor_copy.c:362:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:374:21: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:381:8: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:384:8: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:395:8: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:398:14: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:411:8: note: (49) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:411:48: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:433:19: note: (51) following ‘false’ branch (when ‘n >= nbox’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:443:5: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:511:37: note: (53) inlined call to ‘glamor_pixmap_hcnt’ from ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:449:5: note: in expansion of macro ‘glamor_pixmap_loop’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_copy_fbo_fbo_draw’ at ../glamor/glamor_copy.c:449:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: note: (54) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_copy_fbo_fbo_draw’ at ../glamor/glamor_copy.c:459:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:726:1: note: (1) entry to ‘glamor_copy.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:741:9: note: (2) calling ‘glamor_copy_gl’ from ‘glamor_copy.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:687:1: note: (3) entry to ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:701:39: note: (4) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:701:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (7) calling ‘dixLookupPrivate’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (8) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (9) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (10) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (12) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (16) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:701:39: note: (17) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:701:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (18) returning to ‘glamor_copy_gl’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:702:39: note: (19) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:702:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (22) calling ‘dixLookupPrivate’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (23) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (24) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (25) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (27) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (31) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:702:39: note: (32) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:702:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (33) returning to ‘glamor_copy_gl’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:704:8: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:705:13: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:705:12: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:706:17: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:706:16: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:710:24: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:710:24: note: (40) calling ‘glamor_copy_fbo_fbo_draw’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:346:1: note: (41) entry to ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:362:39: note: (42) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_fbo_fbo_draw’ at ../glamor/glamor_copy.c:362:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (45) calling ‘dixLookupPrivate’ from ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (46) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (47) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (48) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (49) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (50) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (54) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:362:39: note: (55) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_fbo_fbo_draw’ at ../glamor/glamor_copy.c:362:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (56) returning to ‘glamor_copy_fbo_fbo_draw’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:363:39: note: (57) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_fbo_fbo_draw’ at ../glamor/glamor_copy.c:363:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (58) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_fbo_fbo_draw’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:374:21: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:381:8: note: (60) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:384:8: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:395:8: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:398:14: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:411:8: note: (64) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /usr/include/epoxy/gl.h:89, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:40: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:423:5: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:433:19: note: (66) following ‘false’ branch (when ‘n >= nbox’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:443:5: note: (67) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:511:35: note: (68) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:449:5: note: in expansion of macro ‘glamor_pixmap_loop’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:450:26: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:450:26: note: (70) calling ‘glamor_pixmap_box_at’ from ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:492:1: note: (71) entry to ‘glamor_pixmap_box_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:494:5: note: (72) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:495:17: note: (73) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:450:26: note: (74) returning to ‘glamor_copy_fbo_fbo_draw’ from ‘glamor_pixmap_box_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:454:20: note: (75) calling ‘glamor_pixmap_fbo_at’ from ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:485:1: note: (76) entry to ‘glamor_pixmap_fbo_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:487:5: note: (77) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:488:16: note: (78) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:454:20: note: (79) returning to ‘glamor_copy_fbo_fbo_draw’ from ‘glamor_pixmap_fbo_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:456:12: note: (80) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (81) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:511:37: note: (82) inlined call to ‘glamor_pixmap_hcnt’ from ‘glamor_copy_fbo_fbo_draw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:459:9: note: in expansion of macro ‘glamor_pixmap_loop’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_copy_fbo_fbo_draw’ at ../glamor/glamor_copy.c:459:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: note: (83) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:704:9: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:726:1: note: (1) entry to ‘glamor_copy.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:741:9: note: (2) calling ‘glamor_copy_gl’ from ‘glamor_copy.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:687:1: note: (3) entry to ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:701:39: note: (4) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:701:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:704:9: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (7) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:704:9: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:705:13: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:726:1: note: (1) entry to ‘glamor_copy.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:741:9: note: (2) calling ‘glamor_copy_gl’ from ‘glamor_copy.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:687:1: note: (3) entry to ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:701:39: note: (4) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:701:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:702:39: note: (6) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:702:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (10) calling ‘dixLookupPrivate’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (11) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (12) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (13) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (15) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_copy_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (19) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:702:39: note: (20) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_copy_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_copy_gl’ at ../glamor/glamor_copy.c:702:39:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (21) returning to ‘glamor_copy_gl’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c: In function ‘glamor_copy_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:704:8: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:705:13: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (24) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_copy.c:705:13: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[474/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_glx.c.o -MF glamor/libglamor.a.p/glamor_glx.c.o.d -o glamor/libglamor.a.p/glamor_glx.c.o -c ../glamor/glamor_glx.c
[475/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_lines.c.o -MF glamor/libglamor.a.p/glamor_lines.c.o.d -o glamor/libglamor.a.p/glamor_lines.c.o -c ../glamor/glamor_lines.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_lines.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_lines.c: In function ‘glamor_poly_lines_solid_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_lines.c:52:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_lines.c:36:1: note: (1) entry to ‘glamor_poly_lines_solid_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_lines.c:51:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_poly_lines_solid_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_poly_lines_solid_gl’ at ../glamor/glamor_lines.c:51:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_lines.c: In function ‘glamor_poly_lines_solid_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_lines.c:52:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_lines.c:52:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[476/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_segs.c.o -MF glamor/libglamor.a.p/glamor_segs.c.o.d -o glamor/libglamor.a.p/glamor_segs.c.o -c ../glamor/glamor_segs.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_segs.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_segs.c: In function ‘glamor_poly_segment_solid_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_segs.c:52:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_segs.c:36:1: note: (1) entry to ‘glamor_poly_segment_solid_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_segs.c:51:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_poly_segment_solid_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_poly_segment_solid_gl’ at ../glamor/glamor_segs.c:51:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_segs.c: In function ‘glamor_poly_segment_solid_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_segs.c:52:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_segs.c:52:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[477/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_gradient.c.o -MF glamor/libglamor.a.p/glamor_gradient.c.o.d -o glamor/libglamor.a.p/glamor_gradient.c.o -c ../glamor/glamor_gradient.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_gradient.c:33: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_gradient.c: In function ‘_glamor_gradient_set_pixmap_destination’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_gradient.c:649:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_gradient.c:634:1: note: (1) entry to ‘_glamor_gradient_set_pixmap_destination’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_gradient.c:647:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘_glamor_gradient_set_pixmap_destination’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘_glamor_gradient_set_pixmap_destination’ at ../glamor/glamor_gradient.c:647:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_gradient.c: In function ‘_glamor_gradient_set_pixmap_destination’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_gradient.c:649:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_gradient.c:649:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[478/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_image.c.o -MF glamor/libglamor.a.p/glamor_image.c.o.d -o glamor/libglamor.a.p/glamor_image.c.o -c ../glamor/glamor_image.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c: In function ‘glamor_put_image_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:46:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:32:1: note: (1) entry to ‘glamor_put_image_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:44:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_put_image_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_put_image_gl’ at ../glamor/glamor_image.c:44:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c: In function ‘glamor_put_image_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:46:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:46:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c: In function ‘glamor_get_image_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:116:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:106:1: note: (1) entry to ‘glamor_get_image_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:115:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_get_image_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_get_image_gl’ at ../glamor/glamor_image.c:115:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c: In function ‘glamor_get_image_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:116:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_image.c:116:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[479/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_composite_glyphs.c.o -MF glamor/libglamor.a.p/glamor_composite_glyphs.c.o.d -o glamor/libglamor.a.p/glamor_composite_glyphs.c.o -c ../glamor/glamor_composite_glyphs.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:25: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_is_memory’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:439:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:339:1: note: (1) entry to ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:362:19: note: (2) following ‘true’ branch (when ‘n < nlist’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:363:23: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:369:12: note: (4) following ‘true’ branch (when ‘nlist != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:370:18: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:374:16: note: (6) following ‘true’ branch (when ‘n != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:375:37: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:379:16: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:380:60: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:385:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/Xprintf.h:29, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (12) calling ‘glamor_pixmap_is_memory’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:435:1: note: (13) entry to ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (14) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (15) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_is_memory’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:439:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:439:16: note: (17) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:472:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:339:1: note: (1) entry to ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:369:12: note: (2) following ‘true’ branch (when ‘nlist != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:370:18: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:374:16: note: (4) following ‘true’ branch (when ‘n != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:375:37: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:379:16: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:380:60: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:385:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (10) calling ‘glamor_pixmap_is_memory’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:435:1: note: (11) entry to ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (12) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (13) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (15) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (16) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (17) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (18) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (20) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (24) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (25) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (26) returning to ‘glamor_pixmap_is_memory’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (27) returning to ‘glamor_composite_glyphs’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:385:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:400:63: note: (29) inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_glyph_private’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:400:63:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:29: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:12: note: (31) calling ‘dixLookupPrivate’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (32) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (33) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (34) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (36) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (40) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:400:63: note: (41) inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_glyph_private’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:400:63:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:12: note: (42) returning to ‘glamor_composite_glyphs’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:405:24: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:406:28: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:406:28: note: (45) following ‘false’ branch (when ‘glyphs_queued == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (46) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:415:24: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:416:30: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:426:28: note: (49) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:427:29: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:427:29: note: (51) calling ‘glamor_glyph_atlas_init’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:122:1: note: (52) entry to ‘glamor_glyph_atlas_init’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:130:10: note: (53) calling ‘glamor_pixmap_has_fbo’ from ‘glamor_glyph_atlas_init’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:468:1: note: (54) entry to ‘glamor_pixmap_has_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:470:35: note: (55) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_has_fbo’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_has_fbo’ at ../glamor/glamor_priv.h:470:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (56) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:472:16: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:472:16: note: (58) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_fbo_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:487:22: warning: dereference of NULL ‘priv’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:339:1: note: (1) entry to ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:369:12: note: (2) following ‘true’ branch (when ‘nlist != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:370:18: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:374:16: note: (4) following ‘true’ branch (when ‘n != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:375:37: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:379:16: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:380:60: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:385:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (10) calling ‘glamor_pixmap_is_memory’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:435:1: note: (11) entry to ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (12) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (13) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (15) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_fbo_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (16) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (17) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (18) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (20) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_fbo_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (24) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (25) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (26) returning to ‘glamor_pixmap_is_memory’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_pixmap_fbo_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (27) returning to ‘glamor_composite_glyphs’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:385:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:400:63: note: (29) inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_glyph_private’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:400:63:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:29: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:12: note: (31) calling ‘dixLookupPrivate’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_fbo_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (32) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (33) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (34) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (36) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_fbo_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (40) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:400:63: note: (41) inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_glyph_private’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:400:63:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:12: note: (42) returning to ‘glamor_composite_glyphs’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_pixmap_fbo_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:405:24: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:406:28: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:406:28: note: (45) following ‘false’ branch (when ‘glyphs_queued == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (46) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:436:24: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:437:29: note: (48) inlined call to ‘glamor_glsl_has_ints’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926: <--[csmock-gcc-wrapper]
In function ‘glamor_glsl_has_ints’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:437:29:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:737:23: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_pixmap_fbo_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:447:28: note: (50) following ‘false’ branch (when ‘prog’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:449:29: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:374:16: note: (52) following ‘true’ branch (when ‘n != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:375:37: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:379:16: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:380:60: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:389:24: note: (56) following ‘true’ branch (when ‘glyphs_queued != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:390:25: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:390:25: note: (58) calling ‘glamor_glyphs_flush’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:228:1: note: (59) entry to ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:235:41: note: (60) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_glyphs_flush’ at ../glamor/glamor_composite_glyphs.c:235:41:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (61) following ‘true’ branch (when ‘atlas_pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_pixmap_fbo_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:236:36: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:236:36: note: (63) calling ‘glamor_pixmap_fbo_at’ from ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:485:1: note: (64) entry to ‘glamor_pixmap_fbo_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:487:22: note: (65) dereference of NULL ‘priv’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_glyphs_flush’ at ../glamor/glamor_composite_glyphs.c:253:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:339:1: note: (1) entry to ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:369:12: note: (2) following ‘true’ branch (when ‘nlist != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:370:18: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:374:16: note: (4) following ‘true’ branch (when ‘n != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:375:37: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:379:16: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:380:60: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:385:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (10) calling ‘glamor_pixmap_is_memory’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:435:1: note: (11) entry to ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (12) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (13) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (15) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (16) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (17) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (18) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (20) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (24) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (25) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (26) returning to ‘glamor_pixmap_is_memory’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (27) returning to ‘glamor_composite_glyphs’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:385:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:400:63: note: (29) inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_glyph_private’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:400:63:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:29: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:12: note: (31) calling ‘dixLookupPrivate’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (32) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (33) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (34) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (36) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (40) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:400:63: note: (41) inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_glyph_private’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:400:63:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:12: note: (42) returning to ‘glamor_composite_glyphs’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:405:24: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:406:28: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:406:28: note: (45) following ‘false’ branch (when ‘glyphs_queued == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (46) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:436:24: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:437:29: note: (48) inlined call to ‘glamor_glsl_has_ints’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In function ‘glamor_glsl_has_ints’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:437:29:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:737:23: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:447:28: note: (50) following ‘false’ branch (when ‘prog’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:449:29: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:374:16: note: (52) following ‘true’ branch (when ‘n != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:375:37: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:379:16: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:380:60: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:389:24: note: (56) following ‘true’ branch (when ‘glyphs_queued != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:390:25: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:390:25: note: (58) calling ‘glamor_glyphs_flush’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:228:1: note: (59) entry to ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:235:41: note: (60) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_glyphs_flush’ at ../glamor/glamor_composite_glyphs.c:235:41:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (61) following ‘false’ branch (when ‘atlas_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (63) calling ‘dixLookupPrivate’ from ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (64) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (65) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (66) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (67) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (68) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (70) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (71) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (72) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:235:41: note: (73) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_glyphs_flush’ at ../glamor/glamor_composite_glyphs.c:235:41:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (74) returning to ‘glamor_glyphs_flush’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:236:36: note: (75) calling ‘glamor_pixmap_fbo_at’ from ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:485:1: note: (76) entry to ‘glamor_pixmap_fbo_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:487:5: note: (77) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:488:16: note: (78) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:236:36: note: (79) returning to ‘glamor_glyphs_flush’ from ‘glamor_pixmap_fbo_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:238:42: note: (80) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_glyphs_flush’ at ../glamor/glamor_composite_glyphs.c:238:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (81) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_glyphs_flush’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:242:5: note: (82) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:248:12: note: (83) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /usr/include/epoxy/gl.h:89, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:40: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:251:9: note: (84) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:511:37: note: (85) inlined call to ‘glamor_pixmap_hcnt’ from ‘glamor_glyphs_flush’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:253:9: note: in expansion of macro ‘glamor_pixmap_loop’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_glyphs_flush’ at ../glamor/glamor_composite_glyphs.c:253:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: note: (86) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_composite_glyphs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:415:70: warning: dereference of NULL ‘glyph_atlas’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:339:1: note: (1) entry to ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:369:12: note: (2) following ‘true’ branch (when ‘nlist != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:370:18: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:374:16: note: (4) following ‘true’ branch (when ‘n != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:375:37: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:379:16: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:380:60: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:385:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (10) calling ‘glamor_pixmap_is_memory’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:435:1: note: (11) entry to ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (12) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (13) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (15) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_glyphs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (16) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (17) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (18) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (20) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_glyphs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (24) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (25) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (26) returning to ‘glamor_pixmap_is_memory’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_composite_glyphs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:387:34: note: (27) returning to ‘glamor_composite_glyphs’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:385:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:400:63: note: (29) inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_glyph_private’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:400:63:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:29: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:12: note: (31) calling ‘dixLookupPrivate’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_glyphs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (32) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (33) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (34) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (36) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_glyphs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (40) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:400:63: note: (41) inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_glyph_private’,
inlined from ‘glamor_composite_glyphs’ at ../glamor/glamor_composite_glyphs.c:400:63:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:51:12: note: (42) returning to ‘glamor_composite_glyphs’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c: In function ‘glamor_composite_glyphs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:405:24: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:415:47: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_composite_glyphs.c:415:70: note: (45) dereference of NULL ‘glyph_atlas’ <--[csmock-gcc-wrapper]
[480/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_prepare.c.o -MF glamor/libglamor.a.p/glamor_prepare.c.o.d -o glamor/libglamor.a.p/glamor_prepare.c.o -c ../glamor/glamor_prepare.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c: In function ‘glamor_fini_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c:151:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c:217:1: note: (1) entry to ‘glamor_finish_access’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c:219:5: note: (2) calling ‘glamor_fini_pixmap’ from ‘glamor_finish_access’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c:147:1: note: (3) entry to ‘glamor_fini_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c:149:41: note: (4) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_fini_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_fini_pixmap’ at ../glamor/glamor_prepare.c:149:41:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (5) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c: In function ‘glamor_fini_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c:151:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (7) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_prepare.c:151:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[481/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_program.c.o -MF glamor/libglamor.a.p/glamor_program.c.o.d -o glamor/libglamor.a.p/glamor_program.c.o -c ../glamor/glamor_program.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[482/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_rects.c.o -MF glamor/libglamor.a.p/glamor_rects.c.o.d -o glamor/libglamor.a.p/glamor_rects.c.o -c ../glamor/glamor_rects.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_rects.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_rects.c: In function ‘glamor_poly_fill_rect_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_rects.c:61:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_rects.c:45:1: note: (1) entry to ‘glamor_poly_fill_rect_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_rects.c:60:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_poly_fill_rect_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_poly_fill_rect_gl’ at ../glamor/glamor_rects.c:60:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_rects.c: In function ‘glamor_poly_fill_rect_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_rects.c:61:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_rects.c:61:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[483/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_transfer.c.o -MF glamor/libglamor.a.p/glamor_transfer.c.o.d -o glamor/libglamor.a.p/glamor_transfer.c.o -c ../glamor/glamor_transfer.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[484/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_spans.c.o -MF glamor/libglamor.a.p/glamor_spans.c.o.d -o glamor/libglamor.a.p/glamor_spans.c.o -c ../glamor/glamor_spans.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c: In function ‘glamor_fill_spans_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:62:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:45:1: note: (1) entry to ‘glamor_fill_spans_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:61:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_fill_spans_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_fill_spans_gl’ at ../glamor/glamor_spans.c:61:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c: In function ‘glamor_fill_spans_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:62:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:62:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c: In function ‘glamor_get_spans_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:194:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:180:1: note: (1) entry to ‘glamor_get_spans_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:193:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_get_spans_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_get_spans_gl’ at ../glamor/glamor_spans.c:193:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c: In function ‘glamor_get_spans_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:194:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:194:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c: In function ‘glamor_set_spans_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:277:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:263:1: note: (1) entry to ‘glamor_set_spans_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:276:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_set_spans_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_set_spans_gl’ at ../glamor/glamor_spans.c:276:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c: In function ‘glamor_set_spans_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:277:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_spans.c:277:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[485/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_text.c.o -MF glamor/libglamor.a.p/glamor_text.c.o.d -o glamor/libglamor.a.p/glamor_text.c.o -c ../glamor/glamor_text.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:23: <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_text’ at ../glamor/glamor_text.c:191:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c: In function ‘glamor_text’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:383:1: note: (1) entry to ‘glamor_image_text’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:397:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_image_text’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_image_text’ at ../glamor/glamor_text.c:397:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (5) calling ‘dixLookupPrivate’ from ‘glamor_image_text’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_text’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c: In function ‘glamor_text’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:397:19: note: (10) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_image_text’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_image_text’ at ../glamor/glamor_text.c:397:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (11) returning to ‘glamor_image_text’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c: In function ‘glamor_text’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:398:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:401:19: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:402:8: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:405:5: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:414:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:417:14: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:464:8: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:467:12: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:467:12: note: (20) calling ‘glamor_text’ from ‘glamor_image_text’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:91:1: note: (21) entry to ‘glamor_text’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:112:42: note: (22) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_text’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_text’ at ../glamor/glamor_text.c:112:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /usr/include/epoxy/gl.h:89, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:40: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c: In function ‘glamor_text’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:116:5: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:137:19: note: (25) following ‘true’ branch (when ‘c < count’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:138:28: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:137:19: note: (27) following ‘true’ branch (when ‘c < count’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:138:28: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:148:16: note: (29) following ‘false’ branch (when ‘sixteen == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:163:38: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:137:19: note: (31) following ‘false’ branch (when ‘c >= count’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:185:5: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:187:8: note: (33) following ‘true’ branch (when ‘nglyph != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:189:9: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:511:37: note: (35) inlined call to ‘glamor_pixmap_hcnt’ from ‘glamor_text’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:191:9: note: in expansion of macro ‘glamor_pixmap_loop’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_hcnt’,
inlined from ‘glamor_text’ at ../glamor/glamor_text.c:191:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:507:16: note: (36) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c: In function ‘glamor_image_text’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:398:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:383:1: note: (1) entry to ‘glamor_image_text’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:397:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_image_text’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_image_text’ at ../glamor/glamor_text.c:397:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c: In function ‘glamor_image_text’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:398:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_text.c:398:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[486/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_render.c.o -MF glamor/libglamor.a.p/glamor_render.c.o.d -o glamor/libglamor.a.p/glamor_render.c.o -c ../glamor/glamor_render.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:35: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_drm_only’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:428:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1601:1: note: (1) entry to ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1620:8: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1621:25: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1622:13: note: (4) calling ‘glamor_pixmap_drm_only’ from ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:424:1: note: (5) entry to ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:426:35: note: (6) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_drm_only’ at ../glamor/glamor_priv.h:426:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (7) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_drm_only’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:428:16: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:428:16: note: (9) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:472:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1601:1: note: (1) entry to ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1620:8: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1621:25: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1622:13: note: (4) calling ‘glamor_pixmap_drm_only’ from ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:424:1: note: (5) entry to ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:426:35: note: (6) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_drm_only’ at ../glamor/glamor_priv.h:426:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (7) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (9) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (10) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (11) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:426:35: note: (14) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_drm_only’ at ../glamor/glamor_priv.h:426:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (15) returning to ‘glamor_pixmap_drm_only’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1622:13: note: (16) returning to ‘glamor_composite’ from ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1622:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1626:8: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1626:8: note: (19) following ‘false’ branch (when ‘mask’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1637:10: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1637:10: note: (21) calling ‘glamor_pixmap_has_fbo’ from ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:468:1: note: (22) entry to ‘glamor_pixmap_has_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:470:35: note: (23) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_has_fbo’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_has_fbo’ at ../glamor/glamor_priv.h:470:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (24) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_has_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:472:16: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:472:16: note: (26) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1477:21: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1601:1: note: (1) entry to ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1620:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1626:8: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1626:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1627:23: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1628:13: note: (6) calling ‘glamor_pixmap_drm_only’ from ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:424:1: note: (7) entry to ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:426:35: note: (8) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_drm_only’ at ../glamor/glamor_priv.h:426:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (9) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (11) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (12) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (13) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:426:35: note: (16) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_drm_only’ at ../glamor/glamor_priv.h:426:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (17) returning to ‘glamor_pixmap_drm_only’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1628:13: note: (18) returning to ‘glamor_composite’ from ‘glamor_pixmap_drm_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1628:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1637:10: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1637:10: note: (21) calling ‘glamor_pixmap_has_fbo’ from ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:468:1: note: (22) entry to ‘glamor_pixmap_has_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:470:35: note: (23) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_has_fbo’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_has_fbo’ at ../glamor/glamor_priv.h:470:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (24) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (26) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_has_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (27) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (28) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:470:35: note: (31) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_has_fbo’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_has_fbo’ at ../glamor/glamor_priv.h:470:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (32) returning to ‘glamor_pixmap_has_fbo’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1637:10: note: (33) returning to ‘glamor_composite’ from ‘glamor_pixmap_has_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1637:8: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1640:8: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1640:8: note: (36) following ‘false’ branch (when ‘op <= 12’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1645:8: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1645:8: note: (38) following ‘true’ branch (when ‘mask’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1645:14: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1654:17: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1655:9: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1655:9: note: (42) following ‘true’ branch (when ‘mask’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1655:25: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1655:18: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1660:10: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1668:42: note: (46) following ‘true’ branch (when ‘mask_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1669:54: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1664:44: note: (48) following ‘false’ branch (when ‘source_pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1662:44: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1660:8: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:51: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:346:49: note: (51) inlined call to ‘RegionNumRects’ from ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1675:12: note: in expansion of macro ‘REGION_NUM_RECTS’ <--[csmock-gcc-wrapper]
In function ‘RegionNumRects’,
inlined from ‘glamor_composite’ at ../glamor/glamor_render.c:1675:12:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:88:18: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1703:23: note: (53) calling ‘glamor_pixmap_is_large’ from ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:458:1: note: (54) entry to ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:460:35: note: (55) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_large’ at ../glamor/glamor_priv.h:460:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (56) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (58) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (59) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (60) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (61) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:460:35: note: (63) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_large’ at ../glamor/glamor_priv.h:460:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (64) returning to ‘glamor_pixmap_is_large’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1703:23: note: (65) returning to ‘glamor_composite’ from ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1703:20: note: (66) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1704:9: note: (67) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1704:9: note: (68) following ‘false’ branch (when ‘source_pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1706:9: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1706:9: note: (70) following ‘true’ branch (when ‘mask_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1706:28: note: (71) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1706:28: note: (72) calling ‘glamor_pixmap_is_large’ from ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:458:1: note: (73) entry to ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:460:35: note: (74) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_large’ at ../glamor/glamor_priv.h:460:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (75) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (76) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (77) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (78) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (79) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (80) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (81) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:460:35: note: (82) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_large’ at ../glamor/glamor_priv.h:460:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (83) returning to ‘glamor_pixmap_is_large’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1706:28: note: (84) returning to ‘glamor_composite’ from ‘glamor_pixmap_is_large’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1706:25: note: (85) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1717:14: note: (86) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1717:14: note: (87) calling ‘glamor_composite_clipped_region’ from ‘glamor_composite’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1390:1: note: (88) entry to ‘glamor_composite_clipped_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1402:49: note: (89) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_clipped_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_clipped_region’ at ../glamor/glamor_render.c:1402:49:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (90) following ‘true’ branch (when ‘source_pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1403:47: note: (91) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_clipped_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_clipped_region’ at ../glamor/glamor_render.c:1403:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (92) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (93) following ‘false’ branch (when ‘mask_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (94) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (95) calling ‘dixLookupPrivate’ from ‘glamor_composite_clipped_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (96) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (97) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (98) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (99) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1403:47: note: (100) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_clipped_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_clipped_region’ at ../glamor/glamor_render.c:1403:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (101) returning to ‘glamor_composite_clipped_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1404:47: note: (102) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_clipped_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_clipped_region’ at ../glamor/glamor_render.c:1404:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (103) following ‘false’ branch (when ‘dest_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (104) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (105) calling ‘dixLookupPrivate’ from ‘glamor_composite_clipped_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (106) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (107) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (108) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (109) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1404:47: note: (110) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_clipped_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_clipped_region’ at ../glamor/glamor_render.c:1404:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (111) returning to ‘glamor_composite_clipped_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1427:12: note: (112) inlined call to ‘RegionNumRects’ from ‘glamor_composite_clipped_region’ <--[csmock-gcc-wrapper]
In function ‘RegionNumRects’,
inlined from ‘glamor_composite_clipped_region’ at ../glamor/glamor_render.c:1427:12:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:88:49: note: (113) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c: In function ‘glamor_composite_clipped_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1428:19: note: (114) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1440:8: note: (115) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1473:8: note: (116) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1473:8: note: (117) following ‘true’ branch (when ‘source’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1474:21: note: (118) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1476:13: note: (119) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (120) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1477:21: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (121) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_render.c:1477:21: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[487/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_trapezoid.c.o -MF glamor/libglamor.a.p/glamor_trapezoid.c.o.d -o glamor/libglamor.a.p/glamor_trapezoid.c.o -c ../glamor/glamor_trapezoid.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[488/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_triangles.c.o -MF glamor/libglamor.a.p/glamor_triangles.c.o.d -o glamor/libglamor.a.p/glamor_triangles.c.o -c ../glamor/glamor_triangles.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[489/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_addtraps.c.o -MF glamor/libglamor.a.p/glamor_addtraps.c.o.d -o glamor/libglamor.a.p/glamor_addtraps.c.o -c ../glamor/glamor_addtraps.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[490/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_points.c.o -MF glamor/libglamor.a.p/glamor_points.c.o.d -o glamor/libglamor.a.p/glamor_points.c.o -c ../glamor/glamor_points.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_points.c:29: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_points.c: In function ‘glamor_poly_point_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_points.c:53:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_points.c:39:1: note: (1) entry to ‘glamor_poly_point_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_points.c:52:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_poly_point_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_poly_point_gl’ at ../glamor/glamor_points.c:52:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_points.c: In function ‘glamor_poly_point_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_points.c:53:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_points.c:53:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[491/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_pixmap.c.o -MF glamor/libglamor.a.p/glamor_pixmap.c.o.d -o glamor/libglamor.a.p/glamor_pixmap.c.o -c ../glamor/glamor_pixmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_pixmap.c:32: <--[csmock-gcc-wrapper]
In function ‘glamor_set_destination_pixmap_priv’,
inlined from ‘glamor_set_destination_pixmap’ at ../glamor/glamor_pixmap.c:107:11:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_pixmap.c:92:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_pixmap.c: In function ‘glamor_set_destination_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_pixmap.c:100:1: note: (1) entry to ‘glamor_set_destination_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_pixmap.c:103:42: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_set_destination_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_set_destination_pixmap’ at ../glamor/glamor_pixmap.c:103:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_pixmap.c: In function ‘glamor_set_destination_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_pixmap.c:104:15: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_pixmap.c:107:11: note: (5) inlined call to ‘glamor_set_destination_pixmap_priv’ from ‘glamor_set_destination_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_set_destination_pixmap_priv’,
inlined from ‘glamor_set_destination_pixmap’ at ../glamor/glamor_pixmap.c:107:11:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (6) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_pixmap.c:92:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[492/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_transform.c.o -MF glamor/libglamor.a.p/glamor_transform.c.o.d -o glamor/libglamor.a.p/glamor_transform.c.o -c ../glamor/glamor_transform.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_box_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:494:22: warning: dereference of NULL ‘priv’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:37:1: note: (1) entry to ‘glamor_set_destination_drawable’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:48:42: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_set_destination_drawable’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_set_destination_drawable’ at ../glamor/glamor_transform.c:48:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c: In function ‘glamor_pixmap_box_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:50:18: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:50:18: note: (5) calling ‘glamor_pixmap_box_at’ from ‘glamor_set_destination_drawable’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:492:1: note: (6) entry to ‘glamor_pixmap_box_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:494:22: note: (7) dereference of NULL ‘priv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c: In function ‘glamor_set_texture_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:173:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:167:1: note: (1) entry to ‘glamor_set_texture_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:171:20: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_set_texture_pixmap’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_set_texture_pixmap’ at ../glamor/glamor_transform.c:171:20:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch (when ‘texture’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c: In function ‘glamor_set_texture_pixmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:173:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_transform.c:173:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[493/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_glyphblt.c.o -MF glamor/libglamor.a.p/glamor_glyphblt.c.o.d -o glamor/libglamor.a.p/glamor_glyphblt.c.o -c ../glamor/glamor_glyphblt.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:29: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c: In function ‘glamor_poly_glyph_blt_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:55:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:41:1: note: (1) entry to ‘glamor_poly_glyph_blt_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:54:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_poly_glyph_blt_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_poly_glyph_blt_gl’ at ../glamor/glamor_glyphblt.c:54:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c: In function ‘glamor_poly_glyph_blt_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:55:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:55:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c: In function ‘glamor_push_pixels_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:186:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:164:1: note: (1) entry to ‘glamor_push_pixels_gl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:182:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:185:19: note: (3) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_push_pixels_gl’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_push_pixels_gl’ at ../glamor/glamor_glyphblt.c:185:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c: In function ‘glamor_push_pixels_gl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:186:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:573:64: note: (7) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_glyphblt.c:186:10: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’ <--[csmock-gcc-wrapper]
[494/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_window.c.o -MF glamor/libglamor.a.p/glamor_window.c.o.d -o glamor/libglamor.a.p/glamor_window.c.o -c ../glamor/glamor_window.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[495/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_vbo.c.o -MF glamor/libglamor.a.p/glamor_vbo.c.o.d -o glamor/libglamor.a.p/glamor_vbo.c.o -c ../glamor/glamor_vbo.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[496/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_utils.c.o -MF glamor/libglamor.a.p/glamor_utils.c.o.d -o glamor/libglamor.a.p/glamor_utils.c.o -c ../glamor/glamor_utils.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[497/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_sync.c.o -MF glamor/libglamor.a.p/glamor_sync.c.o.d -o glamor/libglamor.a.p/glamor_sync.c.o -c ../glamor/glamor_sync.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[498/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_picture.c.o -MF glamor/libglamor.a.p/glamor_picture.c.o.d -o glamor/libglamor.a.p/glamor_picture.c.o -c ../glamor/glamor_picture.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_picture.c:41: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_is_memory’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:439:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:435:1: note: (1) entry to ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:437:35: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_is_memory’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_is_memory’ at ../glamor/glamor_priv.h:437:35:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h: In function ‘glamor_pixmap_is_memory’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:439:16: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:439:16: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
[499/636] gcc -Iglamor/libglamor_egl_stubs.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor_egl_stubs.a.p/glamor_egl_stubs.c.o -MF glamor/libglamor_egl_stubs.a.p/glamor_egl_stubs.c.o.d -o glamor/libglamor_egl_stubs.a.p/glamor_egl_stubs.c.o -c ../glamor/glamor_egl_stubs.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[500/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_classic.c.o -MF exa/liblibxserver_exa.a.p/exa_classic.c.o.d -o exa/liblibxserver_exa.a.p/exa_classic.c.o -c ../exa/exa_classic.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[501/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_migration_classic.c.o -MF exa/liblibxserver_exa.a.p/exa_migration_classic.c.o.d -o exa/liblibxserver_exa.a.p/exa_migration_classic.c.o -c ../exa/exa_migration_classic.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[502/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_compositerects.c.o -MF glamor/libglamor.a.p/glamor_compositerects.c.o.d -o glamor/libglamor.a.p/glamor_compositerects.c.o -c ../glamor/glamor_compositerects.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:30: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c: In function ‘_pixman_region_init_clipped_rectangles’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:108:15: warning: leak of ‘boxes’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:62:20: note: in expansion of macro ‘FALSE’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:101:1: note: (1) entry to ‘glamor_composite_rectangles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:122:8: note: (2) following ‘false’ branch (when ‘num_rects != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:125:9: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:184:10: note: (4) calling ‘_pixman_region_init_clipped_rectangles’ from ‘glamor_composite_rectangles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:50:1: note: (5) entry to ‘_pixman_region_init_clipped_rectangles’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:59:8: note: (6) following ‘true’ branch (when ‘num_rects > 64’)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:60:17: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (8) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:60:17: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:61:12: note: (9) assuming ‘boxes’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:61:12: note: (10) following ‘false’ branch (when ‘boxes’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:65:5: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:65:23: note: (12) following ‘true’ branch (when ‘i < num_rects’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:66:28: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:90:8: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (15) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:108:15: note: (16) ‘boxes’ leaks here; was allocated at (8) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_compositerects.c:62:20: note: in expansion of macro ‘FALSE’ <--[csmock-gcc-wrapper]
[503/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa.c.o -MF exa/liblibxserver_exa.a.p/exa.c.o.d -o exa/liblibxserver_exa.a.p/exa.c.o -c ../exa/exa.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c: In function ‘exaCloseScreen’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:745:11: warning: dereference of NULL ‘ps’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:740:1: note: (1) entry to ‘exaCloseScreen’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:37: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (2) calling ‘dixGetPrivate’ from ‘exaCloseScreen’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:742:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.h:34, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:33: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (3) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (5) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c: In function ‘exaCloseScreen’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (9) returning to ‘exaCloseScreen’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:742:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/pixmapstr.h:55, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.h:35: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/render/picturestr.h:358:106: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:743:27: note: in expansion of macro ‘GetPictureScreenIfSet’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:745:11: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:745:11: note: (12) dereference of NULL ‘ps’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c: In function ‘exaDriverInit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:1024:11: warning: dereference of NULL ‘ps’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:809:1: note: (1) entry to ‘exaDriverInit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:814:8: note: (2) following ‘false’ branch (when ‘pScreenInfo’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:817:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:817:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:818:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:817:53: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:827:21: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:847:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:853:21: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:853:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:859:21: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:859:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:874:38: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/render/picturestr.h:358:106: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:878:10: note: in expansion of macro ‘GetPictureScreenIfSet’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:880:10: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:880:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:886:15: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:887:8: note: (18) following ‘false’ branch (when ‘pExaScr’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:893:19: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:895:5: note: (20) calling ‘dixSetPrivate’ from ‘exaDriverInit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:145:1: note: (21) entry to ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:147:5: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:148:16: note: (23) inlined call to ‘dixGetPrivateAddr’ from ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixSetPrivate’ at ../include/privates.h:148:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c: In function ‘exaDriverInit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:895:5: note: (27) returning to ‘exaDriverInit’ from ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:901:8: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:911:17: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:927:8: note: (30) following ‘false’ branch (when ‘ps’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:944:5: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:949:8: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:1009:9: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.c:1024:11: note: (34) dereference of NULL ‘ps’ <--[csmock-gcc-wrapper]
[504/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_fbo.c.o -MF glamor/libglamor.a.p/glamor_fbo.c.o.d -o glamor/libglamor.a.p/glamor_fbo.c.o -c ../glamor/glamor_fbo.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:926, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:31: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h: In function ‘glamor_pixmap_attach_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:671:42: warning: leak of ‘glamor_create_fbo(glamor_get_screen_private(*pixmap.drawable.pScreen), pixmap, (int)*pixmap.drawable.width, (int)*pixmap.drawable.height, flag)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:326:1: note: (1) entry to ‘glamor_pixmap_ensure_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:333:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_ensure_fbo’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_ensure_fbo’ at ../glamor/glamor_fbo.c:333:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (3) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_ensure_fbo’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_attach_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (5) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_attach_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:333:19: note: (8) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_ensure_fbo’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_ensure_fbo’ at ../glamor/glamor_fbo.c:333:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (9) returning to ‘glamor_pixmap_ensure_fbo’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_attach_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:334:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:337:49: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:336:15: note: (12) calling ‘glamor_create_fbo’ from ‘glamor_pixmap_ensure_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:157:1: note: (13) entry to ‘glamor_create_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:160:17: note: (14) calling ‘_glamor_create_tex’ from ‘glamor_create_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:123:1: note: (15) entry to ‘_glamor_create_tex’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:141:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:153:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:160:17: note: (18) returning to ‘glamor_create_fbo’ from ‘_glamor_create_tex’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:162:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:165:12: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:165:12: note: (21) calling ‘glamor_create_fbo_from_tex’ from ‘glamor_create_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:97:1: note: (22) entry to ‘glamor_create_fbo_from_tex’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:103:11: note: (23) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:104:8: note: (24) assuming ‘fbo’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:104:8: note: (25) following ‘false’ branch (when ‘fbo’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:107:14: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:112:8: note: (27) following ‘false’ branch (when ‘flag == 259’)... <--[csmock-gcc-wrapper]
cc1: note: (28) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:165:12: note: (29) returning to ‘glamor_create_fbo’ from ‘glamor_create_fbo_from_tex’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:336:15: note: (30) returning to ‘glamor_pixmap_ensure_fbo’ from ‘glamor_create_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:338:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:341:9: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:341:9: note: (33) calling ‘glamor_pixmap_attach_fbo’ from ‘glamor_pixmap_ensure_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:281:1: note: (34) entry to ‘glamor_pixmap_attach_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:285:19: note: (35) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_attach_fbo’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_attach_fbo’ at ../glamor/glamor_fbo.c:285:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (36) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (38) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_attach_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_attach_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (39) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (40) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (41) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_attach_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:285:19: note: (43) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_attach_fbo’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_attach_fbo’ at ../glamor/glamor_fbo.c:285:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (44) returning to ‘glamor_pixmap_attach_fbo’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_attach_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:287:8: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (46) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_utils.h:671:42: note: (47) ‘glamor_create_fbo(glamor_get_screen_private(*pixmap.drawable.pScreen), pixmap, (int)*pixmap.drawable.width, (int)*pixmap.drawable.height, flag)’ leaks here; was allocated at (23) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:287:20: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:281:1: note: (1) entry to ‘glamor_pixmap_attach_fbo’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:285:19: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_attach_fbo’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_attach_fbo’ at ../glamor/glamor_fbo.c:285:19:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_attach_fbo’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:287:20: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:287:20: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_exchange_fbos’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:366:14: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:359:1: note: (1) entry to ‘glamor_pixmap_exchange_fbos’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:364:18: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_exchange_fbos’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_exchange_fbos’ at ../glamor/glamor_fbo.c:364:18:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_exchange_fbos’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:366:14: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:366:14: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:367:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:359:1: note: (1) entry to ‘glamor_pixmap_exchange_fbos’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:364:18: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_exchange_fbos’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_exchange_fbos’ at ../glamor/glamor_fbo.c:364:18:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘false’ branch (when ‘front’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (5) calling ‘dixLookupPrivate’ from ‘glamor_pixmap_exchange_fbos’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_pixmap_exchange_fbos’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (8) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_exchange_fbos’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:364:18: note: (12) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_exchange_fbos’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_exchange_fbos’ at ../glamor/glamor_fbo.c:364:18:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (13) returning to ‘glamor_pixmap_exchange_fbos’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_exchange_fbos’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:365:17: note: (14) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_pixmap_exchange_fbos’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_pixmap_exchange_fbos’ at ../glamor/glamor_fbo.c:365:17:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (15) following ‘true’ branch (when ‘back’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c: In function ‘glamor_pixmap_exchange_fbos’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:366:14: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_fbo.c:367:32: note: (17) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
[505/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_xv.c.o -MF glamor/libglamor.a.p/glamor_xv.c.o.d -o glamor/libglamor.a.p/glamor_xv.c.o -c ../glamor/glamor_xv.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:389:49: warning: use of uninitialized value ‘src_pixmap_priv[1]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:314:1: note: (1) entry to ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:320:28: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:319:42: note: (3) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:39: <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:319:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (4) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (6) calling ‘dixLookupPrivate’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (7) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (8) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:319:42: note: (11) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:319:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (12) returning to ‘glamor_xv_render’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:51: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:346:49: note: (13) inlined call to ‘RegionNumRects’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:322:16: note: in expansion of macro ‘REGION_NUM_RECTS’ <--[csmock-gcc-wrapper]
In function ‘RegionNumRects’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:322:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:88:49: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:331:24: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:361:19: note: (16) following ‘true’ branch (when ‘i != 3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:362:31: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:362:12: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:364:17: note: (19) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:364:17:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (21) calling ‘dixLookupPrivate’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (22) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (23) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:364:17: note: (26) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:364:17:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (27) returning to ‘glamor_xv_render’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:361:19: note: (28) following ‘false’ branch (when ‘i == 3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:371:5: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:389:49: note: (30) use of uninitialized value ‘src_pixmap_priv[1]’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:389:49: warning: use of uninitialized value ‘src_pixmap_priv[1]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:488:1: note: (1) entry to ‘glamor_xv_put_image’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:644:5: note: (2) calling ‘glamor_xv_render’ from ‘glamor_xv_put_image’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:314:1: note: (3) entry to ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:320:28: note: (4) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:319:42: note: (5) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:319:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (6) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (8) calling ‘dixLookupPrivate’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (9) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (10) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:319:42: note: (13) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:319:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (14) returning to ‘glamor_xv_render’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:346:49: note: (15) inlined call to ‘RegionNumRects’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:322:16: note: in expansion of macro ‘REGION_NUM_RECTS’ <--[csmock-gcc-wrapper]
In function ‘RegionNumRects’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:322:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:88:49: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:331:24: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:361:19: note: (18) following ‘true’ branch (when ‘i != 3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:362:31: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:362:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:364:17: note: (21) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:364:17:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (23) calling ‘dixLookupPrivate’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (24) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (25) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:364:17: note: (28) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_xv_render’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_xv_render’ at ../glamor/glamor_xv.c:364:17:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (29) returning to ‘glamor_xv_render’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c: In function ‘glamor_xv_render’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:361:19: note: (30) following ‘false’ branch (when ‘i == 3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:371:5: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_xv.c:389:49: note: (32) use of uninitialized value ‘src_pixmap_priv[1]’ here <--[csmock-gcc-wrapper]
[506/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_driver.c.o -MF exa/liblibxserver_exa.a.p/exa_driver.c.o.d -o exa/liblibxserver_exa.a.p/exa_driver.c.o -c ../exa/exa_driver.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[507/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_mixed.c.o -MF exa/liblibxserver_exa.a.p/exa_mixed.c.o.d -o exa/liblibxserver_exa.a.p/exa_mixed.c.o -c ../exa/exa_mixed.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[508/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_migration_mixed.c.o -MF exa/liblibxserver_exa.a.p/exa_migration_mixed.c.o.d -o exa/liblibxserver_exa.a.p/exa_migration_mixed.c.o -c ../exa/exa_migration_mixed.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[509/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_glyphs.c.o -MF exa/liblibxserver_exa.a.p/exa_glyphs.c.o.d -o exa/liblibxserver_exa.a.p/exa_glyphs.c.o -c ../exa/exa_glyphs.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[510/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_offscreen.c.o -MF exa/liblibxserver_exa.a.p/exa_offscreen.c.o.d -o exa/liblibxserver_exa.a.p/exa_offscreen.c.o -c ../exa/exa_offscreen.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[511/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_accel.c.o -MF exa/liblibxserver_exa.a.p/exa_accel.c.o.d -o exa/liblibxserver_exa.a.p/exa_accel.c.o -c ../exa/exa_accel.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c: In function ‘exaPolyPoint.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:631:20: warning: dereference of possibly-NULL ‘prect’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.h:34, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:33, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:33: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:629:13: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:630:19: note: (2) following ‘true’ branch (when ‘npt > i’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:631:25: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:631:20: note: (4) ‘prect + (long unsigned int)i * 8’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c: In function ‘exaPolylines’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:691:24: warning: dereference of possibly-NULL ‘prect’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:650:1: note: (1) entry to ‘exaPolylines’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (2) calling ‘dixGetPrivate’ from ‘exaPolylines’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:653:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (3) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (5) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c: In function ‘exaPolylines’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (9) returning to ‘exaPolylines’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:653:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:658:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:664:12: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:664:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:670:29: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:52: note: in definition of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (14) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:670:13: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:674:19: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:675:12: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:675:12: note: (17) following ‘true’ branch (when ‘mode == 1’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:676:26: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:684:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:690:12: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:690:12: note: (21) following ‘true’ branch (when ‘x1 < x2’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:691:18: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:691:24: note: (23) ‘prect + (long unsigned int)i * 8’ could be NULL: unchecked value from (14) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:695:24: warning: dereference of possibly-NULL ‘prect’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:650:1: note: (1) entry to ‘exaPolylines’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (2) calling ‘dixGetPrivate’ from ‘exaPolylines’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:653:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (3) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (5) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c: In function ‘exaPolylines’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (9) returning to ‘exaPolylines’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:653:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:658:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:664:12: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:664:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:670:29: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:52: note: in definition of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (14) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:670:13: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:674:19: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:675:12: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:675:12: note: (17) following ‘true’ branch (when ‘mode == 1’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:676:26: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:684:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:690:12: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:690:12: note: (21) following ‘false’ branch (when ‘x1 >= x2’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:695:18: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:695:24: note: (23) ‘prect + (long unsigned int)i * 8’ could be NULL: unchecked value from (14) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c: In function ‘exaPolySegment’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:744:24: warning: dereference of possibly-NULL ‘prect’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:720:1: note: (1) entry to ‘exaPolySegment’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (2) calling ‘dixGetPrivate’ from ‘exaPolySegment’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:722:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (3) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (5) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c: In function ‘exaPolySegment’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (9) returning to ‘exaPolySegment’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:722:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:727:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:728:37: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:728:37: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:735:38: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:734:28: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (16) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:741:13: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:742:19: note: (17) following ‘true’ branch (when ‘i < nseg’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:743:17: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:743:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:744:18: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:744:24: note: (21) ‘prect + (long unsigned int)i * 8’ could be NULL: unchecked value from (16) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:748:24: warning: dereference of possibly-NULL ‘prect’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:720:1: note: (1) entry to ‘exaPolySegment’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (2) calling ‘dixGetPrivate’ from ‘exaPolySegment’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:722:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (3) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (5) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c: In function ‘exaPolySegment’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:221:48: note: (9) returning to ‘exaPolySegment’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_priv.h:222:63: note: in expansion of macro ‘ExaGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:722:5: note: in expansion of macro ‘ExaScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:727:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:728:37: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:728:37: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (14) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:741:13: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:742:19: note: (15) following ‘true’ branch (when ‘i < nseg’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:743:17: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:743:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:748:18: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa_accel.c:748:24: note: (19) ‘prect + (long unsigned int)i * 8’ could be NULL: unchecked value from (14) <--[csmock-gcc-wrapper]
[512/636] gcc -Iglamor/libglamor.a.p -Iglamor -I../glamor -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ glamor/libglamor.a.p/glamor_largepixmap.c.o -MF glamor/libglamor.a.p/glamor_largepixmap.c.o.d -o glamor/libglamor.a.p/glamor_largepixmap.c.o -c ../glamor/glamor_largepixmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:130:43: warning: dereference of possibly-NULL ‘clipped_regions’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1022:1: note: (1) entry to ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1039:49: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:4: <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1039:49:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘false’ branch (when ‘source_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (5) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h:32, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1039:49: note: (10) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1039:49:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (11) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1040:47: note: (12) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1040:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (13) following ‘false’ branch (when ‘mask_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (15) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (16) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (17) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1040:47: note: (20) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1040:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (21) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1041:47: note: (22) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1041:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (23) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (24) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (25) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1041:47: note: (28) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1041:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (29) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1061:8: note: (30) following ‘false’ branch (when ‘dest_pixmap != source_pixmap’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1065:8: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1065:8: note: (32) following ‘false’ branch (when ‘dest_pixmap != mask_pixmap’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1070:9: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1070:8: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1075:8: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1080:9: note: (36) inlined call to ‘glamor_pixmap_priv_is_large’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_priv_is_large’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1080:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:448:33: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1084:49: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1155:8: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1158:13: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1158:13: note: (41) calling ‘glamor_compute_clipped_regions_ext’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:158:1: note: (42) entry to ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:164:42: note: (43) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_compute_clipped_regions_ext’ at ../glamor/glamor_largepixmap.c:164:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (44) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (46) calling ‘dixLookupPrivate’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (47) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (48) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (49) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:164:42: note: (51) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_compute_clipped_regions_ext’ at ../glamor/glamor_largepixmap.c:164:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (52) returning to ‘glamor_compute_clipped_regions_ext’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘__glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:195:27: note: (53) calling ‘__glamor_compute_clipped_regions’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:30:1: note: (54) entry to ‘__glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:67:8: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:72:30: note: (56) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:77:23: note: (57) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:86:8: note: (58) following ‘true’ branch (when ‘reverse == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:88:26: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:97:8: note: (60) following ‘true’ branch (when ‘upsidedown == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:99:26: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:111:36: note: (62) following ‘true’ branch (when ‘loop_end_block_y != j’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:112:19: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:130:43: note: (64) ‘clipped_regions + (long unsigned int)k * 16’ could be NULL: unchecked value from (57) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:235:38: warning: dereference of possibly-NULL ‘result_regions’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1022:1: note: (1) entry to ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1039:49: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1039:49:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘false’ branch (when ‘source_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (5) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1039:49: note: (10) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1039:49:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (11) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1040:47: note: (12) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1040:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (13) following ‘false’ branch (when ‘mask_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (15) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (16) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (17) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1040:47: note: (20) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1040:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (21) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1041:47: note: (22) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1041:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (23) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (24) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (25) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1041:47: note: (28) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1041:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (29) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1061:8: note: (30) following ‘false’ branch (when ‘dest_pixmap != source_pixmap’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1065:8: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1065:8: note: (32) following ‘false’ branch (when ‘dest_pixmap != mask_pixmap’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1070:9: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1070:8: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1075:8: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1080:9: note: (36) inlined call to ‘glamor_pixmap_priv_is_large’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_priv_is_large’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1080:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:448:33: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1084:49: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1155:8: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1158:13: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1158:13: note: (41) calling ‘glamor_compute_clipped_regions_ext’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:158:1: note: (42) entry to ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:164:42: note: (43) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_compute_clipped_regions_ext’ at ../glamor/glamor_largepixmap.c:164:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (44) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (46) calling ‘dixLookupPrivate’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (47) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (48) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (49) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:164:42: note: (51) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_compute_clipped_regions_ext’ at ../glamor/glamor_largepixmap.c:164:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (52) returning to ‘glamor_compute_clipped_regions_ext’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:175:9: note: (53) inlined call to ‘glamor_pixmap_priv_is_small’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_priv_is_small’,
inlined from ‘glamor_compute_clipped_regions_ext’ at ../glamor/glamor_largepixmap.c:175:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:454:34: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_compute_clipped_regions_ext’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:176:27: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:177:12: note: (56) following ‘false’ branch (when ‘clipped_regions’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:181:37: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:212:8: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:214:29: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:214:22: note: (60) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:220:19: note: (61) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:221:38: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:225:25: note: (63) calling ‘__glamor_compute_clipped_regions’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:30:1: note: (64) entry to ‘__glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:67:8: note: (65) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:72:30: note: (66) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:86:8: note: (67) following ‘true’ branch (when ‘reverse == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:88:26: note: (68) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:97:8: note: (69) following ‘true’ branch (when ‘upsidedown == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:99:26: note: (70) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:111:36: note: (71) following ‘true’ branch (when ‘loop_end_block_y != j’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:112:19: note: (72) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:115:16: note: (73) following ‘true’ branch (when ‘loop_end_block_x != i’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:118:29: note: (74) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:115:16: note: (75) following ‘false’ branch (when ‘loop_end_block_x == i’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:111:59: note: (76) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:111:36: note: (77) following ‘false’ branch (when ‘loop_end_block_y == j’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:140:15: note: (78) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:225:25: note: (79) returning to ‘glamor_compute_clipped_regions_ext’ from ‘__glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:234:23: note: (80) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:235:53: note: (81) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:235:38: note: (82) ‘result_regions + (long unsigned int)k * 16’ could be NULL: unchecked value from (60) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:365:35: warning: dereference of possibly-NULL ‘clipped_regions’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1022:1: note: (1) entry to ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1039:49: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1039:49:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1041:47: note: (4) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1041:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (6) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (7) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (8) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1041:47: note: (11) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1041:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (12) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1061:8: note: (13) following ‘false’ branch (when ‘dest_pixmap != source_pixmap’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1065:8: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1065:8: note: (15) following ‘false’ branch (when ‘dest_pixmap != mask_pixmap’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1070:9: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1070:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1075:8: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1080:9: note: (19) inlined call to ‘glamor_pixmap_priv_is_large’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_priv_is_large’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1080:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:448:33: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1084:49: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1109:8: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1132:8: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1132:8: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1155:9: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1155:8: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1156:9: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1156:9: note: (28) following ‘false’ branch (when ‘fixed_block_height >= dest_block_height’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1163:32: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1163:32: note: (30) calling ‘glamor_compute_clipped_regions’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:676:1: note: (31) entry to ‘glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:681:41: note: (32) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_compute_clipped_regions’ at ../glamor/glamor_largepixmap.c:681:41:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (33) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (35) calling ‘dixLookupPrivate’ from ‘glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (36) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (37) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:681:41: note: (40) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_compute_clipped_regions’ at ../glamor/glamor_largepixmap.c:681:41:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (41) returning to ‘glamor_compute_clipped_regions’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:682:12: note: (42) calling ‘_glamor_compute_clipped_regions’ from ‘glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:343:1: note: (43) entry to ‘_glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:363:9: note: (44) inlined call to ‘glamor_pixmap_priv_is_small’ from ‘_glamor_compute_clipped_regions’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_priv_is_small’,
inlined from ‘_glamor_compute_clipped_regions’ at ../glamor/glamor_largepixmap.c:363:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:454:34: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘_glamor_compute_clipped_regions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:364:27: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:364:27: note: (47) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:365:35: note: (48) ‘clipped_regions’ could be NULL: unchecked value from (47) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1175:29: warning: dereference of possibly-NULL ‘source_pixmap_priv’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1022:1: note: (1) entry to ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1039:49: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1039:49:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘false’ branch (when ‘source_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (5) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (6) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1039:49: note: (10) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1039:49:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (11) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1040:47: note: (12) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1040:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (13) following ‘false’ branch (when ‘mask_pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (15) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (16) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (17) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1040:47: note: (20) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1040:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (21) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1041:47: note: (22) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1041:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (23) calling ‘dixLookupPrivate’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (24) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (25) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1041:47: note: (28) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1041:47:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (29) returning to ‘glamor_composite_largepixmap_region’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1061:8: note: (30) following ‘false’ branch (when ‘dest_pixmap != source_pixmap’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1065:8: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1065:8: note: (32) following ‘false’ branch (when ‘dest_pixmap != mask_pixmap’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1070:9: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1070:8: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1075:8: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1080:9: note: (36) inlined call to ‘glamor_pixmap_priv_is_large’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_priv_is_large’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1080:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:448:33: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1084:49: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1158:13: note: (39) calling ‘glamor_compute_clipped_regions_ext’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:158:1: note: (40) entry to ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:164:42: note: (41) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_compute_clipped_regions_ext’ at ../glamor/glamor_largepixmap.c:164:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (42) following ‘false’ branch (when ‘pixmap’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (44) calling ‘dixLookupPrivate’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (45) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (46) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:164:42: note: (49) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_compute_clipped_regions_ext’ at ../glamor/glamor_largepixmap.c:164:42:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (50) returning to ‘glamor_compute_clipped_regions_ext’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:175:9: note: (51) inlined call to ‘glamor_pixmap_priv_is_small’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_priv_is_small’,
inlined from ‘glamor_compute_clipped_regions_ext’ at ../glamor/glamor_largepixmap.c:175:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:454:34: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
:176:27: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:177:12: note: (54) following ‘true’ branch (when ‘clipped_regions’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:178:23: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1158:13: note: (56) returning to ‘glamor_composite_largepixmap_region’ from ‘glamor_compute_clipped_regions_ext’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1168:8: note: (57) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1169:32: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1169:9: note: (59) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1171:12: note: (60) inlined call to ‘glamor_pixmap_priv_is_large’ from ‘glamor_composite_largepixmap_region’ <--[csmock-gcc-wrapper]
In function ‘glamor_pixmap_priv_is_large’,
inlined from ‘glamor_composite_largepixmap_region’ at ../glamor/glamor_largepixmap.c:1171:12:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:448:16: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c: In function ‘glamor_composite_largepixmap_region’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1174:30: note: (62) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_largepixmap.c:1175:29: note: (63) ‘source_pixmap_priv’ could be NULL: unchecked value from (62) <--[csmock-gcc-wrapper]
[513/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_render.c.o -MF exa/liblibxserver_exa.a.p/exa_render.c.o.d -o exa/liblibxserver_exa.a.p/exa_render.c.o -c ../exa/exa_render.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[514/636] gcc -Iexa/liblibxserver_exa.a.p -Iexa -I../exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -MD -MQ exa/liblibxserver_exa.a.p/exa_unaccel.c.o -MF exa/liblibxserver_exa.a.p/exa_unaccel.c.o.d -o exa/liblibxserver_exa.a.p/exa_unaccel.c.o -c ../exa/exa_unaccel.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[515/636] gcc -Ihw/kdrive/src/libkdrive.a.p -Ihw/kdrive/src -I../hw/kdrive/src -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/src/libkdrive.a.p/kcmap.c.o -MF hw/kdrive/src/libkdrive.a.p/kcmap.c.o.d -o hw/kdrive/src/libkdrive.a.p/kcmap.c.o -c ../hw/kdrive/src/kcmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[516/636] gcc -Ihw/kdrive/src/libkdrive.a.p -Ihw/kdrive/src -I../hw/kdrive/src -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/src/libkdrive.a.p/kinfo.c.o -MF hw/kdrive/src/libkdrive.a.p/kinfo.c.o.d -o hw/kdrive/src/libkdrive.a.p/kinfo.c.o -c ../hw/kdrive/src/kinfo.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[517/636] gcc -Ihw/kdrive/src/libkdrive.a.p -Ihw/kdrive/src -I../hw/kdrive/src -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/src/libkdrive.a.p/kinput.c.o -MF hw/kdrive/src/libkdrive.a.p/kinput.c.o.d -o hw/kdrive/src/libkdrive.a.p/kinput.c.o -c ../hw/kdrive/src/kinput.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c: In function ‘KdParseKeyboard’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:943:14: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:1117:1: note: (1) entry to ‘KdInitInput’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:1135:35: note: (2) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:1136:33: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:1136:14: note: (4) calling ‘KdParseKeyboard’ from ‘KdInitInput’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:932:1: note: (5) entry to ‘KdParseKeyboard’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:939:10: note: (6) calling ‘KdNewKeyboard’ from ‘KdParseKeyboard’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:678:1: note: (7) entry to ‘KdNewKeyboard’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:682:8: note: (8) following ‘false’ branch (when ‘ki’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:686:21: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:692:16: note: (10) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:939:10: note: (11) returning to ‘KdParseKeyboard’ from ‘KdNewKeyboard’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:940:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:943:16: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kinput.c:943:14: note: (14) ‘<unknown>’ leaks here; was allocated at (10) <--[csmock-gcc-wrapper]
[518/636] gcc -Ihw/kdrive/src/libkdrive.a.p -Ihw/kdrive/src -I../hw/kdrive/src -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/src/libkdrive.a.p/kshadow.c.o -MF hw/kdrive/src/libkdrive.a.p/kshadow.c.o.d -o hw/kdrive/src/libkdrive.a.p/kshadow.c.o -c ../hw/kdrive/src/kshadow.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[519/636] gcc -Ihw/kdrive/src/libkdrive.a.p -Ihw/kdrive/src -I../hw/kdrive/src -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/src/libkdrive.a.p/kdrive.c.o -MF hw/kdrive/src/libkdrive.a.p/kdrive.c.o.d -o hw/kdrive/src/libkdrive.a.p/kdrive.c.o -c ../hw/kdrive/src/kdrive.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.h:31, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:26: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘KdAllocatePrivates’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:149:1: warning: leak of ‘pScreenPriv’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:517:1: note: (1) entry to ‘KdAllocatePrivates’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:524:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:527:19: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:527:19: note: (4) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:528:8: note: (5) assuming ‘pScreenPriv’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:528:8: note: (6) following ‘false’ branch (when ‘pScreenPriv’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.h:296:19: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:530:5: note: in expansion of macro ‘KdSetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.h:296:5: note: (8) calling ‘dixSetPrivate’ from ‘KdAllocatePrivates’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:530:5: note: in expansion of macro ‘KdSetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:145:1: note: (9) entry to ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:147:5: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:148:16: note: (11) inlined call to ‘dixGetPrivateAddr’ from ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixSetPrivate’ at ../include/privates.h:148:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c: In function ‘KdAllocatePrivates’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.h:296:5: note: (15) returning to ‘KdAllocatePrivates’ from ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.c:530:5: note: in expansion of macro ‘KdSetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:149:1: note: (16) ‘pScreenPriv’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper]
[520/636] rm -f hw/xfree86/ddc/libxorg_ddc.a && gcc-ar csrDT hw/xfree86/ddc/libxorg_ddc.a hw/xfree86/ddc/libxorg_ddc.a.p/ddc.c.o hw/xfree86/ddc/libxorg_ddc.a.p/interpret_edid.c.o hw/xfree86/ddc/libxorg_ddc.a.p/print_edid.c.o hw/xfree86/ddc/libxorg_ddc.a.p/ddcProperty.c.o
[521/636] rm -f hw/xfree86/dri2/libxorg_dri2.a && gcc-ar csrDT hw/xfree86/dri2/libxorg_dri2.a hw/xfree86/dri2/libxorg_dri2.a.p/dri2.c.o hw/xfree86/dri2/libxorg_dri2.a.p/dri2ext.c.o
[522/636] rm -f hw/xfree86/loader/libxorg_loader.a && gcc-ar csrDT hw/xfree86/loader/libxorg_loader.a hw/xfree86/loader/libxorg_loader.a.p/loader.c.o hw/xfree86/loader/libxorg_loader.a.p/loadmod.c.o
[523/636] rm -f hw/xfree86/i2c/libxorg_i2c.a && gcc-ar csrDT hw/xfree86/i2c/libxorg_i2c.a hw/xfree86/i2c/libxorg_i2c.a.p/xf86i2c.c.o
[524/636] rm -f hw/xfree86/modes/libxorg_modes.a && gcc-ar csrDT hw/xfree86/modes/libxorg_modes.a hw/xfree86/modes/libxorg_modes.a.p/xf86Crtc.c.o hw/xfree86/modes/libxorg_modes.a.p/xf86Cursors.c.o hw/xfree86/modes/libxorg_modes.a.p/xf86gtf.c.o hw/xfree86/modes/libxorg_modes.a.p/xf86EdidModes.c.o hw/xfree86/modes/libxorg_modes.a.p/xf86Modes.c.o hw/xfree86/modes/libxorg_modes.a.p/xf86RandR12.c.o hw/xfree86/modes/libxorg_modes.a.p/xf86Rotate.c.o hw/xfree86/modes/libxorg_modes.a.p/xf86DiDGA.c.o
[525/636] rm -f hw/xfree86/common/libxorg_common.a && gcc-ar csrDT hw/xfree86/common/libxorg_common.a hw/xfree86/common/libxorg_common.a.p/meson-generated_.._xf86DefModeSet.c.o hw/xfree86/common/libxorg_common.a.p/xf86fbBus.c.o hw/xfree86/common/libxorg_common.a.p/xf86noBus.c.o hw/xfree86/common/libxorg_common.a.p/xf86Configure.c.o hw/xfree86/common/libxorg_common.a.p/xf86Bus.c.o hw/xfree86/common/libxorg_common.a.p/xf86Config.c.o hw/xfree86/common/libxorg_common.a.p/xf86Cursor.c.o hw/xfree86/common/libxorg_common.a.p/xf86DPMS.c.o hw/xfree86/common/libxorg_common.a.p/xf86Events.c.o hw/xfree86/common/libxorg_common.a.p/xf86Globals.c.o hw/xfree86/common/libxorg_common.a.p/xf86AutoConfig.c.o hw/xfree86/common/libxorg_common.a.p/xf86Option.c.o hw/xfree86/common/libxorg_common.a.p/xf86Init.c.o hw/xfree86/common/libxorg_common.a.p/xf86VidMode.c.o hw/xfree86/common/libxorg_common.a.p/xf86fbman.c.o hw/xfree86/common/libxorg_common.a.p/xf86cmap.c.o hw/xfree86/common/libxorg_common.a.p/xf86Helper.c.o hw/xfree86/common/libxorg_common.a.p/xf86PM.c.o hw/xfree86/common/libxorg_common.a.p/xf86RandR.c.o hw/xfree86/common/libxorg_common.a.p/xf86Xinput.c.o hw/xfree86/common/libxorg_common.a.p/xisb.c.o hw/xfree86/common/libxorg_common.a.p/xf86Mode.c.o hw/xfree86/common/libxorg_common.a.p/xorgHelper.c.o hw/xfree86/common/libxorg_common.a.p/xf86Extensions.c.o hw/xfree86/common/libxorg_common.a.p/xf86DGA.c.o hw/xfree86/common/libxorg_common.a.p/xf86xv.c.o hw/xfree86/common/libxorg_common.a.p/xf86xvmc.c.o hw/xfree86/common/libxorg_common.a.p/xf86platformBus.c.o hw/xfree86/common/libxorg_common.a.p/xf86pciBus.c.o hw/xfree86/common/libxorg_common.a.p/xf86VGAarbiter.c.o
[526/636] rm -f hw/xfree86/parser/libxorg_parser.a && gcc-ar csrDT hw/xfree86/parser/libxorg_parser.a hw/xfree86/parser/libxorg_parser.a.p/Device.c.o hw/xfree86/parser/libxorg_parser.a.p/Files.c.o hw/xfree86/parser/libxorg_parser.a.p/Flags.c.o hw/xfree86/parser/libxorg_parser.a.p/Input.c.o hw/xfree86/parser/libxorg_parser.a.p/InputClass.c.o hw/xfree86/parser/libxorg_parser.a.p/OutputClass.c.o hw/xfree86/parser/libxorg_parser.a.p/Layout.c.o hw/xfree86/parser/libxorg_parser.a.p/Module.c.o hw/xfree86/parser/libxorg_parser.a.p/Video.c.o hw/xfree86/parser/libxorg_parser.a.p/Monitor.c.o hw/xfree86/parser/libxorg_parser.a.p/Pointer.c.o hw/xfree86/parser/libxorg_parser.a.p/Screen.c.o hw/xfree86/parser/libxorg_parser.a.p/Vendor.c.o hw/xfree86/parser/libxorg_parser.a.p/read.c.o hw/xfree86/parser/libxorg_parser.a.p/scan.c.o hw/xfree86/parser/libxorg_parser.a.p/write.c.o hw/xfree86/parser/libxorg_parser.a.p/DRI.c.o hw/xfree86/parser/libxorg_parser.a.p/Extensions.c.o
[527/636] rm -f hw/xfree86/ramdac/libxorg_ramdac.a && gcc-ar csrDT hw/xfree86/ramdac/libxorg_ramdac.a hw/xfree86/ramdac/libxorg_ramdac.a.p/xf86CursorRD.c.o hw/xfree86/ramdac/libxorg_ramdac.a.p/xf86HWCurs.c.o
[528/636] rm -f hw/xfree86/os-support/libxorg_os_support.a && gcc-ar csrDT hw/xfree86/os-support/libxorg_os_support.a hw/xfree86/os-support/libxorg_os_support.a.p/bus_nobus.c.o hw/xfree86/os-support/libxorg_os_support.a.p/shared_posix_tty.c.o hw/xfree86/os-support/libxorg_os_support.a.p/shared_sigio.c.o hw/xfree86/os-support/libxorg_os_support.a.p/shared_vidmem.c.o hw/xfree86/os-support/libxorg_os_support.a.p/bus_Pci.c.o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_bell.c.o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_init.c.o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_kmod.c.o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_platform.c.o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_video.c.o hw/xfree86/os-support/libxorg_os_support.a.p/misc_SlowBcopy.c.o hw/xfree86/os-support/libxorg_os_support.a.p/shared_VTsw_usl.c.o hw/xfree86/os-support/libxorg_os_support.a.p/linux_lnx_agp.c.o hw/xfree86/os-support/libxorg_os_support.a.p/linux_systemd-logind.c.o hw/xfree86/os-support/libxorg_os_support.a.p/shared_pm_noop.c.o
[529/636] rm -f glx/liblibxserver_glx.a && gcc-ar csrDT glx/liblibxserver_glx.a glx/liblibxserver_glx.a.p/indirect_dispatch.c.o glx/liblibxserver_glx.a.p/indirect_dispatch_swap.c.o glx/liblibxserver_glx.a.p/indirect_reqsize.c.o glx/liblibxserver_glx.a.p/indirect_size_get.c.o glx/liblibxserver_glx.a.p/indirect_table.c.o glx/liblibxserver_glx.a.p/clientinfo.c.o glx/liblibxserver_glx.a.p/createcontext.c.o glx/liblibxserver_glx.a.p/extension_string.c.o glx/liblibxserver_glx.a.p/indirect_util.c.o glx/liblibxserver_glx.a.p/indirect_program.c.o glx/liblibxserver_glx.a.p/indirect_texture_compression.c.o glx/liblibxserver_glx.a.p/glxcmds.c.o glx/liblibxserver_glx.a.p/glxcmdsswap.c.o glx/liblibxserver_glx.a.p/glxext.c.o glx/liblibxserver_glx.a.p/glxdriswrast.c.o glx/liblibxserver_glx.a.p/glxdricommon.c.o glx/liblibxserver_glx.a.p/glxscreens.c.o glx/liblibxserver_glx.a.p/render2.c.o glx/liblibxserver_glx.a.p/render2swap.c.o glx/liblibxserver_glx.a.p/renderpix.c.o glx/liblibxserver_glx.a.p/renderpixswap.c.o glx/liblibxserver_glx.a.p/rensize.c.o glx/liblibxserver_glx.a.p/single2.c.o glx/liblibxserver_glx.a.p/single2swap.c.o glx/liblibxserver_glx.a.p/singlepix.c.o glx/liblibxserver_glx.a.p/singlepixswap.c.o glx/liblibxserver_glx.a.p/singlesize.c.o glx/liblibxserver_glx.a.p/swap_interval.c.o glx/liblibxserver_glx.a.p/xfont.c.o
[530/636] rm -f hw/xfree86/xkb/libxorg_xkb.a && gcc-ar csrDT hw/xfree86/xkb/libxorg_xkb.a hw/xfree86/xkb/libxorg_xkb.a.p/xkbVT.c.o hw/xfree86/xkb/libxorg_xkb.a.p/xkbPrivate.c.o hw/xfree86/xkb/libxorg_xkb.a.p/xkbKillSrv.c.o
[531/636] rm -f fb/liblibxserver_wfb.a && gcc-ar csrDT fb/liblibxserver_wfb.a fb/liblibxserver_wfb.a.p/fballpriv.c.o fb/liblibxserver_wfb.a.p/fbarc.c.o fb/liblibxserver_wfb.a.p/fbbits.c.o fb/liblibxserver_wfb.a.p/fbblt.c.o fb/liblibxserver_wfb.a.p/fbbltone.c.o fb/liblibxserver_wfb.a.p/fbcmap_mi.c.o fb/liblibxserver_wfb.a.p/fbcopy.c.o fb/liblibxserver_wfb.a.p/fbfill.c.o fb/liblibxserver_wfb.a.p/fbfillrect.c.o fb/liblibxserver_wfb.a.p/fbfillsp.c.o fb/liblibxserver_wfb.a.p/fbgc.c.o fb/liblibxserver_wfb.a.p/fbgetsp.c.o fb/liblibxserver_wfb.a.p/fbglyph.c.o fb/liblibxserver_wfb.a.p/fbimage.c.o fb/liblibxserver_wfb.a.p/fbline.c.o fb/liblibxserver_wfb.a.p/fboverlay.c.o fb/liblibxserver_wfb.a.p/fbpict.c.o fb/liblibxserver_wfb.a.p/fbpixmap.c.o fb/liblibxserver_wfb.a.p/fbpoint.c.o fb/liblibxserver_wfb.a.p/fbpush.c.o fb/liblibxserver_wfb.a.p/fbscreen.c.o fb/liblibxserver_wfb.a.p/fbseg.c.o fb/liblibxserver_wfb.a.p/fbsetsp.c.o fb/liblibxserver_wfb.a.p/fbsolid.c.o fb/liblibxserver_wfb.a.p/fbtrap.c.o fb/liblibxserver_wfb.a.p/fbutil.c.o fb/liblibxserver_wfb.a.p/fbwindow.c.o
[532/636] rm -f miext/shadow/liblibxserver_miext_shadow.a && gcc-ar csrDT miext/shadow/liblibxserver_miext_shadow.a miext/shadow/liblibxserver_miext_shadow.a.p/shadow.c.o miext/shadow/liblibxserver_miext_shadow.a.p/sh3224.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shafb4.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shafb8.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shiplan2p4.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shiplan2p8.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shpacked.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shplanar8.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shplanar.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_180.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_270.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_270YX.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_90.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack_90YX.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot16pack.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_180.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_270.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack_90.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot32pack.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_180.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_270.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack_90.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrot8pack.c.o miext/shadow/liblibxserver_miext_shadow.a.p/shrotate.c.o
[533/636] rm -f Xi/liblibxserver_xi_stubs.a && gcc-ar csrDT Xi/liblibxserver_xi_stubs.a Xi/liblibxserver_xi_stubs.a.p/stubs.c.o
[534/636] rm -f xkb/liblibxserver_xkb_stubs.a && gcc-ar csrDT xkb/liblibxserver_xkb_stubs.a xkb/liblibxserver_xkb_stubs.a.p/ddxKillSrv.c.o xkb/liblibxserver_xkb_stubs.a.p/ddxPrivate.c.o xkb/liblibxserver_xkb_stubs.a.p/ddxVT.c.o
[535/636] rm -f glamor/libglamor.a && gcc-ar csrDT glamor/libglamor.a glamor/libglamor.a.p/glamor.c.o glamor/libglamor.a.p/glamor_copy.c.o glamor/libglamor.a.p/glamor_core.c.o glamor/libglamor.a.p/glamor_dash.c.o glamor/libglamor.a.p/glamor_font.c.o glamor/libglamor.a.p/glamor_glx.c.o glamor/libglamor.a.p/glamor_composite_glyphs.c.o glamor/libglamor.a.p/glamor_image.c.o glamor/libglamor.a.p/glamor_lines.c.o glamor/libglamor.a.p/glamor_segs.c.o glamor/libglamor.a.p/glamor_render.c.o glamor/libglamor.a.p/glamor_gradient.c.o glamor/libglamor.a.p/glamor_prepare.c.o glamor/libglamor.a.p/glamor_program.c.o glamor/libglamor.a.p/glamor_rects.c.o glamor/libglamor.a.p/glamor_spans.c.o glamor/libglamor.a.p/glamor_text.c.o glamor/libglamor.a.p/glamor_transfer.c.o glamor/libglamor.a.p/glamor_transform.c.o glamor/libglamor.a.p/glamor_trapezoid.c.o glamor/libglamor.a.p/glamor_triangles.c.o glamor/libglamor.a.p/glamor_addtraps.c.o glamor/libglamor.a.p/glamor_glyphblt.c.o glamor/libglamor.a.p/glamor_points.c.o glamor/libglamor.a.p/glamor_pixmap.c.o glamor/libglamor.a.p/glamor_largepixmap.c.o glamor/libglamor.a.p/glamor_picture.c.o glamor/libglamor.a.p/glamor_vbo.c.o glamor/libglamor.a.p/glamor_window.c.o glamor/libglamor.a.p/glamor_fbo.c.o glamor/libglamor.a.p/glamor_compositerects.c.o glamor/libglamor.a.p/glamor_utils.c.o glamor/libglamor.a.p/glamor_sync.c.o glamor/libglamor.a.p/glamor_xv.c.o
[536/636] rm -f glamor/libglamor_egl_stubs.a && gcc-ar csrDT glamor/libglamor_egl_stubs.a glamor/libglamor_egl_stubs.a.p/glamor_egl_stubs.c.o
[537/636] rm -f exa/liblibxserver_exa.a && gcc-ar csrDT exa/liblibxserver_exa.a exa/liblibxserver_exa.a.p/exa.c.o exa/liblibxserver_exa.a.p/exa_classic.c.o exa/liblibxserver_exa.a.p/exa_migration_classic.c.o exa/liblibxserver_exa.a.p/exa_driver.c.o exa/liblibxserver_exa.a.p/exa_mixed.c.o exa/liblibxserver_exa.a.p/exa_migration_mixed.c.o exa/liblibxserver_exa.a.p/exa_accel.c.o exa/liblibxserver_exa.a.p/exa_glyphs.c.o exa/liblibxserver_exa.a.p/exa_offscreen.c.o exa/liblibxserver_exa.a.p/exa_render.c.o exa/liblibxserver_exa.a.p/exa_unaccel.c.o
[538/636] gcc -Ihw/kdrive/ephyr/Xephyr.p -Ihw/kdrive/ephyr -I../hw/kdrive/ephyr -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/kdrive/src -I../hw/kdrive/src -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/ephyr/Xephyr.p/ephyrcursor.c.o -MF hw/kdrive/ephyr/Xephyr.p/ephyrcursor.c.o.d -o hw/kdrive/ephyr/Xephyr.p/ephyrcursor.c.o -c ../hw/kdrive/ephyr/ephyrcursor.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[539/636] gcc -Ihw/kdrive/src/libkdrive.a.p -Ihw/kdrive/src -I../hw/kdrive/src -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/src/libkdrive.a.p/.._.._.._mi_miinitext.c.o -MF hw/kdrive/src/libkdrive.a.p/.._.._.._mi_miinitext.c.o.d -o hw/kdrive/src/libkdrive.a.p/.._.._.._mi_miinitext.c.o -c ../mi/miinitext.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: warning: use after ‘reallocarray’ of ‘ext’ [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:258:1: note: (1) entry to ‘InitExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (2) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘InitExtensions’:
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (5) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘InitExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) deallocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (24) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (25) returning to ‘InitExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:265:19: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:266:15: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: note: (28) use after ‘reallocarray’ of ‘ext’; deallocated at (17) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘NewExtensionModuleList’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: warning: double-‘reallocarray’ of ‘save’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (1) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (2) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (3) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘AddStaticExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) first ‘reallocarray’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
cc1: note: (24) returning to ‘AddStaticExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (25) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (26) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (27) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (28) second ‘reallocarray’ here; first ‘reallocarray’ was at (17) <--[csmock-gcc-wrapper]
[540/636] gcc -Ihw/kdrive/ephyr/Xephyr.p -Ihw/kdrive/ephyr -I../hw/kdrive/ephyr -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/kdrive/src -I../hw/kdrive/src -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/ephyr/Xephyr.p/ephyrinit.c.o -MF hw/kdrive/ephyr/Xephyr.p/ephyrinit.c.o.d -o hw/kdrive/ephyr/Xephyr.p/ephyrinit.c.o -c ../hw/kdrive/ephyr/ephyrinit.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[541/636] gcc -Ihw/kdrive/ephyr/Xephyr.p -Ihw/kdrive/ephyr -I../hw/kdrive/ephyr -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/kdrive/src -I../hw/kdrive/src -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/ephyr/Xephyr.p/ephyr_draw.c.o -MF hw/kdrive/ephyr/Xephyr.p/ephyr_draw.c.o.d -o hw/kdrive/ephyr/Xephyr.p/ephyr_draw.c.o -c ../hw/kdrive/ephyr/ephyr_draw.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[542/636] gcc -Ihw/kdrive/ephyr/Xephyr.p -Ihw/kdrive/ephyr -I../hw/kdrive/ephyr -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/kdrive/src -I../hw/kdrive/src -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/ephyr/Xephyr.p/ephyr_glamor_glx.c.o -MF hw/kdrive/ephyr/Xephyr.p/ephyr_glamor_glx.c.o.d -o hw/kdrive/ephyr/Xephyr.p/ephyr_glamor_glx.c.o -c ../hw/kdrive/ephyr/ephyr_glamor_glx.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[543/636] gcc -Ihw/xfree86/Xorg.p -Ihw/xfree86 -I../hw/xfree86 -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/X11/dri -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -pthread -DWITH_GZFILEOP -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/Xorg.p/.._.._mi_miinitext.c.o -MF hw/xfree86/Xorg.p/.._.._mi_miinitext.c.o.d -o hw/xfree86/Xorg.p/.._.._mi_miinitext.c.o -c ../mi/miinitext.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: warning: use after ‘reallocarray’ of ‘ext’ [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:258:1: note: (1) entry to ‘InitExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (2) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘InitExtensions’:
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (5) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘InitExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) deallocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (24) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (25) returning to ‘InitExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:265:19: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:266:15: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: note: (28) use after ‘reallocarray’ of ‘ext’; deallocated at (17) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘NewExtensionModuleList’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: warning: double-‘reallocarray’ of ‘save’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (1) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (2) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (3) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘AddStaticExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) first ‘reallocarray’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
cc1: note: (24) returning to ‘AddStaticExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (25) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (26) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (27) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (28) second ‘reallocarray’ here; first ‘reallocarray’ was at (17) <--[csmock-gcc-wrapper]
[544/636] gcc -Ihw/kdrive/ephyr/Xephyr.p -Ihw/kdrive/ephyr -I../hw/kdrive/ephyr -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/kdrive/src -I../hw/kdrive/src -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/ephyr/Xephyr.p/hostx.c.o -MF hw/kdrive/ephyr/Xephyr.p/hostx.c.o.d -o hw/kdrive/ephyr/Xephyr.p/hostx.c.o -c ../hw/kdrive/ephyr/hostx.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c: In function ‘hostx_get_output_geometry’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:300:9: warning: use of possibly-NULL ‘name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:253:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:260:17: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:265:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:270:23: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:270:13: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:277:5: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:287:31: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:291:64: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:299:16: note: (9) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:300:9: note: (10) argument 1 (‘name’) from (9) could be NULL where non-null expected <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_strncpy’ must be non-null
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:62: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c: In function ‘hostx_get_visuals_info’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:108:15: warning: leak of ‘tmp_visuals’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrlog.h:64:70: note: in definition of macro ‘EPHYR_RETURN_VAL_IF_FAIL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1383:58: note: in expansion of macro ‘FALSE’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrlog.h:64:4: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1383:5: note: in expansion of macro ‘EPHYR_RETURN_VAL_IF_FAIL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1386:40: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1387:26: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1388:60: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1389:16: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1390:65: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1392:17: note: (7) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1395:16: note: (8) assuming ‘tmp_visuals’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1395:16: note: (9) following ‘false’ branch (when ‘tmp_visuals’ is non-NULL)... <--[csmock-gcc-wrapper]
cc1: note: (10) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1399:27: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1410:22: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1389:16: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1390:65: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1395:16: note: (15) following ‘true’ branch (when ‘tmp_visuals’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1396:17: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:108:15: note: (17) ‘tmp_visuals’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrlog.h:64:70: note: in definition of macro ‘EPHYR_RETURN_VAL_IF_FAIL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/hostx.c:1383:58: note: in expansion of macro ‘FALSE’ <--[csmock-gcc-wrapper]
[545/636] gcc -Ihw/kdrive/ephyr/Xephyr.p -Ihw/kdrive/ephyr -I../hw/kdrive/ephyr -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/kdrive/src -I../hw/kdrive/src -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/ephyr/Xephyr.p/ephyr.c.o -MF hw/kdrive/ephyr/Xephyr.p/ephyr.c.o.d -o hw/kdrive/ephyr/Xephyr.p/ephyr.c.o -c ../hw/kdrive/ephyr/ephyr.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessExpose’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:881:19: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1193:1: note: (1) entry to ‘ephyrXcbNotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1195:5: note: (2) calling ‘ephyrXcbProcessEvents’ from ‘ephyrXcbNotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1114:1: note: (3) entry to ‘ephyrXcbProcessEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1122:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1135:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1173:12: note: (6) following ‘false’ branch (when ‘xev’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1126:16: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1181:8: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1181:8: note: (10) following ‘false’ branch (when ‘configure’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1186:8: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1186:8: note: (12) following ‘true’ branch (when ‘expose’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1187:9: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1187:9: note: (14) calling ‘ephyrProcessExpose’ from ‘ephyrXcbProcessEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:877:1: note: (15) entry to ‘ephyrProcessExpose’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:881:19: note: (16) dereference of NULL ‘screen_from_window(*(xcb_expose_event_t *)xev.window)’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessMouseMotion’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:910:36: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1114:1: note: (1) entry to ‘ephyrXcbProcessEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1122:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1135:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1147:13: note: (4) calling ‘ephyrProcessMouseMotion’ from ‘ephyrXcbProcessEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:899:1: note: (5) entry to ‘ephyrProcessMouseMotion’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:904:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:905:45: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:904:21: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:910:36: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:910:36: note: (10) dereference of NULL ‘screen_from_window(*(xcb_motion_notify_event_t *)xev.event)’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessKeyRelease’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1031:23: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1193:1: note: (1) entry to ‘ephyrXcbNotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1195:5: note: (2) calling ‘ephyrXcbProcessEvents’ from ‘ephyrXcbNotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1114:1: note: (3) entry to ‘ephyrXcbProcessEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1122:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1135:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1155:13: note: (6) calling ‘ephyrProcessKeyRelease’ from ‘ephyrXcbProcessEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1012:1: note: (7) entry to ‘ephyrProcessKeyRelease’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1023:8: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1024:51: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1031:23: note: (10) dereference of NULL ‘screen_from_window(*(xcb_key_release_event_t *)xev.event)’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessConfigureNotify’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1101:19: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1193:1: note: (1) entry to ‘ephyrXcbNotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1195:5: note: (2) calling ‘ephyrXcbProcessEvents’ from ‘ephyrXcbNotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1114:1: note: (3) entry to ‘ephyrXcbProcessEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1122:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1135:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1173:12: note: (6) following ‘false’ branch (when ‘xev’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1126:16: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1181:8: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1181:8: note: (10) following ‘true’ branch (when ‘configure’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1182:9: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1182:9: note: (12) calling ‘ephyrProcessConfigureNotify’ from ‘ephyrXcbProcessEvents’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1096:1: note: (13) entry to ‘ephyrProcessConfigureNotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1101:19: note: (14) dereference of NULL ‘screen_from_window(*(xcb_configure_notify_event_t *)xev.window)’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c: In function ‘MouseInit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1268:58: warning: dereference of possibly-NULL ‘*pi.driverPrivate’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1267:9: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyr.c:1268:58: note: (2) ‘calloc(4, 1)’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
[546/636] gcc -Ihw/kdrive/src/libkdrive.a.p -Ihw/kdrive/src -I../hw/kdrive/src -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/src/libkdrive.a.p/kxv.c.o -MF hw/kdrive/src/libkdrive.a.p/kxv.c.o.d -o hw/kdrive/src/libkdrive.a.p/kxv.c.o -c ../hw/kdrive/src/kxv.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.h:31, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:41: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘KdXVEnlistPortInWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:149:1: warning: leak of ‘winPriv’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:996:1: note: (1) entry to ‘KdXVPutStill’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.h:294:5: note: (2) calling ‘dixLookupPrivate’ from ‘KdXVPutStill’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.h:297:61: note: in expansion of macro ‘KdGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1006:5: note: in expansion of macro ‘KdScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (3) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
cc1: note: (4) calling ‘dixLookupPrivate.part.0’ from ‘dixLookupPrivate’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (5) entry to ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (6) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate.part.0’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate.part.0’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (8) ...to here <--[csmock-gcc-wrapper]
In function ‘KdXVEnlistPortInWindow’:
cc1: note: (9) returning to ‘dixLookupPrivate’ from ‘dixLookupPrivate.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.h:294:5: note: (10) returning to ‘KdXVPutStill’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kdrive.h:297:61: note: in expansion of macro ‘KdGetScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1006:5: note: in expansion of macro ‘KdScreenPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1014:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1017:21: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1017:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1020:22: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1026:5: note: (15) inlined call to ‘RegionInit’ from ‘KdXVPutStill’ <--[csmock-gcc-wrapper]
In function ‘RegionInit’,
inlined from ‘KdXVPutStill’ at ../hw/kdrive/src/kxv.c:1026:5:
cc1: note: (16) calling ‘RegionInit.part.0’ from ‘KdXVPutStill’
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:51: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h: In function ‘KdXVEnlistPortInWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:137:1: note: (17) entry to ‘RegionInit.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:146:12: note: (18) following ‘false’ branch (when ‘_size <= 1’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:152:27: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1026:5: note: (20) inlined call to ‘RegionInit’ from ‘KdXVPutStill’ <--[csmock-gcc-wrapper]
In function ‘RegionInit’,
inlined from ‘KdXVPutStill’ at ../hw/kdrive/src/kxv.c:1026:5:
cc1: note: (21) returning to ‘KdXVPutStill’ from ‘RegionInit.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c: In function ‘KdXVEnlistPortInWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1058:8: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1059:18: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1058:26: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1061:9: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:1061:9: note: (26) calling ‘KdXVEnlistPortInWindow’ from ‘KdXVPutStill’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:711:1: note: (27) entry to ‘KdXVEnlistPortInWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:111:5: note: (28) calling ‘dixLookupPrivate’ from ‘KdXVEnlistPortInWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:715:26: note: in expansion of macro ‘GET_KDXV_WINDOW’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (29) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (32) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (33) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (35) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘KdXVEnlistPortInWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (39) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:111:5: note: (40) returning to ‘KdXVEnlistPortInWindow’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:715:26: note: in expansion of macro ‘GET_KDXV_WINDOW’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:724:8: note: (41) following ‘true’ branch (when ‘winPriv’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:725:19: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:725:19: note: (43) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:726:12: note: (44) assuming ‘winPriv’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:726:12: note: (45) following ‘false’ branch (when ‘winPriv’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:728:26: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:730:9: note: (47) calling ‘dixSetPrivate’ from ‘KdXVEnlistPortInWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:145:1: note: (48) entry to ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:147:5: note: (49) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:148:16: note: (50) inlined call to ‘dixGetPrivateAddr’ from ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixSetPrivate’ at ../include/privates.h:148:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c: In function ‘KdXVEnlistPortInWindow’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/src/kxv.c:730:9: note: (54) returning to ‘KdXVEnlistPortInWindow’ from ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:149:1: note: (55) ‘winPriv’ leaks here; was allocated at (43) <--[csmock-gcc-wrapper]
[547/636] gcc -Ihw/kdrive/ephyr/Xephyr.p -Ihw/kdrive/ephyr -I../hw/kdrive/ephyr -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/kdrive/src -I../hw/kdrive/src -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/ephyr/Xephyr.p/ephyr_glamor_xv.c.o -MF hw/kdrive/ephyr/Xephyr.p/ephyr_glamor_xv.c.o.d -o hw/kdrive/ephyr/Xephyr.p/ephyr_glamor_xv.c.o -c ../hw/kdrive/ephyr/ephyr_glamor_xv.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[548/636] gcc -Ihw/vfb/Xvfb.p -Ihw/vfb -I../hw/vfb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/vfb/Xvfb.p/InitInput.c.o -MF hw/vfb/Xvfb.p/InitInput.c.o.d -o hw/vfb/Xvfb.p/InitInput.c.o -c ../hw/vfb/InitInput.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[549/636] gcc -Ihw/vfb/Xvfb.p -Ihw/vfb -I../hw/vfb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/vfb/Xvfb.p/InitOutput.c.o -MF hw/vfb/Xvfb.p/InitOutput.c.o.d -o hw/vfb/Xvfb.p/InitOutput.c.o -c ../hw/vfb/InitOutput.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/vfb/InitOutput.c: In function ‘vfbInstallColormap.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/vfb/InitOutput.c:413:21: warning: dereference of possibly-NULL ‘ppix’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/vfb/InitOutput.c:40: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/vfb/InitOutput.c:408:16: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/vfb/InitOutput.c:412:23: note: (2) following ‘true’ branch (when ‘entries > i’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/vfb/InitOutput.c:413:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/vfb/InitOutput.c:413:21: note: (4) ‘ppix + (long unsigned int)i * 4’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
[550/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Args.c.o -MF hw/xnest/Xnest.p/Args.c.o.d -o hw/xnest/Xnest.p/Args.c.o -c ../hw/xnest/Args.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[551/636] gcc -Ihw/vfb/Xvfb.p -Ihw/vfb -I../hw/vfb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/vfb/Xvfb.p/.._.._mi_miinitext.c.o -MF hw/vfb/Xvfb.p/.._.._mi_miinitext.c.o.d -o hw/vfb/Xvfb.p/.._.._mi_miinitext.c.o -c ../mi/miinitext.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: warning: use after ‘reallocarray’ of ‘ext’ [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:258:1: note: (1) entry to ‘InitExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (2) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘InitExtensions’:
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (5) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘InitExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) deallocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (24) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (25) returning to ‘InitExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:265:19: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:266:15: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: note: (28) use after ‘reallocarray’ of ‘ext’; deallocated at (17) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘NewExtensionModuleList’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: warning: double-‘reallocarray’ of ‘save’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (1) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (2) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (3) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘AddStaticExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) first ‘reallocarray’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
cc1: note: (24) returning to ‘AddStaticExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (25) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (26) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (27) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (28) second ‘reallocarray’ here; first ‘reallocarray’ was at (17) <--[csmock-gcc-wrapper]
[552/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Color.c.o -MF hw/xnest/Xnest.p/Color.c.o.d -o hw/xnest/Xnest.p/Color.c.o -c ../hw/xnest/Color.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c: In function ‘xnestSetInstalledColormapWindows’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:224:28: warning: dereference of possibly-NULL ‘windows’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:192:1: note: (1) entry to ‘xnestSetInstalledColormapWindows’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:198:23: note: (2) inlined call to ‘xnestListInstalledColormaps’ from ‘xnestSetInstalledColormapWindows’ <--[csmock-gcc-wrapper]
In function ‘xnestListInstalledColormaps’,
inlined from ‘xnestSetInstalledColormapWindows’ at ../hw/xnest/Color.c:198:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:378:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c: In function ‘xnestSetInstalledColormapWindows’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:198:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:201:8: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:21: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:202:52: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:52: note: in definition of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:215:8: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:216:9: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (9) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:221:33: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:223:27: note: (10) following ‘true’ branch (when ‘numWindows > i’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:224:34: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:224:28: note: (12) ‘windows + (long unsigned int)i * 8’ could be NULL: unchecked value from (9) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c: In function ‘xnestListInstalledColormaps.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:379:19: warning: dereference of possibly-NULL ‘pCmapIDs’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:192:1: note: (1) entry to ‘xnestSetInstalledColormapWindows’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (2) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:197:20: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:198:23: note: (3) inlined call to ‘xnestListInstalledColormaps’ from ‘xnestSetInstalledColormapWindows’ <--[csmock-gcc-wrapper]
In function ‘xnestListInstalledColormaps’,
inlined from ‘xnestSetInstalledColormapWindows’ at ../hw/xnest/Color.c:198:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:378:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
In function ‘xnestListInstalledColormaps.part.0’:
cc1: note: (5) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:198:23: note: (6) inlined call to ‘xnestListInstalledColormaps’ from ‘xnestSetInstalledColormapWindows’ <--[csmock-gcc-wrapper]
In function ‘xnestListInstalledColormaps’,
inlined from ‘xnestSetInstalledColormapWindows’ at ../hw/xnest/Color.c:198:23:
cc1: note: (7) calling ‘xnestListInstalledColormaps.part.0’ from ‘xnestSetInstalledColormapWindows’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c: In function ‘xnestListInstalledColormaps.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:376:1: note: (8) entry to ‘xnestListInstalledColormaps.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:42:48: note: (9) calling ‘dixLookupPrivate’ from ‘xnestListInstalledColormaps.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:379:21: note: in expansion of macro ‘GetInstalledColormap’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (10) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (11) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (12) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (14) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘xnestListInstalledColormaps.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (18) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:42:48: note: (19) returning to ‘xnestListInstalledColormaps.part.0’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:379:21: note: in expansion of macro ‘GetInstalledColormap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:379:19: note: (20) ‘pCmapIDs’ could be NULL: unchecked value from (2) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c: In function ‘xnestStoreColors’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:396:32: warning: dereference of possibly-NULL ‘pColors64’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:389:8: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:393:29: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (3) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:393:29: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:395:23: note: (4) following ‘true’ branch (when ‘i < nColors’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:396:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Color.c:396:32: note: (6) ‘pColors64 + (long unsigned int)i * 16’ could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper]
[553/636] gcc -Ihw/kdrive/ephyr/Xephyr.p -Ihw/kdrive/ephyr -I../hw/kdrive/ephyr -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/kdrive/src -I../hw/kdrive/src -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/kdrive/ephyr/Xephyr.p/ephyrvideo.c.o -MF hw/kdrive/ephyr/Xephyr.p/ephyrvideo.c.o.d -o hw/kdrive/ephyr/Xephyr.p/ephyrvideo.c.o -c ../hw/kdrive/ephyr/ephyrvideo.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c: In function ‘translate_video_encodings’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:333:40: warning: leak of ‘*encoding.name’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:314:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:317:32: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:320:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:325:19: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:326:19: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:327:33: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:331:26: note: (7) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:333:40: note: (8) ‘*encoding.name’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c: In function ‘translate_xv_attributes’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:380:57: warning: leak of ‘*attribute.name’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:357:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:360:33: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:363:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:369:10: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:370:19: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:371:44: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:376:27: note: (7) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:380:57: note: (8) ‘*attribute.name’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c: In function ‘translate_xv_image_formats’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:406:8: warning: leak of ‘*adaptor.pImages’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:444:1: note: (1) entry to ‘ephyrXVPrivQueryHostAdaptors’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:37: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrlog.h:64:4: note: (2) following ‘false’ branch (when ‘a_this’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:453:5: note: in expansion of macro ‘EPHYR_RETURN_VAL_IF_FAIL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:459:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:461:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:468:8: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:470:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:479:28: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:481:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:487:10: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:488:19: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:489:32: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:494:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:498:52: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:508:12: note: (14) following ‘false’ branch (when ‘base_port_id >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:512:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:515:14: note: (16) calling ‘translate_video_encodings’ from ‘ephyrXVPrivQueryHostAdaptors’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:303:1: note: (17) entry to ‘translate_video_encodings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:314:8: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:317:32: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:320:8: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:325:19: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:515:14: note: (22) returning to ‘ephyrXVPrivQueryHostAdaptors’ from ‘translate_video_encodings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:515:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:522:56: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:549:14: note: (25) calling ‘translate_xv_attributes’ from ‘ephyrXVPrivQueryHostAdaptors’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:346:1: note: (26) entry to ‘translate_xv_attributes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:357:8: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:360:33: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:363:8: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:369:10: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:370:19: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:385:5: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:549:14: note: (33) returning to ‘ephyrXVPrivQueryHostAdaptors’ from ‘translate_xv_attributes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:549:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:557:48: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:557:14: note: (36) calling ‘translate_xv_image_formats’ from ‘ephyrXVPrivQueryHostAdaptors’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:390:1: note: (37) entry to ‘translate_xv_image_formats’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:401:8: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:404:29: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:405:24: note: (40) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:406:8: note: (41) ‘*adaptor.pImages’ leaks here; was allocated at (40) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c: In function ‘ephyrXVPrivQueryHostAdaptors’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:505:20: warning: leak of ‘strndup(xcb_xv_adaptor_info_name(cur_host_adaptor), (long unsigned int)*cur_host_adaptor.name_size)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrlog.h:64:4: note: (1) following ‘false’ branch (when ‘a_this’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:453:5: note: in expansion of macro ‘EPHYR_RETURN_VAL_IF_FAIL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:459:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:461:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:468:8: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:470:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:479:28: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:481:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:487:10: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:488:19: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:489:32: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:494:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:498:52: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:503:13: note: (13) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:505:20: note: (14) ‘strndup(xcb_xv_adaptor_info_name(cur_host_adaptor), (long unsigned int)*cur_host_adaptor.name_size)’ leaks here; was allocated at (13) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:529:51: warning: dereference of possibly-NULL ‘*<unknown>.pFormats + (long unsigned int)j * 4’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:253:1: note: (1) entry to ‘ephyrXVPrivNew’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:260:8: note: (2) following ‘false’ branch (when ‘xv_priv’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:265:10: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:265:10: note: (4) calling ‘ephyrXVPrivQueryHostAdaptors’ from ‘ephyrXVPrivNew’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:444:1: note: (5) entry to ‘ephyrXVPrivQueryHostAdaptors’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrlog.h:64:4: note: (6) following ‘false’ branch (when ‘a_this’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:453:5: note: in expansion of macro ‘EPHYR_RETURN_VAL_IF_FAIL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:459:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:461:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:468:8: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:468:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:469:53: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:470:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:479:28: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:481:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:487:10: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:488:19: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:489:32: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:494:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:498:52: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:505:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:507:40: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:508:12: note: (22) following ‘false’ branch (when ‘base_port_id >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:512:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:515:14: note: (24) calling ‘translate_video_encodings’ from ‘ephyrXVPrivQueryHostAdaptors’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:303:1: note: (25) entry to ‘translate_video_encodings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:314:8: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:317:32: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:320:8: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:325:19: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:326:19: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:341:5: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:515:14: note: (32) returning to ‘ephyrXVPrivQueryHostAdaptors’ from ‘translate_video_encodings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:515:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:522:56: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:524:13: note: (35) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:526:23: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:528:58: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:529:51: note: (38) ‘*<unknown>.pFormats + (long unsigned int)j * 4’ could be NULL: unchecked value from (35) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:546:54: warning: dereference of possibly-NULL ‘*<unknown>.pPortPrivates + (long unsigned int)j * 8’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:253:1: note: (1) entry to ‘ephyrXVPrivNew’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:260:8: note: (2) following ‘false’ branch (when ‘xv_priv’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:265:10: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:265:10: note: (4) calling ‘ephyrXVPrivQueryHostAdaptors’ from ‘ephyrXVPrivNew’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:444:1: note: (5) entry to ‘ephyrXVPrivQueryHostAdaptors’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrlog.h:64:4: note: (6) following ‘false’ branch (when ‘a_this’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:453:5: note: in expansion of macro ‘EPHYR_RETURN_VAL_IF_FAIL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:459:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:461:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:468:8: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:468:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:469:53: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:470:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:479:28: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:481:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:487:10: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:488:19: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:489:32: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:494:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:498:52: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:505:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:507:40: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:508:12: note: (22) following ‘false’ branch (when ‘base_port_id >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:512:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:515:14: note: (24) calling ‘translate_video_encodings’ from ‘ephyrXVPrivQueryHostAdaptors’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:303:1: note: (25) entry to ‘translate_video_encodings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:314:8: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:317:32: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:320:8: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:325:19: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:326:19: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:341:5: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:515:14: note: (32) returning to ‘ephyrXVPrivQueryHostAdaptors’ from ‘translate_video_encodings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:515:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:522:56: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:526:23: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:534:26: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:534:13: note: (37) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:537:23: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:539:55: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:546:54: note: (40) ‘*<unknown>.pPortPrivates + (long unsigned int)j * 8’ could be NULL: unchecked value from (37) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c: In function ‘ephyrHostXVPutImage’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:931:24: warning: dereference of possibly-NULL ‘rects’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrlog.h:64:4: note: (1) following ‘false’ branch (when ‘a_buf’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:905:5: note: in expansion of macro ‘EPHYR_RETURN_VAL_IF_FAIL’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:909:25: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:917:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:919:32: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:927:8: note: (5) following ‘true’ branch (when ‘a_clip_rect_nums != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:929:17: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:929:17: note: (7) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:930:21: note: (8) following ‘true’ branch (when ‘i < a_clip_rect_nums’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:931:38: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/kdrive/ephyr/ephyrvideo.c:931:24: note: (10) ‘rects + (long unsigned int)i * 8’ could be NULL: unchecked value from (7) <--[csmock-gcc-wrapper]
[554/636] rm -f hw/kdrive/src/libkdrive.a && gcc-ar csrDT hw/kdrive/src/libkdrive.a hw/kdrive/src/libkdrive.a.p/kcmap.c.o hw/kdrive/src/libkdrive.a.p/kdrive.c.o hw/kdrive/src/libkdrive.a.p/kinfo.c.o hw/kdrive/src/libkdrive.a.p/kinput.c.o hw/kdrive/src/libkdrive.a.p/kshadow.c.o hw/kdrive/src/libkdrive.a.p/.._.._.._mi_miinitext.c.o hw/kdrive/src/libkdrive.a.p/kxv.c.o
[555/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Display.c.o -MF hw/xnest/Xnest.p/Display.c.o.d -o hw/xnest/Xnest.p/Display.c.o -c ../hw/xnest/Display.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[556/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Events.c.o -MF hw/xnest/Xnest.p/Events.c.o.d -o hw/xnest/Xnest.p/Events.c.o -c ../hw/xnest/Events.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[557/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Cursor.c.o -MF hw/xnest/Xnest.p/Cursor.c.o.d -o hw/xnest/Xnest.p/Cursor.c.o -c ../hw/xnest/Cursor.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Cursor.c:34: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Cursor.c: In function ‘dixSetScreenPrivate’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNCursor.h:37:25: warning: leak of ‘malloc(4)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Cursor.c:101:5: note: in expansion of macro ‘xnestSetCursorPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Cursor.c:42:1: note: (1) entry to ‘xnestRealizeCursor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNCursor.h:37:5: note: (2) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Cursor.c:101:5: note: in expansion of macro ‘xnestSetCursorPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNCursor.h:37:5: note: (3) calling ‘dixSetScreenPrivate’ from ‘xnestRealizeCursor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Cursor.c:101:5: note: in expansion of macro ‘xnestSetCursorPriv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Cursor.c:24: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:206:1: note: (4) entry to ‘dixSetScreenPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:209:5: note: (5) calling ‘dixSetPrivate’ from ‘dixSetScreenPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:145:1: note: (6) entry to ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:147:5: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:148:16: note: (8) inlined call to ‘dixGetPrivateAddr’ from ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixSetPrivate’ at ../include/privates.h:148:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘dixSetScreenPrivate’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:209:5: note: (12) returning to ‘dixSetScreenPrivate’ from ‘dixSetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNCursor.h:37:25: note: (13) ‘malloc(4)’ leaks here; was allocated at (2) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Cursor.c:101:5: note: in expansion of macro ‘xnestSetCursorPriv’ <--[csmock-gcc-wrapper]
[558/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Font.c.o -MF hw/xnest/Xnest.p/Font.c.o.d -o hw/xnest/Xnest.p/Font.c.o -c ../hw/xnest/Font.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c: In function ‘xnestRealizeFont’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:71:39: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:60:8: note: (1) following ‘false’ branch (when ‘value_atom != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:63:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:65:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:68:12: note: (4) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:32: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:25:4: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:71:5: note: in expansion of macro ‘xnestFontPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:71:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:71:39: note: (7) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:27:53: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:73:10: note: in expansion of macro ‘xnestFontStruct’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:60:8: note: (1) following ‘false’ branch (when ‘value_atom != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:63:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:65:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:68:12: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:25:4: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:71:5: note: in expansion of macro ‘xnestFontPriv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:25: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:25:21: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:71:5: note: in expansion of macro ‘xnestFontPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:25:4: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:27:33: note: in expansion of macro ‘xnestFontPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:73:10: note: in expansion of macro ‘xnestFontStruct’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:27:53: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:73:10: note: in expansion of macro ‘xnestFontStruct’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:27:53: note: (9) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Font.c:73:10: note: in expansion of macro ‘xnestFontStruct’ <--[csmock-gcc-wrapper]
[559/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/GC.c.o -MF hw/xnest/Xnest.p/GC.c.o.d -o hw/xnest/Xnest.p/GC.c.o -c ../hw/xnest/GC.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c: In function ‘xnestChangeClip’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:210:25: warning: dereference of possibly-NULL ‘pRects’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:191:1: note: (1) entry to ‘xnestChangeClip’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:197:5: note: (2) calling ‘xnestDestroyClip’ from ‘xnestChangeClip’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:276:1: note: (3) entry to ‘xnestDestroyClip’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:278:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:283:1: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:197:5: note: (6) returning to ‘xnestChangeClip’ from ‘xnestDestroyClip’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:199:5: note: (7) following ‘case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:206:18: note: (8) inlined call to ‘RegionNumRects’ from ‘xnestChangeClip’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/pixmap.h:52, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/gc.h:54, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/gcstruct.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:21: <--[csmock-gcc-wrapper]
In function ‘RegionNumRects’,
inlined from ‘xnestChangeClip’ at ../hw/xnest/GC.c:206:18:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:88:18: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:88:49: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/gc.h:53: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c: In function ‘xnestChangeClip’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:207:18: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (12) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:207:18: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:208:16: note: (13) inlined call to ‘RegionRects’ from ‘xnestChangeClip’ <--[csmock-gcc-wrapper]
In function ‘RegionRects’,
inlined from ‘xnestChangeClip’ at ../hw/xnest/GC.c:208:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:100:54: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h:100:54: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c: In function ‘xnestChangeClip’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:209:30: note: (16) following ‘true’ branch (when ‘i > 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:210:31: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GC.c:210:25: note: (18) ‘pRects + (long unsigned int)i * 8’ could be NULL: unchecked value from (12) <--[csmock-gcc-wrapper]
[560/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/GCOps.c.o -MF hw/xnest/Xnest.p/GCOps.c.o.d -o hw/xnest/Xnest.p/GCOps.c.o -c ../hw/xnest/GCOps.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c: In function ‘xnestPolyText8’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:273:13: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:265:1: note: (1) entry to ‘xnestPolyText8’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:34: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNGC.h:29:5: note: (2) calling ‘dixLookupPrivate’ from ‘xnestPolyText8’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNGC.h:31:23: note: in expansion of macro ‘xnestGCPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:270:57: note: in expansion of macro ‘xnestGC’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/gcstruct.h:56, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (3) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (4) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (5) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘xnestPolyText8’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (11) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNGC.h:29:5: note: (12) returning to ‘xnestPolyText8’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNGC.h:31:23: note: in expansion of macro ‘xnestGCPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:270:57: note: in expansion of macro ‘xnestGC’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Drawable.h:18, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:37: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNWindow.h:41:5: note: (13) calling ‘dixLookupPrivate’ from ‘xnestPolyText8’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNWindow.h:43:28: note: in expansion of macro ‘xnestWindowPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Drawable.h:23:4: note: in expansion of macro ‘xnestWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:270:31: note: in expansion of macro ‘xnestDrawable’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (14) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (15) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (16) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (18) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘xnestPolyText8’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (22) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNWindow.h:41:5: note: (23) returning to ‘xnestPolyText8’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNWindow.h:43:28: note: in expansion of macro ‘xnestWindowPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Drawable.h:23:4: note: in expansion of macro ‘xnestWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:270:31: note: in expansion of macro ‘xnestDrawable’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:35: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:25:4: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:27:33: note: in expansion of macro ‘xnestFontPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:273:24: note: in expansion of macro ‘xnestFontStruct’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:273:13: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:273:13: note: (26) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c: In function ‘xnestPolyText16’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:287:13: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:279:1: note: (1) entry to ‘xnestPolyText16’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNGC.h:29:5: note: (2) calling ‘dixLookupPrivate’ from ‘xnestPolyText16’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNGC.h:31:23: note: in expansion of macro ‘xnestGCPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:284:59: note: in expansion of macro ‘xnestGC’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (3) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (4) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (5) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (7) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘xnestPolyText16’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (11) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNGC.h:29:5: note: (12) returning to ‘xnestPolyText16’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNGC.h:31:23: note: in expansion of macro ‘xnestGCPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:284:59: note: in expansion of macro ‘xnestGC’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNWindow.h:41:5: note: (13) calling ‘dixLookupPrivate’ from ‘xnestPolyText16’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNWindow.h:43:28: note: in expansion of macro ‘xnestWindowPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Drawable.h:23:4: note: in expansion of macro ‘xnestWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:284:33: note: in expansion of macro ‘xnestDrawable’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (14) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (15) calling ‘dixGetPrivate’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:134:1: note: (16) entry to ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:136:5: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:137:23: note: (18) inlined call to ‘dixGetPrivateAddr’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixGetPrivate’ at ../include/privates.h:137:23:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘xnestPolyText16’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:167:16: note: (22) returning to ‘dixLookupPrivate’ from ‘dixGetPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNWindow.h:41:5: note: (23) returning to ‘xnestPolyText16’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNWindow.h:43:28: note: in expansion of macro ‘xnestWindowPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Drawable.h:23:4: note: in expansion of macro ‘xnestWindow’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:284:33: note: in expansion of macro ‘xnestDrawable’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:25:4: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/XNFont.h:27:33: note: in expansion of macro ‘xnestFontPriv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:287:26: note: in expansion of macro ‘xnestFontStruct’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:287:13: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/GCOps.c:287:13: note: (26) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
[561/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Init.c.o -MF hw/xnest/Xnest.p/Init.c.o.d -o hw/xnest/Xnest.p/Init.c.o -c ../hw/xnest/Init.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[562/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Handlers.c.o -MF hw/xnest/Xnest.p/Handlers.c.o.d -o hw/xnest/Xnest.p/Handlers.c.o -c ../hw/xnest/Handlers.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[563/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Visual.c.o -MF hw/xnest/Xnest.p/Visual.c.o.d -o hw/xnest/Xnest.p/Visual.c.o -c ../hw/xnest/Visual.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[564/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Pixmap.c.o -MF hw/xnest/Xnest.p/Pixmap.c.o.d -o hw/xnest/Xnest.p/Pixmap.c.o -c ../hw/xnest/Pixmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[565/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Pointer.c.o -MF hw/xnest/Xnest.p/Pointer.c.o.d -o hw/xnest/Xnest.p/Pointer.c.o -c ../hw/xnest/Pointer.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[566/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Window.c.o -MF hw/xnest/Xnest.p/Window.c.o.d -o hw/xnest/Xnest.p/Window.c.o -c ../hw/xnest/Window.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[567/636] gcc -Ihw/xfree86/loader/xorg_symbol_test.p -Ihw/xfree86/loader -I../hw/xfree86/loader -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ hw/xfree86/loader/xorg_symbol_test.p/symbol-test.c.o -MF hw/xfree86/loader/xorg_symbol_test.p/symbol-test.c.o.d -o hw/xfree86/loader/xorg_symbol_test.p/symbol-test.c.o -c ../hw/xfree86/loader/symbol-test.c
[568/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Keyboard.c.o -MF hw/xnest/Xnest.p/Keyboard.c.o.d -o hw/xnest/Xnest.p/Keyboard.c.o -c ../hw/xnest/Keyboard.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Keyboard.c: In function ‘xnestKeyboardProc’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Keyboard.c:142:27: warning: dereference of possibly-NULL ‘keymap’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Keyboard.c:127:5: note: (1) following ‘case 0:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Keyboard.c:128:5: note: (2) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Keyboard.c:26: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (3) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Keyboard.c:140:22: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Keyboard.c:141:27: note: (4) following ‘true’ branch (when ‘i < len’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Keyboard.c:142:37: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Keyboard.c:142:27: note: (6) ‘keymap + (long unsigned int)i * 4’ could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper]
[569/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/Screen.c.o -MF hw/xnest/Xnest.p/Screen.c.o.d -o hw/xnest/Xnest.p/Screen.c.o -c ../hw/xnest/Screen.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c: In function ‘xnestOpenScreen’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:165:21: warning: dereference of possibly-NULL ‘depths’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:145:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:148:10: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:148:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:151:10: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:151:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:154:10: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:154:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:158:10: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:158:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:21: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:161:15: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:164:25: note: (11) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:165:21: note: (12) ‘depths’ could be NULL: unchecked value from (11) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:171:35: warning: dereference of possibly-NULL ‘visuals’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:145:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:148:10: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:148:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:151:10: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:151:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:154:10: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:154:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:158:10: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:158:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:161:15: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (11) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:161:15: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:170:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:171:49: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:171:35: note: (14) ‘visuals + (long unsigned int)numVisuals * 56’ could be NULL: unchecked value from (11) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:221:61: warning: dereference of possibly-NULL ‘*<unknown>.vids + (long unsigned int)*<unknown>.numVids * 4’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:145:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:148:10: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:148:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:151:10: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:151:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:154:10: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:154:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:158:10: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:158:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:161:15: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:170:19: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:171:49: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:183:23: note: (13) following ‘false’ branch (when ‘numVisuals <= j’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:198:12: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:198:12: note: (15) following ‘false’ branch (when ‘numVisuals <= j’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:201:35: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:204:23: note: (17) following ‘true’ branch (when ‘numDepths > j’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:205:23: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:210:12: note: (19) following ‘true’ branch (when ‘depthIndex == -1’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:212:52: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:215:30: note: (21) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:218:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:221:27: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xnest/Screen.c:221:61: note: (24) ‘*<unknown>.vids + (long unsigned int)*<unknown>.numVids * 4’ could be NULL: unchecked value from (21) <--[csmock-gcc-wrapper]
[570/636] gcc -Ihw/xnest/Xnest.p -Ihw/xnest -I../hw/xnest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XNEST_CONFIG_H -MD -MQ hw/xnest/Xnest.p/.._.._mi_miinitext.c.o -MF hw/xnest/Xnest.p/.._.._mi_miinitext.c.o.d -o hw/xnest/Xnest.p/.._.._mi_miinitext.c.o -c ../mi/miinitext.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: warning: use after ‘reallocarray’ of ‘ext’ [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:258:1: note: (1) entry to ‘InitExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (2) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘InitExtensions’:
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (5) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘InitExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) deallocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (24) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (25) returning to ‘InitExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:265:19: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:266:15: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: note: (28) use after ‘reallocarray’ of ‘ext’; deallocated at (17) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘NewExtensionModuleList’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: warning: double-‘reallocarray’ of ‘save’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (1) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (2) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (3) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘AddStaticExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) first ‘reallocarray’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
cc1: note: (24) returning to ‘AddStaticExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (25) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (26) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (27) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (28) second ‘reallocarray’ here; first ‘reallocarray’ was at (17) <--[csmock-gcc-wrapper]
[571/636] gcc -Ihw/xfree86/dixmods/libshadow.so.p -Ihw/xfree86/dixmods -I../hw/xfree86/dixmods -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/dixmods/libshadow.so.p/shmodule.c.o -MF hw/xfree86/dixmods/libshadow.so.p/shmodule.c.o.d -o hw/xfree86/dixmods/libshadow.so.p/shmodule.c.o -c ../hw/xfree86/dixmods/shmodule.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[572/636] gcc -Ihw/xfree86/dixmods/libwfb.so.p -Ihw/xfree86/dixmods -I../hw/xfree86/dixmods -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -DFB_ACCESS_WRAPPER -MD -MQ hw/xfree86/dixmods/libwfb.so.p/fbmodule.c.o -MF hw/xfree86/dixmods/libwfb.so.p/fbmodule.c.o.d -o hw/xfree86/dixmods/libwfb.so.p/fbmodule.c.o -c ../hw/xfree86/dixmods/fbmodule.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[573/636] gcc -Ihw/xfree86/dixmods/libglx.so.p -Ihw/xfree86/dixmods -I../hw/xfree86/dixmods -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -Iglx -I../glx -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -D__GLX_ALIGN64 -MD -MQ hw/xfree86/dixmods/libglx.so.p/glxmodule.c.o -MF hw/xfree86/dixmods/libglx.so.p/glxmodule.c.o.d -o hw/xfree86/dixmods/libglx.so.p/glxmodule.c.o -c ../hw/xfree86/dixmods/glxmodule.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[574/636] gcc -Ihw/xfree86/dixmods/libglx.so.p -Ihw/xfree86/dixmods -I../hw/xfree86/dixmods -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -Iglx -I../glx -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -D__GLX_ALIGN64 -MD -MQ hw/xfree86/dixmods/libglx.so.p/.._.._.._glx_glxdri2.c.o -MF hw/xfree86/dixmods/libglx.so.p/.._.._.._glx_glxdri2.c.o.d -o hw/xfree86/dixmods/libglx.so.p/.._.._.._glx_glxdri2.c.o -c ../glx/glxdri2.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[575/636] gcc -Ihw/xfree86/exa/libexa.so.p -Ihw/xfree86/exa -I../hw/xfree86/exa -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/exa/libexa.so.p/examodule.c.o -MF hw/xfree86/exa/libexa.so.p/examodule.c.o.d -o hw/xfree86/exa/libexa.so.p/examodule.c.o -c ../hw/xfree86/exa/examodule.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[576/636] gcc -Ihw/xfree86/fbdevhw/libfbdevhw.so.p -Ihw/xfree86/fbdevhw -I../hw/xfree86/fbdevhw -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/fbdevhw/libfbdevhw.so.p/fbdevhw.c.o -MF hw/xfree86/fbdevhw/libfbdevhw.so.p/fbdevhw.c.o.d -o hw/xfree86/fbdevhw/libfbdevhw.so.p/fbdevhw.c.o -c ../hw/xfree86/fbdevhw/fbdevhw.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[577/636] gcc -Ihw/xfree86/glamor_egl/libglamoregl.so.p -Ihw/xfree86/glamor_egl -I../hw/xfree86/glamor_egl -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/glamor_egl/libglamoregl.so.p/.._.._.._glamor_glamor_eglmodule.c.o -MF hw/xfree86/glamor_egl/libglamoregl.so.p/.._.._.._glamor_glamor_eglmodule.c.o.d -o hw/xfree86/glamor_egl/libglamoregl.so.p/.._.._.._glamor_glamor_eglmodule.c.o -c ../glamor/glamor_eglmodule.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[578/636] gcc -Ihw/xfree86/glamor_egl/libglamoregl.so.p -Ihw/xfree86/glamor_egl -I../hw/xfree86/glamor_egl -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/glamor_egl/libglamoregl.so.p/glamor_xf86_xv.c.o -MF hw/xfree86/glamor_egl/libglamoregl.so.p/glamor_xf86_xv.c.o.d -o hw/xfree86/glamor_egl/libglamoregl.so.p/glamor_xf86_xv.c.o -c ../hw/xfree86/glamor_egl/glamor_xf86_xv.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[579/636] gcc -Ihw/xfree86/glamor_egl/libglamoregl.so.p -Ihw/xfree86/glamor_egl -I../hw/xfree86/glamor_egl -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/glamor_egl/libglamoregl.so.p/.._.._.._glamor_glamor_egl.c.o -MF hw/xfree86/glamor_egl/libglamoregl.so.p/.._.._.._glamor_glamor_egl.c.o.d -o hw/xfree86/glamor_egl/libglamoregl.so.p/.._.._.._glamor_glamor_egl.c.o -c ../glamor/glamor_egl.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_make_pixmap_exportable’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:318:9: warning: double-‘free’ of ‘modifiers’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:263:1: note: (1) entry to ‘glamor_make_pixmap_exportable’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:270:9: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_make_pixmap_exportable’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:48: <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_make_pixmap_exportable’ at ../glamor/glamor_egl.c:270:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (3) calling ‘dixLookupPrivate’ from ‘glamor_make_pixmap_exportable’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:53, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86str.h:39, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86.h:44, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:37: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_make_pixmap_exportable’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (4) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (5) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:18: <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_make_pixmap_exportable’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:270:9: note: (8) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_make_pixmap_exportable’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_make_pixmap_exportable’ at ../glamor/glamor_egl.c:270:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (9) returning to ‘glamor_make_pixmap_exportable’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_make_pixmap_exportable’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:308:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:310:19: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:312:9: note: (12) calling ‘glamor_get_modifiers’ from ‘glamor_make_pixmap_exportable’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:666:1: note: (13) entry to ‘glamor_get_modifiers’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:678:8: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /usr/include/epoxy/egl.h:46, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.h:33, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:45: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:681:10: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:681:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:685:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:685:8: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:688:18: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:688:18: note: (20) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:689:8: note: (21) assuming ‘modifiers’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:689:8: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:692:10: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:692:8: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:694:9: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:694:9: note: (26) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:312:9: note: (27) returning to ‘glamor_make_pixmap_exportable’ from ‘glamor_get_modifiers’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:318:9: note: (28) second ‘free’ here; first ‘free’ was at (26) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_gbm_bo_from_pixmap_internal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:381:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:374:1: note: (1) entry to ‘glamor_gbm_bo_from_pixmap_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:379:9: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_gbm_bo_from_pixmap_internal’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_gbm_bo_from_pixmap_internal’ at ../glamor/glamor_egl.c:379:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch (when ‘pixmap’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_gbm_bo_from_pixmap_internal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:381:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:381:21: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_egl_exchange_buffers’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:759:14: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:748:1: note: (1) entry to ‘glamor_egl_exchange_buffers’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:753:9: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_egl_exchange_buffers’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_egl_exchange_buffers’ at ../glamor/glamor_egl.c:753:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_egl_exchange_buffers’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:757:5: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:759:14: note: (5) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:761:34: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:748:1: note: (1) entry to ‘glamor_egl_exchange_buffers’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:753:9: note: (2) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_egl_exchange_buffers’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_egl_exchange_buffers’ at ../glamor/glamor_egl.c:753:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (3) following ‘true’ branch (when ‘front’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_egl_exchange_buffers’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:755:9: note: (4) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_egl_exchange_buffers’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_egl_exchange_buffers’ at ../glamor/glamor_egl.c:755:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:414:8: note: (6) following ‘false’ branch (when ‘back’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:29: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (8) calling ‘dixLookupPrivate’ from ‘glamor_egl_exchange_buffers’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h: In function ‘glamor_egl_exchange_buffers’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:162:1: note: (9) entry to ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:164:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:165:16: note: (11) inlined call to ‘dixGetPrivateAddr’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
In function ‘dixGetPrivateAddr’,
inlined from ‘dixLookupPrivate’ at ../include/privates.h:165:16:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:15: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:122:5: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h:123:33: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_egl_exchange_buffers’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:755:9: note: (15) inlined call to ‘glamor_get_pixmap_private’ from ‘glamor_egl_exchange_buffers’ <--[csmock-gcc-wrapper]
In function ‘glamor_get_pixmap_private’,
inlined from ‘glamor_egl_exchange_buffers’ at ../glamor/glamor_egl.c:755:9:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_priv.h:417:12: note: (16) returning to ‘glamor_egl_exchange_buffers’ from ‘dixLookupPrivate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c: In function ‘glamor_egl_exchange_buffers’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor_egl.c:761:34: note: (17) dereference of NULL ‘<unknown>’ <--[csmock-gcc-wrapper]
[580/636] gcc -Ihw/xfree86/vgahw/libvgahw.so.p -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/vgahw/libvgahw.so.p/vgaHWmodule.c.o -MF hw/xfree86/vgahw/libvgahw.so.p/vgaHWmodule.c.o.d -o hw/xfree86/vgahw/libvgahw.so.p/vgaHWmodule.c.o -c ../hw/xfree86/vgahw/vgaHWmodule.c
[581/636] gcc -Ihw/xfree86/shadowfb/libshadowfb.so.p -Ihw/xfree86/shadowfb -I../hw/xfree86/shadowfb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/shadowfb/libshadowfb.so.p/sfbmodule.c.o -MF hw/xfree86/shadowfb/libshadowfb.so.p/sfbmodule.c.o.d -o hw/xfree86/shadowfb/libshadowfb.so.p/sfbmodule.c.o -c ../hw/xfree86/shadowfb/sfbmodule.c
[582/636] gcc -Ihw/xfree86/drivers/modesetting/modesetting_drv.so.p -Ihw/xfree86/drivers/modesetting -I../hw/xfree86/drivers/modesetting -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/drivers/modesetting/modesetting_drv.so.p/dumb_bo.c.o -MF hw/xfree86/drivers/modesetting/modesetting_drv.so.p/dumb_bo.c.o.d -o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/dumb_bo.c.o -c ../hw/xfree86/drivers/modesetting/dumb_bo.c
[583/636] gcc -Ihw/xfree86/shadowfb/libshadowfb.so.p -Ihw/xfree86/shadowfb -I../hw/xfree86/shadowfb -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/shadowfb/libshadowfb.so.p/shadowfb.c.o -MF hw/xfree86/shadowfb/libshadowfb.so.p/shadowfb.c.o.d -o hw/xfree86/shadowfb/libshadowfb.so.p/shadowfb.c.o -c ../hw/xfree86/shadowfb/shadowfb.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[584/636] gcc -Ihw/xfree86/drivers/modesetting/modesetting_drv.so.p -Ihw/xfree86/drivers/modesetting -I../hw/xfree86/drivers/modesetting -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/drivers/modesetting/modesetting_drv.so.p/pageflip.c.o -MF hw/xfree86/drivers/modesetting/modesetting_drv.so.p/pageflip.c.o.d -o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/pageflip.c.o -c ../hw/xfree86/drivers/modesetting/pageflip.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[585/636] gcc -Ihw/xfree86/drivers/modesetting/modesetting_drv.so.p -Ihw/xfree86/drivers/modesetting -I../hw/xfree86/drivers/modesetting -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/drivers/modesetting/modesetting_drv.so.p/present.c.o -MF hw/xfree86/drivers/modesetting/modesetting_drv.so.p/present.c.o.d -o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/present.c.o -c ../hw/xfree86/drivers/modesetting/present.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c: In function ‘ms_present_unflip’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:436:34: warning: leak of ‘event’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:387:1: note: (1) entry to ‘ms_present_unflip’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:398:13: note: (2) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:399:8: note: (3) assuming ‘event’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:399:8: note: (4) following ‘false’ branch (when ‘event’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:402:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:405:9: note: (6) calling ‘ms_present_check_unflip’ from ‘ms_present_unflip’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:232:1: note: (7) entry to ‘ms_present_check_unflip’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:246:8: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (9) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:405:9: note: (10) returning to ‘ms_present_unflip’ from ‘ms_present_check_unflip’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:405:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (12) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:412:19: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:435:5: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/present.c:436:34: note: (15) ‘event’ leaks here; was allocated at (2) <--[csmock-gcc-wrapper]
[586/636] gcc -Ihw/xfree86/vgahw/libvgahw.so.p -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/vgahw/libvgahw.so.p/vgaHW.c.o -MF hw/xfree86/vgahw/libvgahw.so.p/vgaHW.c.o.d -o hw/xfree86/vgahw/libvgahw.so.p/vgaHW.c.o -c ../hw/xfree86/vgahw/vgaHW.c
[587/636] gcc -Ihw/xfree86/drivers/modesetting/modesetting_drv.so.p -Ihw/xfree86/drivers/modesetting -I../hw/xfree86/drivers/modesetting -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/drivers/modesetting/modesetting_drv.so.p/vblank.c.o -MF hw/xfree86/drivers/modesetting/modesetting_drv.so.p/vblank.c.o.d -o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/vblank.c.o -c ../hw/xfree86/drivers/modesetting/vblank.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[588/636] gcc -Ihw/xfree86/libxorgserver.so.p -Ihw/xfree86 -I../hw/xfree86 -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/X11/dri -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -pthread -DWITH_GZFILEOP -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/libxorgserver.so.p/.._.._mi_miinitext.c.o -MF hw/xfree86/libxorgserver.so.p/.._.._mi_miinitext.c.o.d -o hw/xfree86/libxorgserver.so.p/.._.._mi_miinitext.c.o -c ../mi/miinitext.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: warning: use after ‘reallocarray’ of ‘ext’ [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:258:1: note: (1) entry to ‘InitExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (2) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘InitExtensions’:
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (5) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘InitExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) deallocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (24) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (25) returning to ‘InitExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:265:19: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:266:15: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: note: (28) use after ‘reallocarray’ of ‘ext’; deallocated at (17) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘NewExtensionModuleList’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: warning: double-‘reallocarray’ of ‘save’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (1) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (2) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (3) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘AddStaticExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) first ‘reallocarray’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
cc1: note: (24) returning to ‘AddStaticExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (25) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (26) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (27) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (28) second ‘reallocarray’ here; first ‘reallocarray’ was at (17) <--[csmock-gcc-wrapper]
[589/636] gcc -Ihw/xfree86/drivers/modesetting/modesetting_drv.so.p -Ihw/xfree86/drivers/modesetting -I../hw/xfree86/drivers/modesetting -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/drivers/modesetting/modesetting_drv.so.p/dri2.c.o -MF hw/xfree86/drivers/modesetting/modesetting_drv.so.p/dri2.c.o.d -o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/dri2.c.o -c ../hw/xfree86/drivers/modesetting/dri2.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[590/636] gcc -Ihw/xfree86/drivers/inputtest/inputtest_drv.so.p -Ihw/xfree86/drivers/inputtest -I../hw/xfree86/drivers/inputtest -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/drivers/inputtest/inputtest_drv.so.p/xf86-input-inputtest.c.o -MF hw/xfree86/drivers/inputtest/inputtest_drv.so.p/xf86-input-inputtest.c.o.d -o hw/xfree86/drivers/inputtest/inputtest_drv.so.p/xf86-input-inputtest.c.o -c ../hw/xfree86/drivers/inputtest/xf86-input-inputtest.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c: In function ‘pre_init’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1051:9: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:974:1: note: (1) entry to ‘pre_init’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:986:19: note: (2) calling ‘device_alloc’ from ‘pre_init’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:941:1: note: (3) entry to ‘device_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:945:8: note: (4) following ‘false’ branch (when ‘driver_data’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:948:28: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:986:19: note: (6) returning to ‘pre_init’ from ‘device_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:987:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:990:31: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:997:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1000:44: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1001:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1004:32: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1005:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1010:9: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1010:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1015:5: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1018:30: note: (17) when ‘socket’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1030:8: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1036:5: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1038:5: note: (20) when ‘strncpy’ copies the full source string <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1040:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1045:26: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1045:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1050:9: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1050:9: note: (25) stream socket bound here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1050:9: note: (26) when ‘listen’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1050:8: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1051:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1051:9: note: (29) leaks here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1055:26: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:974:1: note: (1) entry to ‘pre_init’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:986:19: note: (2) calling ‘device_alloc’ from ‘pre_init’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:941:1: note: (3) entry to ‘device_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:945:8: note: (4) following ‘false’ branch (when ‘driver_data’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:948:28: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:986:19: note: (6) returning to ‘pre_init’ from ‘device_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:987:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:990:31: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:997:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1000:44: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1001:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1004:32: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1005:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1010:9: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1010:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1015:5: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1018:30: note: (17) when ‘socket’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1030:8: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1036:5: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1038:5: note: (20) when ‘strncpy’ copies the full source string <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1040:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1045:26: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1045:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1050:9: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1050:9: note: (25) stream socket marked as passive here via ‘listen’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1050:9: note: (26) when ‘listen’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1050:8: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1055:26: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c:1055:26: note: (29) leaks here <--[csmock-gcc-wrapper]
[591/636] gcc -Itest/simple-xinit.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test/simple-xinit.p/simple-xinit.c.o -MF test/simple-xinit.p/simple-xinit.c.o.d -o test/simple-xinit.p/simple-xinit.c.o -c ../test/simple-xinit.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/simple-xinit.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/simple-xinit.c: In function ‘handle_sigchld’: <--[gcc]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/simple-xinit.c:69:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
69 | write(server_displayfd, server_dead, strlen(server_dead));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[592/636] gcc -Itest/bigreq/request-length.p -Itest/bigreq -I../test/bigreq -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test/bigreq/request-length.p/request-length.c.o -MF test/bigreq/request-length.p/request-length.c.o.d -o test/bigreq/request-length.p/request-length.c.o -c ../test/bigreq/request-length.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/bigreq/request-length.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/bigreq/request-length.c:65:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
65 | write(fd, &xise_req, sizeof(xise_req));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[593/636] gcc -Ihw/xfree86/gtf.p -Ihw/xfree86 -I../hw/xfree86 -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/X11/dri -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -pthread -DWITH_GZFILEOP -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/gtf.p/utils_gtf_gtf.c.o -MF hw/xfree86/gtf.p/utils_gtf_gtf.c.o.d -o hw/xfree86/gtf.p/utils_gtf_gtf.c.o -c ../hw/xfree86/utils/gtf/gtf.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘vert_refresh’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:577:11: warning: dereference of possibly-NULL ‘m’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:676:1: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:681:9: note: (2) calling ‘parse_command_line’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:602:1: note: (3) entry to ‘parse_command_line’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:608:8: note: (4) following ‘false’ branch (when ‘argc > 3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:611:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:642:8: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:643:21: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:681:9: note: (8) returning to ‘main’ from ‘parse_command_line’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:682:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:685:9: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:685:9: note: (11) calling ‘vert_refresh’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:268:1: note: (12) entry to ‘vert_refresh’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:297:24: note: (13) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:321:37: note: (14) following ‘false’ branch (when ‘interlaced == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:321:44: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:331:50: note: (16) following ‘false’ branch (when ‘interlaced == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:333:5: note: (17) inlined call to ‘print_value’ from ‘vert_refresh’ <--[csmock-gcc-wrapper]
In function ‘print_value’,
inlined from ‘vert_refresh’ at ../hw/xfree86/utils/gtf/gtf.c:333:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:164:9: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘vert_refresh’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:342:71: note: (19) following ‘false’ branch (when ‘margins == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:344:5: note: (20) inlined call to ‘print_value’ from ‘vert_refresh’ <--[csmock-gcc-wrapper]
In function ‘print_value’,
inlined from ‘vert_refresh’ at ../hw/xfree86/utils/gtf/gtf.c:344:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:164:9: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘vert_refresh’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:363:34: note: (22) following ‘false’ branch (when ‘interlaced == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (23) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:444:52: note: (24) following ‘false’ branch (when ‘interlaced == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:446:5: note: (25) inlined call to ‘print_value’ from ‘vert_refresh’ <--[csmock-gcc-wrapper]
In function ‘print_value’,
inlined from ‘vert_refresh’ at ../hw/xfree86/utils/gtf/gtf.c:446:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:164:9: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘vert_refresh’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:457:77: note: (27) following ‘false’ branch (when ‘margins == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:460:5: note: (28) inlined call to ‘print_value’ from ‘vert_refresh’ <--[csmock-gcc-wrapper]
In function ‘print_value’,
inlined from ‘vert_refresh’ at ../hw/xfree86/utils/gtf/gtf.c:460:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:164:9: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘vert_refresh’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:577:11: note: (30) ‘m’ could be NULL: unchecked value from (13) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘parse_command_line’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:611:10: warning: dereference of possibly-NULL ‘o’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:606:30: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:608:8: note: (2) following ‘false’ branch (when ‘argc > 3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:611:12: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:611:10: note: (4) ‘o’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘main’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:692:8: warning: leak of ‘parse_command_line(argc, argv)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:676:1: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:681:9: note: (2) calling ‘parse_command_line’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:602:1: note: (3) entry to ‘parse_command_line’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:606:30: note: (4) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:608:8: note: (5) following ‘false’ branch (when ‘argc > 3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:611:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:611:10: note: (7) assuming ‘o’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:642:8: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:643:21: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:681:9: note: (10) returning to ‘main’ from ‘parse_command_line’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:682:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:685:9: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:685:9: note: (13) calling ‘vert_refresh’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:268:1: note: (14) entry to ‘vert_refresh’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:321:37: note: (15) following ‘false’ branch (when ‘interlaced == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:321:44: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:331:50: note: (17) following ‘false’ branch (when ‘interlaced == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:333:5: note: (18) inlined call to ‘print_value’ from ‘vert_refresh’ <--[csmock-gcc-wrapper]
In function ‘print_value’,
inlined from ‘vert_refresh’ at ../hw/xfree86/utils/gtf/gtf.c:333:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:164:9: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘main’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:342:71: note: (20) following ‘false’ branch (when ‘margins == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:344:5: note: (21) inlined call to ‘print_value’ from ‘vert_refresh’ <--[csmock-gcc-wrapper]
In function ‘print_value’,
inlined from ‘vert_refresh’ at ../hw/xfree86/utils/gtf/gtf.c:344:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:164:9: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘main’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:363:34: note: (23) following ‘false’ branch (when ‘interlaced == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (24) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:444:52: note: (25) following ‘false’ branch (when ‘interlaced == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:446:5: note: (26) inlined call to ‘print_value’ from ‘vert_refresh’ <--[csmock-gcc-wrapper]
In function ‘print_value’,
inlined from ‘vert_refresh’ at ../hw/xfree86/utils/gtf/gtf.c:446:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:164:9: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘main’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:457:77: note: (28) following ‘false’ branch (when ‘margins == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:460:5: note: (29) inlined call to ‘print_value’ from ‘vert_refresh’ <--[csmock-gcc-wrapper]
In function ‘print_value’,
inlined from ‘vert_refresh’ at ../hw/xfree86/utils/gtf/gtf.c:460:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:164:9: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c: In function ‘main’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:685:9: note: (31) returning to ‘main’ from ‘vert_refresh’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:689:8: note: (32) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:690:9: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/utils/gtf/gtf.c:692:8: note: (34) ‘parse_command_line(argc, argv)’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper]
[594/636] gcc -Itest/sync/sync.p -Itest/sync -I../test/sync -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test/sync/sync.p/sync.c.o -MF test/sync/sync.p/sync.c.o.d -o test/sync/sync.p/sync.c.o -c ../test/sync/sync.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/sync/sync.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
[595/636] gcc -Ihw/xfree86/Xorg.wrap.p -Ihw/xfree86 -I../hw/xfree86 -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/X11/dri -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -pthread -DWITH_GZFILEOP -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/Xorg.wrap.p/xorg-wrapper.c.o -MF hw/xfree86/Xorg.wrap.p/xorg-wrapper.c.o.d -o hw/xfree86/Xorg.wrap.p/xorg-wrapper.c.o -c ../hw/xfree86/xorg-wrapper.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c: In function ‘parse_config’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of FILE ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (2) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (9) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (10) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (2) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (9) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (10) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of FILE ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (2) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (9) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (10) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (12) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (2) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (9) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (10) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (12) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of FILE ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (2) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (9) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (10) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:112:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:19: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (14) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (2) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (9) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (10) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:112:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:19: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (14) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of FILE ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:192:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:210:5: note: (2) calling ‘parse_config’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:83:13: note: (3) entry to ‘parse_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (4) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (5) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (12) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (13) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:112:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:12: note: (19) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:138:18: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:138:17: note: (21) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:152:18: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (23) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was opened at (4) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:192:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:210:5: note: (2) calling ‘parse_config’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:83:13: note: (3) entry to ‘parse_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (4) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (5) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (12) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (13) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:112:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:12: note: (19) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:138:18: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:138:17: note: (21) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:152:18: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (23) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of FILE ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:192:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:210:5: note: (2) calling ‘parse_config’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:83:13: note: (3) entry to ‘parse_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (4) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (5) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (12) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (13) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:112:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:12: note: (19) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:125:17: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:125:16: note: (21) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:127:22: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:127:21: note: (23) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:129:22: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (25) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was opened at (4) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:192:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:210:5: note: (2) calling ‘parse_config’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:83:13: note: (3) entry to ‘parse_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (4) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (5) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (12) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (13) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:112:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:12: note: (19) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:125:17: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:125:16: note: (21) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:127:22: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:127:21: note: (23) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:129:22: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (25) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of FILE ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:192:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:210:5: note: (2) calling ‘parse_config’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:83:13: note: (3) entry to ‘parse_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (4) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (5) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (12) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (13) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:112:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:12: note: (19) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:138:18: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:138:17: note: (21) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:139:17: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:139:16: note: (23) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:141:22: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:141:21: note: (25) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:143:22: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (27) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was opened at (4) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: warning: leak of ‘fopen("/etc/X11/Xwrapper.config", "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:192:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:210:5: note: (2) calling ‘parse_config’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:83:13: note: (3) entry to ‘parse_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:90:9: note: (4) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (5) assuming ‘fopen("/etc/X11/Xwrapper.config", "r")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:91:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:94:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:95:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:99:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:103:18: note: (12) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:104:12: note: (13) following ‘false’ branch (when ‘equals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:109:17: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:112:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:117:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:124:12: note: (19) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:138:18: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:138:17: note: (21) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:139:17: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:139:16: note: (23) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:141:22: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:141:21: note: (25) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:143:22: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/xorg-wrapper.c:70:13: note: (27) ‘fopen("/etc/X11/Xwrapper.config", "r")’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper]
[596/636] gcc -Ihw/xfree86/drivers/modesetting/modesetting_drv.so.p -Ihw/xfree86/drivers/modesetting -I../hw/xfree86/drivers/modesetting -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/drivers/modesetting/modesetting_drv.so.p/driver.c.o -MF hw/xfree86/drivers/modesetting/modesetting_drv.so.p/driver.c.o.d -o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/driver.c.o -c ../hw/xfree86/drivers/modesetting/driver.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c: In function ‘ms_get_drm_master_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:215:25: warning: leak of file descriptor ‘get_passed_fd()’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:994:1: note: (1) entry to ‘ms_get_drm_master_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1005:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1013:19: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1014:19: note: (4) calling ‘get_passed_fd’ from ‘ms_get_drm_master_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:213:1: note: (5) entry to ‘get_passed_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:215:8: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:216:9: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:217:16: note: (8) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1014:19: note: (9) returning to ‘ms_get_drm_master_fd’ from ‘get_passed_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:215:25: note: (10) ‘get_passed_fd()’ leaks here; was opened at (8) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:215:25: warning: leak of file descriptor ‘open_hw(path)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:994:1: note: (1) entry to ‘ms_get_drm_master_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1005:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1013:19: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1014:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1020:23: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1020:8: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1022:30: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1022:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1030:17: note: (9) inlined call to ‘xf86_platform_device_odev_attributes’ from ‘ms_get_drm_master_fd’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:60: <--[csmock-gcc-wrapper]
In function ‘xf86_platform_device_odev_attributes’,
inlined from ‘ms_get_drm_master_fd’ at ../hw/xfree86/drivers/modesetting/driver.c:1030:17:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.h:66:18: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c: In function ‘ms_get_drm_master_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1032:22: note: (11) calling ‘open_hw’ from ‘ms_get_drm_master_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:223:1: note: (12) entry to ‘open_hw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:227:15: note: (13) calling ‘get_passed_fd’ from ‘open_hw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:213:1: note: (14) entry to ‘get_passed_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:215:8: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:216:9: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:217:16: note: (17) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:227:15: note: (18) returning to ‘open_hw’ from ‘get_passed_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:227:8: note: (19) assuming ‘get_passed_fd()’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:227:8: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (21) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1032:22: note: (22) returning to ‘ms_get_drm_master_fd’ from ‘open_hw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:215:25: note: (23) ‘open_hw(path)’ leaks here; was opened at (17) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:215:25: warning: leak of file descriptor ‘open_hw(xf86FindOptionValue(*_14->device.options, "kmsdev"))’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:994:1: note: (1) entry to ‘ms_get_drm_master_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1005:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1013:19: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1014:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1020:23: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1020:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1038:8: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1038:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1054:44: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1055:18: note: (10) calling ‘open_hw’ from ‘ms_get_drm_master_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:223:1: note: (11) entry to ‘open_hw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:227:15: note: (12) calling ‘get_passed_fd’ from ‘open_hw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:213:1: note: (13) entry to ‘get_passed_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:215:8: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:216:9: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:217:16: note: (16) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:227:15: note: (17) returning to ‘open_hw’ from ‘get_passed_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:227:8: note: (18) assuming ‘get_passed_fd()’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:227:8: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (20) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:1055:18: note: (21) returning to ‘ms_get_drm_master_fd’ from ‘open_hw’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/modesetting/driver.c:215:25: note: (22) ‘open_hw(xf86FindOptionValue(*_14->device.options, "kmsdev"))’ leaks here; was opened at (16) <--[csmock-gcc-wrapper]
[597/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/.._mi_miinitext.c.o -MF test/tests.p/.._mi_miinitext.c.o.d -o test/tests.p/.._mi_miinitext.c.o -c ../mi/miinitext.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: warning: use after ‘reallocarray’ of ‘ext’ [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:258:1: note: (1) entry to ‘InitExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (2) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘InitExtensions’:
cc1: note: (4) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (5) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘InitExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) deallocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:263:5: note: (24) inlined call to ‘AddStaticExtensions’ from ‘InitExtensions’ <--[csmock-gcc-wrapper]
In function ‘AddStaticExtensions’,
inlined from ‘InitExtensions’ at ../mi/miinitext.c:263:5:
cc1: note: (25) returning to ‘InitExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘InitExtensions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:265:19: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:266:15: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:267:16: note: (28) use after ‘reallocarray’ of ‘ext’; deallocated at (17) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c: In function ‘NewExtensionModuleList’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: warning: double-‘reallocarray’ of ‘save’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (1) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (2) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (3) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
cc1: note: (6) calling ‘AddStaticExtensions.part.0’ from ‘AddStaticExtensions’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (7) entry to ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (8) calling ‘LoadExtensionList’ from ‘AddStaticExtensions.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:301:1: note: (9) entry to ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (10) calling ‘AddStaticExtensions’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:245:1: note: (11) entry to ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:249:8: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (14) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (15) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (16) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (17) first ‘reallocarray’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:290:8: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:291:29: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (20) returning to ‘LoadExtensionList’ from ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:254:5: note: (23) returning to ‘AddStaticExtensions.part.0’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
cc1: note: (24) returning to ‘AddStaticExtensions’ from ‘AddStaticExtensions.part.0’
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:308:5: note: (25) returning to ‘LoadExtensionList’ from ‘AddStaticExtensions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:310:20: note: (26) calling ‘NewExtensionModuleList’ from ‘LoadExtensionList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:278:1: note: (27) entry to ‘NewExtensionModuleList’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miinitext.c:288:27: note: (28) second ‘reallocarray’ here; first ‘reallocarray’ was at (17) <--[csmock-gcc-wrapper]
[598/636] gcc -o hw/xfree86/Xorg hw/xfree86/Xorg.p/.._.._mi_miinitext.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-export-dynamic -Wl,--whole-archive -Wl,--start-group mi/liblibxserver_mi.a dix/liblibxserver_dix.a composite/liblibxserver_composite.a damageext/liblibxserver_damageext.a dbe/liblibxserver_dbe.a randr/liblibxserver_randr.a miext/damage/liblibxserver_miext_damage.a render/liblibxserver_render.a present/liblibxserver_present.a Xext/liblibxserver_xext.a miext/sync/liblibxserver_miext_sync.a xfixes/liblibxserver_xfixes.a Xi/liblibxserver_xi.a xkb/liblibxserver_xkb.a record/liblibxserver_record.a os/liblibxserver_os.a dri3/liblibxserver_dri3.a glx/liblibglxvnd.a hw/xfree86/common/libxorg_common.a hw/xfree86/loader/libxorg_loader.a hw/xfree86/ddc/libxorg_ddc.a hw/xfree86/xkb/libxorg_xkb.a hw/xfree86/i2c/libxorg_i2c.a hw/xfree86/modes/libxorg_modes.a hw/xfree86/os-support/libxorg_os_support.a hw/xfree86/parser/libxorg_parser.a hw/xfree86/ramdac/libxorg_ramdac.a fb/liblibxserver_fb.a Xext/liblibxserver_xext_vidmode.a dix/liblibxserver_main.a config/liblibxserver_config.a hw/xfree86/dri2/libxorg_dri2.a -Wl,--no-whole-archive -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer os/liblibxlibc.a -Wl,--export-dynamic /usr/lib64/libpixman-1.so -lm -ldl /usr/lib64/libpciaccess.so -lcrypto /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libXfont2.so /usr/lib64/libxshmfence.so /usr/lib64/libsystemd.so /usr/lib64/libxkbfile.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so /usr/lib64/libdbus-1.so /usr/lib64/libudev.so /usr/lib64/libdrm.so -lcrypto -lpthread /usr/lib64/libGL.so /usr/lib64/libxcvt.so -Wl,--end-group
[599/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/fixes.c.o -MF test/tests.p/fixes.c.o.d -o test/tests.p/fixes.c.o -c ../test/fixes.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[600/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/input.c.o -MF test/tests.p/input.c.o.d -o test/tests.p/input.c.o -c ../test/input.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[601/636] gcc -Itest/damage/damage-primitives.p -Itest/damage -I../test/damage -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test/damage/damage-primitives.p/primitives.c.o -MF test/damage/damage-primitives.p/primitives.c.o.d -o test/damage/damage-primitives.p/primitives.c.o -c ../test/damage/primitives.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:185: error: autoVariables(CWE-562): Address of local auto-variable assigned to a function parameter. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:186: error: autoVariables(CWE-562): Address of local auto-variable assigned to a function parameter. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c: In function ‘compute_expected_damage’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:68:48: warning: leak of ‘get_image(setup, *setup.d)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:334:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:341:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:346:23: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:359:5: note: (4) calling ‘create_start_pixmap’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:240:1: note: (5) entry to ‘create_start_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:272:38: note: (6) calling ‘get_image’ from ‘create_start_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:64:1: note: (7) entry to ‘get_image’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:37: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:75:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:76:28: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:76:5: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:79:36: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:272:38: note: (12) returning to ‘create_start_pixmap’ from ‘get_image’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:359:5: note: (13) returning to ‘main’ from ‘create_start_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:362:24: note: (14) calling ‘damage_test’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:364:5: note: in expansion of macro ‘test’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:176:1: note: (15) entry to ‘damage_test’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:216:5: note: (16) calling ‘compute_expected_damage’ from ‘damage_test’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:91:1: note: (17) entry to ‘compute_expected_damage’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:93:25: note: (18) calling ‘get_image’ from ‘compute_expected_damage’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:64:1: note: (19) entry to ‘get_image’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:75:5: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:76:28: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:76:5: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:79:36: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:78:24: note: (24) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:80:5: note: (25) assuming ‘result’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:93:25: note: (26) returning to ‘compute_expected_damage’ from ‘get_image’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:96:23: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:97:20: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:68:48: note: (29) ‘get_image(setup, *setup.d)’ leaks here; was allocated at (24) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c: In function ‘get_image’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:80:5: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:334:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:341:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:346:23: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:359:5: note: (4) calling ‘create_start_pixmap’ from ‘main’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:240:1: note: (5) entry to ‘create_start_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:272:38: note: (6) calling ‘get_image’ from ‘create_start_pixmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:64:1: note: (7) entry to ‘get_image’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:75:5: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:76:28: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:76:5: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:79:36: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:78:24: note: (12) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/damage/primitives.c:80:5: note: (13) argument 1 (‘result’) from (12) could be NULL where non-null expected <--[csmock-gcc-wrapper]
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
[602/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/.._mi_micmap.c.o -MF test/tests.p/.._mi_micmap.c.o.d -o test/tests.p/.._mi_micmap.c.o -c ../mi/micmap.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c: In function ‘miInitVisuals’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:480:16: warning: buffer overflow [CWE-787] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:424:1: note: (1) entry to ‘miInitVisuals’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:442:8: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (3) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:443:23: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:444:38: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:450:18: note: (6) inlined call to ‘miSetVisualTypes’ from ‘miInitVisuals’ <--[csmock-gcc-wrapper]
In function ‘miSetVisualTypes’,
inlined from ‘miInitVisuals’ at ../mi/micmap.c:450:18:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:355:12: note: (7) calling ‘miSetVisualTypesAndMasks’ from ‘miInitVisuals’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c: In function ‘miInitVisuals’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:320:1: note: (8) entry to ‘miSetVisualTypesAndMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:328:8: note: (9) following ‘false’ branch (when ‘new’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:330:9: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:330:8: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:279:20: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:281:24: note: in expansion of macro ‘_RZ’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:331:19: note: in expansion of macro ‘_RM’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:347:29: note: (13) following ‘false’ branch (when ‘v’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:348:11: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:450:18: note: (15) inlined call to ‘miSetVisualTypes’ from ‘miInitVisuals’ <--[csmock-gcc-wrapper]
In function ‘miSetVisualTypes’,
inlined from ‘miInitVisuals’ at ../mi/micmap.c:450:18:
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:355:12: note: (16) returning to ‘miInitVisuals’ from ‘miSetVisualTypesAndMasks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c: In function ‘miInitVisuals’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:450:16: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:443:55: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:456:31: note: (19) following ‘true’ branch (when ‘visuals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:457:21: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:456:31: note: (21) following ‘false’ branch (when ‘visuals’ is NULL)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:36: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:84:32: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:461:13: note: in expansion of macro ‘xallocarray’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:464:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:470:13: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:475:31: note: (25) following ‘true’ branch (when ‘visuals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:476:21: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:483:12: note: (27) following ‘false’ branch (when ‘nvtype == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:492:22: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:496:23: note: (29) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:497:49: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:497:16: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:497:16: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:496:23: note: (33) following ‘false’ branch (when ‘i == 6’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:530:9: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:475:31: note: (35) following ‘true’ branch (when ‘visuals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:476:21: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:480:16: note: (37) write of 4 bytes at offset ‘4’ exceeds ‘*preferredCVCs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:503:32: warning: dereference of NULL ‘vid’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:464:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:470:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:475:31: note: (3) following ‘true’ branch (when ‘visuals’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:476:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:483:12: note: (5) following ‘false’ branch (when ‘nvtype == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:492:22: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:494:21: note: (7) ‘vid’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:496:23: note: (8) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:497:49: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:497:16: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:499:27: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.c:503:32: note: (12) dereference of NULL ‘vid’ <--[csmock-gcc-wrapper]
[603/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/tests.c.o -MF test/tests.p/tests.c.o.d -o test/tests.p/tests.c.o -c ../test/tests.c
[604/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/tests-common.c.o -MF test/tests.p/tests-common.c.o.d -o test/tests.p/tests-common.c.o -c ../test/tests-common.c
[605/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/list.c.o -MF test/tests.p/list.c.o.d -o test/tests.p/list.c.o -c ../test/list.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c: In function ‘test_nt_list_append’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:85: error: uninitvar(CWE-457): Uninitialized variables: child.foo, child.bar <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:114: error: uninitvar(CWE-457): Uninitialized variables: child.foo, child.bar <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:247:17: warning: dereference of possibly-NULL ‘item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:243:23: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:246:31: note: (2) following ‘true’ branch (when ‘i != 11’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:247:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:247:17: note: (4) ‘item’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c: In function ‘test_nt_list_insert’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:278:12: warning: dereference of possibly-NULL ‘foo’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:275:23: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:278:12: note: (2) ‘foo’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c: In function ‘test_nt_list_delete’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:320:17: warning: dereference of possibly-NULL ‘item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:309:24: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:319:31: note: (2) following ‘true’ branch (when ‘i != 11’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:320:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/list.c:320:17: note: (4) ‘item’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper]
[606/636] gcc -Ihw/xfree86/drivers/modesetting/modesetting_drv.so.p -Ihw/xfree86/drivers/modesetting -I../hw/xfree86/drivers/modesetting -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHAVE_XORG_CONFIG_H -DXORG_NO_SDKSYMS -MD -MQ hw/xfree86/drivers/modesetting/modesetting_drv.so.p/drmmode_display.c.o -MF hw/xfree86/drivers/modesetting/modesetting_drv.so.p/drmmode_display.c.o.d -o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/drmmode_display.c.o -c ../hw/xfree86/drivers/modesetting/drmmode_display.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[607/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/misc.c.o -MF test/tests.p/misc.c.o.d -o test/tests.p/misc.c.o -c ../test/misc.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[608/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/touch.c.o -MF test/tests.p/touch.c.o.d -o test/tests.p/touch.c.o -c ../test/touch.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[609/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/xfree86.c.o -MF test/tests.p/xfree86.c.o.d -o test/tests.p/xfree86.c.o -c ../test/xfree86.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[610/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/string.c.o -MF test/tests.p/string.c.o.d -o test/tests.p/string.c.o -c ../test/string.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:46: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c: In function ‘strndup_checks’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: warning: leak of ‘my_strndup(&*(char (*)[17])("0123456789abcdef"[8]), 8)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:49:1: note: (1) entry to ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (2) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (3) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (6) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (8) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (9) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (10) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (11) following ‘true’ branch (when ‘len < n’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (13) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (14) assuming ‘copy’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (15) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (17) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (18) ‘my_strndup(&*(char (*)[17])("0123456789abcdef"[8]), 8)’ leaks here; was allocated at (13) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: warning: leak of ‘my_strndup("0123456789abcdef", 8)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:49:1: note: (1) entry to ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (2) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (3) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (6) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (7) assuming ‘copy’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (8) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (10) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (11) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (12) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (13) following ‘true’ branch (when ‘len < n’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (15) following ‘true’ branch (when ‘copy’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (16) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (17) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (18) ‘my_strndup("0123456789abcdef", 8)’ leaks here; was allocated at (6) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: warning: leak of ‘my_strndup(&*(char (*)[17])("0123456789abcdef"[8]), 8)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:49:1: note: (1) entry to ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (2) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (3) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (6) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (8) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (9) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (10) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (11) following ‘true’ branch (when ‘len < n’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (13) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (14) assuming ‘copy’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (15) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (17) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:173, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:50, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:37: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:57:5: note: (18) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:58:12: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (20) ‘my_strndup(&*(char (*)[17])("0123456789abcdef"[8]), 8)’ leaks here; was allocated at (13) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: warning: leak of ‘my_strndup("0123456789abcdef", 8)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:49:1: note: (1) entry to ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (2) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (3) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (6) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (7) assuming ‘copy’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (8) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (10) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (11) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (12) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (13) following ‘true’ branch (when ‘len < n’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (15) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (17) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:57:5: note: (18) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:58:12: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (20) ‘my_strndup("0123456789abcdef", 8)’ leaks here; was allocated at (6) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: warning: leak of ‘my_strndup("0123456789abcdef", 20)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:69:1: note: (1) entry to ‘string_test’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:71:5: note: (2) calling ‘strndup_checks’ from ‘string_test’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:49:1: note: (3) entry to ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (4) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (5) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (8) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (9) assuming ‘copy’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (10) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (12) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (13) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (14) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (15) following ‘true’ branch (when ‘len < n’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (17) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (19) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:57:5: note: (20) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:58:12: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:58:5: note: (22) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:60:5: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (24) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:63:15: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (25) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (28) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (29) assuming ‘copy’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (30) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (32) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:63:15: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (33) ‘my_strndup("0123456789abcdef", 20)’ leaks here; was allocated at (28) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:57:12: warning: use of NULL ‘my_strndup("0123456789abcdef", 8)’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:49:1: note: (1) entry to ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (2) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (3) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (6) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (7) assuming ‘copy’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (8) following ‘true’ branch (when ‘copy’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (9) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (10) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (11) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (12) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (13) following ‘true’ branch (when ‘len < n’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (15) following ‘true’ branch (when ‘copy’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (16) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (17) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:57:12: note: (18) argument 1 (‘my_strndup("0123456789abcdef", 8)’) NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /usr/include/X11/Xfuncs.h:46, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:120: <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:58:12: warning: use of NULL ‘my_strndup(&*(char (*)[17])("0123456789abcdef"[8]), 8)’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:49:1: note: (1) entry to ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (2) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (3) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (6) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (8) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (9) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (10) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (11) following ‘true’ branch (when ‘len < n’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (13) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (14) assuming ‘copy’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (15) following ‘true’ branch (when ‘copy’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (16) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (17) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:57:5: note: (18) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:58:12: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:58:12: note: (20) argument 1 (‘my_strndup(&*(char (*)[17])("0123456789abcdef"[8]), 8)’) NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:64:12: warning: use of NULL ‘my_strndup("0123456789abcdef", 20)’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:69:1: note: (1) entry to ‘string_test’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:71:5: note: (2) calling ‘strndup_checks’ from ‘string_test’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:49:1: note: (3) entry to ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (4) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (5) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (8) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (9) assuming ‘copy’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (10) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (12) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:54:23: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (13) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (14) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (15) following ‘true’ branch (when ‘len < n’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:33: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (17) following ‘false’ branch (when ‘copy’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:50:5: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (19) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:55:24: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:57:5: note: (20) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:58:12: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:58:5: note: (22) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:60:5: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (24) calling ‘my_strndup’ from ‘strndup_checks’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:63:15: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (25) entry to ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:40:1: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:45:27: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:41:1: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:17: note: (28) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (29) assuming ‘copy’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/os/strndup.c:48:8: note: (30) following ‘true’ branch (when ‘copy’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (31) ...to here
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:43:17: note: (32) returning to ‘strndup_checks’ from ‘my_strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:63:15: note: in expansion of macro ‘strndup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/string.c:64:12: note: (33) argument 1 (‘my_strndup("0123456789abcdef", 20)’) NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
[611/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/test_xkb.c.o -MF test/tests.p/test_xkb.c.o.d -o test/tests.p/test_xkb.c.o -c ../test/test_xkb.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c: In function ‘xkb_set_get_rules_test’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: warning: leak of ‘strdup(rmlvo.rules)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:146:26: note: (1) allocated here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:52: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:12: note: (2) assuming ‘strdup(rmlvo.rules)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: note: (3) ‘strdup(rmlvo.rules)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: warning: leak of ‘strdup(rmlvo.rules)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:146:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:12: note: (2) assuming ‘strdup(rmlvo.rules)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (3) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: note: (5) ‘strdup(rmlvo.rules)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: warning: leak of ‘strdup(rmlvo.rules)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:146:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:12: note: (2) assuming ‘strdup(rmlvo.rules)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (3) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (5) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: note: (7) ‘strdup(rmlvo.rules)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: warning: leak of ‘strdup(rmlvo.rules)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:146:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:12: note: (2) assuming ‘strdup(rmlvo.rules)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (3) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (5) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: note: (9) ‘strdup(rmlvo.rules)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: warning: leak of ‘strdup(rmlvo.rules)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:146:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:12: note: (2) assuming ‘strdup(rmlvo.rules)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (3) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (5) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:39: note: (11) ‘strdup(rmlvo.rules)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: warning: leak of ‘strdup(rmlvo.layout)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:27: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: note: (2) ‘strdup(rmlvo.layout)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: warning: leak of ‘strdup(rmlvo.layout)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:27: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: note: (4) ‘strdup(rmlvo.layout)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: warning: leak of ‘strdup(rmlvo.layout)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:27: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:12: note: (6) assuming ‘strdup(rmlvo.layout)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: note: (7) ‘strdup(rmlvo.layout)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: warning: leak of ‘strdup(rmlvo.layout)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:27: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:12: note: (6) assuming ‘strdup(rmlvo.layout)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: note: (9) ‘strdup(rmlvo.layout)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: warning: leak of ‘strdup(rmlvo.layout)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:27: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:12: note: (6) assuming ‘strdup(rmlvo.layout)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: note: (11) ‘strdup(rmlvo.layout)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: warning: leak of ‘strdup(rmlvo.layout)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:27: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:12: note: (6) assuming ‘strdup(rmlvo.layout)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: note: (13) ‘strdup(rmlvo.layout)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: warning: leak of ‘strdup(rmlvo.layout)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:27: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:12: note: (6) assuming ‘strdup(rmlvo.layout)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:164:5: note: (13) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:165:24: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:38: note: (15) ‘strdup(rmlvo.layout)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: warning: leak of ‘strdup(rmlvo.model)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: note: (2) ‘strdup(rmlvo.model)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: warning: leak of ‘strdup(rmlvo.model)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:12: note: (4) assuming ‘strdup(rmlvo.model)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: note: (5) ‘strdup(rmlvo.model)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: warning: leak of ‘strdup(rmlvo.model)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:12: note: (4) assuming ‘strdup(rmlvo.model)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (5) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: note: (7) ‘strdup(rmlvo.model)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: warning: leak of ‘strdup(rmlvo.model)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:12: note: (4) assuming ‘strdup(rmlvo.model)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (5) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: note: (9) ‘strdup(rmlvo.model)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: warning: leak of ‘strdup(rmlvo.model)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:12: note: (4) assuming ‘strdup(rmlvo.model)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (5) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: note: (11) ‘strdup(rmlvo.model)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: warning: leak of ‘strdup(rmlvo.model)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:26: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:12: note: (4) assuming ‘strdup(rmlvo.model)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (5) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (7) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:40: note: (13) ‘strdup(rmlvo.model)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: warning: leak of ‘strdup(rmlvo.variant)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: note: (2) ‘strdup(rmlvo.variant)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: warning: leak of ‘strdup(rmlvo.variant)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: note: (4) ‘strdup(rmlvo.variant)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: warning: leak of ‘strdup(rmlvo.variant)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: note: (6) ‘strdup(rmlvo.variant)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: warning: leak of ‘strdup(rmlvo.variant)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:12: note: (8) assuming ‘strdup(rmlvo.variant)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: note: (9) ‘strdup(rmlvo.variant)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: warning: leak of ‘strdup(rmlvo.variant)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:12: note: (8) assuming ‘strdup(rmlvo.variant)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: note: (11) ‘strdup(rmlvo.variant)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: warning: leak of ‘strdup(rmlvo.variant)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:12: note: (8) assuming ‘strdup(rmlvo.variant)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: note: (13) ‘strdup(rmlvo.variant)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: warning: leak of ‘strdup(rmlvo.variant)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:12: note: (8) assuming ‘strdup(rmlvo.variant)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:164:5: note: (13) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:165:24: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: note: (15) ‘strdup(rmlvo.variant)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: warning: leak of ‘strdup(rmlvo.variant)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:12: note: (8) assuming ‘strdup(rmlvo.variant)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (9) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:164:5: note: (13) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:165:24: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:165:5: note: (15) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:166:24: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:40: note: (17) ‘strdup(rmlvo.variant)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:12: warning: use of possibly-NULL ‘strdup(rmlvo.rules)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:146:26: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:12: note: (2) argument 2 (‘strdup(rmlvo.rules)’) from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:56, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h:119, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:42: <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:12: warning: use of possibly-NULL ‘strdup(rmlvo.model)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:148:26: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:12: note: (4) argument 2 (‘strdup(rmlvo.model)’) from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: warning: leak of ‘strdup(rmlvo.options)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (4) ‘strdup(rmlvo.options)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: warning: leak of ‘strdup(rmlvo.options)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (6) ‘strdup(rmlvo.options)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: warning: leak of ‘strdup(rmlvo.options)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (8) ‘strdup(rmlvo.options)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: warning: leak of ‘strdup(rmlvo.options)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (8) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:12: note: (10) assuming ‘strdup(rmlvo.options)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (11) ‘strdup(rmlvo.options)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: warning: leak of ‘strdup(rmlvo.options)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (8) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:12: note: (10) assuming ‘strdup(rmlvo.options)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (13) ‘strdup(rmlvo.options)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: warning: leak of ‘strdup(rmlvo.options)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (8) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:12: note: (10) assuming ‘strdup(rmlvo.options)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:164:5: note: (13) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:165:24: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (15) ‘strdup(rmlvo.options)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: warning: leak of ‘strdup(rmlvo.options)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (8) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:12: note: (10) assuming ‘strdup(rmlvo.options)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:164:5: note: (13) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:165:24: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:165:5: note: (15) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:166:24: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (17) ‘strdup(rmlvo.options)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: warning: leak of ‘strdup(rmlvo.options)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:28: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (8) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:12: note: (10) assuming ‘strdup(rmlvo.options)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:5: note: (11) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:163:5: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:164:5: note: (13) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:165:24: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:165:5: note: (15) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:166:24: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:166:5: note: (17) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:167:24: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (19) ‘strdup(rmlvo.options)’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:12: warning: use of possibly-NULL ‘strdup(rmlvo.layout)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:147:27: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:12: note: (6) argument 2 (‘strdup(rmlvo.layout)’) from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:12: warning: use of possibly-NULL ‘strdup(rmlvo.variant)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:149:28: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:12: note: (8) argument 2 (‘strdup(rmlvo.variant)’) from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:12: warning: use of possibly-NULL ‘strdup(rmlvo.options)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:150:28: note: (1) this call could return NULL <--[csmock-gcc-wrapper]
:157:5: note: (2) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:158:5: note: (4) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:159:5: note: (6) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:160:5: note: (8) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:24: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/test_xkb.c:161:12: note: (10) argument 2 (‘strdup(rmlvo.options)’) from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
[612/636] gcc -o hw/xfree86/loader/xorg_symbol_test hw/xfree86/loader/xorg_symbol_test.p/symbol-test.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ldl
[613/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/xtest.c.o -MF test/tests.p/xtest.c.o.d -o test/tests.p/xtest.c.o -c ../test/xtest.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[614/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/hashtabletest.c.o -MF test/tests.p/hashtabletest.c.o.d -o test/tests.p/hashtabletest.c.o -c ../test/hashtabletest.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
[615/636] gcc -o hw/xfree86/dixmods/libshadow.so hw/xfree86/dixmods/libshadow.so.p/shmodule.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,--whole-archive -Wl,--start-group miext/shadow/liblibxserver_miext_shadow.a -Wl,--no-whole-archive -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86 /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -Wl,--end-group
[616/636] gcc -o hw/xfree86/fbdevhw/libfbdevhw.so hw/xfree86/fbdevhw/libfbdevhw.so.p/fbdevhw.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86 -Wl,--start-group /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -Wl,--end-group
[617/636] gcc -o hw/xfree86/exa/libexa.so hw/xfree86/exa/libexa.so.p/examodule.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86 -Wl,--start-group exa/liblibxserver_exa.a /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -Wl,--end-group
[618/636] gcc -o hw/xfree86/dixmods/libglx.so hw/xfree86/dixmods/libglx.so.p/glxmodule.c.o hw/xfree86/dixmods/libglx.so.p/.._.._.._glx_glxdri2.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,--whole-archive -Wl,--start-group glx/liblibxserver_glx.a -Wl,--no-whole-archive -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86 /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -ldl /usr/lib64/libGL.so -Wl,--end-group
[619/636] gcc -o hw/xfree86/dixmods/libwfb.so hw/xfree86/dixmods/libwfb.so.p/fbmodule.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,--whole-archive -Wl,--start-group fb/liblibxserver_wfb.a -Wl,--no-whole-archive -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86 /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -Wl,--end-group
[620/636] gcc -o hw/xfree86/shadowfb/libshadowfb.so hw/xfree86/shadowfb/libshadowfb.so.p/shadowfb.c.o hw/xfree86/shadowfb/libshadowfb.so.p/sfbmodule.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86 -Wl,--start-group /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -Wl,--end-group
[621/636] gcc -o hw/xfree86/vgahw/libvgahw.so hw/xfree86/vgahw/libvgahw.so.p/vgaHW.c.o hw/xfree86/vgahw/libvgahw.so.p/vgaHWmodule.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -Wl,--end-group
[622/636] gcc -o hw/xfree86/drivers/inputtest/inputtest_drv.so hw/xfree86/drivers/inputtest/inputtest_drv.so.p/xf86-input-inputtest.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/../..' -Wl,-rpath-link,/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86 -Wl,--start-group /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -Wl,--end-group
[623/636] gcc -o hw/xnest/Xnest hw/xnest/Xnest.p/Args.c.o hw/xnest/Xnest.p/Color.c.o hw/xnest/Xnest.p/Cursor.c.o hw/xnest/Xnest.p/Display.c.o hw/xnest/Xnest.p/Events.c.o hw/xnest/Xnest.p/Font.c.o hw/xnest/Xnest.p/GC.c.o hw/xnest/Xnest.p/GCOps.c.o hw/xnest/Xnest.p/Handlers.c.o hw/xnest/Xnest.p/Init.c.o hw/xnest/Xnest.p/Keyboard.c.o hw/xnest/Xnest.p/Pixmap.c.o hw/xnest/Xnest.p/Pointer.c.o hw/xnest/Xnest.p/Screen.c.o hw/xnest/Xnest.p/Visual.c.o hw/xnest/Xnest.p/Window.c.o hw/xnest/Xnest.p/.._.._mi_miinitext.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group dix/liblibxserver_main.a mi/liblibxserver_mi.a dix/liblibxserver_dix.a composite/liblibxserver_composite.a damageext/liblibxserver_damageext.a dbe/liblibxserver_dbe.a randr/liblibxserver_randr.a miext/damage/liblibxserver_miext_damage.a render/liblibxserver_render.a present/liblibxserver_present.a Xext/liblibxserver_xext.a miext/sync/liblibxserver_miext_sync.a xfixes/liblibxserver_xfixes.a Xi/liblibxserver_xi.a xkb/liblibxserver_xkb.a record/liblibxserver_record.a os/liblibxserver_os.a os/liblibxlibc.a dri3/liblibxserver_dri3.a Xi/liblibxserver_xi_stubs.a xkb/liblibxserver_xkb_stubs.a /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libXau.so -lm /usr/lib64/libxshmfence.so -ldl -lcrypto -lpthread /usr/lib64/libdrm.so -Wl,--end-group
[624/636] gcc -o hw/xfree86/Xorg.wrap hw/xfree86/Xorg.wrap.p/xorg-wrapper.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libpixman-1.so -lm -ldl /usr/lib64/libpciaccess.so -lcrypto /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libXfont2.so /usr/lib64/libxshmfence.so /usr/lib64/libsystemd.so /usr/lib64/libxkbfile.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so /usr/lib64/libdbus-1.so /usr/lib64/libudev.so /usr/lib64/libdrm.so -Wl,--end-group
[625/636] gcc -o hw/xfree86/gtf hw/xfree86/gtf.p/utils_gtf_gtf.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libpixman-1.so -lm -ldl /usr/lib64/libpciaccess.so -lcrypto /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libXfont2.so /usr/lib64/libxshmfence.so /usr/lib64/libsystemd.so /usr/lib64/libxkbfile.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so /usr/lib64/libdbus-1.so /usr/lib64/libudev.so /usr/lib64/libdrm.so -Wl,--end-group
[626/636] gcc -o test/simple-xinit test/simple-xinit.p/simple-xinit.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
[627/636] gcc -o test/bigreq/request-length test/bigreq/request-length.p/request-length.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libxcb.so /usr/lib64/libxcb-xinput.so -Wl,--end-group
[628/636] gcc -o test/damage/damage-primitives test/damage/damage-primitives.p/primitives.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libxcb.so /usr/lib64/libxcb-damage.so -Wl,--end-group
[629/636] gcc -Itest/tests.p -Itest -I../test -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Ihw/xfree86/common -I../hw/xfree86/common -Ihw/xfree86/ddc -I../hw/xfree86/ddc -Ihw/xfree86/dri2 -I../hw/xfree86/dri2 -Ihw/xfree86/i2c -I../hw/xfree86/i2c -I../hw/xfree86/int10 -Ihw/xfree86/loader -I../hw/xfree86/loader -Ihw/xfree86/modes -I../hw/xfree86/modes -Ihw/xfree86/os-support -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -Ihw/xfree86/parser -I../hw/xfree86/parser -Ihw/xfree86/ramdac -I../hw/xfree86/ramdac -Ihw/xfree86/vgahw -I../hw/xfree86/vgahw -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXORG_TESTS -DRES_TESTS -MD -MQ test/tests.p/signal-logging.c.o -MF test/tests.p/signal-logging.c.o.d -o test/tests.p/signal-logging.c.o -c ../test/signal-logging.c
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h:671: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If _X_ATTRIBUTE_PRINTF is a macro then please configure it. <--[cppcheck]
/builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/test/signal-logging.c: internal warning: child 8822 timed out after 30s <--[csmock-gcc-wrapper]
cswrap: error: child 8822 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out)
[630/636] gcc -o test/sync/sync test/sync/sync.p/sync.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libxcb.so /usr/lib64/libxcb-sync.so -Wl,--end-group
[631/636] gcc -o hw/xfree86/glamor_egl/libglamoregl.so hw/xfree86/glamor_egl/libglamoregl.so.p/.._.._.._glamor_glamor_egl.c.o hw/xfree86/glamor_egl/libglamoregl.so.p/.._.._.._glamor_glamor_eglmodule.c.o hw/xfree86/glamor_egl/libglamoregl.so.p/glamor_xf86_xv.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group glamor/libglamor.a /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so /usr/lib64/libdrm.so /usr/lib64/libgbm.so /usr/lib64/libepoxy.so -Wl,--end-group
[632/636] gcc -o hw/xfree86/drivers/modesetting/modesetting_drv.so hw/xfree86/drivers/modesetting/modesetting_drv.so.p/dri2.c.o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/driver.c.o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/drmmode_display.c.o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/dumb_bo.c.o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/pageflip.c.o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/present.c.o hw/xfree86/drivers/modesetting/modesetting_drv.so.p/vblank.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so /usr/lib64/libudev.so /usr/lib64/libdrm.so /usr/lib64/libgbm.so -Wl,--end-group
[633/636] gcc -o hw/vfb/Xvfb hw/vfb/Xvfb.p/InitInput.c.o hw/vfb/Xvfb.p/InitOutput.c.o hw/vfb/Xvfb.p/.._.._mi_miinitext.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group dix/liblibxserver_main.a fb/liblibxserver_fb.a mi/liblibxserver_mi.a dix/liblibxserver_dix.a composite/liblibxserver_composite.a damageext/liblibxserver_damageext.a dbe/liblibxserver_dbe.a randr/liblibxserver_randr.a miext/damage/liblibxserver_miext_damage.a render/liblibxserver_render.a present/liblibxserver_present.a Xext/liblibxserver_xext.a miext/sync/liblibxserver_miext_sync.a xfixes/liblibxserver_xfixes.a Xi/liblibxserver_xi.a xkb/liblibxserver_xkb.a record/liblibxserver_record.a os/liblibxserver_os.a os/liblibxlibc.a dri3/liblibxserver_dri3.a xkb/liblibxserver_xkb_stubs.a Xi/liblibxserver_xi_stubs.a glx/liblibxserver_glx.a glx/liblibglxvnd.a /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -lm /usr/lib64/libxshmfence.so -ldl -lcrypto -lpthread /usr/lib64/libXau.so /usr/lib64/libdrm.so /usr/lib64/libGL.so -Wl,--end-group
[634/636] gcc -o hw/kdrive/ephyr/Xephyr hw/kdrive/ephyr/Xephyr.p/ephyr.c.o hw/kdrive/ephyr/Xephyr.p/ephyrinit.c.o hw/kdrive/ephyr/Xephyr.p/ephyrcursor.c.o hw/kdrive/ephyr/Xephyr.p/ephyr_draw.c.o hw/kdrive/ephyr/Xephyr.p/hostx.c.o hw/kdrive/ephyr/Xephyr.p/ephyr_glamor_glx.c.o hw/kdrive/ephyr/Xephyr.p/ephyr_glamor_xv.c.o hw/kdrive/ephyr/Xephyr.p/ephyrvideo.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group dix/liblibxserver_main.a exa/liblibxserver_exa.a glamor/libglamor.a glamor/libglamor_egl_stubs.a hw/kdrive/src/libkdrive.a miext/shadow/liblibxserver_miext_shadow.a fb/liblibxserver_fb.a mi/liblibxserver_mi.a dix/liblibxserver_dix.a composite/liblibxserver_composite.a damageext/liblibxserver_damageext.a dbe/liblibxserver_dbe.a randr/liblibxserver_randr.a miext/damage/liblibxserver_miext_damage.a render/liblibxserver_render.a present/liblibxserver_present.a Xext/liblibxserver_xext.a miext/sync/liblibxserver_miext_sync.a xfixes/liblibxserver_xfixes.a Xi/liblibxserver_xi.a xkb/liblibxserver_xkb.a record/liblibxserver_record.a os/liblibxserver_os.a os/liblibxlibc.a dri3/liblibxserver_dri3.a config/liblibxserver_config.a xkb/liblibxserver_xkb_stubs.a Xi/liblibxserver_xi_stubs.a glx/liblibxserver_glx.a glx/liblibglxvnd.a /usr/lib64/libsystemd.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so /usr/lib64/libxcb.so /usr/lib64/libxcb-shape.so /usr/lib64/libxcb-render.so /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-util.so /usr/lib64/libxcb-image.so /usr/lib64/libxcb-shm.so /usr/lib64/libxcb-icccm.so /usr/lib64/libxcb-keysyms.so /usr/lib64/libxcb-randr.so /usr/lib64/libxcb-xkb.so /usr/lib64/libX11-xcb.so /usr/lib64/libX11.so /usr/lib64/libepoxy.so /usr/lib64/libxcb-xv.so -lm /usr/lib64/libxshmfence.so -ldl -lcrypto -lpthread /usr/lib64/libXau.so /usr/lib64/libdrm.so /usr/lib64/libdbus-1.so /usr/lib64/libudev.so /usr/lib64/libGL.so -Wl,--end-group
[635/636] gcc -o test/tests test/tests.p/.._mi_miinitext.c.o test/tests.p/.._mi_micmap.c.o test/tests.p/fixes.c.o test/tests.p/input.c.o test/tests.p/list.c.o test/tests.p/misc.c.o test/tests.p/signal-logging.c.o test/tests.p/string.c.o test/tests.p/test_xkb.c.o test/tests.p/tests-common.c.o test/tests.p/tests.c.o test/tests.p/touch.c.o test/tests.p/xfree86.c.o test/tests.p/xtest.c.o test/tests.p/hashtabletest.c.o -Wl,--as-needed -Wl,--no-undefined -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group mi/liblibxserver_mi.a dix/liblibxserver_dix.a composite/liblibxserver_composite.a damageext/liblibxserver_damageext.a dbe/liblibxserver_dbe.a randr/liblibxserver_randr.a miext/damage/liblibxserver_miext_damage.a render/liblibxserver_render.a present/liblibxserver_present.a Xext/liblibxserver_xext.a miext/sync/liblibxserver_miext_sync.a xfixes/liblibxserver_xfixes.a Xi/liblibxserver_xi.a xkb/liblibxserver_xkb.a record/liblibxserver_record.a os/liblibxserver_os.a os/liblibxlibc.a dri3/liblibxserver_dri3.a glx/liblibglxvnd.a hw/xfree86/common/libxorg_common.a hw/xfree86/loader/libxorg_loader.a hw/xfree86/ddc/libxorg_ddc.a hw/xfree86/xkb/libxorg_xkb.a hw/xfree86/i2c/libxorg_i2c.a hw/xfree86/modes/libxorg_modes.a hw/xfree86/os-support/libxorg_os_support.a hw/xfree86/parser/libxorg_parser.a hw/xfree86/ramdac/libxorg_ramdac.a fb/liblibxserver_fb.a Xext/liblibxserver_xext_vidmode.a dix/liblibxserver_main.a config/liblibxserver_config.a hw/xfree86/dri2/libxorg_dri2.a /usr/lib64/libpixman-1.so /usr/lib64/libxcvt.so /usr/lib64/libsystemd.so /usr/lib64/libxkbfile.so /usr/lib64/libXfont2.so /usr/lib64/libXdmcp.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so -lm /usr/lib64/libxshmfence.so -ldl -lcrypto -lpthread /usr/lib64/libXau.so /usr/lib64/libdrm.so /usr/lib64/libGL.so /usr/lib64/libdbus-1.so /usr/lib64/libpciaccess.so /usr/lib64/libudev.so -Wl,--end-group
[636/636] gcc -o hw/xfree86/libxorgserver.so hw/xfree86/libxorgserver.so.p/.._.._mi_miinitext.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libxorgserver.so -Wl,--whole-archive -Wl,--start-group mi/liblibxserver_mi.a dix/liblibxserver_dix.a composite/liblibxserver_composite.a damageext/liblibxserver_damageext.a dbe/liblibxserver_dbe.a randr/liblibxserver_randr.a miext/damage/liblibxserver_miext_damage.a render/liblibxserver_render.a present/liblibxserver_present.a Xext/liblibxserver_xext.a miext/sync/liblibxserver_miext_sync.a xfixes/liblibxserver_xfixes.a Xi/liblibxserver_xi.a xkb/liblibxserver_xkb.a record/liblibxserver_record.a os/liblibxserver_os.a dri3/liblibxserver_dri3.a glx/liblibglxvnd.a hw/xfree86/common/libxorg_common.a hw/xfree86/loader/libxorg_loader.a hw/xfree86/ddc/libxorg_ddc.a hw/xfree86/xkb/libxorg_xkb.a hw/xfree86/i2c/libxorg_i2c.a hw/xfree86/modes/libxorg_modes.a hw/xfree86/os-support/libxorg_os_support.a hw/xfree86/parser/libxorg_parser.a hw/xfree86/ramdac/libxorg_ramdac.a fb/liblibxserver_fb.a Xext/liblibxserver_xext_vidmode.a dix/liblibxserver_main.a config/liblibxserver_config.a hw/xfree86/dri2/libxorg_dri2.a -Wl,--no-whole-archive -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer os/liblibxlibc.a -Wl,--export-dynamic /usr/lib64/libpixman-1.so -lm -ldl /usr/lib64/libpciaccess.so -lcrypto /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libXfont2.so /usr/lib64/libxshmfence.so /usr/lib64/libsystemd.so /usr/lib64/libxkbfile.so /usr/lib64/libselinux.so /usr/lib64/libaudit.so /usr/lib64/libunwind.so /usr/lib64/libdbus-1.so /usr/lib64/libudev.so /usr/lib64/libdrm.so -lcrypto -lpthread /usr/lib64/libGL.so /usr/lib64/libxcvt.so -Wl,--end-group
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build -j 8 -v
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/xorg-x11-server.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run
>>> 2024-11-13 03:49:31 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck"
>>> 2024-11-13 03:49:32 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xorg-x11-server.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xorg-x11-server.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.9
INFO: Mock Version: 5.9
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xorg-x11-server.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xorg-x11-server.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1729036800
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.a2fjm0
+ umask 022
+ cd /builddir/build/BUILD/xorg-x11-server-21.1.13-build
+ '[' /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT
++ dirname /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/xorg-x11-server-21.1.13-build
+ mkdir /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd xorg-server-21.1.13
+ DESTDIR=/builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT
+ /usr/bin/meson install -C redhat-linux-build --no-rebuild
Installing hw/kdrive/ephyr/Xephyr to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/bin
Installing hw/vfb/Xvfb to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/bin
Installing hw/xnest/Xnest to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/bin
Installing hw/xfree86/Xorg to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/libexec
Installing hw/xfree86/dixmods/libwfb.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules
Installing hw/xfree86/dixmods/libshadow.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules
Installing hw/xfree86/dixmods/libglx.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules/extensions
Installing hw/xfree86/exa/libexa.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules
Installing hw/xfree86/fbdevhw/libfbdevhw.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules
Installing hw/xfree86/glamor_egl/libglamoregl.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules
Installing hw/xfree86/shadowfb/libshadowfb.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules
Installing hw/xfree86/vgahw/libvgahw.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules
Installing hw/xfree86/drivers/modesetting/modesetting_drv.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules/drivers
Installing hw/xfree86/drivers/inputtest/inputtest_drv.so to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg/modules/input
Installing hw/xfree86/Xorg.wrap to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/libexec
'/builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/libexec/Xorg.wrap': Unable to set owner 0 and group 0: Operation not permitted, ignoring...
Installing hw/xfree86/gtf to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/bin
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/kdrive/ephyr/Xephyr.1 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man1
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/vfb/Xvfb.1 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man1
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xnest/Xnest.1 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man1
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/exa/exa.4 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man4
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/fbdevhw/fbdevhw.4 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man4
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/drivers/modesetting/modesetting.4 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man4
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/drivers/inputtest/inputtestdrv.4 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man4
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/Xorg.1 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man1
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/Xorg.wrap.1 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man1
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/Xwrapper.config.5 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man5
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/xorg.conf.5 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man5
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/xorg.conf.d.5 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man5
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/gtf.1 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man1
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/Xserver.1 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/man/man1
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/include/xorg-server.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/XIstubs.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/Xprintf.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/callback.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/client.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/closestr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/closure.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/colormap.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/colormapst.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/hotplug.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursor.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/cursorstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dix.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixaccess.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixevents.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixfont.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixfontstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixgrabs.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/dixstruct.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/events.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/exevents.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/extension.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/extinit.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/extnsionst.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/fourcc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/gc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/gcstruct.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/globals.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/glx_extinit.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/glxvndabi.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/input.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/inputstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/list.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/misc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/miscstruct.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/opaque.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/nonsdk_extinit.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/optionstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/os.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/pixmap.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/pixmapstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/privates.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/property.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/propertyst.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/ptrveloc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/region.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/regionstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/registry.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/resource.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/rgb.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/screenint.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/scrnintstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/selection.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/servermd.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/validate.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/displaymode.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/window.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/windowstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/xkbfile.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/xkbsrv.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/xkbstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/xkbrules.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/Xprintf.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/xserver_poll.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/include/xserver-properties.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/config/10-quirks.conf to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/X11/xorg.conf.d
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/dix/protocol.txt to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/dri3/dri3.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glx/vndserver.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fb.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fboverlay.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fbpict.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/fbrop.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/fb/wfbrename.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micmap.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/micoord.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/migc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/mi.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/miline.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/mioverlay.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/mipointer.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/mipointrst.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/mistruct.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/mi/mizerarc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/composite/compositeext.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/dbe/dbestruct.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/miext/damage/damage.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/miext/damage/damagestr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/miext/shadow/shadow.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/miext/sync/misync.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/miext/sync/misyncfd.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/miext/sync/misyncshm.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/miext/sync/misyncstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/present/present.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/present/presentext.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/randr/randrstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/randr/rrtransform.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/render/glyphstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/render/mipict.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/render/picture.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/render/picturestr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/geext.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/geint.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/syncsdk.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/shmint.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xace.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xacestr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/panoramiX.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/panoramiXsrv.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvdix.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/Xext/xvmcext.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/glamor/glamor.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/exa/exa.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/compiler.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Module.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Opt.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86PciInfo.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Priv.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Privstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86cmap.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86fbman.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86str.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Xinput.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xisb.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xorgVersion.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86sbusBus.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86VGAarbiter.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86Optionstr.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86platformBus.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86MatchDrivers.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xaarop.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/dgaproc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86xv.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86xvmc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/common/xf86xvpriv.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/ddc/edid.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/ddc/xf86DDC.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/dri2/dri2.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/i2c/xf86i2c.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/i2c/i2c_def.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86Crtc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86Modes.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/modes/xf86RandR12.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/bus/xf86Pci.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/xf86_OSlib.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/os-support/xf86_OSproc.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/xf86Parser.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/parser/xf86Optrec.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/ramdac/xf86Cursor.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/fbdevhw/fbdevhw.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/shadowfb/shadowfb.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/vgahw/vgaHW.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/hw/xfree86/drivers/inputtest/xf86-input-inputtest-protocol.h to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/include/xorg
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/hw/xfree86/Xorg.sh to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/bin
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/redhat-linux-build/xorg-server.pc to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/lib64/pkgconfig
Installing /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13/xorg-server.m4 to /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/share/aclocal
Running custom install script '/usr/bin/sh -c ln -fs Xorg ${DESTDIR}/usr/bin/X'
+ install -D -m 0644 -p xkb/README.compiled /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/var/lib/xkb/README.compiled
+ install -D -m 0644 /builddir/build/SOURCES/xserver.pamd /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/etc/pam.d/xserver
+ mkdir -p /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/etc/X11/xorg.conf.d
+ install -D -m 0755 /builddir/build/SOURCES/xserver-sdk-abi-requires /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/bin/xserver-sdk-abi-requires
+ install -D -m 0755 /builddir/build/SOURCES/xvfb-run.sh /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/bin/xvfb-run
+ mkdir -p /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/Xext /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/xkb /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/GL /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/hw/xquartz/bundle /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/hw/xfree86/common
+ mkdir -p /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/hw/dmx/doc /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/man /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/doc /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/hw/dmx/doxygen
+ cp hw/xquartz/bundle/cpprules.in /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/hw/xquartz/bundle/cpprules.in
+ cp man/Xserver.man /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/man/Xserver.man
+ cp doc/smartsched /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/doc/smartsched
+ cp xserver.ent.in /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/xserver.ent.in
+ cp hw/xfree86/Xorg.sh.in /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/hw/xfree86/Xorg.sh.in
+ cp xkb/README.compiled /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/xkb
+ cp hw/xfree86/xorgconf.cpp /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/hw/xfree86
+ find . -type f -not -path './redhat-linux-build/*'
+ egrep '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$'
+ xargs tar cf -
+ cd /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source
+ tar xf -
egrep: warning: egrep is obsolescent; using grep -E
+ find /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT//usr/share/xorg-x11-server-source/hw/xfree86 -name '*.c' -delete
+ find /builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT -type f -name '*.la' -delete
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 21.1.13-6.fc42 --unique-debug-suffix -21.1.13-6.fc42.x86_64 --unique-debug-src-base xorg-x11-server-21.1.13-6.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xorg-x11-server-21.1.13-build/xorg-server-21.1.13
find-debuginfo: starting
Extracting debug info from 16 files
objcopy: unable to copy file '/builddir/build/BUILD/xorg-x11-server-21.1.13-build/BUILDROOT/usr/libexec/Xorg.wrap'; reason: Permission denied
*** ERROR:: GDB exited with exit status 1 during index generation
error: Bad exit status from /var/tmp/rpm-tmp.a2fjm0 (%install)
Bad exit status from /var/tmp/rpm-tmp.a2fjm0 (%install)
RPM build errors:
Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xorg-x11-server.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run
!!! 2024-11-13 03:49:35 error: %install failed
>>> 2024-11-13 03:49:35 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean"
scan.ini: time-finished = 2024-11-13 03:49:37
scan.ini: exit-code = 1
<<< 2024-11-13 03:49:37 csmock exit code: 1
Wrote: /tmp/tmp9zdxfj17/xorg-x11-server-21.1.13-6.fc41.tar.xz
ERROR running command: su - csmock --session-command 'cd /tmp/tmp9zdxfj17 && csmock -r fedora-rawhide-gcc-latest-x86_64 -t clippy,cppcheck,gcc,unicontrol,shellcheck -o /tmp/tmp9zdxfj17/xorg-x11-server-21.1.13-6.fc41.tar.xz --gcc-analyze --unicontrol-notests --unicontrol-bidi-only --install=gcc-latest --gcc-analyzer-bin=/opt/gcc-latest/bin/gcc /tmp/tmp9zdxfj17/xorg-x11-server-21.1.13-6.fc41.src.rpm'
Scanning has not completed successfully (1)