Wed Oct 23 11:15:57 UTC 2024 I: starting to build coccinelle/unstable/i386 on jenkins on '2024-10-23 11:15' Wed Oct 23 11:15:57 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/i386_4/37175/console.log Wed Oct 23 11:15:57 UTC 2024 I: Downloading source for unstable/coccinelle=1.2.deb-1 --2024-10-23 11:15:57-- http://deb.debian.org/debian/pool/main/c/coccinelle/coccinelle_1.2.deb-1.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2179 (2.1K) [text/prs.lines.tag] Saving to: ‘coccinelle_1.2.deb-1.dsc’ 0K .. 100% 274M=0s 2024-10-23 11:15:57 (274 MB/s) - ‘coccinelle_1.2.deb-1.dsc’ saved [2179/2179] Wed Oct 23 11:15:57 UTC 2024 I: coccinelle_1.2.deb-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: coccinelle Binary: coccinelle, coccinelle-doc Architecture: any all Version: 1.2.deb-1 Maintainer: Debian OCaml Maintainers Uploaders: Emmanuel Arias , Ralf Treinen Homepage: http://coccinelle.lip6.fr Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/ocaml-team/coccinelle Vcs-Git: https://salsa.debian.org/ocaml-team/coccinelle.git Testsuite: autopkgtest Testsuite-Triggers: patch Build-Depends: debhelper-compat (= 13), dh-ocaml, dh-python, libmenhir-ocaml-dev, libparmap-ocaml-dev, libstdcompat-ocaml-dev, libpyml-ocaml-dev, menhir, ocaml-findlib, ocaml, pkgconf, python3 Build-Depends-Indep: hevea, texlive-fonts-extra, texlive-fonts-recommended, texlive-latex-base, texlive-latex-extra, texlive-latex-recommended Package-List: coccinelle deb devel optional arch=any coccinelle-doc deb doc optional arch=all Checksums-Sha1: 46458533c33e1d6d9e45aa22de3b434311f814cc 1818083 coccinelle_1.2.deb.orig.tar.gz 592f31a32b7a816c0be87d2e4503e35609641378 12488 coccinelle_1.2.deb-1.debian.tar.xz Checksums-Sha256: 960a166bf52f200e915d556b5e3c44948d2b044275c4b012c017b255bbadfcfb 1818083 coccinelle_1.2.deb.orig.tar.gz 86c1fcf6ac43175f2551cbfb0518b6fb80cd60664ab1a08f241f449089399863 12488 coccinelle_1.2.deb-1.debian.tar.xz Files: 2a13bf055f0aaad3caccedd7b3a70543 1818083 coccinelle_1.2.deb.orig.tar.gz d22b6a8c40c1949f09a63585985ad65a 12488 coccinelle_1.2.deb-1.debian.tar.xz Dgit: bcedf2590e57d7ba437d4e1aae4025d48f9d57e6 debian archive/debian/1.2.deb-1 https://git.dgit.debian.org/coccinelle -----BEGIN PGP SIGNATURE----- iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmaUrv4SHGdsb25kdUBk ZWJpYW4ub3JnAAoJECG47vGxiTCBYiUIAJ6FPFMKnNXSxEXOOkH4i5hrrp64M7Jt ClGdKqElL47TfmLq+gCE+Nnniw3gFrN2CIIWQFYpdIyreaEZbdYLs1ixLO2VS86k 0E4YKHHlE1/IxHhJ9MFgzgsRa2Zg2TFL1V+Onx1XLLRugHuFEJ8X0GbaEPTPBBa0 PHh2HB1FSm+hUA/wk9Glf4Qc5flGU/oXuJU5Rs/kI5kox17ZdBbyEi5Zo8k0GIQs 7a1FBFuSX7V9ESITaeswFW+/wq/aRSZpdbpub6H1p7gsJ0OyHr9CxPDIXjOHfGJp 7wtUjITYbxc6IDD2PmkK2quZ5fM6Ze5PJbcwj1dYWQa4caPcDrZdA38= =nKwL -----END PGP SIGNATURE----- Wed Oct 23 11:15:57 UTC 2024 I: Checking whether the package is not for us Wed Oct 23 11:15:57 UTC 2024 I: Starting 1st build on remote node ionos16-i386.debian.net. Wed Oct 23 11:15:57 UTC 2024 I: Preparing to do remote build '1' on ionos16-i386.debian.net. Wed Oct 23 11:21:49 UTC 2024 I: Deleting $TMPDIR on ionos16-i386.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Tue Nov 25 05:38:59 -12 2025 I: pbuilder-time-stamp: 1764092339 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [coccinelle_1.2.deb-1.dsc] I: copying [./coccinelle_1.2.deb.orig.tar.gz] I: copying [./coccinelle_1.2.deb-1.debian.tar.xz] I: Extracting source gpgv: Signature made Mon Jul 15 05:09:18 2024 gpgv: using RSA key 6DE24E97ECA886CC56E6250E21B8EEF1B1893081 gpgv: issuer "glondu@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./coccinelle_1.2.deb-1.dsc: no acceptable signature found dpkg-source: info: extracting coccinelle in coccinelle-1.2.deb dpkg-source: info: unpacking coccinelle_1.2.deb.orig.tar.gz dpkg-source: info: unpacking coccinelle_1.2.deb-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying no-bundles.diff dpkg-source: info: applying manual-build-fix.diff dpkg-source: info: applying dont-update-test-score.diff dpkg-source: info: applying dont-expose-parmap.diff I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/99521/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='i386' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='f326b5fa4b6c433fab7f3286af6f7592' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' LD_LIBRARY_PATH='/usr/lib/libeatmydata' LD_PRELOAD='libeatmydata.so' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='99521' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.kH1PbaSP/pbuilderrc_VPGw --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.kH1PbaSP/b1 --logfile b1/build.log coccinelle_1.2.deb-1.dsc' SUDO_GID='112' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos16-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/99521/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-ocaml, dh-python, libmenhir-ocaml-dev, libparmap-ocaml-dev, libstdcompat-ocaml-dev, libpyml-ocaml-dev, menhir, ocaml-findlib, ocaml, pkgconf, python3, hevea, texlive-fonts-extra, texlive-fonts-recommended, texlive-latex-base, texlive-latex-extra, texlive-latex-recommended dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19933 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-ocaml; however: Package dh-ocaml is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on libmenhir-ocaml-dev; however: Package libmenhir-ocaml-dev is not installed. pbuilder-satisfydepends-dummy depends on libparmap-ocaml-dev; however: Package libparmap-ocaml-dev is not installed. pbuilder-satisfydepends-dummy depends on libstdcompat-ocaml-dev; however: Package libstdcompat-ocaml-dev is not installed. pbuilder-satisfydepends-dummy depends on libpyml-ocaml-dev; however: Package libpyml-ocaml-dev is not installed. pbuilder-satisfydepends-dummy depends on menhir; however: Package menhir is not installed. pbuilder-satisfydepends-dummy depends on ocaml-findlib; however: Package ocaml-findlib is not installed. pbuilder-satisfydepends-dummy depends on ocaml; however: Package ocaml is not installed. pbuilder-satisfydepends-dummy depends on pkgconf; however: Package pkgconf is not installed. pbuilder-satisfydepends-dummy depends on python3; however: Package python3 is not installed. pbuilder-satisfydepends-dummy depends on hevea; however: Package hevea is not installed. pbuilder-satisfydepends-dummy depends on texlive-fonts-extra; however: Package texlive-fonts-extra is not installed. pbuilder-satisfydepends-dummy depends on texlive-fonts-recommended; however: Package texlive-fonts-recommended is not installed. pbuilder-satisfydepends-dummy depends on texlive-latex-base; however: Package texlive-latex-base is not installed. pbuilder-satisfydepends-dummy depends on texlive-latex-extra; however: Package texlive-latex-extra is not installed. pbuilder-satisfydepends-dummy depends on texlive-latex-recommended; however: Package texlive-latex-recommended is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-ocaml{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} fontconfig-config{a} fonts-lmodern{a} fonts-urw-base35{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libapache-pom-java{a} libarchive-zip-perl{a} libbrotli1{a} libcairo2{a} libcom-err2{a} libcommons-logging-java{a} libcommons-parent-java{a} libconfig-tiny-perl{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libfontbox-java{a} libfontconfig1{a} libfontenc1{a} libfreetype6{a} libglib2.0-0t64{a} libgraphite2-3{a} libgssapi-krb5-2{a} libharfbuzz0b{a} libice6{a} libicu72{a} libk5crypto3{a} libkeyutils1{a} libkpathsea6{a} libkrb5-3{a} libkrb5support0{a} libmagic-mgc{a} libmagic1t64{a} libmpfi0{a} libnsl2{a} libpaper-utils{a} libpaper1{a} libpdfbox-java{a} libpipeline1{a} libpixman-1-0{a} libpkgconf3{a} libpng16-16t64{a} libpotrace0{a} libptexenc1{a} libpython3-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libreadline8t64{a} libsm6{a} libsynctex2{a} libteckit0{a} libtexlua53-5{a} libtirpc-common{a} libtirpc3t64{a} libtool{a} libuchardet0{a} libx11-6{a} libx11-data{a} libxau6{a} libxaw7{a} libxcb-render0{a} libxcb-shm0{a} libxcb1{a} libxdmcp6{a} libxext6{a} libxi6{a} libxml2{a} libxmu6{a} libxpm4{a} libxrender1{a} libxt6t64{a} libzzip-0-13t64{a} m4{a} man-db{a} media-types{a} menhir{a} netbase{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} preview-latex-style{a} python3{a} python3-autocommand{a} python3-inflect{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-minimal{a} python3-more-itertools{a} python3-pkg-resources{a} python3-setuptools{a} python3-typeguard{a} python3-typing-extensions{a} python3-zipp{a} python3.12{a} python3.12-minimal{a} readline-common{a} sensible-utils{a} t1utils{a} tex-common{a} texlive-base{a} texlive-binaries{a} texlive-fonts-extra{a} texlive-fonts-recommended{a} texlive-latex-base{a} texlive-latex-extra{a} texlive-latex-recommended{a} texlive-pictures{a} tzdata{a} ucf{a} x11-common{a} xdg-utils{a} xfonts-encodings{a} xfonts-utils{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates cm-super curl default-jre dvisvgm fonts-adf-accanthis fonts-adf-berenis fonts-adf-gillius fonts-adf-universalis fonts-cabin fonts-cantarell fonts-clear-sans fonts-comfortaa fonts-comic-neue fonts-croscore fonts-crosextra-caladea fonts-crosextra-carlito fonts-dejavu-core fonts-dejavu-extra fonts-ebgaramond-extra fonts-font-awesome fonts-freefont-otf fonts-freefont-ttf fonts-gfs-artemisia fonts-gfs-complutum fonts-gfs-didot fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-solomos fonts-go fonts-inter fonts-lato fonts-linuxlibertine fonts-lobstertwo fonts-noto-color-emoji fonts-noto-core fonts-noto-mono fonts-oflb-asana-math fonts-open-sans fonts-paratype fonts-roboto-slab fonts-roboto-unhinted fonts-sil-andika fonts-sil-charis fonts-sil-gentium fonts-sil-gentium-basic fonts-sil-gentiumplus fonts-sil-gentiumplus-compact fonts-stix krb5-locales libarchive-cpio-perl libfile-mimeinfo-perl libglib2.0-data libltdl-dev libmail-sendmail-perl libnet-dbus-perl libspreadsheet-parseexcel-perl libx11-protocol-perl lmodern lynx ruby shared-mime-info tex-gyre texlive-fonts-extra-links texlive-plain-generic tipa tk wget x11-utils x11-xserver-utils xdg-user-dirs 0 packages upgraded, 128 newly installed, 0 to remove and 0 not upgraded. Need to get 771 MB of archives. After unpacking 2227 MB will be used. The following packages have unmet dependencies: pbuilder-satisfydepends-dummy : Depends: libmenhir-ocaml-dev but it is not installable Depends: libparmap-ocaml-dev but it is not installable Depends: libstdcompat-ocaml-dev but it is not installable Depends: libpyml-ocaml-dev but it is not installable Depends: ocaml-findlib but it is not installable Depends: ocaml but it is not installable Depends: hevea but it is not installable The following actions will resolve these dependencies: Install the following packages: 1) ghostscript [10.04.0~dfsg-1 (unstable)] 2) hevea [2.36-2+b2 (unstable)] 3) hicolor-icon-theme [0.18-1 (unstable)] 4) imagemagick [8:6.9.13.12+dfsg1-1+b1 (unstable)] 5) imagemagick-6-common [8:6.9.13.12+dfsg1-1 (unstable)] 6) imagemagick-6.q16 [8:6.9.13.12+dfsg1-1+b1 (unstable)] 7) libavahi-client3 [0.8-13+b2 (unstable)] 8) libavahi-common-data [0.8-13+b2 (unstable)] 9) libavahi-common3 [0.8-13+b2 (unstable)] 10) libcompiler-libs-ocaml-dev [5.2.0-3 (unstable)] 11) libcups2t64 [2.4.10-2 (unstable)] 12) libdav1d7 [1.4.3-1 (unstable)] 13) libdbus-1-3 [1.14.10-4+b1 (unstable)] 14) libde265-0 [1.0.15-1+b2 (unstable)] 15) libdeflate0 [1.22-1 (unstable)] 16) libfftw3-double3 [3.3.10-1+b3 (unstable)] 17) libfindlib-ocaml [1.9.6-3 (unstable)] 18) libgs-common [10.04.0~dfsg-1 (unstable)] 19) libgs10 [10.04.0~dfsg-1 (unstable)] 20) libgs10-common [10.04.0~dfsg-1 (unstable)] 21) libheif-plugin-dav1d [1.18.2-2 (unstable)] 22) libheif-plugin-libde265 [1.18.2-2 (unstable)] 23) libheif1 [1.18.2-2 (unstable)] 24) libidn12 [1.42-2 (unstable)] 25) libijs-0.35 [0.35-15.1+b1 (unstable)] 26) libjbig0 [2.1-6.1+b1 (unstable)] 27) libjbig2dec0 [0.20-1+b2 (unstable)] 28) libjpeg62-turbo [1:2.1.5-3 (unstable)] 29) liblcms2-2 [2.16-2 (unstable)] 30) liblerc4 [4.0.0+ds-4+b1 (unstable)] 31) liblqr-1-0 [0.4.2-2.1+b1 (unstable)] 32) libltdl7 [2.4.7-7+b1 (unstable)] 33) libmagickcore-6.q16-7t64 [8:6.9.13.12+dfsg1-1+b1 (unstable)] 34) libmagickwand-6.q16-7t64 [8:6.9.13.12+dfsg1-1+b1 (unstable)] 35) libmenhir-ocaml-dev [20240715+ds-1 (unstable)] 36) libncurses-dev [6.5-2 (unstable)] 37) libncurses6 [6.5-2 (unstable)] 38) libnetpbm11t64 [2:11.07.00-2 (unstable)] 39) libopenjp2-7 [2.5.0-2+b3 (unstable)] 40) libparmap-ocaml [1.2.5-3+b2 (unstable)] 41) libparmap-ocaml-dev [1.2.5-3+b2 (unstable)] 42) libpyml-ocaml [20231101-1+b2 (unstable)] 43) libpyml-ocaml-dev [20231101-1+b2 (unstable)] 44) libraw23t64 [0.21.2-2.1 (unstable)] 45) libsharpyuv0 [1.4.0-0.1 (unstable)] 46) libstdcompat-ocaml [20~git20240529-1+b1 (unstable)] 47) libstdcompat-ocaml-dev [20~git20240529-1+b1 (unstable)] 48) libstdlib-ocaml [5.2.0-3 (unstable)] 49) libstdlib-ocaml-dev [5.2.0-3 (unstable)] 50) libtiff6 [4.5.1+git230720-5 (unstable)] 51) libwebp7 [1.4.0-0.1 (unstable)] 52) libwebpdemux2 [1.4.0-0.1 (unstable)] 53) libwebpmux3 [1.4.0-0.1 (unstable)] 54) libzstd-dev [1.5.6+dfsg-1 (unstable)] 55) netpbm [2:11.07.00-2 (unstable)] 56) ocaml [5.2.0-3 (unstable)] 57) ocaml-base [5.2.0-3 (unstable)] 58) ocaml-findlib [1.9.6-3 (unstable)] 59) ocaml-interp [5.2.0-3 (unstable)] 60) poppler-data [0.4.12-1 (unstable)] The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-ocaml{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} fontconfig-config{a} fonts-lmodern{a} fonts-urw-base35{a} gettext{a} gettext-base{a} ghostscript{a} groff-base{a} hevea{a} hicolor-icon-theme{a} imagemagick{a} imagemagick-6-common{a} imagemagick-6.q16{a} intltool-debian{a} libapache-pom-java{a} libarchive-zip-perl{a} libavahi-client3{a} libavahi-common-data{a} libavahi-common3{a} libbrotli1{a} libcairo2{a} libcom-err2{a} libcommons-logging-java{a} libcommons-parent-java{a} libcompiler-libs-ocaml-dev{a} libconfig-tiny-perl{a} libcups2t64{a} libdav1d7{a} libdbus-1-3{a} libde265-0{a} libdebhelper-perl{a} libdeflate0{a} libelf1t64{a} libexpat1{a} libfftw3-double3{a} libfile-stripnondeterminism-perl{a} libfindlib-ocaml{a} libfontbox-java{a} libfontconfig1{a} libfontenc1{a} libfreetype6{a} libglib2.0-0t64{a} libgraphite2-3{a} libgs-common{a} libgs10{a} libgs10-common{a} libgssapi-krb5-2{a} libharfbuzz0b{a} libheif-plugin-dav1d{a} libheif-plugin-libde265{a} libheif1{a} libice6{a} libicu72{a} libidn12{a} libijs-0.35{a} libjbig0{a} libjbig2dec0{a} libjpeg62-turbo{a} libk5crypto3{a} libkeyutils1{a} libkpathsea6{a} libkrb5-3{a} libkrb5support0{a} liblcms2-2{a} liblerc4{a} liblqr-1-0{a} libltdl7{a} libmagic-mgc{a} libmagic1t64{a} libmagickcore-6.q16-7t64{a} libmagickwand-6.q16-7t64{a} libmenhir-ocaml-dev{a} libmpfi0{a} libncurses-dev{a} libncurses6{a} libnetpbm11t64{a} libnsl2{a} libopenjp2-7{a} libpaper-utils{a} libpaper1{a} libparmap-ocaml{a} libparmap-ocaml-dev{a} libpdfbox-java{a} libpipeline1{a} libpixman-1-0{a} libpkgconf3{a} libpng16-16t64{a} libpotrace0{a} libptexenc1{a} libpyml-ocaml{a} libpyml-ocaml-dev{a} libpython3-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libraw23t64{a} libreadline8t64{a} libsharpyuv0{a} libsm6{a} libstdcompat-ocaml{a} libstdcompat-ocaml-dev{a} libstdlib-ocaml{a} libstdlib-ocaml-dev{a} libsynctex2{a} libteckit0{a} libtexlua53-5{a} libtiff6{a} libtirpc-common{a} libtirpc3t64{a} libtool{a} libuchardet0{a} libwebp7{a} libwebpdemux2{a} libwebpmux3{a} libx11-6{a} libx11-data{a} libxau6{a} libxaw7{a} libxcb-render0{a} libxcb-shm0{a} libxcb1{a} libxdmcp6{a} libxext6{a} libxi6{a} libxml2{a} libxmu6{a} libxpm4{a} libxrender1{a} libxt6t64{a} libzstd-dev{a} libzzip-0-13t64{a} m4{a} man-db{a} media-types{a} menhir{a} netbase{a} netpbm{a} ocaml{a} ocaml-base{a} ocaml-findlib{a} ocaml-interp{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} poppler-data{a} preview-latex-style{a} python3{a} python3-autocommand{a} python3-inflect{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-minimal{a} python3-more-itertools{a} python3-pkg-resources{a} python3-setuptools{a} python3-typeguard{a} python3-typing-extensions{a} python3-zipp{a} python3.12{a} python3.12-minimal{a} readline-common{a} sensible-utils{a} t1utils{a} tex-common{a} texlive-base{a} texlive-binaries{a} texlive-fonts-extra{a} texlive-fonts-recommended{a} texlive-latex-base{a} texlive-latex-extra{a} texlive-latex-recommended{a} texlive-pictures{a} tzdata{a} ucf{a} x11-common{a} xdg-utils{a} xfonts-encodings{a} xfonts-utils{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates cm-super curl dbus default-jre dvisvgm fonts-adf-accanthis fonts-adf-berenis fonts-adf-gillius fonts-adf-universalis fonts-cabin fonts-cantarell fonts-clear-sans fonts-comfortaa fonts-comic-neue fonts-croscore fonts-crosextra-caladea fonts-crosextra-carlito fonts-dejavu-core fonts-dejavu-extra fonts-droid-fallback fonts-ebgaramond-extra fonts-font-awesome fonts-freefont-otf fonts-freefont-ttf fonts-gfs-artemisia fonts-gfs-complutum fonts-gfs-didot fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-solomos fonts-go fonts-inter fonts-lato fonts-linuxlibertine fonts-lobstertwo fonts-noto-color-emoji fonts-noto-core fonts-noto-mono fonts-oflb-asana-math fonts-open-sans fonts-paratype fonts-roboto-slab fonts-roboto-unhinted fonts-sil-andika fonts-sil-charis fonts-sil-gentium fonts-sil-gentium-basic fonts-sil-gentiumplus fonts-sil-gentiumplus-compact fonts-stix krb5-locales ledit libarchive-cpio-perl libfile-mimeinfo-perl libfindlib-ocaml-dev libglib2.0-data libgpm2 libheif-plugin-aomenc libheif-plugin-x265 libltdl-dev libmagickcore-6.q16-7-extra libmail-sendmail-perl libnet-dbus-perl libspreadsheet-parseexcel-perl libx11-protocol-perl lmodern lynx ocaml-man python3-dev rlfe rlwrap ruby shared-mime-info tex-gyre texlive-fonts-extra-links texlive-plain-generic tipa tk wget x11-utils x11-xserver-utils xdg-user-dirs 0 packages upgraded, 188 newly installed, 0 to remove and 0 not upgraded. Need to get 844 MB of archives. After unpacking 2428 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main i386 libfftw3-double3 i386 3.3.10-1+b3 [635 kB] Get: 2 http://deb.debian.org/debian unstable/main i386 libexpat1 i386 2.6.3-1 [107 kB] Get: 3 http://deb.debian.org/debian unstable/main i386 libbrotli1 i386 1.1.0-2+b4 [309 kB] Get: 4 http://deb.debian.org/debian unstable/main i386 libpng16-16t64 i386 1.6.44-2 [288 kB] Get: 5 http://deb.debian.org/debian unstable/main i386 libfreetype6 i386 2.13.3+dfsg-1 [464 kB] Get: 6 http://deb.debian.org/debian unstable/main i386 libfontenc1 i386 1:1.1.8-1 [23.1 kB] Get: 7 http://deb.debian.org/debian unstable/main i386 x11-common all 1:7.7+23.1 [216 kB] Get: 8 http://deb.debian.org/debian unstable/main i386 xfonts-encodings all 1:1.0.4-2.2 [577 kB] Get: 9 http://deb.debian.org/debian unstable/main i386 xfonts-utils i386 1:7.7+7 [95.1 kB] Get: 10 http://deb.debian.org/debian unstable/main i386 fonts-urw-base35 all 20200910-8 [10.8 MB] Get: 11 http://deb.debian.org/debian unstable/main i386 fontconfig-config i386 2.15.0-1.1 [317 kB] Get: 12 http://deb.debian.org/debian unstable/main i386 libfontconfig1 i386 2.15.0-1.1 [401 kB] Get: 13 http://deb.debian.org/debian unstable/main i386 libsharpyuv0 i386 1.4.0-0.1 [113 kB] Get: 14 http://deb.debian.org/debian unstable/main i386 libdav1d7 i386 1.4.3-1 [327 kB] Get: 15 http://deb.debian.org/debian unstable/main i386 libheif-plugin-dav1d i386 1.18.2-2 [11.2 kB] Get: 16 http://deb.debian.org/debian unstable/main i386 libde265-0 i386 1.0.15-1+b2 [199 kB] Get: 17 http://deb.debian.org/debian unstable/main i386 libheif-plugin-libde265 i386 1.18.2-2 [14.8 kB] Get: 18 http://deb.debian.org/debian unstable/main i386 libheif1 i386 1.18.2-2 [327 kB] Get: 19 http://deb.debian.org/debian unstable/main i386 libjbig0 i386 2.1-6.1+b1 [31.8 kB] Get: 20 http://deb.debian.org/debian unstable/main i386 libjpeg62-turbo i386 1:2.1.5-3 [169 kB] Get: 21 http://deb.debian.org/debian unstable/main i386 liblcms2-2 i386 2.16-2 [171 kB] Get: 22 http://deb.debian.org/debian unstable/main i386 libglib2.0-0t64 i386 2.82.2-1 [1572 kB] Get: 23 http://deb.debian.org/debian unstable/main i386 liblqr-1-0 i386 0.4.2-2.1+b1 [31.8 kB] Get: 24 http://deb.debian.org/debian unstable/main i386 libltdl7 i386 2.4.7-7+b1 [395 kB] Get: 25 http://deb.debian.org/debian unstable/main i386 libopenjp2-7 i386 2.5.0-2+b3 [197 kB] Get: 26 http://deb.debian.org/debian unstable/main i386 libraw23t64 i386 0.21.2-2.1 [407 kB] Get: 27 http://deb.debian.org/debian unstable/main i386 libdeflate0 i386 1.22-1 [48.1 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 liblerc4 i386 4.0.0+ds-4+b1 [180 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 libwebp7 i386 1.4.0-0.1 [318 kB] Get: 30 http://deb.debian.org/debian unstable/main i386 libtiff6 i386 4.5.1+git230720-5 [339 kB] Get: 31 http://deb.debian.org/debian unstable/main i386 libwebpdemux2 i386 1.4.0-0.1 [111 kB] Get: 32 http://deb.debian.org/debian unstable/main i386 libwebpmux3 i386 1.4.0-0.1 [125 kB] Get: 33 http://deb.debian.org/debian unstable/main i386 libxau6 i386 1:1.0.9-1+b1 [18.5 kB] Get: 34 http://deb.debian.org/debian unstable/main i386 libxdmcp6 i386 1:1.1.2-3+b1 [24.8 kB] Get: 35 http://deb.debian.org/debian unstable/main i386 libxcb1 i386 1.17.0-2 [148 kB] Get: 36 http://deb.debian.org/debian unstable/main i386 libx11-data all 2:1.8.7-1 [328 kB] Get: 37 http://deb.debian.org/debian unstable/main i386 libx11-6 i386 2:1.8.7-1+b1 [822 kB] Get: 38 http://deb.debian.org/debian unstable/main i386 libxext6 i386 2:1.3.4-1+b2 [52.6 kB] Get: 39 http://deb.debian.org/debian unstable/main i386 libicu72 i386 72.1-5 [9550 kB] Get: 40 http://deb.debian.org/debian unstable/main i386 libxml2 i386 2.12.7+dfsg+really2.9.14-0.1 [733 kB] Get: 41 http://deb.debian.org/debian unstable/main i386 imagemagick-6-common all 8:6.9.13.12+dfsg1-1 [67.3 kB] Get: 42 http://deb.debian.org/debian unstable/main i386 libmagickcore-6.q16-7t64 i386 8:6.9.13.12+dfsg1-1+b1 [1794 kB] Get: 43 http://deb.debian.org/debian unstable/main i386 libmagickwand-6.q16-7t64 i386 8:6.9.13.12+dfsg1-1+b1 [299 kB] Get: 44 http://deb.debian.org/debian unstable/main i386 poppler-data all 0.4.12-1 [1601 kB] Get: 45 http://deb.debian.org/debian unstable/main i386 libpython3.12-minimal i386 3.12.7-1 [813 kB] Get: 46 http://deb.debian.org/debian unstable/main i386 python3.12-minimal i386 3.12.7-1 [2239 kB] Get: 47 http://deb.debian.org/debian unstable/main i386 python3-minimal i386 3.12.6-1 [26.7 kB] Get: 48 http://deb.debian.org/debian unstable/main i386 media-types all 10.1.0 [26.9 kB] Get: 49 http://deb.debian.org/debian unstable/main i386 netbase all 6.4 [12.8 kB] Get: 50 http://deb.debian.org/debian unstable/main i386 tzdata all 2024b-3 [255 kB] Get: 51 http://deb.debian.org/debian unstable/main i386 libkrb5support0 i386 1.21.3-3 [34.9 kB] Get: 52 http://deb.debian.org/debian unstable/main i386 libcom-err2 i386 1.47.1-1 [23.1 kB] Get: 53 http://deb.debian.org/debian unstable/main i386 libk5crypto3 i386 1.21.3-3 [83.6 kB] Get: 54 http://deb.debian.org/debian unstable/main i386 libkeyutils1 i386 1.6.3-3.1 [9512 B] Get: 55 http://deb.debian.org/debian unstable/main i386 libkrb5-3 i386 1.21.3-3 [350 kB] Get: 56 http://deb.debian.org/debian unstable/main i386 libgssapi-krb5-2 i386 1.21.3-3 [146 kB] Get: 57 http://deb.debian.org/debian unstable/main i386 libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 58 http://deb.debian.org/debian unstable/main i386 libtirpc3t64 i386 1.3.4+ds-1.3 [90.2 kB] Get: 59 http://deb.debian.org/debian unstable/main i386 libnsl2 i386 1.3.0-3+b2 [42.4 kB] Get: 60 http://deb.debian.org/debian unstable/main i386 readline-common all 8.2-5 [69.3 kB] Get: 61 http://deb.debian.org/debian unstable/main i386 libreadline8t64 i386 8.2-5 [173 kB] Get: 62 http://deb.debian.org/debian unstable/main i386 libpython3.12-stdlib i386 3.12.7-1 [1966 kB] Get: 63 http://deb.debian.org/debian unstable/main i386 python3.12 i386 3.12.7-1 [671 kB] Get: 64 http://deb.debian.org/debian unstable/main i386 libpython3-stdlib i386 3.12.6-1 [9692 B] Get: 65 http://deb.debian.org/debian unstable/main i386 python3 i386 3.12.6-1 [27.8 kB] Get: 66 http://deb.debian.org/debian unstable/main i386 sensible-utils all 0.0.24 [24.8 kB] Get: 67 http://deb.debian.org/debian unstable/main i386 libmagic-mgc i386 1:5.45-3 [314 kB] Get: 68 http://deb.debian.org/debian unstable/main i386 libmagic1t64 i386 1:5.45-3 [114 kB] Get: 69 http://deb.debian.org/debian unstable/main i386 file i386 1:5.45-3 [42.9 kB] Get: 70 http://deb.debian.org/debian unstable/main i386 gettext-base i386 0.22.5-2 [201 kB] Get: 71 http://deb.debian.org/debian unstable/main i386 libuchardet0 i386 0.0.8-1+b1 [69.1 kB] Get: 72 http://deb.debian.org/debian unstable/main i386 groff-base i386 1.23.0-5 [1196 kB] Get: 73 http://deb.debian.org/debian unstable/main i386 bsdextrautils i386 2.40.2-9 [102 kB] Get: 74 http://deb.debian.org/debian unstable/main i386 libpipeline1 i386 1.5.8-1 [41.2 kB] Get: 75 http://deb.debian.org/debian unstable/main i386 man-db i386 2.13.0-1 [1428 kB] Get: 76 http://deb.debian.org/debian unstable/main i386 ucf all 3.0043+nmu1 [55.2 kB] Get: 77 http://deb.debian.org/debian unstable/main i386 m4 i386 1.4.19-4 [293 kB] Get: 78 http://deb.debian.org/debian unstable/main i386 autoconf all 2.72-3 [493 kB] Get: 79 http://deb.debian.org/debian unstable/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 80 http://deb.debian.org/debian unstable/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 81 http://deb.debian.org/debian unstable/main i386 autopoint all 0.22.5-2 [723 kB] Get: 82 http://deb.debian.org/debian unstable/main i386 libdebhelper-perl all 13.20 [89.7 kB] Get: 83 http://deb.debian.org/debian unstable/main i386 libtool all 2.4.7-7 [517 kB] Get: 84 http://deb.debian.org/debian unstable/main i386 dh-autoreconf all 20 [17.1 kB] Get: 85 http://deb.debian.org/debian unstable/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 86 http://deb.debian.org/debian unstable/main i386 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 87 http://deb.debian.org/debian unstable/main i386 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 88 http://deb.debian.org/debian unstable/main i386 libelf1t64 i386 0.192-4 [195 kB] Get: 89 http://deb.debian.org/debian unstable/main i386 dwz i386 0.15-1+b1 [116 kB] Get: 90 http://deb.debian.org/debian unstable/main i386 gettext i386 0.22.5-2 [1631 kB] Get: 91 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 92 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 93 http://deb.debian.org/debian unstable/main i386 debhelper all 13.20 [915 kB] Get: 94 http://deb.debian.org/debian unstable/main i386 libconfig-tiny-perl all 2.30-1 [18.9 kB] Get: 95 http://deb.debian.org/debian unstable/main i386 dh-ocaml all 2.4 [62.9 kB] Get: 96 http://deb.debian.org/debian unstable/main i386 python3-autocommand all 2.2.2-3 [13.6 kB] Get: 97 http://deb.debian.org/debian unstable/main i386 python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 98 http://deb.debian.org/debian unstable/main i386 python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 99 http://deb.debian.org/debian unstable/main i386 python3-typeguard all 4.3.0-1 [36.5 kB] Get: 100 http://deb.debian.org/debian unstable/main i386 python3-inflect all 7.3.1-2 [32.4 kB] Get: 101 http://deb.debian.org/debian unstable/main i386 python3-jaraco.context all 6.0.0-1 [7984 B] Get: 102 http://deb.debian.org/debian unstable/main i386 python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 103 http://deb.debian.org/debian unstable/main i386 python3-pkg-resources all 74.1.2-2 [213 kB] Get: 104 http://deb.debian.org/debian unstable/main i386 python3-zipp all 3.20.2-1 [10.3 kB] Get: 105 http://deb.debian.org/debian unstable/main i386 python3-setuptools all 74.1.2-2 [736 kB] Get: 106 http://deb.debian.org/debian unstable/main i386 dh-python all 6.20240824 [109 kB] Get: 107 http://deb.debian.org/debian unstable/main i386 fonts-lmodern all 2.005-1 [4540 kB] Get: 108 http://deb.debian.org/debian unstable/main i386 libgs-common all 10.04.0~dfsg-1 [148 kB] Get: 109 http://deb.debian.org/debian unstable/main i386 libgs10-common all 10.04.0~dfsg-1 [474 kB] Get: 110 http://deb.debian.org/debian unstable/main i386 libavahi-common-data i386 0.8-13+b2 [112 kB] Get: 111 http://deb.debian.org/debian unstable/main i386 libavahi-common3 i386 0.8-13+b2 [45.3 kB] Get: 112 http://deb.debian.org/debian unstable/main i386 libdbus-1-3 i386 1.14.10-4+b1 [217 kB] Get: 113 http://deb.debian.org/debian unstable/main i386 libavahi-client3 i386 0.8-13+b2 [49.3 kB] Get: 114 http://deb.debian.org/debian unstable/main i386 libcups2t64 i386 2.4.10-2 [267 kB] Get: 115 http://deb.debian.org/debian unstable/main i386 libidn12 i386 1.42-2 [81.3 kB] Get: 116 http://deb.debian.org/debian unstable/main i386 libijs-0.35 i386 0.35-15.1+b1 [15.7 kB] Get: 117 http://deb.debian.org/debian unstable/main i386 libjbig2dec0 i386 0.20-1+b2 [66.5 kB] Get: 118 http://deb.debian.org/debian unstable/main i386 libpaper1 i386 1.1.29+b1 [13.0 kB] Get: 119 http://deb.debian.org/debian unstable/main i386 libice6 i386 2:1.0.10-1+b1 [58.6 kB] Get: 120 http://deb.debian.org/debian unstable/main i386 libsm6 i386 2:1.2.3-1+b1 [33.9 kB] Get: 121 http://deb.debian.org/debian unstable/main i386 libxt6t64 i386 1:1.2.1-1.2 [193 kB] Get: 122 http://deb.debian.org/debian unstable/main i386 libgs10 i386 10.04.0~dfsg-1 [2708 kB] Get: 123 http://deb.debian.org/debian unstable/main i386 ghostscript i386 10.04.0~dfsg-1 [50.3 kB] Get: 124 http://deb.debian.org/debian unstable/main i386 libnetpbm11t64 i386 2:11.07.00-2 [188 kB] Get: 125 http://deb.debian.org/debian unstable/main i386 netpbm i386 2:11.07.00-2 [2080 kB] Get: 126 http://deb.debian.org/debian unstable/main i386 tex-common all 6.18 [32.5 kB] Get: 127 http://deb.debian.org/debian unstable/main i386 libpaper-utils i386 1.1.29+b1 [9280 B] Get: 128 http://deb.debian.org/debian unstable/main i386 libkpathsea6 i386 2024.20240313.70630+ds-4 [160 kB] Get: 129 http://deb.debian.org/debian unstable/main i386 libptexenc1 i386 2024.20240313.70630+ds-4 [50.0 kB] Get: 130 http://deb.debian.org/debian unstable/main i386 libsynctex2 i386 2024.20240313.70630+ds-4 [65.5 kB] Get: 131 http://deb.debian.org/debian unstable/main i386 libtexlua53-5 i386 2024.20240313.70630+ds-4 [129 kB] Get: 132 http://deb.debian.org/debian unstable/main i386 t1utils i386 1.41-4 [62.3 kB] Get: 133 http://deb.debian.org/debian unstable/main i386 libpixman-1-0 i386 0.42.2-1+b1 [555 kB] Get: 134 http://deb.debian.org/debian unstable/main i386 libxcb-render0 i386 1.17.0-2 [116 kB] Get: 135 http://deb.debian.org/debian unstable/main i386 libxcb-shm0 i386 1.17.0-2 [105 kB] Get: 136 http://deb.debian.org/debian unstable/main i386 libxrender1 i386 1:0.9.10-1.1+b1 [28.8 kB] Get: 137 http://deb.debian.org/debian unstable/main i386 libcairo2 i386 1.18.2-2 [591 kB] Get: 138 http://deb.debian.org/debian unstable/main i386 libgraphite2-3 i386 1.3.14-2 [77.7 kB] Get: 139 http://deb.debian.org/debian unstable/main i386 libharfbuzz0b i386 10.0.1-1 [503 kB] Get: 140 http://deb.debian.org/debian unstable/main i386 libmpfi0 i386 1.5.4+ds-3 [38.5 kB] Get: 141 http://deb.debian.org/debian unstable/main i386 libpotrace0 i386 1.16-2+b1 [24.2 kB] Get: 142 http://deb.debian.org/debian unstable/main i386 libteckit0 i386 2.5.12+ds1-1 [284 kB] Get: 143 http://deb.debian.org/debian unstable/main i386 libxmu6 i386 2:1.1.3-3+b2 [60.5 kB] Get: 144 http://deb.debian.org/debian unstable/main i386 libxpm4 i386 1:3.5.17-1+b1 [57.8 kB] Get: 145 http://deb.debian.org/debian unstable/main i386 libxaw7 i386 2:1.0.14-1+b2 [208 kB] Get: 146 http://deb.debian.org/debian unstable/main i386 libxi6 i386 2:1.8.2-1 [81.2 kB] Get: 147 http://deb.debian.org/debian unstable/main i386 libzzip-0-13t64 i386 0.13.72+dfsg.1-1.3 [58.0 kB] Get: 148 http://deb.debian.org/debian unstable/main i386 texlive-binaries i386 2024.20240313.70630+ds-4 [8377 kB] Get: 149 http://deb.debian.org/debian unstable/main i386 xdg-utils all 1.1.3-4.1 [75.5 kB] Get: 150 http://deb.debian.org/debian unstable/main i386 texlive-base all 2024.20240829-2 [22.7 MB] Get: 151 http://deb.debian.org/debian unstable/main i386 hicolor-icon-theme all 0.18-1 [12.0 kB] Get: 152 http://deb.debian.org/debian unstable/main i386 imagemagick-6.q16 i386 8:6.9.13.12+dfsg1-1+b1 [290 kB] Get: 153 http://deb.debian.org/debian unstable/main i386 imagemagick i386 8:6.9.13.12+dfsg1-1+b1 [19.9 kB] Get: 154 http://deb.debian.org/debian unstable/main i386 libstdlib-ocaml i386 5.2.0-3 [503 kB] Get: 155 http://deb.debian.org/debian unstable/main i386 ocaml-base i386 5.2.0-3 [470 kB] Get: 156 http://deb.debian.org/debian unstable/main i386 hevea i386 2.36-2+b2 [898 kB] Get: 157 http://deb.debian.org/debian unstable/main i386 libapache-pom-java all 29-2 [5276 B] Get: 158 http://deb.debian.org/debian unstable/main i386 libcommons-parent-java all 56-1 [10.8 kB] Get: 159 http://deb.debian.org/debian unstable/main i386 libcommons-logging-java all 1.3.0-1 [68.6 kB] Get: 160 http://deb.debian.org/debian unstable/main i386 libstdlib-ocaml-dev i386 5.2.0-3 [10.3 MB] Get: 161 http://deb.debian.org/debian unstable/main i386 libcompiler-libs-ocaml-dev i386 5.2.0-3 [32.0 MB] Get: 162 http://deb.debian.org/debian unstable/main i386 libfindlib-ocaml i386 1.9.6-3 [128 kB] Get: 163 http://deb.debian.org/debian unstable/main i386 libfontbox-java all 1:1.8.16-5 [211 kB] Get: 164 http://deb.debian.org/debian unstable/main i386 ocaml-interp i386 5.2.0-3 [6850 kB] Get: 165 http://deb.debian.org/debian unstable/main i386 libncurses6 i386 6.5-2 [111 kB] Get: 166 http://deb.debian.org/debian unstable/main i386 libncurses-dev i386 6.5-2 [380 kB] Get: 167 http://deb.debian.org/debian unstable/main i386 libzstd-dev i386 1.5.6+dfsg-1 [352 kB] Get: 168 http://deb.debian.org/debian unstable/main i386 ocaml i386 5.2.0-3 [1472 kB] Get: 169 http://deb.debian.org/debian unstable/main i386 libmenhir-ocaml-dev i386 20240715+ds-1 [809 kB] Get: 170 http://deb.debian.org/debian unstable/main i386 libparmap-ocaml i386 1.2.5-3+b2 [62.4 kB] Get: 171 http://deb.debian.org/debian unstable/main i386 libparmap-ocaml-dev i386 1.2.5-3+b2 [217 kB] Get: 172 http://deb.debian.org/debian unstable/main i386 libpdfbox-java all 1:1.8.16-5 [5527 kB] Get: 173 http://deb.debian.org/debian unstable/main i386 libpkgconf3 i386 1.8.1-4 [38.4 kB] Get: 174 http://deb.debian.org/debian unstable/main i386 libstdcompat-ocaml i386 20~git20240529-1+b1 [16.3 kB] Get: 175 http://deb.debian.org/debian unstable/main i386 libpyml-ocaml i386 20231101-1+b2 [362 kB] Get: 176 http://deb.debian.org/debian unstable/main i386 libstdcompat-ocaml-dev i386 20~git20240529-1+b1 [1437 kB] Get: 177 http://deb.debian.org/debian unstable/main i386 libpyml-ocaml-dev i386 20231101-1+b2 [1163 kB] Get: 178 http://deb.debian.org/debian unstable/main i386 menhir i386 20240715+ds-1 [405 kB] Get: 179 http://deb.debian.org/debian unstable/main i386 ocaml-findlib i386 1.9.6-3 [296 kB] Get: 180 http://deb.debian.org/debian unstable/main i386 pkgconf-bin i386 1.8.1-4 [30.6 kB] Get: 181 http://deb.debian.org/debian unstable/main i386 pkgconf i386 1.8.1-4 [26.2 kB] Get: 182 http://deb.debian.org/debian unstable/main i386 preview-latex-style all 13.2-1 [350 kB] Get: 183 http://deb.debian.org/debian unstable/main i386 texlive-fonts-extra all 2024.20240829-1 [627 MB] Get: 184 http://deb.debian.org/debian unstable/main i386 texlive-fonts-recommended all 2024.20240829-2 [4990 kB] Get: 185 http://deb.debian.org/debian unstable/main i386 texlive-latex-base all 2024.20240829-2 [1273 kB] Get: 186 http://deb.debian.org/debian unstable/main i386 texlive-latex-recommended all 2024.20240829-2 [8845 kB] Get: 187 http://deb.debian.org/debian unstable/main i386 texlive-pictures all 2024.20240829-2 [17.0 MB] Get: 188 http://deb.debian.org/debian unstable/main i386 texlive-latex-extra all 2024.20240829-1 [20.9 MB] Fetched 844 MB in 13s (66.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19933 files and directories currently installed.) Preparing to unpack .../00-libfftw3-double3_3.3.10-1+b3_i386.deb ... Unpacking libfftw3-double3:i386 (3.3.10-1+b3) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../01-libexpat1_2.6.3-1_i386.deb ... Unpacking libexpat1:i386 (2.6.3-1) ... Selecting previously unselected package libbrotli1:i386. Preparing to unpack .../02-libbrotli1_1.1.0-2+b4_i386.deb ... Unpacking libbrotli1:i386 (1.1.0-2+b4) ... Selecting previously unselected package libpng16-16t64:i386. Preparing to unpack .../03-libpng16-16t64_1.6.44-2_i386.deb ... Unpacking libpng16-16t64:i386 (1.6.44-2) ... Selecting previously unselected package libfreetype6:i386. Preparing to unpack .../04-libfreetype6_2.13.3+dfsg-1_i386.deb ... Unpacking libfreetype6:i386 (2.13.3+dfsg-1) ... Selecting previously unselected package libfontenc1:i386. Preparing to unpack .../05-libfontenc1_1%3a1.1.8-1_i386.deb ... Unpacking libfontenc1:i386 (1:1.1.8-1) ... Selecting previously unselected package x11-common. Preparing to unpack .../06-x11-common_1%3a7.7+23.1_all.deb ... Unpacking x11-common (1:7.7+23.1) ... Selecting previously unselected package xfonts-encodings. Preparing to unpack .../07-xfonts-encodings_1%3a1.0.4-2.2_all.deb ... Unpacking xfonts-encodings (1:1.0.4-2.2) ... Selecting previously unselected package xfonts-utils. Preparing to unpack .../08-xfonts-utils_1%3a7.7+7_i386.deb ... Unpacking xfonts-utils (1:7.7+7) ... Selecting previously unselected package fonts-urw-base35. Preparing to unpack .../09-fonts-urw-base35_20200910-8_all.deb ... Unpacking fonts-urw-base35 (20200910-8) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../10-fontconfig-config_2.15.0-1.1_i386.deb ... Unpacking fontconfig-config (2.15.0-1.1) ... Selecting previously unselected package libfontconfig1:i386. Preparing to unpack .../11-libfontconfig1_2.15.0-1.1_i386.deb ... Unpacking libfontconfig1:i386 (2.15.0-1.1) ... Selecting previously unselected package libsharpyuv0:i386. Preparing to unpack .../12-libsharpyuv0_1.4.0-0.1_i386.deb ... Unpacking libsharpyuv0:i386 (1.4.0-0.1) ... Selecting previously unselected package libdav1d7:i386. Preparing to unpack .../13-libdav1d7_1.4.3-1_i386.deb ... Unpacking libdav1d7:i386 (1.4.3-1) ... Selecting previously unselected package libheif-plugin-dav1d:i386. Preparing to unpack .../14-libheif-plugin-dav1d_1.18.2-2_i386.deb ... Unpacking libheif-plugin-dav1d:i386 (1.18.2-2) ... Selecting previously unselected package libde265-0:i386. Preparing to unpack .../15-libde265-0_1.0.15-1+b2_i386.deb ... Unpacking libde265-0:i386 (1.0.15-1+b2) ... Selecting previously unselected package libheif-plugin-libde265:i386. Preparing to unpack .../16-libheif-plugin-libde265_1.18.2-2_i386.deb ... Unpacking libheif-plugin-libde265:i386 (1.18.2-2) ... Selecting previously unselected package libheif1:i386. Preparing to unpack .../17-libheif1_1.18.2-2_i386.deb ... Unpacking libheif1:i386 (1.18.2-2) ... Selecting previously unselected package libjbig0:i386. Preparing to unpack .../18-libjbig0_2.1-6.1+b1_i386.deb ... Unpacking libjbig0:i386 (2.1-6.1+b1) ... Selecting previously unselected package libjpeg62-turbo:i386. Preparing to unpack .../19-libjpeg62-turbo_1%3a2.1.5-3_i386.deb ... Unpacking libjpeg62-turbo:i386 (1:2.1.5-3) ... Selecting previously unselected package liblcms2-2:i386. Preparing to unpack .../20-liblcms2-2_2.16-2_i386.deb ... Unpacking liblcms2-2:i386 (2.16-2) ... Selecting previously unselected package libglib2.0-0t64:i386. Preparing to unpack .../21-libglib2.0-0t64_2.82.2-1_i386.deb ... Unpacking libglib2.0-0t64:i386 (2.82.2-1) ... Selecting previously unselected package liblqr-1-0:i386. Preparing to unpack .../22-liblqr-1-0_0.4.2-2.1+b1_i386.deb ... Unpacking liblqr-1-0:i386 (0.4.2-2.1+b1) ... Selecting previously unselected package libltdl7:i386. Preparing to unpack .../23-libltdl7_2.4.7-7+b1_i386.deb ... Unpacking libltdl7:i386 (2.4.7-7+b1) ... Selecting previously unselected package libopenjp2-7:i386. Preparing to unpack .../24-libopenjp2-7_2.5.0-2+b3_i386.deb ... Unpacking libopenjp2-7:i386 (2.5.0-2+b3) ... Selecting previously unselected package libraw23t64:i386. Preparing to unpack .../25-libraw23t64_0.21.2-2.1_i386.deb ... Unpacking libraw23t64:i386 (0.21.2-2.1) ... Selecting previously unselected package libdeflate0:i386. Preparing to unpack .../26-libdeflate0_1.22-1_i386.deb ... Unpacking libdeflate0:i386 (1.22-1) ... Selecting previously unselected package liblerc4:i386. Preparing to unpack .../27-liblerc4_4.0.0+ds-4+b1_i386.deb ... Unpacking liblerc4:i386 (4.0.0+ds-4+b1) ... Selecting previously unselected package libwebp7:i386. Preparing to unpack .../28-libwebp7_1.4.0-0.1_i386.deb ... Unpacking libwebp7:i386 (1.4.0-0.1) ... Selecting previously unselected package libtiff6:i386. Preparing to unpack .../29-libtiff6_4.5.1+git230720-5_i386.deb ... Unpacking libtiff6:i386 (4.5.1+git230720-5) ... Selecting previously unselected package libwebpdemux2:i386. Preparing to unpack .../30-libwebpdemux2_1.4.0-0.1_i386.deb ... Unpacking libwebpdemux2:i386 (1.4.0-0.1) ... Selecting previously unselected package libwebpmux3:i386. Preparing to unpack .../31-libwebpmux3_1.4.0-0.1_i386.deb ... Unpacking libwebpmux3:i386 (1.4.0-0.1) ... Selecting previously unselected package libxau6:i386. Preparing to unpack .../32-libxau6_1%3a1.0.9-1+b1_i386.deb ... Unpacking libxau6:i386 (1:1.0.9-1+b1) ... Selecting previously unselected package libxdmcp6:i386. Preparing to unpack .../33-libxdmcp6_1%3a1.1.2-3+b1_i386.deb ... Unpacking libxdmcp6:i386 (1:1.1.2-3+b1) ... Selecting previously unselected package libxcb1:i386. Preparing to unpack .../34-libxcb1_1.17.0-2_i386.deb ... Unpacking libxcb1:i386 (1.17.0-2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../35-libx11-data_2%3a1.8.7-1_all.deb ... Unpacking libx11-data (2:1.8.7-1) ... Selecting previously unselected package libx11-6:i386. Preparing to unpack .../36-libx11-6_2%3a1.8.7-1+b1_i386.deb ... Unpacking libx11-6:i386 (2:1.8.7-1+b1) ... Selecting previously unselected package libxext6:i386. Preparing to unpack .../37-libxext6_2%3a1.3.4-1+b2_i386.deb ... Unpacking libxext6:i386 (2:1.3.4-1+b2) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../38-libicu72_72.1-5_i386.deb ... Unpacking libicu72:i386 (72.1-5) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../39-libxml2_2.12.7+dfsg+really2.9.14-0.1_i386.deb ... Unpacking libxml2:i386 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package imagemagick-6-common. Preparing to unpack .../40-imagemagick-6-common_8%3a6.9.13.12+dfsg1-1_all.deb ... Unpacking imagemagick-6-common (8:6.9.13.12+dfsg1-1) ... Selecting previously unselected package libmagickcore-6.q16-7t64:i386. Preparing to unpack .../41-libmagickcore-6.q16-7t64_8%3a6.9.13.12+dfsg1-1+b1_i386.deb ... Unpacking libmagickcore-6.q16-7t64:i386 (8:6.9.13.12+dfsg1-1+b1) ... Selecting previously unselected package libmagickwand-6.q16-7t64:i386. Preparing to unpack .../42-libmagickwand-6.q16-7t64_8%3a6.9.13.12+dfsg1-1+b1_i386.deb ... Unpacking libmagickwand-6.q16-7t64:i386 (8:6.9.13.12+dfsg1-1+b1) ... Selecting previously unselected package poppler-data. Preparing to unpack .../43-poppler-data_0.4.12-1_all.deb ... Unpacking poppler-data (0.4.12-1) ... Selecting previously unselected package libpython3.12-minimal:i386. Preparing to unpack .../44-libpython3.12-minimal_3.12.7-1_i386.deb ... Unpacking libpython3.12-minimal:i386 (3.12.7-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../45-python3.12-minimal_3.12.7-1_i386.deb ... Unpacking python3.12-minimal (3.12.7-1) ... Setting up libpython3.12-minimal:i386 (3.12.7-1) ... Setting up libexpat1:i386 (2.6.3-1) ... Setting up python3.12-minimal (3.12.7-1) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21994 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.6-1_i386.deb ... Unpacking python3-minimal (3.12.6-1) ... Selecting previously unselected package media-types. Preparing to unpack .../01-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../02-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../03-tzdata_2024b-3_all.deb ... Unpacking tzdata (2024b-3) ... Selecting previously unselected package libkrb5support0:i386. Preparing to unpack .../04-libkrb5support0_1.21.3-3_i386.deb ... Unpacking libkrb5support0:i386 (1.21.3-3) ... Selecting previously unselected package libcom-err2:i386. Preparing to unpack .../05-libcom-err2_1.47.1-1_i386.deb ... Unpacking libcom-err2:i386 (1.47.1-1) ... Selecting previously unselected package libk5crypto3:i386. Preparing to unpack .../06-libk5crypto3_1.21.3-3_i386.deb ... Unpacking libk5crypto3:i386 (1.21.3-3) ... Selecting previously unselected package libkeyutils1:i386. Preparing to unpack .../07-libkeyutils1_1.6.3-3.1_i386.deb ... Unpacking libkeyutils1:i386 (1.6.3-3.1) ... Selecting previously unselected package libkrb5-3:i386. Preparing to unpack .../08-libkrb5-3_1.21.3-3_i386.deb ... Unpacking libkrb5-3:i386 (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:i386. Preparing to unpack .../09-libgssapi-krb5-2_1.21.3-3_i386.deb ... Unpacking libgssapi-krb5-2:i386 (1.21.3-3) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../10-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:i386. Preparing to unpack .../11-libtirpc3t64_1.3.4+ds-1.3_i386.deb ... Adding 'diversion of /lib/i386-linux-gnu/libtirpc.so.3 to /lib/i386-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/i386-linux-gnu/libtirpc.so.3.0.0 to /lib/i386-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:i386 (1.3.4+ds-1.3) ... Selecting previously unselected package libnsl2:i386. Preparing to unpack .../12-libnsl2_1.3.0-3+b2_i386.deb ... Unpacking libnsl2:i386 (1.3.0-3+b2) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_8.2-5_all.deb ... Unpacking readline-common (8.2-5) ... Selecting previously unselected package libreadline8t64:i386. Preparing to unpack .../14-libreadline8t64_8.2-5_i386.deb ... Adding 'diversion of /lib/i386-linux-gnu/libhistory.so.8 to /lib/i386-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libhistory.so.8.2 to /lib/i386-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libreadline.so.8 to /lib/i386-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libreadline.so.8.2 to /lib/i386-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:i386 (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:i386. Preparing to unpack .../15-libpython3.12-stdlib_3.12.7-1_i386.deb ... Unpacking libpython3.12-stdlib:i386 (3.12.7-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../16-python3.12_3.12.7-1_i386.deb ... Unpacking python3.12 (3.12.7-1) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../17-libpython3-stdlib_3.12.6-1_i386.deb ... Unpacking libpython3-stdlib:i386 (3.12.6-1) ... Setting up python3-minimal (3.12.6-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23054 files and directories currently installed.) Preparing to unpack .../000-python3_3.12.6-1_i386.deb ... Unpacking python3 (3.12.6-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../001-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../002-libmagic-mgc_1%3a5.45-3_i386.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:i386. Preparing to unpack .../003-libmagic1t64_1%3a5.45-3_i386.deb ... Unpacking libmagic1t64:i386 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../004-file_1%3a5.45-3_i386.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../005-gettext-base_0.22.5-2_i386.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../006-libuchardet0_0.0.8-1+b1_i386.deb ... Unpacking libuchardet0:i386 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../007-groff-base_1.23.0-5_i386.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../008-bsdextrautils_2.40.2-9_i386.deb ... Unpacking bsdextrautils (2.40.2-9) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../009-libpipeline1_1.5.8-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../010-man-db_2.13.0-1_i386.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package ucf. Preparing to unpack .../011-ucf_3.0043+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0043+nmu1) ... Selecting previously unselected package m4. Preparing to unpack .../012-m4_1.4.19-4_i386.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../013-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../014-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../015-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../016-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../017-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../018-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../019-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../020-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../021-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../022-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:i386. Preparing to unpack .../023-libelf1t64_0.192-4_i386.deb ... Unpacking libelf1t64:i386 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../024-dwz_0.15-1+b1_i386.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../025-gettext_0.22.5-2_i386.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../026-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../027-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../028-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package libconfig-tiny-perl. Preparing to unpack .../029-libconfig-tiny-perl_2.30-1_all.deb ... Unpacking libconfig-tiny-perl (2.30-1) ... Selecting previously unselected package dh-ocaml. Preparing to unpack .../030-dh-ocaml_2.4_all.deb ... Unpacking dh-ocaml (2.4) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../031-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../032-python3-more-itertools_10.5.0-1_all.deb ... Unpacking python3-more-itertools (10.5.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../033-python3-typing-extensions_4.12.2-2_all.deb ... Unpacking python3-typing-extensions (4.12.2-2) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../034-python3-typeguard_4.3.0-1_all.deb ... Unpacking python3-typeguard (4.3.0-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../035-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../036-python3-jaraco.context_6.0.0-1_all.deb ... Unpacking python3-jaraco.context (6.0.0-1) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../037-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../038-python3-pkg-resources_74.1.2-2_all.deb ... Unpacking python3-pkg-resources (74.1.2-2) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../039-python3-zipp_3.20.2-1_all.deb ... Unpacking python3-zipp (3.20.2-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../040-python3-setuptools_74.1.2-2_all.deb ... Unpacking python3-setuptools (74.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../041-dh-python_6.20240824_all.deb ... Unpacking dh-python (6.20240824) ... Selecting previously unselected package fonts-lmodern. Preparing to unpack .../042-fonts-lmodern_2.005-1_all.deb ... Unpacking fonts-lmodern (2.005-1) ... Selecting previously unselected package libgs-common. Preparing to unpack .../043-libgs-common_10.04.0~dfsg-1_all.deb ... Unpacking libgs-common (10.04.0~dfsg-1) ... Selecting previously unselected package libgs10-common. Preparing to unpack .../044-libgs10-common_10.04.0~dfsg-1_all.deb ... Unpacking libgs10-common (10.04.0~dfsg-1) ... Selecting previously unselected package libavahi-common-data:i386. Preparing to unpack .../045-libavahi-common-data_0.8-13+b2_i386.deb ... Unpacking libavahi-common-data:i386 (0.8-13+b2) ... Selecting previously unselected package libavahi-common3:i386. Preparing to unpack .../046-libavahi-common3_0.8-13+b2_i386.deb ... Unpacking libavahi-common3:i386 (0.8-13+b2) ... Selecting previously unselected package libdbus-1-3:i386. Preparing to unpack .../047-libdbus-1-3_1.14.10-4+b1_i386.deb ... Unpacking libdbus-1-3:i386 (1.14.10-4+b1) ... Selecting previously unselected package libavahi-client3:i386. Preparing to unpack .../048-libavahi-client3_0.8-13+b2_i386.deb ... Unpacking libavahi-client3:i386 (0.8-13+b2) ... Selecting previously unselected package libcups2t64:i386. Preparing to unpack .../049-libcups2t64_2.4.10-2_i386.deb ... Unpacking libcups2t64:i386 (2.4.10-2) ... Selecting previously unselected package libidn12:i386. Preparing to unpack .../050-libidn12_1.42-2_i386.deb ... Unpacking libidn12:i386 (1.42-2) ... Selecting previously unselected package libijs-0.35:i386. Preparing to unpack .../051-libijs-0.35_0.35-15.1+b1_i386.deb ... Unpacking libijs-0.35:i386 (0.35-15.1+b1) ... Selecting previously unselected package libjbig2dec0:i386. Preparing to unpack .../052-libjbig2dec0_0.20-1+b2_i386.deb ... Unpacking libjbig2dec0:i386 (0.20-1+b2) ... Selecting previously unselected package libpaper1:i386. Preparing to unpack .../053-libpaper1_1.1.29+b1_i386.deb ... Unpacking libpaper1:i386 (1.1.29+b1) ... Selecting previously unselected package libice6:i386. Preparing to unpack .../054-libice6_2%3a1.0.10-1+b1_i386.deb ... Unpacking libice6:i386 (2:1.0.10-1+b1) ... Selecting previously unselected package libsm6:i386. Preparing to unpack .../055-libsm6_2%3a1.2.3-1+b1_i386.deb ... Unpacking libsm6:i386 (2:1.2.3-1+b1) ... Selecting previously unselected package libxt6t64:i386. Preparing to unpack .../056-libxt6t64_1%3a1.2.1-1.2_i386.deb ... Unpacking libxt6t64:i386 (1:1.2.1-1.2) ... Selecting previously unselected package libgs10:i386. Preparing to unpack .../057-libgs10_10.04.0~dfsg-1_i386.deb ... Unpacking libgs10:i386 (10.04.0~dfsg-1) ... Selecting previously unselected package ghostscript. Preparing to unpack .../058-ghostscript_10.04.0~dfsg-1_i386.deb ... Unpacking ghostscript (10.04.0~dfsg-1) ... Selecting previously unselected package libnetpbm11t64:i386. Preparing to unpack .../059-libnetpbm11t64_2%3a11.07.00-2_i386.deb ... Unpacking libnetpbm11t64:i386 (2:11.07.00-2) ... Selecting previously unselected package netpbm. Preparing to unpack .../060-netpbm_2%3a11.07.00-2_i386.deb ... Unpacking netpbm (2:11.07.00-2) ... Selecting previously unselected package tex-common. Preparing to unpack .../061-tex-common_6.18_all.deb ... Unpacking tex-common (6.18) ... Selecting previously unselected package libpaper-utils. Preparing to unpack .../062-libpaper-utils_1.1.29+b1_i386.deb ... Unpacking libpaper-utils (1.1.29+b1) ... Selecting previously unselected package libkpathsea6:i386. Preparing to unpack .../063-libkpathsea6_2024.20240313.70630+ds-4_i386.deb ... Unpacking libkpathsea6:i386 (2024.20240313.70630+ds-4) ... Selecting previously unselected package libptexenc1:i386. Preparing to unpack .../064-libptexenc1_2024.20240313.70630+ds-4_i386.deb ... Unpacking libptexenc1:i386 (2024.20240313.70630+ds-4) ... Selecting previously unselected package libsynctex2:i386. Preparing to unpack .../065-libsynctex2_2024.20240313.70630+ds-4_i386.deb ... Unpacking libsynctex2:i386 (2024.20240313.70630+ds-4) ... Selecting previously unselected package libtexlua53-5:i386. Preparing to unpack .../066-libtexlua53-5_2024.20240313.70630+ds-4_i386.deb ... Unpacking libtexlua53-5:i386 (2024.20240313.70630+ds-4) ... Selecting previously unselected package t1utils. Preparing to unpack .../067-t1utils_1.41-4_i386.deb ... Unpacking t1utils (1.41-4) ... Selecting previously unselected package libpixman-1-0:i386. Preparing to unpack .../068-libpixman-1-0_0.42.2-1+b1_i386.deb ... Unpacking libpixman-1-0:i386 (0.42.2-1+b1) ... Selecting previously unselected package libxcb-render0:i386. Preparing to unpack .../069-libxcb-render0_1.17.0-2_i386.deb ... Unpacking libxcb-render0:i386 (1.17.0-2) ... Selecting previously unselected package libxcb-shm0:i386. Preparing to unpack .../070-libxcb-shm0_1.17.0-2_i386.deb ... Unpacking libxcb-shm0:i386 (1.17.0-2) ... Selecting previously unselected package libxrender1:i386. Preparing to unpack .../071-libxrender1_1%3a0.9.10-1.1+b1_i386.deb ... Unpacking libxrender1:i386 (1:0.9.10-1.1+b1) ... Selecting previously unselected package libcairo2:i386. Preparing to unpack .../072-libcairo2_1.18.2-2_i386.deb ... Unpacking libcairo2:i386 (1.18.2-2) ... Selecting previously unselected package libgraphite2-3:i386. Preparing to unpack .../073-libgraphite2-3_1.3.14-2_i386.deb ... Unpacking libgraphite2-3:i386 (1.3.14-2) ... Selecting previously unselected package libharfbuzz0b:i386. Preparing to unpack .../074-libharfbuzz0b_10.0.1-1_i386.deb ... Unpacking libharfbuzz0b:i386 (10.0.1-1) ... Selecting previously unselected package libmpfi0:i386. Preparing to unpack .../075-libmpfi0_1.5.4+ds-3_i386.deb ... Unpacking libmpfi0:i386 (1.5.4+ds-3) ... Selecting previously unselected package libpotrace0:i386. Preparing to unpack .../076-libpotrace0_1.16-2+b1_i386.deb ... Unpacking libpotrace0:i386 (1.16-2+b1) ... Selecting previously unselected package libteckit0:i386. Preparing to unpack .../077-libteckit0_2.5.12+ds1-1_i386.deb ... Unpacking libteckit0:i386 (2.5.12+ds1-1) ... Selecting previously unselected package libxmu6:i386. Preparing to unpack .../078-libxmu6_2%3a1.1.3-3+b2_i386.deb ... Unpacking libxmu6:i386 (2:1.1.3-3+b2) ... Selecting previously unselected package libxpm4:i386. Preparing to unpack .../079-libxpm4_1%3a3.5.17-1+b1_i386.deb ... Unpacking libxpm4:i386 (1:3.5.17-1+b1) ... Selecting previously unselected package libxaw7:i386. Preparing to unpack .../080-libxaw7_2%3a1.0.14-1+b2_i386.deb ... Unpacking libxaw7:i386 (2:1.0.14-1+b2) ... Selecting previously unselected package libxi6:i386. Preparing to unpack .../081-libxi6_2%3a1.8.2-1_i386.deb ... Unpacking libxi6:i386 (2:1.8.2-1) ... Selecting previously unselected package libzzip-0-13t64:i386. Preparing to unpack .../082-libzzip-0-13t64_0.13.72+dfsg.1-1.3_i386.deb ... Unpacking libzzip-0-13t64:i386 (0.13.72+dfsg.1-1.3) ... Selecting previously unselected package texlive-binaries. Preparing to unpack .../083-texlive-binaries_2024.20240313.70630+ds-4_i386.deb ... Unpacking texlive-binaries (2024.20240313.70630+ds-4) ... Selecting previously unselected package xdg-utils. Preparing to unpack .../084-xdg-utils_1.1.3-4.1_all.deb ... Unpacking xdg-utils (1.1.3-4.1) ... Selecting previously unselected package texlive-base. Preparing to unpack .../085-texlive-base_2024.20240829-2_all.deb ... Unpacking texlive-base (2024.20240829-2) ... Selecting previously unselected package hicolor-icon-theme. Preparing to unpack .../086-hicolor-icon-theme_0.18-1_all.deb ... Unpacking hicolor-icon-theme (0.18-1) ... Selecting previously unselected package imagemagick-6.q16. Preparing to unpack .../087-imagemagick-6.q16_8%3a6.9.13.12+dfsg1-1+b1_i386.deb ... Unpacking imagemagick-6.q16 (8:6.9.13.12+dfsg1-1+b1) ... Selecting previously unselected package imagemagick. Preparing to unpack .../088-imagemagick_8%3a6.9.13.12+dfsg1-1+b1_i386.deb ... Unpacking imagemagick (8:6.9.13.12+dfsg1-1+b1) ... Selecting previously unselected package libstdlib-ocaml. Preparing to unpack .../089-libstdlib-ocaml_5.2.0-3_i386.deb ... Unpacking libstdlib-ocaml (5.2.0-3) ... Selecting previously unselected package ocaml-base. Preparing to unpack .../090-ocaml-base_5.2.0-3_i386.deb ... Unpacking ocaml-base (5.2.0-3) ... Selecting previously unselected package hevea. Preparing to unpack .../091-hevea_2.36-2+b2_i386.deb ... Unpacking hevea (2.36-2+b2) ... Selecting previously unselected package libapache-pom-java. Preparing to unpack .../092-libapache-pom-java_29-2_all.deb ... Unpacking libapache-pom-java (29-2) ... Selecting previously unselected package libcommons-parent-java. Preparing to unpack .../093-libcommons-parent-java_56-1_all.deb ... Unpacking libcommons-parent-java (56-1) ... Selecting previously unselected package libcommons-logging-java. Preparing to unpack .../094-libcommons-logging-java_1.3.0-1_all.deb ... Unpacking libcommons-logging-java (1.3.0-1) ... Selecting previously unselected package libstdlib-ocaml-dev. Preparing to unpack .../095-libstdlib-ocaml-dev_5.2.0-3_i386.deb ... Unpacking libstdlib-ocaml-dev (5.2.0-3) ... Selecting previously unselected package libcompiler-libs-ocaml-dev. Preparing to unpack .../096-libcompiler-libs-ocaml-dev_5.2.0-3_i386.deb ... Unpacking libcompiler-libs-ocaml-dev (5.2.0-3) ... Selecting previously unselected package libfindlib-ocaml. Preparing to unpack .../097-libfindlib-ocaml_1.9.6-3_i386.deb ... Unpacking libfindlib-ocaml (1.9.6-3) ... Selecting previously unselected package libfontbox-java. Preparing to unpack .../098-libfontbox-java_1%3a1.8.16-5_all.deb ... Unpacking libfontbox-java (1:1.8.16-5) ... Selecting previously unselected package ocaml-interp. Preparing to unpack .../099-ocaml-interp_5.2.0-3_i386.deb ... Unpacking ocaml-interp (5.2.0-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../100-libncurses6_6.5-2_i386.deb ... Unpacking libncurses6:i386 (6.5-2) ... Selecting previously unselected package libncurses-dev:i386. Preparing to unpack .../101-libncurses-dev_6.5-2_i386.deb ... Unpacking libncurses-dev:i386 (6.5-2) ... Selecting previously unselected package libzstd-dev:i386. Preparing to unpack .../102-libzstd-dev_1.5.6+dfsg-1_i386.deb ... Unpacking libzstd-dev:i386 (1.5.6+dfsg-1) ... Selecting previously unselected package ocaml. Preparing to unpack .../103-ocaml_5.2.0-3_i386.deb ... Unpacking ocaml (5.2.0-3) ... Selecting previously unselected package libmenhir-ocaml-dev. Preparing to unpack .../104-libmenhir-ocaml-dev_20240715+ds-1_i386.deb ... Unpacking libmenhir-ocaml-dev (20240715+ds-1) ... Selecting previously unselected package libparmap-ocaml. Preparing to unpack .../105-libparmap-ocaml_1.2.5-3+b2_i386.deb ... Unpacking libparmap-ocaml (1.2.5-3+b2) ... Selecting previously unselected package libparmap-ocaml-dev. Preparing to unpack .../106-libparmap-ocaml-dev_1.2.5-3+b2_i386.deb ... Unpacking libparmap-ocaml-dev (1.2.5-3+b2) ... Selecting previously unselected package libpdfbox-java. Preparing to unpack .../107-libpdfbox-java_1%3a1.8.16-5_all.deb ... Unpacking libpdfbox-java (1:1.8.16-5) ... Selecting previously unselected package libpkgconf3:i386. Preparing to unpack .../108-libpkgconf3_1.8.1-4_i386.deb ... Unpacking libpkgconf3:i386 (1.8.1-4) ... Selecting previously unselected package libstdcompat-ocaml. Preparing to unpack .../109-libstdcompat-ocaml_20~git20240529-1+b1_i386.deb ... Unpacking libstdcompat-ocaml (20~git20240529-1+b1) ... Selecting previously unselected package libpyml-ocaml. Preparing to unpack .../110-libpyml-ocaml_20231101-1+b2_i386.deb ... Unpacking libpyml-ocaml (20231101-1+b2) ... Selecting previously unselected package libstdcompat-ocaml-dev. Preparing to unpack .../111-libstdcompat-ocaml-dev_20~git20240529-1+b1_i386.deb ... Unpacking libstdcompat-ocaml-dev (20~git20240529-1+b1) ... Selecting previously unselected package libpyml-ocaml-dev. Preparing to unpack .../112-libpyml-ocaml-dev_20231101-1+b2_i386.deb ... Unpacking libpyml-ocaml-dev (20231101-1+b2) ... Selecting previously unselected package menhir. Preparing to unpack .../113-menhir_20240715+ds-1_i386.deb ... Unpacking menhir (20240715+ds-1) ... Selecting previously unselected package ocaml-findlib. Preparing to unpack .../114-ocaml-findlib_1.9.6-3_i386.deb ... Unpacking ocaml-findlib (1.9.6-3) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../115-pkgconf-bin_1.8.1-4_i386.deb ... Unpacking pkgconf-bin (1.8.1-4) ... Selecting previously unselected package pkgconf:i386. Preparing to unpack .../116-pkgconf_1.8.1-4_i386.deb ... Unpacking pkgconf:i386 (1.8.1-4) ... Selecting previously unselected package preview-latex-style. Preparing to unpack .../117-preview-latex-style_13.2-1_all.deb ... Unpacking preview-latex-style (13.2-1) ... Selecting previously unselected package texlive-fonts-extra. Preparing to unpack .../118-texlive-fonts-extra_2024.20240829-1_all.deb ... Unpacking texlive-fonts-extra (2024.20240829-1) ... Selecting previously unselected package texlive-fonts-recommended. Preparing to unpack .../119-texlive-fonts-recommended_2024.20240829-2_all.deb ... Unpacking texlive-fonts-recommended (2024.20240829-2) ... Selecting previously unselected package texlive-latex-base. Preparing to unpack .../120-texlive-latex-base_2024.20240829-2_all.deb ... Unpacking texlive-latex-base (2024.20240829-2) ... Selecting previously unselected package texlive-latex-recommended. Preparing to unpack .../121-texlive-latex-recommended_2024.20240829-2_all.deb ... Unpacking texlive-latex-recommended (2024.20240829-2) ... Selecting previously unselected package texlive-pictures. Preparing to unpack .../122-texlive-pictures_2024.20240829-2_all.deb ... Unpacking texlive-pictures (2024.20240829-2) ... Selecting previously unselected package texlive-latex-extra. Preparing to unpack .../123-texlive-latex-extra_2024.20240829-1_all.deb ... Unpacking texlive-latex-extra (2024.20240829-1) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:i386 (1.5.8-1) ... Setting up libgraphite2-3:i386 (1.3.14-2) ... Setting up liblcms2-2:i386 (2.16-2) ... Setting up libpixman-1-0:i386 (0.42.2-1+b1) ... Setting up libsharpyuv0:i386 (1.4.0-0.1) ... Setting up libxau6:i386 (1:1.0.9-1+b1) ... Setting up imagemagick-6-common (8:6.9.13.12+dfsg1-1) ... Setting up libxdmcp6:i386 (1:1.1.2-3+b1) ... Setting up libkeyutils1:i386 (1.6.3-3.1) ... Setting up libxcb1:i386 (1.17.0-2) ... Setting up libicu72:i386 (72.1-5) ... Setting up liblerc4:i386 (4.0.0+ds-4+b1) ... Setting up libzstd-dev:i386 (1.5.6+dfsg-1) ... Setting up bsdextrautils (2.40.2-9) ... Setting up hicolor-icon-theme (0.18-1) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libxcb-render0:i386 (1.17.0-2) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libtirpc-common (1.3.4+ds-1.3) ... Setting up libijs-0.35:i386 (0.35-15.1+b1) ... Setting up libdebhelper-perl (13.20) ... Setting up libgs-common (10.04.0~dfsg-1) ... Setting up libbrotli1:i386 (1.1.0-2+b4) ... Setting up libfontbox-java (1:1.8.16-5) ... Setting up libmagic1t64:i386 (1:5.45-3) ... Setting up x11-common (1:7.7+23.1) ... invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up libdeflate0:i386 (1.22-1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libxcb-shm0:i386 (1.17.0-2) ... Setting up libcom-err2:i386 (1.47.1-1) ... Setting up file (1:5.45-3) ... Setting up libconfig-tiny-perl (2.30-1) ... Setting up libjbig0:i386 (2.1-6.1+b1) ... Setting up libnetpbm11t64:i386 (2:11.07.00-2) ... Setting up libelf1t64:i386 (0.192-4) ... Setting up poppler-data (0.4.12-1) ... Setting up libkrb5support0:i386 (1.21.3-3) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Tue Nov 25 17:40:08 UTC 2025. Universal Time is now: Tue Nov 25 17:40:08 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libfontenc1:i386 (1:1.1.8-1) ... Setting up autotools-dev (20220109.1) ... Setting up libglib2.0-0t64:i386 (2.82.2-1) ... No schema files found: doing nothing. Setting up libpkgconf3:i386 (1.8.1-4) ... Setting up libjpeg62-turbo:i386 (1:2.1.5-3) ... Setting up libzzip-0-13t64:i386 (0.13.72+dfsg.1-1.3) ... Setting up libx11-data (2:1.8.7-1) ... Setting up libjbig2dec0:i386 (0.20-1+b2) ... Setting up libteckit0:i386 (2.5.12+ds1-1) ... Setting up libapache-pom-java (29-2) ... Setting up libavahi-common-data:i386 (0.8-13+b2) ... Setting up libncurses6:i386 (6.5-2) ... Setting up libdbus-1-3:i386 (1.14.10-4+b1) ... Setting up xfonts-encodings (1:1.0.4-2.2) ... Setting up t1utils (1.41-4) ... Setting up libtexlua53-5:i386 (2024.20240313.70630+ds-4) ... Setting up libstdlib-ocaml (5.2.0-3) ... Setting up libpng16-16t64:i386 (1.6.44-2) ... Setting up libidn12:i386 (1.42-2) ... Setting up autopoint (0.22.5-2) ... Setting up libmpfi0:i386 (1.5.4+ds-3) ... Setting up ocaml-base (5.2.0-3) ... Setting up pkgconf-bin (1.8.1-4) ... Setting up libk5crypto3:i386 (1.21.3-3) ... Setting up libltdl7:i386 (2.4.7-7+b1) ... Setting up libfftw3-double3:i386 (3.3.10-1+b3) ... Setting up libkpathsea6:i386 (2024.20240313.70630+ds-4) ... Setting up libraw23t64:i386 (0.21.2-2.1) ... Setting up autoconf (2.72-3) ... Setting up libwebp7:i386 (1.4.0-0.1) ... Setting up libstdcompat-ocaml (20~git20240529-1+b1) ... Setting up dwz (0.15-1+b1) ... Setting up libdav1d7:i386 (1.4.3-1) ... Setting up liblqr-1-0:i386 (0.4.2-2.1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libtiff6:i386 (4.5.1+git230720-5) ... Setting up libuchardet0:i386 (0.0.8-1+b1) ... Setting up fonts-lmodern (2.005-1) ... Setting up libopenjp2-7:i386 (2.5.0-2+b3) ... Setting up libx11-6:i386 (2:1.8.7-1+b1) ... Setting up netbase (6.4) ... Setting up libkrb5-3:i386 (1.21.3-3) ... Setting up libde265-0:i386 (1.0.15-1+b2) ... Setting up libwebpmux3:i386 (1.4.0-0.1) ... Setting up libparmap-ocaml (1.2.5-3+b2) ... Setting up readline-common (8.2-5) ... Setting up libxml2:i386 (2.12.7+dfsg+really2.9.14-0.1) ... Setting up xdg-utils (1.1.3-4.1) ... update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode Setting up menhir (20240715+ds-1) ... Setting up libsynctex2:i386 (2024.20240313.70630+ds-4) ... Setting up libpotrace0:i386 (1.16-2+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up libice6:i386 (2:1.0.10-1+b1) ... Setting up libncurses-dev:i386 (6.5-2) ... Setting up gettext (0.22.5-2) ... Setting up libpdfbox-java (1:1.8.16-5) ... Setting up libxpm4:i386 (1:3.5.17-1+b1) ... Setting up libxrender1:i386 (1:0.9.10-1.1+b1) ... Setting up libtool (2.4.7-7) ... Setting up libstdlib-ocaml-dev (5.2.0-3) ... Setting up libwebpdemux2:i386 (1.4.0-0.1) ... Setting up libcommons-parent-java (56-1) ... Setting up libavahi-common3:i386 (0.8-13+b2) ... Setting up dh-ocaml (2.4) ... Setting up libfindlib-ocaml (1.9.6-3) ... Setting up libcommons-logging-java (1.3.0-1) ... Setting up libxext6:i386 (2:1.3.4-1+b2) ... Setting up pkgconf:i386 (1.8.1-4) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libcompiler-libs-ocaml-dev (5.2.0-3) ... Setting up libpyml-ocaml (20231101-1+b2) ... Setting up ocaml-interp (5.2.0-3) ... Setting up libptexenc1:i386 (2024.20240313.70630+ds-4) ... Setting up libfreetype6:i386 (2.13.3+dfsg-1) ... Setting up ocaml-findlib (1.9.6-3) ... Setting up libgssapi-krb5-2:i386 (1.21.3-3) ... Setting up ucf (3.0043+nmu1) ... Setting up netpbm (2:11.07.00-2) ... Setting up libreadline8t64:i386 (8.2-5) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up libharfbuzz0b:i386 (10.0.1-1) ... Setting up libsm6:i386 (2:1.2.3-1+b1) ... Setting up libavahi-client3:i386 (0.8-13+b2) ... Setting up libpaper1:i386 (1.1.29+b1) ... Creating config file /etc/papersize with new version Setting up libxi6:i386 (2:1.8.2-1) ... Setting up libtirpc3t64:i386 (1.3.4+ds-1.3) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpaper-utils (1.1.29+b1) ... Setting up ocaml (5.2.0-3) ... Setting up xfonts-utils (1:7.7+7) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up tex-common (6.18) ... update-language: texlive-base not installed and configured, doing nothing! Setting up libmenhir-ocaml-dev (20240715+ds-1) ... Setting up libstdcompat-ocaml-dev (20~git20240529-1+b1) ... Setting up libparmap-ocaml-dev (1.2.5-3+b2) ... Setting up libxt6t64:i386 (1:1.2.1-1.2) ... Setting up libnsl2:i386 (1.3.0-3+b2) ... Setting up libcups2t64:i386 (2.4.10-2) ... Setting up libxmu6:i386 (2:1.1.3-3+b2) ... Setting up libpython3.12-stdlib:i386 (3.12.7-1) ... Setting up libpyml-ocaml-dev (20231101-1+b2) ... Setting up preview-latex-style (13.2-1) ... Setting up python3.12 (3.12.7-1) ... Setting up debhelper (13.20) ... Setting up libxaw7:i386 (2:1.0.14-1+b2) ... Setting up fonts-urw-base35 (20200910-8) ... Setting up libpython3-stdlib:i386 (3.12.6-1) ... Setting up libgs10-common (10.04.0~dfsg-1) ... Setting up fontconfig-config (2.15.0-1.1) ... Setting up python3 (3.12.6-1) ... Setting up python3-zipp (3.20.2-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up libfontconfig1:i386 (2.15.0-1.1) ... Setting up libgs10:i386 (10.04.0~dfsg-1) ... Setting up python3-more-itertools (10.5.0-1) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-typeguard (4.3.0-1) ... Setting up ghostscript (10.04.0~dfsg-1) ... Setting up libcairo2:i386 (1.18.2-2) ... Setting up python3-inflect (7.3.1-2) ... Setting up texlive-binaries (2024.20240313.70630+ds-4) ... update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode Setting up texlive-base (2024.20240829-2) ... tl-paper: setting paper size for dvips to a4: /var/lib/texmf/dvips/config/config-paper.ps tl-paper: setting paper size for dvipdfmx to a4: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg tl-paper: setting paper size for xdvi to a4: /var/lib/texmf/xdvi/XDvi-paper tl-paper: setting paper size for pdftex to a4: /var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex Setting up python3-pkg-resources (74.1.2-2) ... Setting up python3-setuptools (74.1.2-2) ... Setting up texlive-latex-base (2024.20240829-2) ... Setting up texlive-fonts-extra (2024.20240829-1) ... Setting up texlive-latex-recommended (2024.20240829-2) ... Setting up texlive-pictures (2024.20240829-2) ... Setting up texlive-fonts-recommended (2024.20240829-2) ... Setting up dh-python (6.20240824) ... Setting up texlive-latex-extra (2024.20240829-1) ... Setting up libheif-plugin-dav1d:i386 (1.18.2-2) ... Setting up libheif-plugin-libde265:i386 (1.18.2-2) ... Setting up libheif1:i386 (1.18.2-2) ... Setting up libmagickcore-6.q16-7t64:i386 (8:6.9.13.12+dfsg1-1+b1) ... Setting up libmagickwand-6.q16-7t64:i386 (8:6.9.13.12+dfsg1-1+b1) ... Setting up imagemagick-6.q16 (8:6.9.13.12+dfsg1-1+b1) ... update-alternatives: using /usr/bin/compare-im6.q16 to provide /usr/bin/compare (compare) in auto mode update-alternatives: using /usr/bin/compare-im6.q16 to provide /usr/bin/compare-im6 (compare-im6) in auto mode update-alternatives: using /usr/bin/animate-im6.q16 to provide /usr/bin/animate (animate) in auto mode update-alternatives: using /usr/bin/animate-im6.q16 to provide /usr/bin/animate-im6 (animate-im6) in auto mode update-alternatives: using /usr/bin/convert-im6.q16 to provide /usr/bin/convert (convert) in auto mode update-alternatives: using /usr/bin/convert-im6.q16 to provide /usr/bin/convert-im6 (convert-im6) in auto mode update-alternatives: using /usr/bin/composite-im6.q16 to provide /usr/bin/composite (composite) in auto mode update-alternatives: using /usr/bin/composite-im6.q16 to provide /usr/bin/composite-im6 (composite-im6) in auto mode update-alternatives: using /usr/bin/conjure-im6.q16 to provide /usr/bin/conjure (conjure) in auto mode update-alternatives: using /usr/bin/conjure-im6.q16 to provide /usr/bin/conjure-im6 (conjure-im6) in auto mode update-alternatives: using /usr/bin/import-im6.q16 to provide /usr/bin/import (import) in auto mode update-alternatives: using /usr/bin/import-im6.q16 to provide /usr/bin/import-im6 (import-im6) in auto mode update-alternatives: using /usr/bin/identify-im6.q16 to provide /usr/bin/identify (identify) in auto mode update-alternatives: using /usr/bin/identify-im6.q16 to provide /usr/bin/identify-im6 (identify-im6) in auto mode update-alternatives: using /usr/bin/stream-im6.q16 to provide /usr/bin/stream (stream) in auto mode update-alternatives: using /usr/bin/stream-im6.q16 to provide /usr/bin/stream-im6 (stream-im6) in auto mode update-alternatives: using /usr/bin/display-im6.q16 to provide /usr/bin/display (display) in auto mode update-alternatives: using /usr/bin/display-im6.q16 to provide /usr/bin/display-im6 (display-im6) in auto mode update-alternatives: using /usr/bin/montage-im6.q16 to provide /usr/bin/montage (montage) in auto mode update-alternatives: using /usr/bin/montage-im6.q16 to provide /usr/bin/montage-im6 (montage-im6) in auto mode update-alternatives: using /usr/bin/mogrify-im6.q16 to provide /usr/bin/mogrify (mogrify) in auto mode update-alternatives: using /usr/bin/mogrify-im6.q16 to provide /usr/bin/mogrify-im6 (mogrify-im6) in auto mode Setting up hevea (2.36-2+b2) ... Setting up imagemagick (8:6.9.13.12+dfsg1-1+b1) ... Processing triggers for libc-bin (2.40-3) ... Processing triggers for tex-common (6.18) ... Running updmap-sys. This may take some time... done. Running mktexlsr /var/lib/texmf ... done. Building format(s) --all. This may take some time... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/coccinelle-1.2.deb/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../coccinelle_1.2.deb-1_source.changes dpkg-buildpackage: info: source package coccinelle dpkg-buildpackage: info: source version 1.2.deb-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Stéphane Glondu dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 debian/rules clean dh clean --with ocaml,python3,autoreconf dh_auto_clean make -j22 distclean make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' CLEAN commons CLEAN globals CLEAN parsing_cocci CLEAN parsing_c CLEAN ctl CLEAN ocaml CLEAN python CLEAN engine CLEAN popl09 CLEAN extra CLEAN spatch CLEAN spgen rm -f coccinelle.cma coccinelle.cmxa coccinelle.a \ coccinelle.cmo coccinelle.cmx coccinelle.o \ coccinelle_modules.cmi coccinelle_modules.cmo \ coccinelle_modules.o coccinelle_modules.cmx CLEAN exposed-module CLEAN .depend CLEAN configure make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' dh_ocamlclean dh_clean debian/rules binary dh binary --with ocaml,python3,autoreconf dh_update_autotools_config dh_autoreconf dh_ocamlinit debian/rules override_dh_auto_configure make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --enable-ocaml --enable-python --with-python=python3 --disable-opt configure: configuring coccinelle 1.2 in /build/reproducible-path/coccinelle-1.2.deb checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: determining version suffix checking for date... /usr/bin/date configure: version suffix set to Tue, 25 Nov 2025 05:42:01 -1200 configure: this configure program uses pkg-config m4 macros configure: this configure program uses ocaml m4 macros (see setup/ocaml.m4) configure: this configure program uses custom m4 macros (see setup/cocci.m4) configure: some fake substitutions for required but unavailable programs may be used (see setup/fake*) configure: verifying basic tools checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for bash... /bin/bash checking for tar... /usr/bin/tar checking for patch... /usr/bin/patch checking for echo... /usr/bin/echo checking for patchelf... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ocamlc... /usr/bin/ocamlc OCaml version is 5.2.0 OCaml library path is /usr/lib/i386-linux-gnu/ocaml/5.2.0 checking for ocamlopt... no configure: WARNING: Cannot find ocamlopt; bytecode compilation only. checking for ocamlc.opt... no checking for ocaml... /usr/bin/ocaml checking for ocamldep... /usr/bin/ocamldep checking for ocamlmktop... /usr/bin/ocamlmktop checking for ocamlmklib... /usr/bin/ocamlmklib checking for ocamldoc... /usr/bin/ocamldoc checking that the OCaml version is at least 3.12... yes checking that the OCaml version is at least 4.02... yes checking that the OCaml version is at least 4.03... yes checking that the OCaml version is at least 5.0... yes checking for ocamllex... /usr/bin/ocamllex checking for ocamllex.opt... no checking for ocamlyacc... /usr/bin/ocamlyacc checking for ocamlfind... /usr/bin/ocamlfind checking for ocamlprof... /usr/bin/ocamlprof configure: verifying basic ocaml modules configure: coccinelle may use external ocaml libraries in /build/reproducible-path/coccinelle-1.2.deb/bundles configure: the following OCaml packages should be provided by your ocaml installation checking for OCaml findlib package unix... found checking for OCaml findlib package str... found configure: configuring package dynlink checking for OCaml findlib package dynlink... found configure: configuring package parmap checking for OCaml findlib package parmap... found configure: configuring package stdcompat checking for OCaml findlib package stdcompat... found checking if installed stdcompat provides In_channel... yes configure: verifying optional features checking for menhir... /usr/bin/menhir configure: system menhir will be used checking if menhir supports -O 1... yes configure: warning: the optimized version of dynlink is not available, thus ocaml scripting may not work configure: configuring package pyml checking for OCaml findlib package pyml... found checking if installed pyml provides Class.init with list of parent classes... yes checking for libpcre... no checking for pdflatex... /usr/bin/pdflatex checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile.config config.status: creating version.ml config.status: creating commons/commands.ml config.status: creating globals/config.ml config.status: creating globals/regexp.ml config.status: creating python/pycocci.ml config.status: creating ocaml/prepare_ocamlcocci.ml config.status: creating scripts/spatch.sh config.status: creating tools/spgen/scripts/spgen.sh config.status: creating docs/spatch.1 config.status: creating setup/Makefile config.status: executing depfiles commands configure: configuration completed ------------------------------------------------------------------------------ Summary configure flags: --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --enable-ocaml --enable-python --with-python=python3 --disable-opt findlib: /usr/bin/ocamlfind (an actual version is strongly recommended) menhir: /usr/bin/menhir (for local package use --without-menhir, install the menhir package otherwise) ocaml scripting: yes (overridable with --enable-ocaml) python scripting: yes (overridable with --enable-python) pcre regexes: no (overridable with --enable-pcre-syntax) pcre module: (for local package use --disable-pcre) pcre library: no (requires the libpcre-ocaml-dev package) optimized spatch: no (overridable with --disable-opt) bash-completion: ${prefix}/share/bash-completion/completions (overridable with --with-bash-completion) ------------------------------------------------------------------------------ Coccinelle can now be compiled and installed. If you compile coccinelle again after source code changes or configuration changes, you may need to run first: $ make clean To compile coccinelle, run: $ make To install coccinelle, run: $ make install Then, to test coccinelle, run for example: $ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c Or when coccinelle is not installed yet: $ COCCINELLE_HOME=/build/reproducible-path/coccinelle-1.2.deb ./scripts/spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c ------------------------------------------------------------------------------ You may need to set some environment variables so that the python libraries are found. The frontend 'spatch' sets the following variables: $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib $ export PYTHONPATH=$PYTHONPATH:/usr/lib/coccinelle/python ------------------------------------------------------------------------------ make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' debian/rules override_dh_auto_build-indep make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' /usr/bin/make -C docs/manual pdf make[2]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb/docs/manual' /usr/bin/pdflatex -halt-on-error manual.tex This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./manual.tex LaTeX2e <2024-06-01> patch level 2 L3 programming layer <2024-08-16> (./main.tex (/usr/share/texlive/texmf-dist/tex/latex/base/report.cls Document Class: report 2024/02/08 v1.4n Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty) (./hevea.sty (/usr/share/texlive/texmf-dist/tex/latex/comment/comment.sty Excluding comment 'comment') Excluding comment 'rawhtml' Excluding comment 'htmlonly') (/usr/share/texlive/texmf-dist/tex/latex/psnfss/times.sty) (/usr/share/texlive/texmf-dist/tex/latex/preprint/fullpage.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texlive/texmf-dist/tex/latex/ifsym/ifsym.sty (/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/epsfig.sty) (/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.sty **************************************** * Local config file subfigure.cfg used * **************************************** (/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.cfg)) (/usr/share/texlive/texmf-dist/tex/latex/wrapfig/wrapfig.sty) (/usr/share/texlive/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty) (/usr/share/texlive/texmf-dist/tex/latex/moreverb/moreverb.sty (/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty)) (/usr/share/texlive/texmf-dist/tex/latex/base/alltt.sty) (/usr/share/texlive/texmf-dist/tex/latex/boxedminipage/boxedminipage.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty) (/usr/share/texlive/texmf-dist/tex/latex/endnotes/endnotes.sty) (/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty (/usr/share/texlive/texmf-dist/tex/latex/listings/lstpatch.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty) (/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))) (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty) (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty))) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def) (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty) (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)) (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty))) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) Package xcolor Warning: Package option `usenames' is obsolete and ignored on in put line 266. Package xcolor Warning: Package option `usenames' is obsolete and ignored on in put line 266. (/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def) (./macros_common.tex) (./macros_options.tex) (./macros_listing_cocci.tex (/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty)) (./macros_grammar.tex) (./macros.tex) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) No file manual.aux. (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) (../../version) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/share/texlive/texmf- dist/fonts/enc/dvips/base/8r.enc}] No file manual.toc. pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored \relax l.117 \chapter *{Foreword} [1] (../../version) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ts1ptm.fd) LaTeX Warning: Reference `part:usermanual' on page 2 undefined on input line 12 2. LaTeX Warning: Reference `part:refmanual' on page 2 undefined on input line 123 . (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd) Underfull \hbox (badness 10000) in paragraph at lines 137--140 [2] [3] (./introduction.tex Chapter 1. ) (./installing.tex [4] Chapter 2. ) (./tutorial.tex [5] Chapter 3. ) [6] Chapter 4. (./examples.tex Underfull \hbox (badness 10000) in paragraph at lines 11--16 Overfull \hbox (4.02882pt too wide) in paragraph at lines 17--72 [][] [7] Underfull \hbox (badness 10000) in paragraph at lines 76--82 [8] Underfull \hbox (badness 10000) in paragraph at lines 141--145 Underfull \hbox (badness 10000) in paragraph at lines 146--152 Underfull \hbox (badness 10000) in paragraph at lines 153--174 Underfull \hbox (badness 10000) in paragraph at lines 177--193 [9] Underfull \hbox (badness 10000) in paragraph at lines 204--211 Underfull \hbox (badness 10000) in paragraph at lines 212--237 [10] Underfull \hbox (badness 10000) in paragraph at lines 261--264 [11] Overfull \hbox (565.25525pt too wide) in paragraph at lines 340--380 [][] [12] Underfull \hbox (badness 10000) in paragraph at lines 384--393 Underfull \hbox (badness 10000) in paragraph at lines 410--421 [13] Underfull \hbox (badness 10000) in paragraph at lines 435--486 ) (./tips.tex [14] Overfull \hbox (6.12321pt too wide) in paragraph at lines 16--20 []\T1/ptm/m/n/10 However, if for some rea-son your code looks like [][]\T1/pcr/ m/n/10 bar = *(foo)[]\T1/ptm/m/n/10 , you will end up with [][]\T1/pcr/m/n/10 b ar = readb((foo)) ) (./isomorphisms.tex [15] Chapter 5. ) (./parsing.tex [16] Chapter 6. ) (./workflow.tex [17] Chapter 7. ) (./advanced.tex [18] Chapter 8. ) [19] [20] Chapter 9. (./cocci_syntax.tex (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd) Overfull \hbox (14.32869pt too wide) in paragraph at lines 81--123 [] [21] [22] Overfull \hbox (5.14468pt too wide) in paragraph at lines 217--279 [] [23] [24] LaTeX Warning: Reference `types' on page 25 undefined on input line 373. [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] Overfull \hbox (2.84468pt too wide) in paragraph at lines 1584--1640 [] [39] [40] [41 pdfTeX warning (ext4): destination with the same identifier (name{gram\\_o}) ha s been already used, duplicate ignored ...shipout:D \box_use:N \l_shipout_box \__shipout_drop_firstpage_... l.1775 ] [42] [43] [44]) [45] Chapter 10. (./spatch_options.tex Overfull \hbox (2.95383pt too wide) in paragraph at lines 43--46 []\T1/pcr/m/n/10 spatch --sp-file foo.cocci --dir foodir --include-headers\T1/p tm/m/n/10 : Ap-ply the se-man-tic patch [46] (/usr/share/texlive/texmf-dist/tex/latex/ifsym/uifgeo.fd) LaTeX Font Warning: Font shape `U/ifgeo/b/n' undefined (Font) using `U/ifgeo/m/n' instead on input line 73. [47] [48] Overfull \hbox (53.96228pt too wide) in paragraph at lines 205--206 \T1/ptm/m/n/10 that a di-rec-tory is spec-i-fied. The in-dex may be cre-ated us -ing the script \T1/pcr/m/n/10 coccinelle/scripts/ glimpseindex-cocci.sh\T1/ptm /m/n/10 . Overfull \hbox (23.08131pt too wide) in paragraph at lines 221--221 \T1/ptm/m/n/10 vant. This op-tion re-quires that a di-rec-tory is spec-i-fied. The in-dex may be cre-ated us-ing the script \T1/pcr/m/n/10 coccinelle/scripts/ [49] Overfull \hbox (61.07932pt too wide) in paragraph at lines 310--311 \T1/ptm/m/n/10 spacing-score-file is pro-vided, then that file is used for the re-sult. Oth-er-wise, the re-sult goes in ``test-s/S-CORE_spacing_expected.sexp ''. Overfull \hbox (13.36246pt too wide) in paragraph at lines 322--323 \T1/pcr/m/n/10 --compare-with-expected\T1/ptm/m/n/10 . The lead-ing dot is op-t ional. This im-plic-itly sets the \T1/pcr/m/n/10 --compare-with-expected [50] Overfull \hbox (31.46255pt too wide) in paragraph at lines 347--348 \T1/ptm/m/n/10 on which the er-ror oc-curs. This func-tion should then be passe d to the func-tion \T1/pcr/m/n/10 Parse_c.set_parse_error_function\T1/ptm/m/n/1 0 . [51] [52] [53] [54] Overfull \hbox (6.74498pt too wide) in paragraph at lines 702--703 \T1/pcr/m/n/10 foo.cocci --dir /var/linuxes/linux-next/drivers --patch /var/lin uxes/linux-next\T1/ptm/m/n/10 . [55] [56]) [57] [58] (./license.txt [59] [60] [61] [62]) No file manual.bbl. [63] (./manual.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. LaTeX Warning: There were undefined references. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. Package rerunfilecheck Warning: File `manual.out' has changed. (rerunfilecheck) Rerun to get outlines right (rerunfilecheck) or use package `bookmark'. ) ) (see the transcript file for additional information) pdfTeX warning (dest): name{nest\\protect\040\\T1\\textunderscore\040expr} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040n} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040n} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040d} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040d} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040o} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{case\\protect\040\\T1\\textunderscore\040line} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{iter\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{single\\protect\040\\T1\\textunderscore\040stmt} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{init\\protect\040\\T1\\textunderscore\040list\\prot ect\040\\T1\\textunderscore\040elem} has been referenced but does not exist, re placed by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040var} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{typedef\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{common\\protect\040\\T1\\textunderscore\040decl} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040p} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040p} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{stmt\\protect\040\\T1\\textunderscore\040seq} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{name\\protect\040\\T1\\textunderscore\040opt\\prote ct\040\\T1\\textunderscore\040decl} has been referenced but does not exist, rep laced by a fixed one pdfTeX warning (dest): name{fn\\protect\040\\T1\\textunderscore\040ctype} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{d\\protect\040\\T1\\textunderscore\040ident} has be en referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{continue\\protect\040\\T1\\textunderscore\040struct \\protect\040\\T1\\textunderscore\040decl\\protect\040\\T1\\textunderscore\040l ist} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl\\pr otect\040\\T1\\textunderscore\040list\\protect\040\\T1\\textunderscore\040start } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl\\pr otect\040\\T1\\textunderscore\040list} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{exp\\protect\040\\T1\\textunderscore\040whencode} h as been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{dot\\protect\040\\T1\\textunderscore\040expr} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{ctype\\protect\040\\T1\\textunderscore\040qualif} h as been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{generic\\protect\040\\T1\\textunderscore\040ctype} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{const\\protect\040\\T1\\textunderscore\040vol} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{grammar\\protect\040\\T1\\textunderscore\040ds} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040ds} has be en referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{one\\protect\040\\T1\\textunderscore\040decl} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{any\\protect\040\\T1\\textunderscore\040strict} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{rule\\protect\040\\T1\\textunderscore\040elem\\prot ect\040\\T1\\textunderscore\040stmt} has been referenced but does not exist, re placed by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040code} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040stmt} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040virt\\pr otect\040\\T1\\textunderscore\040metadecl} has been referenced but does not exi st, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040metadecl } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{CONCAT\\protect\040\\T1\\textunderscore\040LIST} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{int\\protect\040\\T1\\textunderscore\040compare\\pr otect\040\\T1\\textunderscore\040constraint} has been referenced but does not e xist, replaced by a fixed one pdfTeX warning (dest): name{id\\protect\040\\T1\\textunderscore\040compare\\pro tect\040\\T1\\textunderscore\040constraint} has been referenced but does not ex ist, replaced by a fixed one pdfTeX warning (dest): name{regexp\\protect\040\\T1\\textunderscore\040constrai nt} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{compare\\protect\040\\T1\\textunderscore\040constra int} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{ANDAND\\protect\040\\T1\\textunderscore\040LIST} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{unary\\protect\040\\T1\\textunderscore\040op} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{unop\\protect\040\\T1\\textunderscore\040constraint } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{binop\\protect\040\\T1\\textunderscore\040constrain t} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{assign\\protect\040\\T1\\textunderscore\040op} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{assignop\\protect\040\\T1\\textunderscore\040constr aint} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{pmvids\\protect\040\\T1\\textunderscore\040with\\pr otect\040\\T1\\textunderscore\040constraints} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{pmids\\protect\040\\T1\\ kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ifgeo10 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ifgeo10 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/public/ifsym/ifgeo10.mf (/usr/share/texlive/texmf-dist/fonts/source/public/ifsym/ifgeo.gen [32] [48] [64] [80] [96] [112] [0] [1] [2] [3] [4] [33] [49] [65] [81] [97] [113] [34] [50] [66] [82] [98] [114] [35] [51] [67] [83] [99] [115] [36] [52] [68] [84] [100] [116] [37] [53] [69] [85] [101] [117] [38] [54] [70] [86] [102] [118] [47] [63] [79] [95] [111] [127] [5] [6] [7] [8] [9] [13] [14] [15] [26] [27] [28] [29] [30] [31] ) ) Font metrics written on ifgeo10.tfm. Output written on ifgeo10.600gf (67 characters, 15684 bytes). Transcript written on ifgeo10.log. mktexpk: /tmp/texfonts/pk/ljfour/public/ifsym/ifgeo10.600pk: successfully generated. textunderscore\040with\\pro tect\040\\T1\\textunderscore\040constraints} has been referenced but does not e xist, replaced by a fixed one pdfTeX warning (dest): name{pmids\\protect\040\\T1\\textunderscore\040with\\pro tect\040\\T1\\textunderscore\040seed} has been referenced but does not exist, r eplaced by a fixed one pdfTeX warning (dest): name{bin\\protect\040\\T1\\textunderscore\040op} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{COMMA\\protect\040\\T1\\textunderscore\040LIST} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040metavari ables} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{include\\protect\040\\T1\\textunderscore\040cocci} has been referenced but does not exist, replaced by a fixed one < /usr/share/texlive/texmf-dist/fonts/type1/urw/courier/ucrr8a.pfb> Output written on manual.pdf (64 pages, 319865 bytes). Transcript written on manual.log. /usr/bin/pdflatex -halt-on-error manual.tex This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./manual.tex LaTeX2e <2024-06-01> patch level 2 L3 programming layer <2024-08-16> (./main.tex (/usr/share/texlive/texmf-dist/tex/latex/base/report.cls Document Class: report 2024/02/08 v1.4n Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty) (./hevea.sty (/usr/share/texlive/texmf-dist/tex/latex/comment/comment.sty Excluding comment 'comment') Excluding comment 'rawhtml' Excluding comment 'htmlonly') (/usr/share/texlive/texmf-dist/tex/latex/psnfss/times.sty) (/usr/share/texlive/texmf-dist/tex/latex/preprint/fullpage.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texlive/texmf-dist/tex/latex/ifsym/ifsym.sty (/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/epsfig.sty) (/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.sty **************************************** * Local config file subfigure.cfg used * **************************************** (/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.cfg)) (/usr/share/texlive/texmf-dist/tex/latex/wrapfig/wrapfig.sty) (/usr/share/texlive/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty) (/usr/share/texlive/texmf-dist/tex/latex/moreverb/moreverb.sty (/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty)) (/usr/share/texlive/texmf-dist/tex/latex/base/alltt.sty) (/usr/share/texlive/texmf-dist/tex/latex/boxedminipage/boxedminipage.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty) (/usr/share/texlive/texmf-dist/tex/latex/endnotes/endnotes.sty) (/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty (/usr/share/texlive/texmf-dist/tex/latex/listings/lstpatch.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty) (/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))) (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty) (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty))) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def) (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty) (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)) (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty))) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) Package xcolor Warning: Package option `usenames' is obsolete and ignored on in put line 266. Package xcolor Warning: Package option `usenames' is obsolete and ignored on in put line 266. (/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def) (./macros_common.tex) (./macros_options.tex) (./macros_listing_cocci.tex (/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty)) (./macros_grammar.tex) (./macros.tex) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./manual.aux) (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) (./manual.out) (./manual.out) (../../version) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/share/texlive/texmf- dist/fonts/enc/dvips/base/8r.enc}] (./manual.toc (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd) pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored \relax l.33 ...sic transformations}{33}{subsection.9.5.1} % [1]) [2] (../../version) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ts1ptm.fd) Underfull \hbox (badness 10000) in paragraph at lines 137--140 [3] [4] (./introduction.tex Chapter 1. ) (./installing.tex [5] Chapter 2. ) (./tutorial.tex [6] Chapter 3. ) [7] Chapter 4. (./examples.tex Underfull \hbox (badness 10000) in paragraph at lines 11--16 Overfull \hbox (4.02882pt too wide) in paragraph at lines 17--72 [][] [8] Underfull \hbox (badness 10000) in paragraph at lines 76--82 [9] Underfull \hbox (badness 10000) in paragraph at lines 141--145 Underfull \hbox (badness 10000) in paragraph at lines 146--152 Underfull \hbox (badness 10000) in paragraph at lines 153--174 Underfull \hbox (badness 10000) in paragraph at lines 177--193 [10] Underfull \hbox (badness 10000) in paragraph at lines 204--211 Underfull \hbox (badness 10000) in paragraph at lines 212--237 [11] Underfull \hbox (badness 10000) in paragraph at lines 261--264 [12] Overfull \hbox (565.25525pt too wide) in paragraph at lines 340--380 [][] [13] Underfull \hbox (badness 10000) in paragraph at lines 384--393 Underfull \hbox (badness 10000) in paragraph at lines 410--421 [14] Underfull \hbox (badness 10000) in paragraph at lines 435--486 ) (./tips.tex [15] Overfull \hbox (6.12321pt too wide) in paragraph at lines 16--20 []\T1/ptm/m/n/10 However, if for some rea-son your code looks like [][]\T1/pcr/ m/n/10 bar = *(foo)[]\T1/ptm/m/n/10 , you will end up with [][]\T1/pcr/m/n/10 b ar = readb((foo)) ) (./isomorphisms.tex [16] Chapter 5. ) (./parsing.tex [17] Chapter 6. ) (./workflow.tex [18] Chapter 7. ) (./advanced.tex [19] Chapter 8. ) [20] [21] Chapter 9. (./cocci_syntax.tex (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd) Overfull \hbox (14.32869pt too wide) in paragraph at lines 81--123 [] [22] [23] Overfull \hbox (5.14468pt too wide) in paragraph at lines 217--279 [] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] Overfull \hbox (2.84468pt too wide) in paragraph at lines 1584--1640 [] [40] [41] [42 pdfTeX warning (ext4): destination with the same identifier (name{gram\\_o}) ha s been already used, duplicate ignored ...shipout:D \box_use:N \l_shipout_box \__shipout_drop_firstpage_... l.1775 ] [43] [44] [45]) [46] Chapter 10. (./spatch_options.tex Overfull \hbox (2.95383pt too wide) in paragraph at lines 43--46 []\T1/pcr/m/n/10 spatch --sp-file foo.cocci --dir foodir --include-headers\T1/p tm/m/n/10 : Ap-ply the se-man-tic patch [47] (/usr/share/texlive/texmf-dist/tex/latex/ifsym/uifgeo.fd) LaTeX Font Warning: Font shape `U/ifgeo/b/n' undefined (Font) using `U/ifgeo/m/n' instead on input line 73. [48] [49] Overfull \hbox (53.96228pt too wide) in paragraph at lines 205--206 \T1/ptm/m/n/10 that a di-rec-tory is spec-i-fied. The in-dex may be cre-ated us -ing the script \T1/pcr/m/n/10 coccinelle/scripts/ glimpseindex-cocci.sh\T1/ptm /m/n/10 . Overfull \hbox (23.08131pt too wide) in paragraph at lines 221--221 \T1/ptm/m/n/10 vant. This op-tion re-quires that a di-rec-tory is spec-i-fied. The in-dex may be cre-ated us-ing the script \T1/pcr/m/n/10 coccinelle/scripts/ [50] Overfull \hbox (61.07932pt too wide) in paragraph at lines 310--311 \T1/ptm/m/n/10 spacing-score-file is pro-vided, then that file is used for the re-sult. Oth-er-wise, the re-sult goes in ``test-s/S-CORE_spacing_expected.sexp ''. Overfull \hbox (13.36246pt too wide) in paragraph at lines 322--323 \T1/pcr/m/n/10 --compare-with-expected\T1/ptm/m/n/10 . The lead-ing dot is op-t ional. This im-plic-itly sets the \T1/pcr/m/n/10 --compare-with-expected [51] Overfull \hbox (31.46255pt too wide) in paragraph at lines 347--348 \T1/ptm/m/n/10 on which the er-ror oc-curs. This func-tion should then be passe d to the func-tion \T1/pcr/m/n/10 Parse_c.set_parse_error_function\T1/ptm/m/n/1 0 . [52] [53] [54] [55] Overfull \hbox (6.74498pt too wide) in paragraph at lines 702--703 \T1/pcr/m/n/10 foo.cocci --dir /var/linuxes/linux-next/drivers --patch /var/lin uxes/linux-next\T1/ptm/m/n/10 . [56] [57]) [58] [59] (./license.txt [60] [61] [62] [63]) No file manual.bbl. [64] (./manual.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) ) (see the transcript file for additional information) pdfTeX warning (dest): name{nest\\protect\040\\T1\\textunderscore\040expr} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040n} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040n} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040d} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040d} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040o} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{case\\protect\040\\T1\\textunderscore\040line} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{iter\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{single\\protect\040\\T1\\textunderscore\040stmt} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{init\\protect\040\\T1\\textunderscore\040list\\prot ect\040\\T1\\textunderscore\040elem} has been referenced but does not exist, re placed by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040var} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{typedef\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{common\\protect\040\\T1\\textunderscore\040decl} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040p} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040p} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{stmt\\protect\040\\T1\\textunderscore\040seq} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{name\\protect\040\\T1\\textunderscore\040opt\\prote ct\040\\T1\\textunderscore\040decl} has been referenced but does not exist, rep laced by a fixed one pdfTeX warning (dest): name{fn\\protect\040\\T1\\textunderscore\040ctype} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{d\\protect\040\\T1\\textunderscore\040ident} has be en referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{continue\\protect\040\\T1\\textunderscore\040struct \\protect\040\\T1\\textunderscore\040decl\\protect\040\\T1\\textunderscore\040l ist} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl\\pr otect\040\\T1\\textunderscore\040list\\protect\040\\T1\\textunderscore\040start } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl\\pr otect\040\\T1\\textunderscore\040list} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{exp\\protect\040\\T1\\textunderscore\040whencode} h as been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{dot\\protect\040\\T1\\textunderscore\040expr} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{ctype\\protect\040\\T1\\textunderscore\040qualif} h as been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{generic\\protect\040\\T1\\textunderscore\040ctype} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{const\\protect\040\\T1\\textunderscore\040vol} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{grammar\\protect\040\\T1\\textunderscore\040ds} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040ds} has be en referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{one\\protect\040\\T1\\textunderscore\040decl} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{any\\protect\040\\T1\\textunderscore\040strict} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{rule\\protect\040\\T1\\textunderscore\040elem\\prot ect\040\\T1\\textunderscore\040stmt} has been referenced but does not exist, re placed by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040code} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040stmt} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040virt\\pr otect\040\\T1\\textunderscore\040metadecl} has been referenced but does not exi st, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040metadecl } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{CONCAT\\protect\040\\T1\\textunderscore\040LIST} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{int\\protect\040\\T1\\textunderscore\040compare\\pr otect\040\\T1\\textunderscore\040constraint} has been referenced but does not e xist, replaced by a fixed one pdfTeX warning (dest): name{id\\protect\040\\T1\\textunderscore\040compare\\pro tect\040\\T1\\textunderscore\040constraint} has been referenced but does not ex ist, replaced by a fixed one pdfTeX warning (dest): name{regexp\\protect\040\\T1\\textunderscore\040constrai nt} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{compare\\protect\040\\T1\\textunderscore\040constra int} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{ANDAND\\protect\040\\T1\\textunderscore\040LIST} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{unary\\protect\040\\T1\\textunderscore\040op} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{unop\\protect\040\\T1\\textunderscore\040constraint } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{binop\\protect\040\\T1\\textunderscore\040constrain t} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{assign\\protect\040\\T1\\textunderscore\040op} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{assignop\\protect\040\\T1\\textunderscore\040constr aint} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{pmvids\\protect\040\\T1\\textunderscore\040with\\pr otect\040\\T1\\textunderscore\040constraints} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{pmids\\protect\040\\T1\\textunderscore\040with\\pro tect\040\\T1\\textunderscore\040constraints} has been referenced but does not e xist, replaced by a fixed one pdfTeX warning (dest): name{pmids\\protect\040\\T1\\textunderscore\040with\\pro tect\040\\T1\\textunderscore\040seed} has been referenced but does not exist, r eplaced by a fixed one pdfTeX warning (dest): name{bin\\protect\040\\T1\\textunderscore\040op} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{COMMA\\protect\040\\T1\\textunderscore\040LIST} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040metavari ables} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{include\\protect\040\\T1\\textunderscore\040cocci} has been referenced but does not exist, replaced by a fixed one < /usr/share/texlive/texmf-dist/fonts/type1/urw/courier/ucrr8a.pfb> Output written on manual.pdf (65 pages, 329289 bytes). Transcript written on manual.log. #spatch --control-flow-to-file flow1.c #spatch --control-flow-to-file flow2.c #dot -Gsize="0.5,0.5" -Tpdf flow1:main.dot > flow1.pdf #dot -Gsize="0.5,0.5" -Tpdf flow2:main.dot > flow2.pdf /usr/bin/pdflatex -halt-on-error main_grammar.tex This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./main_grammar.tex LaTeX2e <2024-06-01> patch level 2 L3 programming layer <2024-08-16> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2024/02/08 v1.4n Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/times.sty) (/usr/share/texlive/texmf-dist/tex/latex/preprint/fullpage.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd)) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty) (./hevea.sty (/usr/share/texlive/texmf-dist/tex/latex/comment/comment.sty Excluding comment 'comment') Excluding comment 'rawhtml' Excluding comment 'htmlonly') (/usr/share/texlive/texmf-dist/tex/latex/base/alltt.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))) (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty) (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty))) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def) (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty) (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)) (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty))) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty (/usr/share/texlive/texmf-dist/tex/latex/listings/lstpatch.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def) (/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def) (/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) (/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty) (./macros_listing_cocci.tex (/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty)) (./macros_grammar.tex) (./macros_common.tex) (./macros.tex) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) No file main_grammar.aux. (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (../../version) (./cocci_syntax.tex (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd) Overfull \hbox (14.32625pt too wide) in paragraph at lines 81--123 [] [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/share/texlive/texmf- dist/fonts/enc/dvips/base/8r.enc}] (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ts1ptm.fd) [2] Overfull \hbox (5.14224pt too wide) in paragraph at lines 217--279 [] [3] [4] LaTeX Warning: Reference `types' on page 5 undefined on input line 373. [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] Overfull \hbox (2.84224pt too wide) in paragraph at lines 1584--1640 [] [19] [20] [21 pdfTeX warning (ext4): destination with the same identifier (name{gram\\_o}) ha s been already used, duplicate ignored ...shipout:D \box_use:N \l_shipout_box \__shipout_drop_firstpage_... l.1775 ] [22] [23] [24]) [25] (./examples.tex Underfull \hbox (badness 10000) in paragraph at lines 11--16 Overfull \hbox (4.02882pt too wide) in paragraph at lines 17--72 [][] [26] Underfull \hbox (badness 10000) in paragraph at lines 76--82 [27] Underfull \hbox (badness 10000) in paragraph at lines 141--145 Underfull \hbox (badness 10000) in paragraph at lines 146--152 Underfull \hbox (badness 10000) in paragraph at lines 153--174 Underfull \hbox (badness 10000) in paragraph at lines 177--193 [28] Underfull \hbox (badness 10000) in paragraph at lines 204--211 Underfull \hbox (badness 10000) in paragraph at lines 212--237 [29] Underfull \hbox (badness 10000) in paragraph at lines 261--264 [30] Overfull \hbox (565.25525pt too wide) in paragraph at lines 340--380 [][] [31] Underfull \hbox (badness 10000) in paragraph at lines 384--393 Underfull \hbox (badness 10000) in paragraph at lines 410--421 [32] Underfull \hbox (badness 10000) in paragraph at lines 435--486 ) [33] (./tips.tex Overfull \hbox (6.12321pt too wide) in paragraph at lines 16--20 []\T1/ptm/m/n/10 However, if for some rea-son your code looks like [][]\T1/pcr/ m/n/10 bar = *(foo)[]\T1/ptm/m/n/10 , you will end up with [][]\T1/pcr/m/n/10 b ar = readb((foo)) ) [34] (./main_grammar.aux (./examples.aux) (./tips.aux)) LaTeX Warning: There were undefined references. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. Package rerunfilecheck Warning: File `main_grammar.out' has changed. (rerunfilecheck) Rerun to get outlines right (rerunfilecheck) or use package `bookmark'. ) (see the transcript file for additional information) pdfTeX warning (dest): name{nest\\protect\040\\T1\\textunderscore\040expr} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040n} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040n} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040d} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040d} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040o} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{case\\protect\040\\T1\\textunderscore\040line} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{iter\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{single\\protect\040\\T1\\textunderscore\040stmt} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{init\\protect\040\\T1\\textunderscore\040list\\prot ect\040\\T1\\textunderscore\040elem} has been referenced but does not exist, re placed by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040var} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{typedef\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{common\\protect\040\\T1\\textunderscore\040decl} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040p} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040p} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{stmt\\protect\040\\T1\\textunderscore\040seq} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{name\\protect\040\\T1\\textunderscore\040opt\\prote ct\040\\T1\\textunderscore\040decl} has been referenced but does not exist, rep laced by a fixed one pdfTeX warning (dest): name{fn\\protect\040\\T1\\textunderscore\040ctype} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{d\\protect\040\\T1\\textunderscore\040ident} has be en referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{continue\\protect\040\\T1\\textunderscore\040struct \\protect\040\\T1\\textunderscore\040decl\\protect\040\\T1\\textunderscore\040l ist} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl\\pr otect\040\\T1\\textunderscore\040list\\protect\040\\T1\\textunderscore\040start } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl\\pr otect\040\\T1\\textunderscore\040list} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{exp\\protect\040\\T1\\textunderscore\040whencode} h as been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{dot\\protect\040\\T1\\textunderscore\040expr} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{ctype\\protect\040\\T1\\textunderscore\040qualif} h as been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{generic\\protect\040\\T1\\textunderscore\040ctype} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{const\\protect\040\\T1\\textunderscore\040vol} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{grammar\\protect\040\\T1\\textunderscore\040ds} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040ds} has be en referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{one\\protect\040\\T1\\textunderscore\040decl} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{any\\protect\040\\T1\\textunderscore\040strict} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{rule\\protect\040\\T1\\textunderscore\040elem\\prot ect\040\\T1\\textunderscore\040stmt} has been referenced but does not exist, re placed by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040code} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040stmt} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040virt\\pr otect\040\\T1\\textunderscore\040metadecl} has been referenced but does not exi st, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040metadecl } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{CONCAT\\protect\040\\T1\\textunderscore\040LIST} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{int\\protect\040\\T1\\textunderscore\040compare\\pr otect\040\\T1\\textunderscore\040constraint} has been referenced but does not e xist, replaced by a fixed one pdfTeX warning (dest): name{id\\protect\040\\T1\\textunderscore\040compare\\pro tect\040\\T1\\textunderscore\040constraint} has been referenced but does not ex ist, replaced by a fixed one pdfTeX warning (dest): name{regexp\\protect\040\\T1\\textunderscore\040constrai nt} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{compare\\protect\040\\T1\\textunderscore\040constra int} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{ANDAND\\protect\040\\T1\\textunderscore\040LIST} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{unary\\protect\040\\T1\\textunderscore\040op} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{unop\\protect\040\\T1\\textunderscore\040constraint } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{binop\\protect\040\\T1\\textunderscore\040constrain t} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{assign\\protect\040\\T1\\textunderscore\040op} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{assignop\\protect\040\\T1\\textunderscore\040constr aint} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{pmvids\\protect\040\\T1\\textunderscore\040with\\pr otect\040\\T1\\textunderscore\040constraints} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{pmids\\protect\040\\T1\\textunderscore\040with\\pro tect\040\\T1\\textunderscore\040constraints} has been referenced but does not e xist, replaced by a fixed one pdfTeX warning (dest): name{pmids\\protect\040\\T1\\textunderscore\040with\\pro tect\040\\T1\\textunderscore\040seed} has been referenced but does not exist, r eplaced by a fixed one pdfTeX warning (dest): name{bin\\protect\040\\T1\\textunderscore\040op} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{COMMA\\protect\040\\T1\\textunderscore\040LIST} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040metavari ables} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{include\\protect\040\\T1\\textunderscore\040cocci} has been referenced but does not exist, replaced by a fixed one Output written on main_grammar.pdf (34 pages, 253390 bytes). Transcript written on main_grammar.log. /usr/bin/pdflatex -halt-on-error main_grammar.tex This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./main_grammar.tex LaTeX2e <2024-06-01> patch level 2 L3 programming layer <2024-08-16> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2024/02/08 v1.4n Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/times.sty) (/usr/share/texlive/texmf-dist/tex/latex/preprint/fullpage.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd)) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty) (./hevea.sty (/usr/share/texlive/texmf-dist/tex/latex/comment/comment.sty Excluding comment 'comment') Excluding comment 'rawhtml' Excluding comment 'htmlonly') (/usr/share/texlive/texmf-dist/tex/latex/base/alltt.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))) (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty) (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty))) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def) (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty) (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)) (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty))) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty (/usr/share/texlive/texmf-dist/tex/latex/listings/lstpatch.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def) (/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def) (/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) (/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty) (./macros_listing_cocci.tex (/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty)) (./macros_grammar.tex) (./macros_common.tex) (./macros.tex) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./main_grammar.aux (./examples.aux) (./tips.aux)) (./main_grammar.out) (./main_grammar.out) (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (../../version) (./cocci_syntax.tex (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd) Overfull \hbox (14.32625pt too wide) in paragraph at lines 81--123 [] [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/share/texlive/texmf- dist/fonts/enc/dvips/base/8r.enc}] (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ts1ptm.fd) [2] Overfull \hbox (5.14224pt too wide) in paragraph at lines 217--279 [] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] Overfull \hbox (2.84224pt too wide) in paragraph at lines 1584--1640 [] [19] [20] [21 pdfTeX warning (ext4): destination with the same identifier (name{gram\\_o}) ha s been already used, duplicate ignored ...shipout:D \box_use:N \l_shipout_box \__shipout_drop_firstpage_... l.1775 ] [22] [23] [24]) [25] (./examples.tex Underfull \hbox (badness 10000) in paragraph at lines 11--16 Overfull \hbox (4.02882pt too wide) in paragraph at lines 17--72 [][] [26] Underfull \hbox (badness 10000) in paragraph at lines 76--82 [27] Underfull \hbox (badness 10000) in paragraph at lines 141--145 Underfull \hbox (badness 10000) in paragraph at lines 146--152 Underfull \hbox (badness 10000) in paragraph at lines 153--174 Underfull \hbox (badness 10000) in paragraph at lines 177--193 [28] Underfull \hbox (badness 10000) in paragraph at lines 204--211 Underfull \hbox (badness 10000) in paragraph at lines 212--237 [29] Underfull \hbox (badness 10000) in paragraph at lines 261--264 [30] Overfull \hbox (565.25525pt too wide) in paragraph at lines 340--380 [][] [31] Underfull \hbox (badness 10000) in paragraph at lines 384--393 Underfull \hbox (badness 10000) in paragraph at lines 410--421 [32] Underfull \hbox (badness 10000) in paragraph at lines 435--486 ) [33] (./tips.tex Overfull \hbox (6.12321pt too wide) in paragraph at lines 16--20 []\T1/ptm/m/n/10 However, if for some rea-son your code looks like [][]\T1/pcr/ m/n/10 bar = *(foo)[]\T1/ptm/m/n/10 , you will end up with [][]\T1/pcr/m/n/10 b ar = readb((foo)) ) [34] (./main_grammar.aux (./examples.aux) (./tips.aux)) ) (see the transcript file for additional information) pdfTeX warning (dest): name{nest\\protect\040\\T1\\textunderscore\040expr} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040n} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040n} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040d} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040d} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040o} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{case\\protect\040\\T1\\textunderscore\040line} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{iter\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{single\\protect\040\\T1\\textunderscore\040stmt} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{init\\protect\040\\T1\\textunderscore\040list\\prot ect\040\\T1\\textunderscore\040elem} has been referenced but does not exist, re placed by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040var} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{typedef\\protect\040\\T1\\textunderscore\040ident} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{common\\protect\040\\T1\\textunderscore\040decl} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040p} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{gram\\protect\040\\T1\\textunderscore\040p} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{stmt\\protect\040\\T1\\textunderscore\040seq} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{name\\protect\040\\T1\\textunderscore\040opt\\prote ct\040\\T1\\textunderscore\040decl} has been referenced but does not exist, rep laced by a fixed one pdfTeX warning (dest): name{fn\\protect\040\\T1\\textunderscore\040ctype} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{d\\protect\040\\T1\\textunderscore\040ident} has be en referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{continue\\protect\040\\T1\\textunderscore\040struct \\protect\040\\T1\\textunderscore\040decl\\protect\040\\T1\\textunderscore\040l ist} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl\\pr otect\040\\T1\\textunderscore\040list\\protect\040\\T1\\textunderscore\040start } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{struct\\protect\040\\T1\\textunderscore\040decl\\pr otect\040\\T1\\textunderscore\040list} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{exp\\protect\040\\T1\\textunderscore\040whencode} h as been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{dot\\protect\040\\T1\\textunderscore\040expr} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{ctype\\protect\040\\T1\\textunderscore\040qualif} h as been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{generic\\protect\040\\T1\\textunderscore\040ctype} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{const\\protect\040\\T1\\textunderscore\040vol} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{grammar\\protect\040\\T1\\textunderscore\040ds} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040ds} has be en referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{one\\protect\040\\T1\\textunderscore\040decl} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{any\\protect\040\\T1\\textunderscore\040strict} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{rule\\protect\040\\T1\\textunderscore\040elem\\prot ect\040\\T1\\textunderscore\040stmt} has been referenced but does not exist, re placed by a fixed one pdfTeX warning (dest): name{when\\protect\040\\T1\\textunderscore\040code} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{decl\\protect\040\\T1\\textunderscore\040stmt} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040virt\\pr otect\040\\T1\\textunderscore\040metadecl} has been referenced but does not exi st, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040metadecl } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{CONCAT\\protect\040\\T1\\textunderscore\040LIST} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{int\\protect\040\\T1\\textunderscore\040compare\\pr otect\040\\T1\\textunderscore\040constraint} has been referenced but does not e xist, replaced by a fixed one pdfTeX warning (dest): name{id\\protect\040\\T1\\textunderscore\040compare\\pro tect\040\\T1\\textunderscore\040constraint} has been referenced but does not ex ist, replaced by a fixed one pdfTeX warning (dest): name{regexp\\protect\040\\T1\\textunderscore\040constrai nt} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{compare\\protect\040\\T1\\textunderscore\040constra int} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{ANDAND\\protect\040\\T1\\textunderscore\040LIST} ha s been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{unary\\protect\040\\T1\\textunderscore\040op} has b een referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{unop\\protect\040\\T1\\textunderscore\040constraint } has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{binop\\protect\040\\T1\\textunderscore\040constrain t} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{assign\\protect\040\\T1\\textunderscore\040op} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{assignop\\protect\040\\T1\\textunderscore\040constr aint} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{pmvids\\protect\040\\T1\\textunderscore\040with\\pr otect\040\\T1\\textunderscore\040constraints} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{pmids\\protect\040\\T1\\textunderscore\040with\\pro tect\040\\T1\\textunderscore\040constraints} has been referenced but does not e xist, replaced by a fixed one pdfTeX warning (dest): name{pmids\\protect\040\\T1\\textunderscore\040with\\pro tect\040\\T1\\textunderscore\040seed} has been referenced but does not exist, r eplaced by a fixed one pdfTeX warning (dest): name{bin\\protect\040\\T1\\textunderscore\040op} has bee n referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{COMMA\\protect\040\\T1\\textunderscore\040LIST} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{script\\protect\040\\T1\\textunderscore\040metavari ables} has been referenced but does not exist, replaced by a fixed one pdfTeX warning (dest): name{include\\protect\040\\T1\\textunderscore\040cocci} has been referenced but does not exist, replaced by a fixed one Output written on main_grammar.pdf (34 pages, 255629 bytes). Transcript written on main_grammar.log. /usr/bin/pdflatex -halt-on-error options.tex This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./options.tex LaTeX2e <2024-06-01> patch level 2 L3 programming layer <2024-08-16> (./main_options.tex (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2024/02/08 v1.4n Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty) (/usr/share/texlive/texmf-dist/tex/latex/preprint/fullpage.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty) (/usr/share/texlive/texmf-dist/tex/latex/ifsym/ifsym.sty (/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty)) (./macros_options.tex ) (./macros.tex) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) No file options.aux. (../../version) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) LaTeX Warning: No \author given. (./spatch_options.tex (/usr/share/texlive/texmf-dist/tex/latex/base/t1cmtt.fd) Overfull \hbox (20.0204pt too wide) in paragraph at lines 43--46 []\T1/cmtt/m/n/10 spatch --sp-file foo.cocci --dir foodir --include-headers\T1/ cmr/m/n/10 : Ap-ply the se-man-tic patch \T1/cmtt/m/n/10 foo.cocci (/usr/share/texlive/texmf-dist/tex/latex/ifsym/uifgeo.fd) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] Overfull \hbox (20.8289pt too wide) in paragraph at lines 322--323 \T1/cmr/m/n/10 with \T1/cmtt/m/n/10 --compare-with-expected\T1/cmr/m/n/10 . The lead-ing dot is op-tional. This im-plic-itly sets the \T1/cmtt/m/n/10 --compar e-with-expected [5] [6] [7] [8] (/usr/share/texlive/texmf-dist/tex/latex/base/t1cmss.fd) [9] [10] [11]) [12] (./options.aux) kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecss1000 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ecss1000 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecss1000.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecss.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125] [95] [127] [32]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58] [59] [61] [96] [189] [17] [45] [16] [21] [22]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf Ok [24] [34] [35] [36] [37] [64] [191] [159]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf Ok [25] [26] [28] [27] [29] [30] [31]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf Ok [38] [63] [190]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrligtb.mf Ok) ) ) ) Font metrics written on ecss1000.tfm. Output written on ecss1000.600gf (256 characters, 46224 bytes). Transcript written on ecss1000.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/ecss1000.600pk: successfully generated. ) ) (see the transcript file for additional information) kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecti1000 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ecti1000 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecti1000.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecti.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/extextit.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exileast.mf Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exilwest.mf Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125] [95] [127] [32]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58] [59] [61] [96] [189] [17] [45] [16] [21] [22]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf Ok [24] [34] [35] [36] [37] [64] [191] [159]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exilig.mf Ok [25] [26] [27] [28] [29] [30] [31]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exitalp.mf Ok [38] [63] [190]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exillett.mf Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exidigit.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exiligtb.mf Ok) ) ) ) Font metrics written on ecti1000.tfm. Output written on ecti1000.600gf (256 characters, 53420 bytes). Transcript written on ecti1000.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/ecti1000.600pk: successfully generated. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecbx1000 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ecbx1000 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecbx1000.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecbx.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125] [95] [127] [32]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58] [59] [61] [96] [189] [17] [45] [16] [21] [22]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf Ok [24] [34] [35] [36] [37] [64] [191] [159]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf Ok [25] [26] [28] [27] [29] [30] [31]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf Ok [38] [63] [190]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrligtb.mf Ok) ) ) ) Font metrics written on ecbx1000.tfm. Output written on ecbx1000.600gf (256 characters, 49864 bytes). Transcript written on ecbx1000.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/ecbx1000.600pk: successfully generated. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ifgeob10 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ifgeob10 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/public/ifsym/ifgeob10.mf (/usr/share/texlive/texmf-dist/fonts/source/public/ifsym/ifgeo.gen [32] [48] [64] [80] [96] [112] [0] [1] [2] [3] [4] [33] [49] [65] [81] [97] [113] [34] [50] [66] [82] [98] [114] [35] [51] [67] [83] [99] [115] [36] [52] [68] [84] [100] [116] [37] [53] [69] [85] [101] [117] [38] [54] [70] [86] [102] [118] [47] [63] [79] [95] [111] [127] [5] [6] [7] [8] [9] [13] [14] [15] [26] [27] [28] [29] [30] [31] ) ) Font metrics written on ifgeob10.tfm. Output written on ifgeob10.600gf (67 characters, 15036 bytes). Transcript written on ifgeob10.log. mktexpk: /tmp/texfonts/pk/ljfour/public/ifsym/ifgeob10.600pk: successfully generated. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecbx1200 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ecbx1200 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecbx1200.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecbx.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125] [95] [127] [32]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58] [59] [61] [96] [189] [17] [45] [16] [21] [22]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf Ok [24] [34] [35] [36] [37] [64] [191] [159]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf Ok [25] [26] [28] [27] [29] [30] [31]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf Ok [38] [63] [190]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrligtb.mf Ok) ) ) ) Font metrics written on ecbx1200.tfm. Output written on ecbx1200.600gf (256 characters, 59220 bytes). Transcript written on ecbx1200.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/ecbx1200.600pk: successfully generated. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 tcrm1000 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input tcrm1000 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/tcrm1000.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/tcrm.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txsymb.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txpseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [27] [29]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txgen.mf Ok [100] [109] [98] [99] [108]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txsymbol.mf Ok [13] [18] [21] [22] [23] [24] [25] [26] [28] [31] [32] [36] [39] [44] [45] [46] [42] [47] [60] [61] [62] [77] [79] [87] [110] [91] [93] [94] [95] [96] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [171] [172] [173] [174] [175] [177] [176] [180] [181] [182] [183] [184] [187] [191] [214] [246]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txromod.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txrsuper.mf Ok [185] [178] [179] [170] [186]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txrfract.mf Ok [188] [189] [190]) ) ) ) (some charht values had to be adjusted by as much as 0.06943pt) Font metrics written on tcrm1000.tfm. Output written on tcrm1000.600gf (128 characters, 23548 bytes). Transcript written on tcrm1000.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/tcrm1000.600pk: successfully generated. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ectt1000 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ectt1000 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ectt1000.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ectt.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125] [95] [127] [32]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58] [59] [61] [96] [189] [17] [45] [16] [21] [22]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf Ok [24] [34] [35] [36] [37] [64] [191] [159]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf Ok [25] [26] [28] [27] [29] [30] [31]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf Ok [38] [63] [190]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exmligtb.mf Ok) ) ) ) Font metrics written on ectt1000.tfm. Output written on ectt1000.600gf (256 characters, 43832 bytes). Transcript written on ectt1000.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/ectt1000.600pk: successfully generated. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecrm1000 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ecrm1000 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm1000.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125] [95] [127] [32]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58] [59] [61] [96] [189] [17] [45] [16] [21] [22]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf Ok [24] [34] [35] [36] [37] [64] [191] [159]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf Ok [25] [26] [28] [27] [29] [30] [31]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf Ok [38] [63] [190]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrligtb.mf Ok) ) ) ) (some charht values had to be adjusted by as much as 0.06586pt) Font metrics written on ecrm1000.tfm. Output written on ecrm1000.600gf (256 characters, 51184 bytes). Transcript written on ecrm1000.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/ecrm1000.600pk: successfully generated. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecbx1440 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ecbx1440 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecbx1440.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecbx.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125] [95] [127] [32]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58] [59] [61] [96] [189] [17] [45] [16] [21] [22]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf Ok [24] [34] [35] [36] [37] [64] [191] [159]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf Ok [25] [26] [28] [27] [29] [30] [31]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf Ok [38] [63] [190]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrligtb.mf Ok) ) ) ) (some charht values had to be adjusted by as much as 0.10997pt) Font metrics written on ecbx1440.tfm. Output written on ecbx1440.600gf (256 characters, 70764 bytes). Transcript written on ecbx1440.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/ecbx1440.600pk: successfully generated. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecrm1200 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ecrm1200 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm1200.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125] [95] [127] [32]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58] [59] [61] [96] [189] [17] [45] [16] [21] [22]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf Ok [24] [34] [35] [36] [37] [64] [191] [159]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf Ok [25] [26] [28] [27] [29] [30] [31]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf Ok [38] [63] [190]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrligtb.mf Ok) ) ) ) (some charht values had to be adjusted by as much as 0.07143pt) Font metrics written on ecrm1200.tfm. Output written on ecrm1200.600gf (256 characters, 60320 bytes). Transcript written on ecrm1200.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/ecrm1200.600pk: successfully generated. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecrm1728 mkdir: cannot create directory '././nonexistent': Permission denied mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input ecrm1728 This is METAFONT, Version 2.71828182 (TeX Live 2025/dev/Debian) (preloaded base=mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm1728.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm.mf (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125] [95] [127] [32]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58] [59] [61] [96] [189] [17] [45] [16] [21] [22]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf Ok [24] [34] [35] [36] [37] [64] [191] [159]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf Ok [25] [26] [28] [27] [29] [30] [31]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf Ok [38] [63] [190]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrligtb.mf Ok) ) ) ) (some charht values had to be adjusted by as much as 0.0972pt) Font metrics written on ecrm1728.tfm. Output written on ecrm1728.600gf (256 characters, 84608 bytes). Transcript written on ecrm1728.log. mktexpk: /tmp/texfonts/pk/ljfour/jknappen/ec/ecrm1728.600pk: successfully generated. Output written on options.pdf (12 pages, 145273 bytes). Transcript written on options.log. /usr/bin/pdflatex -halt-on-error options.tex This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./options.tex LaTeX2e <2024-06-01> patch level 2 L3 programming layer <2024-08-16> (./main_options.tex (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2024/02/08 v1.4n Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty) (/usr/share/texlive/texmf-dist/tex/latex/preprint/fullpage.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty) (/usr/share/texlive/texmf-dist/tex/latex/ifsym/ifsym.sty (/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty)) (./macros_options.tex ) (./macros.tex) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./options.aux) (../../version) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) LaTeX Warning: No \author given. (./spatch_options.tex (/usr/share/texlive/texmf-dist/tex/latex/base/t1cmtt.fd) Overfull \hbox (20.0204pt too wide) in paragraph at lines 43--46 []\T1/cmtt/m/n/10 spatch --sp-file foo.cocci --dir foodir --include-headers\T1/ cmr/m/n/10 : Ap-ply the se-man-tic patch \T1/cmtt/m/n/10 foo.cocci (/usr/share/texlive/texmf-dist/tex/latex/ifsym/uifgeo.fd) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] Overfull \hbox (20.8289pt too wide) in paragraph at lines 322--323 \T1/cmr/m/n/10 with \T1/cmtt/m/n/10 --compare-with-expected\T1/cmr/m/n/10 . The lead-ing dot is op-tional. This im-plic-itly sets the \T1/cmtt/m/n/10 --compar e-with-expected [5] [6] [7] [8] (/usr/share/texlive/texmf-dist/tex/latex/base/t1cmss.fd) [9] [10] [11]) [12] (./options.aux) ) ) (see the transcript file for additional information) Output written on options.pdf (12 pages, 145273 bytes). Transcript written on options.log. make[2]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb/docs/manual' make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' dh_auto_build -Ncoccinelle-doc make -j22 make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' /usr/bin/menhir --ocamldep "/usr/bin/ocamldep -I commons/ocamlextra -I commons -I globals -I parsing_cocci -I parsing_c -I ctl -I ocaml -I python -I engine -I popl09 -I extra -I tools/spgen/source/ -I /usr/lib/i386-linux-gnu/ocaml/5.2.0/pyml -I /usr/lib/i386-linux-gnu/ocaml/5.2.0/parmap -I /usr/lib/i386-linux-gnu/ocaml/5.2.0/stdcompat -I +str -I +unix -I +dynlink -ml-synonym .mll -ml-synonym .mly -mli-synonym .ml -mli-synonym .mll -mli-synonym .mly" --depend parsing_cocci/parser_cocci_menhir.mly >parsing_cocci/parser_cocci_menhir.mly.d || (rm parsing_cocci/parser_cocci_menhir.mly.d; false) OCAMLYACC parsing_c/parser_c.mly OCAMLDEP tools/spgen/source/spgen_lexer.mli OCAMLDEP parsing_c/lexer_c.mli OCAMLDEP parsing_cocci/lexer_script.mli OCAMLDEP parsing_cocci/lexer_cli.mli OCAMLDEP parsing_cocci/lexer_cocci.mli OCAMLDEP tools/spgen/source/main.mli OCAMLDEP tools/spgen/source/spgen_test.mli OCAMLDEP tools/spgen/source/spgen.mli OCAMLDEP tools/spgen/source/spgen_config.mli OCAMLDEP tools/spgen/source/spgen_interactive.mli OCAMLDEP tools/spgen/source/file_transform.mli OCAMLDEP tools/spgen/source/script_rule.mli OCAMLDEP tools/spgen/source/context_rule.mli OCAMLDEP tools/spgen/source/rule_header.mli OCAMLDEP tools/spgen/source/rule_body.mli OCAMLDEP tools/spgen/source/disj_generator.mli OCAMLDEP tools/spgen/source/position_generator.mli OCAMLDEP tools/spgen/source/user_input.mli OCAMLDEP tools/spgen/source/snapshot.mli OCAMLDEP tools/spgen/source/meta_variable.mli OCAMLDEP tools/spgen/source/detect_patch.mli OCAMLDEP tools/spgen/source/ast_tostring.mli OCAMLDEP tools/spgen/source/globals.mli OCAMLDEP main.mli OCAMLDEP enter.mli OCAMLDEP read_options.mli OCAMLDEP testing.mli OCAMLDEP cocci.mli OCAMLDEP flag_cocci.mli OCAMLDEP extra/maintainers.mli OCAMLDEP extra/kbuild.mli OCAMLDEP extra/classic_patch.mli OCAMLDEP popl09/popl.mli OCAMLDEP popl09/popltoctl.mli OCAMLDEP popl09/flag_popl.mli OCAMLDEP popl09/pretty_print_popl.mli OCAMLDEP popl09/insert_quantifiers.mli OCAMLDEP popl09/asttopopl.mli OCAMLDEP popl09/ast_popl.mli OCAMLDEP engine/ctlcocci_integration.mli OCAMLDEP engine/postprocess_transinfo.mli OCAMLDEP engine/ctltotex.mli OCAMLDEP engine/asttoctl2.mli OCAMLDEP engine/asttomember.mli OCAMLDEP engine/transformation_c.mli OCAMLDEP engine/pattern_c.mli OCAMLDEP engine/cocci_vs_c.mli OCAMLDEP engine/isomorphisms_c_c.mli OCAMLDEP engine/c_vs_c.mli OCAMLDEP engine/check_reachability.mli OCAMLDEP engine/check_exhaustive_pattern.mli OCAMLDEP engine/pretty_print_engine.mli OCAMLDEP engine/lib_engine.mli OCAMLDEP engine/flag_matcher.mli OCAMLDEP python/pycocci.mli OCAMLDEP python/yes_pycocci.mli OCAMLDEP python/pycocci_aux.mli OCAMLDEP ocaml/run_ocamlcocci.mli OCAMLDEP ocaml/prepare_ocamlcocci.mli OCAMLDEP ocaml/yes_prepare_ocamlcocci.mli OCAMLDEP ocaml/ocamlcocci_aux.mli OCAMLDEP ocaml/coccilib.mli OCAMLDEP ocaml/exposed_modules.mli OCAMLDEP ocaml/externalanalysis.mli OCAMLDEP ctl/wrapper_ctl.mli OCAMLDEP ctl/ctl_engine.mli OCAMLDEP ctl/pretty_print_ctl.mli OCAMLDEP ctl/ast_ctl.mli OCAMLDEP ctl/flag_ctl.mli OCAMLDEP parsing_c/test_parsing_c.mli OCAMLDEP parsing_c/compare_c.mli OCAMLDEP parsing_c/comment_annotater_c.mli OCAMLDEP parsing_c/type_annoter_c.mli OCAMLDEP parsing_c/cpp_ast_c.mli OCAMLDEP parsing_c/type_c.mli OCAMLDEP parsing_c/unparse_hrule.mli OCAMLDEP parsing_c/unparse_c.mli OCAMLDEP parsing_c/parse_c.mli OCAMLDEP parsing_c/danger.mli OCAMLDEP parsing_c/parsing_consistency_c.mli OCAMLDEP parsing_c/parsing_recovery_c.mli OCAMLDEP parsing_c/unparse_cocci.mli OCAMLDEP parsing_c/cpp_analysis_c.mli OCAMLDEP parsing_c/parsing_hacks.mli OCAMLDEP parsing_c/cpp_token_c.mli OCAMLDEP parsing_c/token_views_c.mli OCAMLDEP parsing_c/token_helpers.mli OCAMLDEP parsing_c/parse_string_c.mli OCAMLDEP parsing_c/lexer_parser.mli OCAMLDEP parsing_c/semantic_c.mli OCAMLDEP parsing_c/control_flow_c_build.mli OCAMLDEP parsing_c/pretty_print_c.mli OCAMLDEP parsing_c/includes_cache.mli OCAMLDEP parsing_c/lib_parsing_c.mli OCAMLDEP parsing_c/visitor_c.mli OCAMLDEP parsing_c/control_flow_c.mli OCAMLDEP parsing_c/includes.mli OCAMLDEP parsing_c/ast_c.mli OCAMLDEP parsing_c/token_c.mli OCAMLDEP parsing_c/parsing_stat.mli OCAMLDEP parsing_c/flag_parsing_c.mli OCAMLDEP parsing_c/token_annot.mli OCAMLDEP parsing_cocci/cocci_args.mli OCAMLDEP parsing_cocci/command_line.mli OCAMLDEP parsing_cocci/parse_cocci.mli OCAMLDEP parsing_cocci/re_constraints.mli OCAMLDEP parsing_cocci/commas_on_lists.mli OCAMLDEP parsing_cocci/adjacency.mli OCAMLDEP parsing_cocci/patch_diff.mli OCAMLDEP parsing_cocci/git_grep.mli OCAMLDEP parsing_cocci/id_utils.mli OCAMLDEP parsing_cocci/get_constants2.mli OCAMLDEP parsing_cocci/dpll.mli OCAMLDEP parsing_cocci/cocci_grep.mli OCAMLDEP parsing_cocci/disjdistr.mli OCAMLDEP parsing_cocci/cleanup_rules.mli OCAMLDEP parsing_cocci/parse_aux.mli OCAMLDEP parsing_cocci/parse_printf.mli OCAMLDEP parsing_cocci/safe_for_multi_decls.mli OCAMLDEP parsing_cocci/check_meta.mli OCAMLDEP parsing_cocci/free_vars.mli OCAMLDEP parsing_cocci/data.mli OCAMLDEP parsing_cocci/semantic_cocci.mli OCAMLDEP parsing_cocci/function_prototypes.mli OCAMLDEP parsing_cocci/insert_plus.mli OCAMLDEP parsing_cocci/adjust_pragmas.mli OCAMLDEP parsing_cocci/context_neg.mli OCAMLDEP parsing_cocci/index.mli OCAMLDEP parsing_cocci/arity.mli OCAMLDEP parsing_cocci/unitary_ast0.mli OCAMLDEP parsing_cocci/test_exps.mli OCAMLDEP parsing_cocci/type_infer.mli OCAMLDEP parsing_cocci/top_level.mli OCAMLDEP parsing_cocci/stmtlist.mli OCAMLDEP parsing_cocci/get_metas.mli OCAMLDEP parsing_cocci/simple_assignments.mli OCAMLDEP parsing_cocci/single_statement.mli OCAMLDEP parsing_cocci/iso_compile.mli OCAMLDEP parsing_cocci/comm_assoc.mli OCAMLDEP parsing_cocci/iso_pattern.mli OCAMLDEP parsing_cocci/compute_lines.mli OCAMLDEP parsing_cocci/unify_ast.mli OCAMLDEP parsing_cocci/unparse_ast0.mli OCAMLDEP parsing_cocci/ast0toast.mli OCAMLDEP parsing_cocci/visitor_ast0.mli OCAMLDEP parsing_cocci/visitor_ast.mli OCAMLDEP parsing_cocci/visitor_ast0_types.mli OCAMLDEP parsing_cocci/pretty_print_cocci.mli OCAMLDEP parsing_cocci/ast0_cocci.mli OCAMLDEP parsing_cocci/ast_cocci.mli OCAMLDEP parsing_cocci/flag_parsing_cocci.mli OCAMLDEP globals/regexp.mli OCAMLDEP globals/regexp_str.mli OCAMLDEP globals/iteration.mli OCAMLDEP globals/flag.mli OCAMLDEP globals/config.mli OCAMLDEP commons/ograph_extended.mli OCAMLDEP commons/ograph_simple.mli OCAMLDEP commons/common.mli OCAMLDEP commons/commands.mli OCAMLDEP commons/ocamlextra/dumper.mli OCAMLDEP parsing_c/parser_c.ml OCAMLLEX tools/spgen/source/spgen_lexer.mll OCAMLLEX parsing_c/lexer_c.mll OCAMLLEX parsing_cocci/lexer_script.mll OCAMLLEX parsing_cocci/lexer_cli.mll OCAMLLEX parsing_cocci/lexer_cocci.mll OCAMLDEP tools/spgen/source/main.ml OCAMLDEP tools/spgen/source/spgen_test.ml OCAMLDEP tools/spgen/source/spgen.ml OCAMLDEP tools/spgen/source/spgen_config.ml OCAMLDEP tools/spgen/source/spgen_interactive.ml OCAMLDEP tools/spgen/source/file_transform.ml 27 states, 322 transitions, table size 1450 bytes 14 states, 681 transitions, table size 2808 bytes OCAMLDEP tools/spgen/source/script_rule.ml OCAMLDEP tools/spgen/source/context_rule.ml OCAMLDEP tools/spgen/source/rule_header.ml OCAMLDEP tools/spgen/source/rule_body.ml OCAMLDEP tools/spgen/source/disj_generator.ml OCAMLDEP tools/spgen/source/position_generator.ml OCAMLDEP tools/spgen/source/user_input.ml OCAMLDEP tools/spgen/source/snapshot.ml OCAMLDEP tools/spgen/source/meta_variable.ml OCAMLDEP tools/spgen/source/detect_patch.ml OCAMLDEP tools/spgen/source/ast_tostring.ml OCAMLDEP tools/spgen/source/globals.ml OCAMLDEP main.ml OCAMLDEP enter.ml OCAMLDEP read_options.ml OCAMLDEP testing.ml OCAMLDEP cocci.ml OCAMLDEP flag_cocci.ml OCAMLDEP extra/maintainers.ml OCAMLDEP extra/kbuild.ml OCAMLDEP extra/classic_patch.ml OCAMLDEP popl09/popl.ml OCAMLDEP popl09/popltoctl.ml OCAMLDEP popl09/flag_popl.ml OCAMLDEP popl09/pretty_print_popl.ml OCAMLDEP popl09/insert_quantifiers.ml OCAMLDEP popl09/asttopopl.ml OCAMLDEP popl09/ast_popl.ml OCAMLDEP engine/ctlcocci_integration.ml OCAMLDEP engine/postprocess_transinfo.ml OCAMLDEP engine/ctltotex.ml OCAMLDEP engine/asttoctl2.ml OCAMLDEP engine/asttomember.ml OCAMLDEP engine/transformation_c.ml OCAMLDEP engine/pattern_c.ml OCAMLDEP engine/cocci_vs_c.ml OCAMLDEP engine/isomorphisms_c_c.ml OCAMLDEP engine/c_vs_c.ml 143 states, 8123 transitions, table size 33350 bytes 23641 additional bytes used for bindings OCAMLDEP engine/check_reachability.ml OCAMLDEP engine/check_exhaustive_pattern.ml OCAMLDEP engine/pretty_print_engine.ml OCAMLDEP engine/lib_engine.ml OCAMLDEP engine/flag_matcher.ml OCAMLDEP python/pycocci.ml OCAMLDEP python/yes_pycocci.ml OCAMLDEP python/pycocci_aux.ml OCAMLDEP ocaml/run_ocamlcocci.ml OCAMLDEP ocaml/prepare_ocamlcocci.ml 403 states, 8820 transitions, table size 37698 bytes 4123 additional bytes used for bindings OCAMLDEP ocaml/yes_prepare_ocamlcocci.ml OCAMLDEP ocaml/ocamlcocci_aux.ml OCAMLDEP ocaml/coccilib.ml OCAMLDEP ocaml/exposed_modules.ml OCAMLDEP ocaml/externalanalysis.ml OCAMLDEP ctl/wrapper_ctl.ml OCAMLDEP ctl/ctl_engine.ml OCAMLDEP ctl/pretty_print_ctl.ml OCAMLDEP ctl/ast_ctl.ml OCAMLDEP ctl/flag_ctl.ml OCAMLDEP parsing_c/test_parsing_c.ml OCAMLDEP parsing_c/compare_c.ml OCAMLDEP parsing_c/comment_annotater_c.ml OCAMLDEP parsing_c/type_annoter_c.ml OCAMLDEP parsing_c/cpp_ast_c.ml OCAMLDEP parsing_c/type_c.ml OCAMLDEP parsing_c/unparse_hrule.ml OCAMLDEP parsing_c/unparse_c.ml OCAMLDEP parsing_c/parse_c.ml OCAMLDEP parsing_c/danger.ml OCAMLDEP parsing_c/parsing_consistency_c.ml OCAMLDEP parsing_c/parsing_recovery_c.ml OCAMLDEP parsing_c/unparse_cocci.ml OCAMLDEP parsing_c/cpp_analysis_c.ml OCAMLDEP parsing_c/parsing_hacks.ml OCAMLDEP parsing_c/cpp_token_c.ml OCAMLDEP parsing_c/token_views_c.ml OCAMLDEP parsing_c/token_helpers.ml OCAMLDEP parsing_c/parse_string_c.ml OCAMLDEP parsing_c/lexer_parser.ml OCAMLDEP parsing_c/semantic_c.ml OCAMLDEP parsing_c/control_flow_c_build.ml OCAMLDEP parsing_c/pretty_print_c.ml OCAMLDEP parsing_c/includes_cache.ml OCAMLDEP parsing_c/lib_parsing_c.ml OCAMLDEP parsing_c/visitor_c.ml OCAMLDEP parsing_c/control_flow_c.ml OCAMLDEP parsing_c/includes.ml OCAMLDEP parsing_c/ast_c.ml OCAMLDEP parsing_c/token_c.ml OCAMLDEP parsing_c/parsing_stat.ml OCAMLDEP parsing_c/flag_parsing_c.ml OCAMLDEP parsing_c/token_annot.ml OCAMLDEP parsing_cocci/cocci_args.ml OCAMLDEP parsing_cocci/command_line.ml OCAMLDEP parsing_cocci/parse_cocci.ml OCAMLDEP parsing_cocci/re_constraints.ml OCAMLDEP parsing_cocci/commas_on_lists.ml OCAMLDEP parsing_cocci/adjacency.ml OCAMLDEP parsing_cocci/patch_diff.ml OCAMLDEP parsing_cocci/git_grep.ml OCAMLDEP parsing_cocci/id_utils.ml OCAMLDEP parsing_cocci/get_constants2.ml 408 states, 16889 transitions, table size 70004 bytes 10655 additional bytes used for bindings OCAMLDEP parsing_cocci/dpll.ml OCAMLDEP parsing_cocci/cocci_grep.ml OCAMLDEP parsing_cocci/disjdistr.ml OCAMLDEP parsing_cocci/cleanup_rules.ml OCAMLDEP parsing_cocci/parse_aux.ml OCAMLDEP parsing_cocci/parse_printf.ml OCAMLDEP parsing_cocci/safe_for_multi_decls.ml OCAMLDEP parsing_cocci/check_meta.ml OCAMLDEP parsing_cocci/free_vars.ml OCAMLDEP parsing_cocci/data.ml OCAMLDEP parsing_cocci/semantic_cocci.ml OCAMLDEP parsing_cocci/function_prototypes.ml OCAMLDEP parsing_cocci/insert_plus.ml OCAMLDEP parsing_cocci/adjust_pragmas.ml OCAMLDEP parsing_cocci/context_neg.ml OCAMLDEP parsing_cocci/index.ml OCAMLDEP parsing_cocci/arity.ml OCAMLDEP parsing_cocci/unitary_ast0.ml OCAMLDEP parsing_cocci/test_exps.ml OCAMLDEP parsing_cocci/type_infer.ml OCAMLDEP parsing_cocci/top_level.ml OCAMLDEP parsing_cocci/stmtlist.ml OCAMLDEP parsing_cocci/get_metas.ml OCAMLDEP parsing_cocci/simple_assignments.ml OCAMLDEP parsing_cocci/single_statement.ml OCAMLDEP parsing_cocci/iso_compile.ml OCAMLDEP parsing_cocci/comm_assoc.ml OCAMLDEP parsing_cocci/iso_pattern.ml OCAMLDEP parsing_cocci/compute_lines.ml OCAMLDEP parsing_cocci/unify_ast.ml OCAMLDEP parsing_cocci/unparse_ast0.ml OCAMLDEP parsing_cocci/ast0toast.ml OCAMLDEP parsing_cocci/visitor_ast0.ml OCAMLDEP parsing_cocci/visitor_ast.ml OCAMLDEP parsing_cocci/visitor_ast0_types.ml OCAMLDEP parsing_cocci/pretty_print_cocci.ml OCAMLDEP parsing_cocci/ast0_cocci.ml OCAMLDEP parsing_cocci/ast_cocci.ml OCAMLDEP parsing_cocci/flag_parsing_cocci.ml OCAMLDEP globals/regexp.ml OCAMLDEP globals/regexp_str.ml OCAMLDEP globals/iteration.ml OCAMLDEP globals/flag.ml OCAMLDEP globals/config.ml OCAMLDEP commons/ograph_extended.ml OCAMLDEP commons/ograph_simple.ml OCAMLDEP commons/common.ml OCAMLDEP commons/commands.ml OCAMLDEP commons/ocamlextra/dumper.ml OCAMLDEP parsing_c/parser_c.mli OCAMLDEP tools/spgen/source/spgen_lexer.ml OCAMLDEP parsing_c/lexer_c.ml OCAMLDEP parsing_cocci/lexer_script.ml OCAMLDEP parsing_cocci/lexer_cli.ml OCAMLDEP parsing_cocci/lexer_cocci.ml OCAMLC commons/ocamlextra/dumper.mli OCAMLC commons/commands.mli OCAMLC commons/common.mli OCAMLC globals/config.mli OCAMLC globals/flag.mli OCAMLC globals/iteration.mli OCAMLC globals/regexp_str.mli OCAMLC globals/regexp.mli OCAMLC parsing_cocci/flag_parsing_cocci.mli OCAMLC parsing_cocci/semantic_cocci.mli OCAMLC parsing_cocci/parse_printf.mli OCAMLC parsing_cocci/lexer_cli.mli OCAMLC parsing_cocci/cocci_grep.mli OCAMLC parsing_cocci/dpll.mli OCAMLC parsing_cocci/git_grep.mli OCAMLC parsing_cocci/patch_diff.mli OCAMLC parsing_cocci/command_line.mli OCAMLC parsing_cocci/cocci_args.mli OCAMLC parsing_c/token_annot.mli OCAMLC parsing_c/flag_parsing_c.mli OCAMLC ctl/flag_ctl.mli OCAMLC ctl/ast_ctl.mli OCAMLC engine/flag_matcher.mli OCAMLC popl09/flag_popl.mli OCAMLC flag_cocci.mli OCAMLC read_options.mli OCAMLC enter.mli OCAMLC main.mli OCAMLC tools/spgen/source/spgen_lexer.mli OCAMLC tools/spgen/source/spgen.mli cp globals/regexp.cmi ocaml/regexp.cmi OCAMLC tools/spgen/source/spgen_test.mli cp globals/config.cmi ocaml/config.cmi OCAMLC tools/spgen/source/main.mli cp globals/iteration.cmi ocaml/iteration.cmi cp commons/commands.cmi ocaml/commands.cmi cp commons/ocamlextra/dumper.cmi ocaml/dumper.cmi OCAMLC commons/ocamlextra/dumper.ml OCAMLC commons/commands.ml OCAMLC globals/config.ml OCAMLC globals/regexp_str.ml OCAMLC globals/regexp.ml OCAMLC parsing_cocci/flag_parsing_cocci.ml OCAMLC parsing_cocci/ast_cocci.mli OCAMLC parsing_cocci/semantic_cocci.ml OCAMLC parsing_cocci/lexer_cli.ml OCAMLC parsing_cocci/cocci_args.ml OCAMLC parsing_c/token_annot.ml OCAMLC ctl/flag_ctl.ml OCAMLC ctl/ast_ctl.ml OCAMLC ctl/pretty_print_ctl.mli OCAMLC popl09/flag_popl.ml cp globals/flag.cmi ocaml/flag.cmi OCAMLC flag_cocci.ml cp parsing_c/flag_parsing_c.cmi ocaml/flag_parsing_c.cmi OCAMLC globals/flag.ml OCAMLC parsing_cocci/parse_printf.ml OCAMLC engine/flag_matcher.ml cp globals/regexp.cmo ocaml/regexp.cmo OCAMLC tools/spgen/source/main.ml cp commons/commands.cmo ocaml/commands.cmo OCAMLC tools/spgen/source/spgen_lexer.ml cp globals/config.cmo ocaml/config.cmo cp commons/ocamlextra/dumper.cmo ocaml/dumper.cmo cp globals/flag.cmo ocaml/flag.cmo OCAMLC commons/common.ml OCAMLC commons/ograph_simple.mli OCAMLC commons/ograph_extended.mli OCAMLC globals/iteration.ml OCAMLC parsing_cocci/cocci_grep.ml OCAMLC parsing_cocci/dpll.ml OCAMLC parsing_cocci/git_grep.ml OCAMLC parsing_cocci/patch_diff.ml OCAMLC parsing_cocci/command_line.ml OCAMLC parsing_c/flag_parsing_c.ml OCAMLC parsing_c/parsing_stat.mli OCAMLC parsing_c/token_c.mli OCAMLC parsing_c/semantic_c.mli OCAMLC parsing_c/compare_c.mli OCAMLC parsing_c/test_parsing_c.mli OCAMLC ctl/pretty_print_ctl.ml OCAMLC extra/classic_patch.mli OCAMLC extra/kbuild.mli OCAMLC extra/maintainers.mli cp commons/common.cmi ocaml/common.cmi OCAMLC read_options.ml OCAMLC parsing_cocci/ast_cocci.ml OCAMLC parsing_cocci/ast0_cocci.mli OCAMLC parsing_cocci/pretty_print_cocci.mli OCAMLC parsing_cocci/visitor_ast.mli OCAMLC parsing_cocci/stmtlist.mli OCAMLC parsing_cocci/safe_for_multi_decls.mli OCAMLC parsing_cocci/cleanup_rules.mli OCAMLC parsing_cocci/disjdistr.mli OCAMLC parsing_cocci/get_constants2.mli OCAMLC parsing_cocci/re_constraints.mli OCAMLC parsing_c/parsing_stat.ml OCAMLC parsing_c/token_c.ml OCAMLC parsing_c/ast_c.mli OCAMLC parsing_c/semantic_c.ml OCAMLC ocaml/yes_prepare_ocamlcocci.mli OCAMLC ocaml/prepare_ocamlcocci.mli OCAMLC engine/check_exhaustive_pattern.mli OCAMLC popl09/ast_popl.mli OCAMLC extra/classic_patch.ml OCAMLC extra/kbuild.ml OCAMLC extra/maintainers.ml OCAMLC tools/spgen/source/globals.mli cp parsing_c/token_c.cmi ocaml/token_c.cmi cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi OCAMLC tools/spgen/source/ast_tostring.mli cp globals/iteration.cmo ocaml/iteration.cmo OCAMLC commons/ograph_simple.ml OCAMLC commons/ograph_extended.ml OCAMLC -o globals/globals.cma OCAMLC parsing_cocci/pretty_print_cocci.ml OCAMLC parsing_cocci/id_utils.mli OCAMLC ctl/ctl_engine.mli OCAMLC testing.mli cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo cp parsing_c/token_c.cmo ocaml/token_c.cmo OCAMLC tools/spgen/source/globals.ml OCAMLC popl09/ast_popl.ml OCAMLC popl09/asttopopl.mli OCAMLC popl09/insert_quantifiers.mli OCAMLC popl09/pretty_print_popl.mli OCAMLC parsing_cocci/stmtlist.ml OCAMLC parsing_cocci/free_vars.mli OCAMLC parsing_cocci/safe_for_multi_decls.ml OCAMLC parsing_cocci/cleanup_rules.ml OCAMLC parsing_cocci/disjdistr.ml OCAMLC parsing_cocci/get_constants2.ml OCAMLC parsing_cocci/id_utils.ml OCAMLC ocaml/prepare_ocamlcocci.ml OCAMLC popl09/insert_quantifiers.ml OCAMLC popl09/pretty_print_popl.ml OCAMLC tools/spgen/source/ast_tostring.ml OCAMLC ctl/ctl_engine.ml OCAMLC ctl/wrapper_ctl.mli OCAMLC popl09/asttopopl.ml OCAMLC -o extra/extra.cma OCAMLC parsing_cocci/free_vars.ml OCAMLC ctl/wrapper_ctl.ml OCAMLC parsing_c/ast_c.ml OCAMLC parsing_c/includes.mli OCAMLC parsing_c/control_flow_c.mli OCAMLC parsing_c/includes_cache.mli OCAMLC parsing_c/lexer_parser.mli OCAMLC parsing_c/parser_c.mli OCAMLC parsing_c/unparse_cocci.mli OCAMLC parsing_c/parsing_consistency_c.mli OCAMLC parsing_c/danger.mli OCAMLC parsing_c/unparse_hrule.mli OCAMLC parsing_c/type_c.mli OCAMLC parsing_c/type_annoter_c.mli OCAMLC ocaml/externalanalysis.mli OCAMLC ocaml/ocamlcocci_aux.mli OCAMLC ocaml/run_ocamlcocci.mli OCAMLC python/pycocci_aux.mli OCAMLC python/pycocci.mli OCAMLC engine/c_vs_c.mli OCAMLC engine/isomorphisms_c_c.mli OCAMLC tools/spgen/source/detect_patch.mli OCAMLC tools/spgen/source/meta_variable.mli OCAMLC tools/spgen/source/file_transform.mli cp parsing_c/ast_c.cmi ocaml/ast_c.cmi cp parsing_cocci/ast0_cocci.cmi ocaml/ast0_cocci.cmi OCAMLC parsing_cocci/ast0_cocci.ml OCAMLC parsing_cocci/visitor_ast0_types.mli OCAMLC parsing_cocci/visitor_ast.ml OCAMLC parsing_cocci/ast0toast.mli OCAMLC parsing_cocci/unparse_ast0.mli OCAMLC parsing_cocci/compute_lines.mli OCAMLC parsing_cocci/unify_ast.mli OCAMLC parsing_cocci/comm_assoc.mli OCAMLC parsing_cocci/single_statement.mli OCAMLC parsing_cocci/simple_assignments.mli OCAMLC parsing_cocci/get_metas.mli OCAMLC parsing_cocci/top_level.mli OCAMLC parsing_cocci/type_infer.mli OCAMLC parsing_cocci/test_exps.mli OCAMLC parsing_cocci/unitary_ast0.mli OCAMLC parsing_cocci/arity.mli OCAMLC parsing_cocci/index.mli OCAMLC parsing_cocci/context_neg.mli OCAMLC parsing_cocci/adjust_pragmas.mli OCAMLC parsing_cocci/insert_plus.mli OCAMLC parsing_cocci/function_prototypes.mli OCAMLC parsing_cocci/data.mli OCAMLC parsing_cocci/check_meta.mli OCAMLC parsing_cocci/adjacency.mli OCAMLC parsing_cocci/commas_on_lists.mli OCAMLC parsing_cocci/parse_cocci.mli OCAMLC parsing_c/includes.ml OCAMLC parsing_c/control_flow_c.ml OCAMLC parsing_c/visitor_c.mli OCAMLC parsing_c/pretty_print_c.mli OCAMLC parsing_c/control_flow_c_build.mli OCAMLC parsing_c/lexer_parser.ml OCAMLC parsing_c/lexer_c.mli OCAMLC parsing_c/parse_string_c.mli OCAMLC parsing_c/token_helpers.mli OCAMLC parsing_c/token_views_c.mli OCAMLC parsing_c/parsing_recovery_c.mli OCAMLC parsing_c/type_c.ml OCAMLC parsing_c/comment_annotater_c.mli OCAMLC ocaml/externalanalysis.ml OCAMLC engine/lib_engine.mli OCAMLC engine/check_exhaustive_pattern.ml OCAMLC engine/check_reachability.mli OCAMLC engine/isomorphisms_c_c.ml OCAMLC engine/cocci_vs_c.mli OCAMLC tools/spgen/source/snapshot.mli OCAMLC tools/spgen/source/user_input.mli OCAMLC tools/spgen/source/rule_body.mli OCAMLC tools/spgen/source/rule_header.mli OCAMLC tools/spgen/source/context_rule.mli OCAMLC tools/spgen/source/spgen_test.ml cp parsing_c/parser_c.cmi ocaml/parser_c.cmi cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi OCAMLC parsing_cocci/unparse_ast0.ml OCAMLC parsing_cocci/unify_ast.ml OCAMLC parsing_cocci/compute_lines.ml OCAMLC parsing_cocci/top_level.ml OCAMLC parsing_cocci/arity.ml OCAMLC parsing_cocci/index.ml OCAMLC parsing_cocci/data.ml OCAMLC parsing_cocci/parse_aux.mli OCAMLC parsing_cocci/re_constraints.ml OCAMLC parsing_c/visitor_c.ml OCAMLC parsing_c/lib_parsing_c.mli OCAMLC parsing_c/lexer_c.ml OCAMLC parsing_c/parse_string_c.ml OCAMLC parsing_c/token_helpers.ml OCAMLC parsing_c/token_views_c.ml OCAMLC parsing_c/cpp_token_c.mli OCAMLC parsing_c/unparse_cocci.ml OCAMLC parsing_c/parsing_recovery_c.ml OCAMLC parsing_c/parsing_consistency_c.ml OCAMLC parsing_c/danger.ml OCAMLC parsing_c/unparse_hrule.ml OCAMLC parsing_c/comment_annotater_c.ml OCAMLC ocaml/ocamlcocci_aux.ml OCAMLC python/pycocci_aux.ml OCAMLC engine/lib_engine.ml OCAMLC engine/pretty_print_engine.mli OCAMLC engine/check_reachability.ml OCAMLC engine/c_vs_c.ml OCAMLC engine/cocci_vs_c.ml OCAMLC engine/pattern_c.mli OCAMLC engine/transformation_c.mli OCAMLC engine/asttomember.mli OCAMLC engine/asttoctl2.mli OCAMLC engine/ctltotex.mli OCAMLC engine/postprocess_transinfo.mli OCAMLC engine/ctlcocci_integration.mli OCAMLC tools/spgen/source/snapshot.ml OCAMLC tools/spgen/source/user_input.ml OCAMLC tools/spgen/source/position_generator.mli OCAMLC tools/spgen/source/disj_generator.mli OCAMLC tools/spgen/source/rule_header.ml OCAMLC tools/spgen/source/context_rule.ml OCAMLC tools/spgen/source/script_rule.mli OCAMLC tools/spgen/source/file_transform.ml OCAMLC tools/spgen/source/spgen_interactive.mli OCAMLC tools/spgen/source/spgen_config.mli cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi cp parsing_c/ast_c.cmo ocaml/ast_c.cmo cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo cp parsing_cocci/ast0_cocci.cmo ocaml/ast0_cocci.cmo OCAMLC parsing_cocci/visitor_ast0_types.ml OCAMLC parsing_cocci/visitor_ast0.mli OCAMLC parsing_cocci/iso_pattern.mli OCAMLC parsing_cocci/parse_aux.ml MENHIR parsing_cocci/parser_cocci_menhir.mly OCAMLC parsing_c/lib_parsing_c.ml OCAMLC parsing_c/includes_cache.ml OCAMLC parsing_c/pretty_print_c.ml OCAMLC parsing_c/control_flow_c_build.ml OCAMLC parsing_c/parser_c.ml OCAMLC parsing_c/cpp_token_c.ml OCAMLC parsing_c/parsing_hacks.mli OCAMLC parsing_c/cpp_analysis_c.mli OCAMLC parsing_c/parse_c.mli OCAMLC -o ctl/ctl.cma OCAMLC engine/pretty_print_engine.ml OCAMLC engine/pattern_c.ml OCAMLC engine/transformation_c.ml OCAMLC engine/asttomember.ml OCAMLC engine/asttoctl2.ml OCAMLC engine/ctltotex.ml OCAMLC engine/postprocess_transinfo.ml OCAMLC engine/ctlcocci_integration.ml OCAMLC popl09/popltoctl.mli OCAMLC popl09/popl.mli OCAMLC cocci.mli OCAMLC main.ml OCAMLC tools/spgen/source/detect_patch.ml OCAMLC tools/spgen/source/meta_variable.ml OCAMLC tools/spgen/source/position_generator.ml OCAMLC tools/spgen/source/disj_generator.ml OCAMLC tools/spgen/source/rule_body.ml OCAMLC tools/spgen/source/script_rule.ml OCAMLC tools/spgen/source/spgen_interactive.ml OCAMLC tools/spgen/source/spgen_config.ml OCAMLC tools/spgen/source/spgen.ml cp parsing_c/parse_c.cmi ocaml/parse_c.cmi cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo cp commons/common.cmo ocaml/common.cmo OCAMLC -o commons/commons.cma OCAMLC parsing_cocci/visitor_ast0.ml OCAMLC parsing_cocci/ast0toast.ml OCAMLC parsing_cocci/iso_pattern.ml OCAMLC parsing_cocci/comm_assoc.ml OCAMLC parsing_cocci/iso_compile.mli OCAMLC parsing_cocci/single_statement.ml OCAMLC parsing_cocci/simple_assignments.ml OCAMLC parsing_cocci/get_metas.ml OCAMLC parsing_cocci/type_infer.ml OCAMLC parsing_cocci/test_exps.ml OCAMLC parsing_cocci/unitary_ast0.ml OCAMLC parsing_cocci/context_neg.ml OCAMLC parsing_cocci/adjust_pragmas.ml OCAMLC parsing_cocci/insert_plus.ml OCAMLC parsing_cocci/function_prototypes.ml OCAMLC parsing_cocci/check_meta.ml OCAMLC parsing_cocci/adjacency.ml OCAMLC parsing_cocci/commas_on_lists.ml OCAMLC parsing_c/parsing_hacks.ml OCAMLC parsing_c/cpp_analysis_c.ml OCAMLC parsing_c/parse_c.ml OCAMLC parsing_c/unparse_c.mli OCAMLC parsing_c/cpp_ast_c.mli OCAMLC parsing_c/type_annoter_c.ml OCAMLC parsing_c/compare_c.ml OCAMLC ocaml/exposed_modules.mli OCAMLC ocaml/coccilib.mli OCAMLC popl09/popltoctl.ml OCAMLC popl09/popl.ml OCAMLC testing.ml OCAMLC enter.ml cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo OCAMLC parsing_cocci/iso_compile.ml OCAMLC parsing_c/unparse_c.ml OCAMLC parsing_c/cpp_ast_c.ml OCAMLC parsing_c/test_parsing_c.ml OCAMLC -o popl09/popl09.cma cp parsing_c/parse_c.cmo ocaml/parse_c.cmo OCAMLC ocaml/exposed_modules.ml cp parsing_c/parser_c.cmo ocaml/parser_c.cmo OCAMLC -o parsing_c/parsing_c.cma OCAMLC ocaml/coccilib.ml OCAMLC ocaml/yes_prepare_ocamlcocci.ml OCAMLC ocaml/run_ocamlcocci.ml OCAMLC python/yes_pycocci.mli OCAMLC cocci.ml OCAMLC python/yes_pycocci.ml OCAMLC python/pycocci.ml OCAMLC -o python/python.cma OCAMLC -o engine/engine.cma OCAMLC -o ocaml/ocaml.cma OCAMLDEP parsing_cocci/parser_cocci_menhir.ml OCAMLDEP parsing_cocci/parser_cocci_menhir.mli OCAMLC parsing_cocci/parser_cocci_menhir.mli OCAMLC parsing_cocci/lexer_cocci.mli OCAMLC parsing_cocci/lexer_script.mli OCAMLC parsing_cocci/lexer_cocci.ml OCAMLC parsing_cocci/lexer_script.ml OCAMLC parsing_cocci/parse_cocci.ml OCAMLC parsing_cocci/parser_cocci_menhir.ml OCAMLC -o parsing_cocci/parsing_cocci.cma OCAMLC -o spatch OCAMLC -o tools/spgen/source/spgen make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' debian/rules override_dh_auto_test-arch make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' /usr/bin/make check || echo "IGNORING FAILED TESTS" make[2]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' ./spatch --testall --no-update-score-file init_defs_builtins: /build/reproducible-path/coccinelle-1.2.deb/standard.h 62.res diff = --- tests/62.c +++ /tmp/cocci-output-128647-ec9ee9-62.c @@ -1,8 +1,12 @@ static struct usb_driver carl9170_driver = { .id_table = carl9170_usb_ids, +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) .soft_unbind = 1, +#endif #ifdef CONFIG_PM .reset_resume = carl9170_usb_resume, #endif /* CONFIG_PM */ +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) .disable_hub_initiated_lpm = 1, +#endif }; a.res a3.res diff = --- tests/a3.c +++ /tmp/cocci-output-128647-2b109c-a3.c @@ -1,5 +1,5 @@ static void a3d_connect() { - a3d->idbus = BUS_GAMEPORT; + a3d->id.bustype = BUS_GAMEPORT; } a3d.res diff = --- tests/a3d.c +++ /tmp/cocci-output-128647-0724c1-a3d.c @@ -6,13 +6,13 @@ struct a3d { static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { struct a3d *a3d; - a3d->adc.idbus = BUS_GAMEPORT; - a3d->dev.idbus = BUS_GAMEPORT; + a3d->adc.id.bustype = BUS_GAMEPORT; + a3d->dev.id.bustype = BUS_GAMEPORT; } static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { struct a3d *a3d; - a3d->adc.idbus = BUS_GAMEPORT; + a3d->adc.id.bustype = BUS_GAMEPORT; } a_and_e.res a_and_e_ver1.res diff = --- tests/a_and_e_ver1.c +++ /tmp/cocci-output-128647-ac6afb-a_and_e_ver1.c @@ -1,6 +1,7 @@ void main(int i) { g(); + f(2, 0); if(1) f(1,2); else ab.res diff = --- tests/ab.c +++ /tmp/cocci-output-128647-bfd579-ab.c @@ -1,5 +1,5 @@ int main () { foo = 5; - a = 12; + b = 12; xxx = 12; } action.res diff = --- tests/action.c +++ /tmp/cocci-output-128647-f375b6-action.c @@ -1,10 +1,8 @@ void work() { if (x) - { - action(el, 1); - return; - } + goto last_action; code(); + last_action: action(el, 1); } add1.res SPECIAL NAMES: adding list_for_each_entry as a iterator diff = --- tests/add1.c +++ /tmp/cocci-output-128647-f5ee4c-add1.c @@ -7,6 +7,9 @@ static int create_scheduling_groups(void ret = build_groups(sd, i); } + if (!sd) + return 0; + list_for_each_entry(sd, cfs_ipa_topology, siblings) { ret = build_lower_groups(sd); } addaft.res diff = warning: rule starting on line 1, node 32: c(...)[1,2,10,11,15] in main may be inconsistently modified warning: rule starting on line 1, node 28: [fallthrough][1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 25: a(...)[1,2,10,11,12] in main may be inconsistently modified warning: rule starting on line 1, node 30: [after][1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 24: {3[1,2,10,11] in main may be inconsistently modified warning: rule starting on line 1, node 21: [whiletrue][1,2,10] in main may be inconsistently modified warning: rule starting on line 1, node 33: }3[1,2,10,11] in main may be inconsistently modified warning: rule starting on line 1, node 27: [then][1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 26: if[1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 31: statement[1,2,10,11,13,14] in main may be inconsistently modified warning: rule starting on line 1, node 34: [after][1,2,10,11] in main may be inconsistently modified warning: rule starting on line 1, node 29: [endif][1,2,10,11,13] in main may be inconsistently modified warning: rule starting on line 1, node 20: while[1,2,10]* in main may be inconsistently modified --- tests/addaft.c +++ /tmp/cocci-output-128647-e87d59-addaft.c @@ -1,16 +1,8 @@ int main () { foo(); - if (x) { - a(); - b(); - c(); - } + bar(); foo(); - while (x) { - a(); - if (b()) continues; - c(); - } + bar(); foo(); - r(); + bar(); } addafterdecl.res diff = --- tests/addafterdecl.c +++ /tmp/cocci-output-128647-271458-addafterdecl.c @@ -1,4 +1,5 @@ int main () { int x; + f(1, 2, 3); return x; } addbefore.res diff = --- tests/addbefore.c +++ /tmp/cocci-output-128647-936022-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { + foo(); goto out; } after(); addbeforeafter.res diff = --- tests/addbeforeafter.c +++ /tmp/cocci-output-128647-6556e0-addbeforeafter.c @@ -1,6 +1,8 @@ int main () { if (x) { + foo(); goto out; + bar(); } after(); out: addcomm.res diff = --- tests/addcomm.c +++ /tmp/cocci-output-128647-1b8e98-addcomm.c @@ -1,5 +1,9 @@ int main() { - foo(); + foo() + // something + ; bar(); - xxx(); + // something + xxx() + /* something */; } addelse.res diff = --- tests/addelse.c +++ /tmp/cocci-output-128647-ce746f-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; } addes.res diff = --- tests/addes.c +++ /tmp/cocci-output-128647-6ef896-addes.c @@ -1 +1,3 @@ int i; +struct foo { +}; addfield.res diff = --- tests/addfield.c +++ /tmp/cocci-output-128647-4ddc8e-addfield.c @@ -1,4 +1,6 @@ struct i2c_client I = { - .name = E, .foo = 16, + .dev = { + .name = E, + }, }; addfield2.res diff = --- tests/addfield2.c +++ /tmp/cocci-output-128647-d33533-addfield2.c @@ -1,17 +1,21 @@ struct foo { + int roto; int titi; }; foo() { + roto(); start(); } struct bar { int titi; + int roto; }; bar() { start(); + roto(); } addif.res diff = --- tests/addif.c +++ /tmp/cocci-output-128647-076195-addif.c @@ -1,7 +1,21 @@ +#ifdef FOO +/* some comment */ +int xxx() { + /* a comment by itself */ + return 12;/* another comment */ +} +#endif static int foo() { return 12; } +#ifdef FOO +/* some comment */ +int xxx() { + /* a comment by itself */ + return 12;/* another comment */ +} +#endif static int bar() { return 12; } addif1.res diff = --- tests/addif1.c +++ /tmp/cocci-output-128647-c66908-addif1.c @@ -1,7 +1,17 @@ +#ifdef FOO +int xxx() { + return 12; +} +#endif static int foo() { return 12; } +#ifdef FOO +int xxx() { + return 12; +} +#endif static int bar() { return 12; } addif2.res diff = --- tests/addif2.c +++ /tmp/cocci-output-128647-2ef774-addif2.c @@ -1,7 +1,13 @@ +#ifdef FOO +int/*foo*/ xxx; +#endif static int foo() { return 12; } +#ifdef FOO +int/*foo*/ xxx; +#endif static int bar() { return 12; } addifdef.res diff = --- tests/addifdef.c +++ /tmp/cocci-output-128647-ec1345-addifdef.c @@ -1,10 +1,14 @@ #ifdef FOO +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) int one () { return 1; } +#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) */ #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,1) */ /* comment about two */ +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) int two () { return 2; } +#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) */ addifelse.res diff = --- tests/addifelse.c +++ /tmp/cocci-output-128647-5357d2-addifelse.c @@ -1,8 +1,14 @@ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) static void rfcomm_l2data_ready(struct sock *sk) { BT_DBG("%p", sk); rfcomm_schedule(); } +#else +static void backport_rfcomm_l2data_ready(struct sock *sk, int unused) { + rfcomm_l2data_ready(sk); +} +#endif static int rfcomm_l2sock_create(struct socket **sock) { addifelse2.res diff = --- tests/addifelse2.c +++ /tmp/cocci-output-128647-e5ce9f-addifelse2.c @@ -1,8 +1,15 @@ +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) +static void backport_rfcomm_l2data_ready(struct sock *sk, int unused) { + rfcomm_l2data_ready(sk); +} +#else + static void rfcomm_l2data_ready(struct sock *sk) { BT_DBG("%p", sk); rfcomm_schedule(); } +#endif static int rfcomm_l2sock_create(struct socket **sock) { addinc.res diff = --- tests/addinc.c +++ /tmp/cocci-output-128647-3d1e8b-addinc.c @@ -1,4 +1,5 @@ #ifndef FOO #define FOO #include +#include #endif addnl.res diff = --- tests/addnl.c +++ /tmp/cocci-output-128647-e30cd6-addnl.c @@ -1,5 +1,6 @@ int main () { xxx(); - foo(); + FOO(); + yyy(); } addremvec.res addtoo.res diff = --- tests/addtoo.c +++ /tmp/cocci-output-128647-fa17f1-addtoo.c @@ -1,16 +1,8 @@ int main () { - if (x) { - a(); - b(); - c(); - } + bar(); foo(); - while (x) { - a(); - if (b()) continues; - c(); - } + bar(); foo(); - r(); + bar(); foo(); } addtrace.res diff = --- tests/addtrace.c +++ /tmp/cocci-output-128647-70e611-addtrace.c @@ -2,13 +2,24 @@ short VerDate(char *pcDate) { short sRetour = 0; if ( pcDate == 0 ) { - sRetour = 1; + trace("ifth"); + { + sRetour = 1; + } } - if ( pcDate == 0 ) - sRetour = 1; + trace("endif"); if ( pcDate == 0 ) { + trace("ifth"); sRetour = 1; - return sRetour; } + trace("endif"); + if ( pcDate == 0 ) { + trace("ifth"); + { + sRetour = 1; + return sRetour; + } + } + trace("endif"); return sRetour; } after_if.res diff = --- tests/after_if.c +++ /tmp/cocci-output-128647-9ed564-after_if.c @@ -1,4 +1,4 @@ #ifdef ELMC_MULTICAST static void set_multicast_list(struct net_device *dev); #endif -static struct ethtool_ops netdev_ethtool_ops; +static const struct ethtool_ops netdev_ethtool_ops; aggregate_initialization.res exn while in timeout_function allex.res diff = --- tests/allex.c +++ /tmp/cocci-output-128647-fa8443-allex.c @@ -6,7 +6,7 @@ int main () { goto out; } } - if (x) return 15; + if (x) return 200; out: return rc; } allex2.res diff = --- tests/allex2.c +++ /tmp/cocci-output-128647-9f1a77-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; out: - return 0; + return 100; } allex3.res diff = --- tests/allex3.c +++ /tmp/cocci-output-128647-d66cd6-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; out: - return 0; } andid.res diff = --- tests/andid.c +++ /tmp/cocci-output-128647-ab1412-andid.c @@ -1,5 +1,5 @@ int main () { - int frontandback = 12; + int test = 12; int front = 12; int back = 12; } anon.res diff = --- tests/anon.c +++ /tmp/cocci-output-128647-11c577-anon.c @@ -12,5 +12,5 @@ static int ppa_queuecommand(struct scsi_ void (*done) (struct scsi_cmnd *)) { ppa_struct *dev = ppa_dev(cmd->device->host); - schedule_work(&dev->ppa_tq); + schedule_delayed_work(&dev->ppa_tq, 0); } anonfield.res diff = --- tests/anonfield.c +++ /tmp/cocci-output-128647-898c0a-anonfield.c @@ -1,3 +1,3 @@ struct { - int; + bool; }; ar.res diff = --- tests/ar.c +++ /tmp/cocci-output-128647-257d4c-ar.c @@ -4,9 +4,4 @@ int main() { struct foo *x; struct bar *y; struct foo z[15]; - - x->y = 12; - y->a->y = 12; - y->b[7].y = 12; - z[15].y = 12; } arg.res diff = --- tests/arg.c +++ /tmp/cocci-output-128647-1e9db0-arg.c @@ -1,6 +1,6 @@ int main () { - foo(bar()); - foo(1,bar()); - foo(bar(),2); - foo(1,bar(),2); + foo(); + foo(1); + foo(2); + foo(1,2); } argument.res diff = --- tests/argument.c +++ /tmp/cocci-output-128647-f75f18-argument.c @@ -1,8 +1,5 @@ void main(int i){ - f(1,2,3); - - h(1,2); - h(); + g(3, 2, 1); } arparam.res diff = --- tests/arparam.c +++ /tmp/cocci-output-128647-437305-arparam.c @@ -1,3 +1,8 @@ +int g(int q[1024]) +{ + return 12; +} + int main(int q[1024]) { return 12; } array_init.res SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/array_init.c +++ /tmp/cocci-output-128647-55ff5f-array_init.c @@ -1,3 +1,2 @@ static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; -MODULE_PARM(term, "1-8i"); array_size.res diff = --- tests/array_size.c +++ /tmp/cocci-output-128647-9cc3b6-array_size.c @@ -1,2 +1,2 @@ -#define MAX_SETUP_STRINGS (sizeof(setup_strings) / sizeof(char *)) +#define MAX_SETUP_STRINGS ARRAY_SIZE(setup_strings) #define SETUP_BUFFER_SIZE 200 arraysz.res diff = --- tests/arraysz.c +++ /tmp/cocci-output-128647-6d0a20-arraysz.c @@ -7,4 +7,4 @@ typedef struct signature { static const Signature signatures[] = { {"SSTBIOS", 0x0000d, 7} /* "SSTBIOS" @ offset 0x0000d */ }; -#define NUM_SIGNATURES (sizeof(signatures)/sizeof(Signature)) +#define NUM_SIGNATURES ARRAY_SIZE(signatures) as_stm.res diff = --- tests/as_stm.c +++ /tmp/cocci-output-128647-86ec4e-as_stm.c @@ -1,3 +1,5 @@ int main () { +#ifdef BEFORE if (f()) return 15; +#endif } assign_deref_funcall_in_macro_it.res SPECIAL NAMES: adding for_one as a iterator attr_with_arguments.res SPECIAL NAMES: adding aarg as a attribute SPECIAL NAMES: adding aarg2 as a attribute SPECIAL NAMES: adding aarg3 as a attribute warning: line 36: should id be a metavariable? SPECIAL NAMES: adding aarg4 as a attribute diff = --- tests/attr_with_arguments.c +++ /tmp/cocci-output-128647-e001d8-attr_with_arguments.c @@ -1,9 +1,9 @@ -aarg(1,2) int func() { - int id aarg3(1,2); +aarg(1,2) char func() { + long id aarg3(1,2); return 42; } -aarg("not (1,2)") int func() { +aarg("not (1,2)") long func() { return 42; } @@ -11,13 +11,13 @@ int func() { return 42; } -aarg2(arguments) int func() { +aarg2(arguments) short func() { return 42; } -aarg2(1,"2") int func() { +aarg2(1,"2") short func() { return 42; } -void func() aarg4(1,2) { +long func() aarg4(1,2) { } attradd.res diff = --- tests/attradd.c +++ /tmp/cocci-output-128647-7dff82-attradd.c @@ -1,3 +1,5 @@ int main () { - char f; + char __attribute__((aligned(1))) f; } +// some comment +// some other comment attribute_order.res SPECIAL NAMES: adding __att1 as a attribute SPECIAL NAMES: adding __att2 as a attribute SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attribute_order.c +++ /tmp/cocci-output-128647-7b56d6-attribute_order.c @@ -1,3 +1,3 @@ -int __att1 * __att2 * __att3 foo() { return 0; } + int __att1 * __att3 * __att2 nochange1() { return 0; } int __att3 * __att1 * __att2 nochange2() { return 0; } attributeb.res warning: line 5: should variable be a metavariable? diff = --- tests/attributeb.c +++ /tmp/cocci-output-128647-57f087-attributeb.c @@ -1,3 +1,3 @@ int main(){ - [[lucky]] int variable; + [[fortunate]] int variable; } attributeu.res diff = --- tests/attributeu.cpp +++ /tmp/cocci-output-128647-022cac-attributeu.cpp @@ -1,3 +1,3 @@ int main(){ - [[using GCC : lucky]] int variable; + [[using CCG: fortunate]] int variable; } attrreplace.res SPECIAL NAMES: adding __att1 as a attribute SPECIAL NAMES: adding __att2 as a attribute SPECIAL NAMES: adding __att3 as a attribute diff = --- tests/attrreplace.c +++ /tmp/cocci-output-128647-4b63eb-attrreplace.c @@ -1,4 +1,7 @@ -int __att1 * __att2 * __att3 foo() { aaa(0); } -int __att1 * __att2 * __att3 bar() { return 0; } -int ** xyzbefore() { return 0; } -int ** xyzafter() { return 0; } +int __att3 * __att2 * __att1 reversed() +{ + bbb(0); +} +int * * bar() { return 0; } +__att1 int *__att2*__att3 xyzbefore() { return 0; } +int __att1 *__att2*__att3 xyzafter() { return 0; } attrs2groups.res SPECIAL NAMES: adding NOBUG as a declarer SPECIAL NAMES: adding BUG as a declarer diff = --- tests/attrs2groups.c +++ /tmp/cocci-output-128647-582b2e-attrs2groups.c @@ -3,18 +3,24 @@ static ssize_t devspec_show(struct devic { return 42; } +static BUG(); +NOBUG(); static ssize_t name_show(struct device *dev, struct device_attribute *attr, char *buf) { return 0; } +static BUG(); +NOBUG(); static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, char *buf) { return 1; } +static BUG(); +NOBUG(); struct device_attribute ibmebus_bus_device_attrs[] = { auto.res SPECIAL NAMES: adding type as a type warning: rule starting on line 3: metavariable t not used in the - or context code exn while in timeout_function autoloop.res exn while in timeout_function b1.res diff = --- tests/b1.c +++ /tmp/cocci-output-128647-b72a82-b1.c @@ -1,7 +1,9 @@ int main () { while (1) { - if (x > 1 ) { foo(); break; } + if (x > 1 ) { foo(); + bar(); break; } } while (1) - if (x > 1 ) { foo(); break; } + if (x > 1 ) { foo(); + bar(); break; } } b2.res diff = warning: rule starting on line 1, node 36: foo(...)[1,2,10,11,12,13] in main may be inconsistently modified --- tests/b2.c +++ /tmp/cocci-output-128647-ad84d1-b2.c @@ -1,9 +1,11 @@ int main () { if (1) { - if (x > 1 ) { foo(); brk(); } + if (x > 1 ) { foo(); + bar(); brk(); } } else aaa(); if (1) - while (x > 1 ) { foo(); brk(); } + while (x > 1 ) { foo(); + bar(); brk(); } else aaa(); foo(); brk(); } bad_iso_example.res bad_kfree.res diff = --- tests/bad_kfree.c +++ /tmp/cocci-output-128647-80b25e-bad_kfree.c @@ -14,7 +14,7 @@ int bad () { kfree(itv[i]); print("foo",itv[i]); print("foo",itv[i]); - a = itv[i]; + a = NULL; itv[i]=12; a = itv[i]; } bad_ptr_print.res diff = --- tests/bad_ptr_print.c +++ /tmp/cocci-output-128647-a2f954-bad_ptr_print.c @@ -1,4 +1,4 @@ static inline int tester(struct usb_endpoint_descriptor *epd) { - f((struct foo *)x); + g((struct foo *)x); } bad_typedef.res diff = --- tests/bad_typedef.c +++ /tmp/cocci-output-128647-b2b0df-bad_typedef.c @@ -4,7 +4,7 @@ typedef struct { int main1 (scsi_changer *x) { - foo(x->lock); + foo(x->new_lock); } struct scsi_changer_two { @@ -13,5 +13,5 @@ struct scsi_changer_two { int main2 (struct scsi_changer_two *x) { - foo(x->lock); + foo(x->new_lock); } badcfg.res diff = --- tests/badcfg.c +++ /tmp/cocci-output-128647-65ba02-badcfg.c @@ -3,7 +3,7 @@ const char *netdev_cmd_to_name(enum netd #define N(val) \ case NETDEV_##val: \ return "NETDEV_" __stringify(val); - switch (cmd) { + switch (replacement) { N(UP) N(DOWN) N(PRE_CHANGEADDR) } badexp.res diff = --- tests/badexp.c +++ /tmp/cocci-output-128647-39b91d-badexp.c @@ -1,4 +1,4 @@ int main() { foo(a); - b = a; + b = 3 +a * 27; } badpos.res previous modification: MINUS >>> xxx According to environment 0: current modification: MINUS According to environment 0: exn while in timeout_function badtypedef.res diff = --- tests/badtypedef.c +++ /tmp/cocci-output-128647-13f3a7-badtypedef.c @@ -5,7 +5,7 @@ int main() { foo_t *b; foo_t *c; - xxx(a); - yyy(b); + aaa(a); + bbb(b); } badwhen.res diff = --- tests/badwhen.c +++ /tmp/cocci-output-128647-087da2-badwhen.c @@ -4,7 +4,5 @@ int main () { g(); } int second() { - f(); if (xfoo()) return; - g(); } badzero.res diff = --- tests/badzero.c +++ /tmp/cocci-output-128647-7fb4f5-badzero.c @@ -4,7 +4,7 @@ int main () { int z; if (y - x == 0) return; if ((y - x) == 0) return; - if (y - z == 0) return; - if ((y - z) == 0) return; + if (27) return; + if (27) return; } bc_1.res warning: f: metavariable i not used in the - or context code exn while in timeout_function befS.res diff = --- tests/befS.c +++ /tmp/cocci-output-128647-d59bb3-befS.c @@ -1,20 +1,32 @@ int main () { + foo(); xxx(); + foo(); if(y) { - rrr(); + foo(); + { + foo(); + rrr(); + } } } int main () { + foo(); xxx(); - if(y) + foo(); + if(y) { + foo(); rrr(); + } } int d() {} int main2 () { + foo(); yyy(); + foo(); xxx(); } before.res diff = --- tests/before.c +++ /tmp/cocci-output-128647-a804fe-before.c @@ -1,4 +1,6 @@ int main () { + blah(); one(); + blah(); foo(); } befored.res diff = --- tests/befored.c +++ /tmp/cocci-output-128647-55bd5d-befored.c @@ -1,4 +1,8 @@ int main() { + foo(); int x; + int zzz; + foo(); int y; + int zzz; } ben.res SPECIAL NAMES: adding GType as a type SPECIAL NAMES: adding GTypeInfo as a type diff = --- tests/ben.c +++ /tmp/cocci-output-128647-6fc773-ben.c @@ -1,22 +1,20 @@ +static GType this_type = 0; +static const GTypeInfo this_info = { + sizeof(LassoProviderClass), + NULL, + NULL, + (GClassInitFunc)class_init, + NULL, + NULL, + sizeof(LassoProvider), + 0, + (GInstanceInitFunc)instance_init, + NULL, +}; GType lasso_provider_get_type() { - static GType this_type = 0; - if (!this_type) { - static const GTypeInfo this_info = { - sizeof (LassoProviderClass), - NULL, - NULL, - (GClassInitFunc) class_init, - NULL, - NULL, - sizeof(LassoProvider), - 0, - (GInstanceInitFunc) instance_init, - NULL - }; - this_type = g_type_register_static(LASSO_TYPE_NODE, "LassoProvider", &this_info, 0); } bigin.res diff = --- tests/bigin.c +++ /tmp/cocci-output-128647-b50a69-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) blah(); + bar(); foo(); } bigrepl.res diff = --- tests/bigrepl.c +++ /tmp/cocci-output-128647-ea698e-bigrepl.c @@ -1,6 +1,9 @@ int main () { - one(argument1(nested, argument), argument2(nested, argument), foo(), + one(argument1(nested, argument), argument2(nested, argument), + call(to, a, very, complicated, function, with, many, args), argument3(nested, argument)); - one(argument1(nested, argument), argument2(nested, argument), foo(), a(b)); - one(argument1(nested, argument), argument2(nested, argument), foo()); + one(argument1(nested, argument), argument2(nested, argument), + call(to, a, very, complicated, function, with, many, args), a(b)); + one(argument1(nested, argument), argument2(nested, argument), + call(to, a, very, complicated, function, with, many, args)); } binop.res diff = --- tests/binop.c +++ /tmp/cocci-output-128647-ce06ea-binop.c @@ -2,10 +2,12 @@ void main() { int i = 0; int j = 0; - if( (i = j) + 0 ) { + i = j; + if(i + 0 ) { i = j; } - if( (i = j) + 0 != 0 ) { + i = j; + if(i + 0 != 0 ) { i = j; } } bitfield.res SPECIAL NAMES: adding u8 as a type warning: rule starting on line 11: metavariable v not used in the - or context code diff = --- tests/bitfield.c +++ /tmp/cocci-output-128647-bedaa8-bitfield.c @@ -1,15 +1,15 @@ struct dvb_frontend { - struct dvb_frontend_ops* ops; + struct dvb_frontend_ops ops; }; typedef struct { - u8 RESET :1; - u8 IDLE :1; - u8 STOP :1; - u8 HIRQ0 :1; - u8 HIRQ1 :1; - u8 na0 :1; - u8 HABAV :1; - u8 na1 :1; + u8 RESET:2; + u8 IDLE:2; + u8 STOP:2; + u8 HIRQ0:2; + u8 HIRQ1:2; + u8 na0:2; + u8 HABAV:2; + u8 na1:2; } bcm3510_register_value; bitfield_matching.res exn while in timeout_function bool1.res diff = --- tests/bool1.cpp +++ /tmp/cocci-output-128647-0ad339-bool1.cpp @@ -1,3 +1,3 @@ atype f::g() { - return 0; + return 1; } boolr.res SPECIAL NAMES: adding bool as a type (ONCE) already tagged but only removed, so safe diff = --- tests/boolr.c +++ /tmp/cocci-output-128647-7c2880-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; int b; } bracebraceline.res diff = --- tests/bracebraceline.c +++ /tmp/cocci-output-128647-c97d07-bracebraceline.c @@ -1,6 +1,5 @@ int main () { if (x) { - one(); - two(); + three(); } } braceline.res diff = --- tests/braceline.c +++ /tmp/cocci-output-128647-6c17f8-braceline.c @@ -1,6 +1,3 @@ int main () { - if (x) { - one(); - two(); - } + if (x) three(); } braces.res diff = --- tests/braces.c +++ /tmp/cocci-output-128647-988222-braces.c @@ -1,9 +1,9 @@ -#define main { foo(); } +#define main foo(); int main() { foo(); } -int main() { if (x) { foo(); } } +int main() { if (x) foo(); } -int main() { while (x) { foo(); } } +int main() { while (x) foo(); } -int main() { if (x) { foo(); } else { foo(); } } +int main() { if (x) foo(); else foo(); } bracket.res diff = --- tests/bracket.cpp +++ /tmp/cocci-output-128647-c7e514-bracket.cpp @@ -1,3 +1,3 @@ int main () { - rsb_flags_t flags{flags_}; + rsb_flags_t flags{12}; } branchparen.res diff = --- tests/branchparen.c +++ /tmp/cocci-output-128647-d6a0cf-branchparen.c @@ -1,6 +1,10 @@ int main () { - if (x) + if (x) { + foo(); xxx(); - else + } + else { + foo(); xxx(); + } } break.res diff = --- tests/break.c +++ /tmp/cocci-output-128647-6f9c74-break.c @@ -5,8 +5,10 @@ int main () { x = 15; if (x > 1 ) { foo(); break; } } while (a == 3); - if (x > 1 ) { foo(); break; } - if (x > 1 ) { foo(); break; } + if (x > 1 ) { foo(); + bar(); break; } + if (x > 1 ) { foo(); + bar(); break; } } } @@ -18,6 +20,7 @@ int mainx () { if (x > 1 ) { xxx(); continue; } } while (a == 3); if (x > 1 ) { xxx(); break; } - if (x > 1 ) { xxx(); continue; } + if (x > 1 ) { xxx(); + bar(); continue; } } } btf.res SPECIAL NAMES: adding BTF as a declarer bug1.res diff = --- tests/bug1.c +++ /tmp/cocci-output-128647-880f9e-bug1.c @@ -1,4 +1,5 @@ -static int typhoon_ioctl(struct video_device *dev, unsigned int cmd,void *arg) +static int typhoon_ioctl(struct inode *i, struct file *f, unsigned int cmd, + void *arg) { struct typhoon_device *typhoon = dev->priv; return 0; bugloop.res exn while in timeout_function bugon.res diff = --- tests/bugon.c +++ /tmp/cocci-output-128647-bc25ae-bugon.c @@ -1,5 +1,4 @@ static void b44_tx(struct b44 *bp) { - if (unlikely(skb == NULL)) - BUG(); + BUG_ON(skb == NULL); } bus.res diff = --- tests/bus.c +++ /tmp/cocci-output-128647-c11171-bus.c @@ -1,5 +1,5 @@ int main () { struct foo *dev; - dev->probe(); - foo(); + c1(); + c2(); } cards.res SPECIAL NAMES: adding MODULE_PARM as a declarer diff = --- tests/cards.c +++ /tmp/cocci-output-128647-459b47-cards.c @@ -1,3 +1,3 @@ -MODULE_PARM(io, "1-" __MODULE_STRING(MAX_CARDS) "i"); + int x; caseprint.res diff = --- tests/caseprint.c +++ /tmp/cocci-output-128647-bc67cd-caseprint.c @@ -3,4 +3,10 @@ int f() { case 12: return 0; case 1: return 2; } + switch (x) { + case 12: + return 0; + case 1: + return 2; + } } cast.res diff = --- tests/cast.c +++ /tmp/cocci-output-128647-796f7d-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; } cast_iso.res diff = --- tests/cast_iso.c +++ /tmp/cocci-output-128647-5d99e7-cast_iso.c @@ -1,6 +1,6 @@ static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp) { - vx_core_t *vx = snd_magic_cast(vx_core_t, hw->private_data, return -ENXIO); - ak4117_t *chip = snd_magic_cast(ak4117_t, (void *)data, return); + vx_core_t *vx = hw->private_data; + ak4117_t *chip = (ak4117_t *)data; } castdecl.res diff = --- tests/castdecl.c +++ /tmp/cocci-output-128647-9f8b34-castdecl.c @@ -1,9 +1,9 @@ int main() { - long i1, i2; - long i3; - long lType = (long)TYPE_OBJ_DS_REPORT, lNuPageBloc = 0L; - unsigned char c1 = 'a', c2 = 'b'; - unsigned char c3 = 'c'; + int i1, i2; + int i3; + int lType = (int)TYPE_OBJ_DS_REPORT, lNuPageBloc = 0L; + char c1 = 'a', c2 = 'b'; + char c3 = 'c'; i1 = 11; i2 = 22; i3 = 33; cdstr.res diff = --- tests/cdstr.cpp +++ /tmp/cocci-output-128647-d13ec3-cdstr.cpp @@ -2,11 +2,11 @@ class X { - int a, b, i, j; + int aa, b, i, j; public: const int& r; X(int i) - : r(a) // initializes X::r to refer to X::a + : r(aa) // initializes X::r to refer to X::a , b{i} // initializes X::b to the value of the parameter i , i(i) // initializes X::i to the value of the parameter i , j(this->i) // initializes X::j to the value of X::i cex_snip_field_bad.res diff = --- tests/cex_snip_field_bad.cpp +++ /tmp/cocci-output-128647-1bc449-cex_snip_field_bad.cpp @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; +struct l_t { + int f1; + int f2; + int b; +}; int main() { } cex_snip_field_ok.res diff = --- tests/cex_snip_field_ok.c +++ /tmp/cocci-output-128647-34ee2e-cex_snip_field_ok.c @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; +struct l_t { + int f1; + int f2; + int b; +}; int main() { } cex_wishlist_complex1.res diff = --- tests/cex_wishlist_complex1.c +++ /tmp/cocci-output-128647-484863-cex_wishlist_complex1.c @@ -1,6 +1,6 @@ #include int main() { - double d; + float d; float f; double complex dc; float complex fc; cex_wishlist_complex2.res diff = --- tests/cex_wishlist_complex2.c +++ /tmp/cocci-output-128647-19c094-cex_wishlist_complex2.c @@ -2,7 +2,7 @@ int main() { double d; float f; - long double complex ldc; + float ldc; double complex dc; float complex fc; return 0; cex_wishlist_complex3.res diff = --- tests/cex_wishlist_complex3.c +++ /tmp/cocci-output-128647-f81d8d-cex_wishlist_complex3.c @@ -2,7 +2,7 @@ int main() { double d; float f; - double complex dc; - float complex fc; + int dc; + double complex fc; return 0; } change.res diff = --- tests/change.c +++ /tmp/cocci-output-128647-645e05-change.c @@ -1,5 +1,6 @@ int main () { foo(); + blah(one, two); this_type = g_type_register_static(LASSO_TYPE_NODE, "LassoProvider", &this_info, 0); } change_type.res diff = --- tests/change_type.c +++ /tmp/cocci-output-128647-f6ee5d-change_type.c @@ -1,4 +1,4 @@ int main () { struct foo *x; - return (struct blah *)x; + return 42; } changei.res diff = --- tests/changei.c +++ /tmp/cocci-output-128647-cf1bf0-changei.c @@ -1,7 +1,7 @@ -typedef struct i istruct; +typedef struct i xxx; -int main (int x) { - char c; - return x + c; +int xxx (int xxx) { + char xxx; + return xxx + xxx; } classfinal.res cocci_args.res diff = --- tests/cocci_args.c +++ /tmp/cocci-output-128647-9e201d-cocci_args.c @@ -1,3 +1,3 @@ int main () { - f(); + g(a); } com.res diff = --- tests/com.c +++ /tmp/cocci-output-128647-024934-com.c @@ -1,8 +1,3 @@ int main() { - foo(); - /* a comment */ - foo(); - /* a comment */ - foo(); bar(); } comadd.res diff = --- tests/comadd.c +++ /tmp/cocci-output-128647-82b3a5-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment int main () { return 12; } comj.res diff = --- tests/comj.c +++ /tmp/cocci-output-128647-4482d9-comj.c @@ -2,6 +2,8 @@ int foo(int bar) { int i, j; for (i = 5; --i>=0; ) { + /* comments are overrated */ + j -= 3; j+=54; } return j; comma.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function comma_call.res diff = --- tests/comma_call.c +++ /tmp/cocci-output-128647-f51d3e-comma_call.c @@ -1,10 +1,13 @@ int main() { - if (x) - fprintf(), exit(1); + if (x) { + fprintf(); + exit(1); + } } int main() { - if (x) - fprintf(), + if (x) { + fprintf(); exit(1); + } } comma_if.res diff = --- tests/comma_if.c +++ /tmp/cocci-output-128647-5b67dc-comma_if.c @@ -1,13 +1,19 @@ int main() { - if (uffdio_zeropage.zeropage == -EEXIST) - fprintf(stderr, "UFFDIO_ZEROPAGE -EEXIST\n"), exit(1); - else - fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"), exit(1); + if (uffdio_zeropage.zeropage == -EEXIST) { + fprintf(stderr, "UFFDIO_ZEROPAGE -EEXIST\n"); + exit(1); + } + else { + fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"); + exit(1); + } } int main() { if (uffdio_zeropage.zeropage == -EEXIST) fprintf(stderr, "UFFDIO_ZEROPAGE -EEXIST\n"); - else - fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"), exit(1); + else { + fprintf(stderr, "UFFDIO_ZEROPAGE error %Ld\n"); + exit(1); + } } comment_brace.res diff = --- tests/comment_brace.c +++ /tmp/cocci-output-128647-ec0ce6-comment_brace.c @@ -1,7 +1,10 @@ int main () { while ((inw(base) & 0xad00) != 0) /* data status */ + { + release_region(); continue; + } return 0; } comment_brace2.res diff = --- tests/comment_brace2.c +++ /tmp/cocci-output-128647-cb1968-comment_brace2.c @@ -1,7 +1,10 @@ int main () { while ((inw(base) & 0xad00) != 0) /* data status */ + { + release_region(); continue; + } return 0; } comment_line.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function comment_middle.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function commentbefore.res commentbefore2.res commentend.res diff = --- tests/commentend.c +++ /tmp/cocci-output-128647-512f87-commentend.c @@ -1,5 +1,4 @@ int main () { foo(); - bar(); /* this is bar */ xxx(); } comments.res diff = --- tests/comments.c +++ /tmp/cocci-output-128647-0cd926-comments.c @@ -1,5 +1,16 @@ int main() { + // Calls foo() + foo(); return 0; } +/** + Some info about @foo() + @return void +*/ +void foo() +{ + /* Do nothing */ +} + compare.res SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/compare.c +++ /tmp/cocci-output-128647-be24ee-compare.c @@ -1,7 +1,7 @@ struct aic7xxx_host { struct aic7xxx_cmd_queue { - Scsi_Cmnd *head; - Scsi_Cmnd *tail; + struct scsi_cmnd *head; + struct scsi_cmnd *tail; } completeq; unsigned char msg_buf[13]; /* The message for the target */ unsigned char msg_type; compare_const.res diff = --- tests/compare_const.c +++ /tmp/cocci-output-128647-b128f0-compare_const.c @@ -1,3 +1,3 @@ int main () { - return 0 == x; + return x == 0; } compare_const2.res diff = --- tests/compare_const2.c +++ /tmp/cocci-output-128647-320631-compare_const2.c @@ -1,6 +1,6 @@ int main () { // int i,o; - if (0 == ((1 == i || 3 == i) - && (18 == o || 17 == o))) + if (((i == 1 || i == 3) + && (o == 18 || o == 17)) == 0) return -EINVAL; } complexcpp.res diff = --- tests/complexcpp.cpp +++ /tmp/cocci-output-128647-f993dc-complexcpp.cpp @@ -1,3 +1,3 @@ int main() { - std::complex x; + } comreturn.res diff = --- tests/comreturn.c +++ /tmp/cocci-output-128647-6cb44d-comreturn.c @@ -1,10 +1,14 @@ int main() { a(); xx(); + // end + end(); return; } int main2() { a(); xx(); + // end + end(); } condexp.res diff = --- tests/condexp.c +++ /tmp/cocci-output-128647-a0683d-condexp.c @@ -5,7 +5,7 @@ main(int argc, char *argv[]) dpy = XOpenDisplay (displayname); if (!dpy) { fprintf (stderr, "%s: unable to open display \"%s\"\n", - ProgramName, XDisplayName (displayname)); + ProgramName, displayname ? displayname : getenv("DISPLAY")); Exit (1); } screenno = DefaultScreen (dpy); const.res diff = --- tests/const.c +++ /tmp/cocci-output-128647-ef62e3-const.c @@ -1,3 +1,3 @@ void foo(const char *text) { - strcat(buf->data, text); + strcat_safe(buf->data, buf->len, text); } const1bis.res diff = --- tests/const1bis.c +++ /tmp/cocci-output-128647-b76cc9-const1bis.c @@ -1,25 +1,25 @@ void foo(int j) { - const int i; + float i; int i; i++; - const char *i; + double *i; char *i; *i++; } void bar(int j) { - int const i; + float i; int i; i++; - char const *i; + double *i; char *i; *i++; } void con_vol(int j) { - const volatile int i; + const volatile long i; } void vol_con(int j) { - volatile const int i; + volatile const long i; } const_adding.res diff = --- tests/const_adding.c +++ /tmp/cocci-output-128647-a90585-const_adding.c @@ -2,6 +2,6 @@ void main(int i) { const struct file_operations a; - struct file_operations b; + const struct file_operations b; } const_array.res diff = --- tests/const_array.c +++ /tmp/cocci-output-128647-d581b2-const_array.c @@ -24,9 +24,9 @@ static const struct foo *r128_family4[] }; int main () { - ent->driver_data = sizeof(r128_family)/sizeof(char *); - ent->driver_data = sizeof(r128_family1)/sizeof(char *); - ent->driver_data = sizeof(r128_family2)/sizeof(char *); - ent->driver_data = sizeof(r128_family3)/sizeof(struct foo *); - ent->driver_data = sizeof(r128_family4)/sizeof(struct foo *); + ent->driver_data = ARRAY_SIZE(r128_family); + ent->driver_data = ARRAY_SIZE(r128_family1); + ent->driver_data = ARRAY_SIZE(r128_family2); + ent->driver_data = ARRAY_SIZE(r128_family3); + ent->driver_data = ARRAY_SIZE(r128_family4); } const_implicit_iso.res diff = --- tests/const_implicit_iso.c +++ /tmp/cocci-output-128647-d68df7-const_implicit_iso.c @@ -1,4 +1,4 @@ void main(double y) { - const int x; + const float x; } constptr.res diff = --- tests/constptr.c +++ /tmp/cocci-output-128647-d51594-constptr.c @@ -1,7 +1,7 @@ int main() { - const char * const *id; - const char ** const *id; - const char * const **id; - const char * const id; + const char * const *id1; + const char ** const *id2; + const char * const **id3; + const char * const id4; } constraints.res diff = --- tests/constraints.c +++ /tmp/cocci-output-128647-596b43-constraints.c @@ -1,23 +1,23 @@ void f() { - int k; + int *k; bool b; - bool *p; - bool **x[]; - char *y[]; + bool **p; + bool *x[]; + char y[]; f(1 == 2); f(1 & 3); g(1 & 2); g(1 != 2); g(1 <= 3); - h(1 == 2); + h(2 == 1); h(1 & 2); h(1 != 2); h(1 <= 2); } void -g(int a, int b, int c) +h(int a, int b, int c) { } constrem.res diff = --- tests/constrem.c +++ /tmp/cocci-output-128647-2949fb-constrem.c @@ -1,3 +1 @@ -static const int a; -static const int (*f)(const int); constructor.res diff = --- tests/constructor.c +++ /tmp/cocci-output-128647-872715-constructor.c @@ -1,5 +1,5 @@ int main () { - imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, - Edata, Esize_data, Edma_mask); + changed_imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, Edata, + Esize_data, Edma_mask); } constty.res diff = --- tests/constty.c +++ /tmp/cocci-output-128647-a4a493-constty.c @@ -1,7 +1,6 @@ int main () { const int x; int y; - f(x,int); f(y,int); f(x,const int); } constx.res diff = --- tests/constx.c +++ /tmp/cocci-output-128647-a17e06-constx.c @@ -1,8 +1,8 @@ int main() { - foo(12); + foobar(12, 12); foo(x); - foo(CONSTANT); - foo('a'); - foo("string"); - foo(1.0001); + foobar(CONSTANT, CONSTANT); + foobar('a', 'a'); + foobar("string", "string"); + foobar(1.0001, 1.0001); } countcalls.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function countcalls_python.res exn while in timeout_function cptr.res diff = --- tests/cptr.c +++ /tmp/cocci-output-128647-bff900-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c +++ /tmp/cocci-output-128647-8401a3-cr.c @@ -1,7 +1,6 @@ int main(void) { #if ! HAVE_XYZ - f1(); - f2(); + f3(); #endif } cr1a.res diff = warning: rule starting on line 1, node 38: continue; [1,2,7][1,2,7,8,13,14] in probe_base_port may be inconsistently modified warning: rule starting on line 1, node 39: }2[1,2,7,8] in probe_base_port may be inconsistently modified warning: rule starting on line 1, node 20: if[1,2,7,8,9] in probe_base_port may be inconsistently modified --- tests/cr1a.c +++ /tmp/cocci-output-128647-66b0aa-cr1a.c @@ -6,14 +6,17 @@ int __init probe_base_port(int base) if (base) b = e = base; for (base = b; base <= e; base += 0x10) { - if (check_region(base, 0x10)) + if (!request_region(base, 0x10, req_reg_arg3)) continue; for (i = 0; i < 3; i++) fool = inw(base + 2); /* empty possibly uart_receive_buffer */ if ((inw(base + 6) & 0xffef) != 0x0001 || /* line_status */ - (inw(base) & 0xad00) != 0) + (inw(base) & 0xad00) != 0) { + release_region(base, 0x10); continue; + } return (base); + release_region(base, 0x10); } return 0; } cs_check.res warning: line 5: should handle be a metavariable? diff = --- tests/cs_check.c +++ /tmp/cocci-output-128647-700d20-cs_check.c @@ -4,7 +4,7 @@ do { last_fn = (fn); if ((last_ret = (re static void nsp_cs_config(dev_link_t *link) { client_handle_t handle = link->handle; - CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(handle, &tuple)); + CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(link, &tuple)); cs_failed: return; } cst.res diff = --- tests/cst.c +++ /tmp/cocci-output-128647-67084d-cst.c @@ -1,5 +1,5 @@ int main(int x) { - emu10k1_t *emu = snd_magic_cast(1, 2, return -ENXIO); + emu10k1_t *emu = 4; int z = 12; return y; } cst_null.res diff = --- tests/cst_null.c +++ /tmp/cocci-output-128647-cb890c-cst_null.c @@ -2,9 +2,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; - vb = kmalloc(size,GFP_KERNEL); + vb = kzalloc(size, GFP_KERNEL); if (vb != NULL) { - memset(vb,0,size); videobuf_dma_init(&vb->dma); init_waitqueue_head(&vb->done); vb->magic = MAGIC_BUFFER; @@ -17,9 +16,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; - vb = kmalloc(size,GFP_KERNEL); + vb = kzalloc(size, GFP_KERNEL); if (vb) { - memset(vb,0,size); videobuf_dma_init(&vb->dma); init_waitqueue_head(&vb->done); vb->magic = MAGIC_BUFFER; @@ -32,9 +30,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; - vb = kmalloc(size,GFP_KERNEL); + vb = kzalloc(size, GFP_KERNEL); if (NULL != vb) { - memset(vb,0,size); videobuf_dma_init(&vb->dma); init_waitqueue_head(&vb->done); vb->magic = MAGIC_BUFFER; cstr.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function cststr.res warning: line 4: should foo be a metavariable? diff = --- tests/cststr.c +++ /tmp/cocci-output-128647-5dbeba-cststr.c @@ -1,3 +1,3 @@ int main () { - foo((ptr_t)"blah"); + xxx((ptr_t)"blah"); } csw.res warning: line 4: should x be a metavariable? diff = --- tests/csw.c +++ /tmp/cocci-output-128647-6e9348-csw.c @@ -1,14 +1,6 @@ int main() { switch (x) { - case XYZ: - link->state &= ~DEV_PRESENT; - if (link->state & DEV_CONFIG) { - bluecard_close(info); - bluecard_release(link); - } - break; case MID: mid(); break; - case FOO: bar(); break; } } cuda.res warning: line 6: should gridDim be a metavariable? warning: line 6: should blockDim be a metavariable? diff = --- tests/cuda.cpp +++ /tmp/cocci-output-128647-dd7f4a-cuda.cpp @@ -15,6 +15,7 @@ int main() { dim3 blockDim(16, 16, 1); dim3 gridDim(8, 8, 1); + // CUDA follows kernel_2<<< gridDim, blockDim, 0 >>>(); kernel_1< gridDim, blockDim, 0 >(); f(); cuda1.res diff = --- tests/cuda1.cpp +++ /tmp/cocci-output-128647-92962f-cuda1.cpp @@ -1,4 +1,4 @@ int main() { - kernel_2<<>>(); + kernel_2<<>>(0); } cuda_noattr.res diff = --- tests/cuda_noattr.cpp +++ /tmp/cocci-output-128647-fdad24-cuda_noattr.cpp @@ -1,6 +1,7 @@ __global__ void kernel_2(int i) { + 1; unsigned int x = blockIdx.x*blockDim.x + threadIdx.x; unsigned int y = blockIdx.y*blockDim.y + threadIdx.y; } dbg.res diff = --- tests/dbg.c +++ /tmp/cocci-output-128647-71d93e-dbg.c @@ -5,4 +5,6 @@ static inline void alloc_resource(struct if (pr) DBG("PCI"); + else + pr = NULL; } dbg1.res diff = --- tests/dbg1.c +++ /tmp/cocci-output-128647-43253f-dbg1.c @@ -2,4 +2,5 @@ static inline void alloc_resource(struct pci_dev *dev, int idx) { DBG("PCI"); + E = NULL; } dc_close.res diff = --- tests/dc_close.c +++ /tmp/cocci-output-128647-efc770-dc_close.c @@ -5,6 +5,7 @@ initicc(struct IsdnCardState *cs) INIT_WORK(&cs->work, icc_bh, cs); cs->setstack_d = setstack_icc; + cs->DC_Send_Data = d_fill_fifo; cs->DC_Close = DC_Close_icc; cs->dc.icc.mon_rx = NULL; debug.res diff = --- tests/debug.c +++ /tmp/cocci-output-128647-467a53-debug.c @@ -1,5 +1,4 @@ static int __init init_3c574_cs(void) { - DEBUG(0, "%s\n", version); return 0; } dec.res diff = --- tests/dec.c +++ /tmp/cocci-output-128647-03c8f3-dec.c @@ -1,4 +1,5 @@ int f(int x) { + int z; static int y; return x; } decadd.res SPECIAL NAMES: adding DECL as a declarer SPECIAL NAMES: adding __cb as a attribute diff = --- tests/decadd.c +++ /tmp/cocci-output-128647-d97ff6-decadd.c @@ -1,3 +1,3 @@ struct x { - DECL(x); + DECL(x) __cb(y); }; decdup.res decdup2.res diff = --- tests/decdup2.c +++ /tmp/cocci-output-128647-3fcfd5-decdup2.c @@ -1,2 +1,3 @@ +int www; BTF_ID_LIST_SINGLE(bpf_ima_inode_hash_btf_ids, struct, inode) decdup3.res decdup4.res decl.res diff = --- tests/decl.c +++ /tmp/cocci-output-128647-a97891-decl.c @@ -1,5 +1,6 @@ static int az_ioctl(int cmd, void *arg) { + foo(); return 0; } decl2.res warning: line 8: should x be a metavariable? diff = --- tests/decl2.c +++ /tmp/cocci-output-128647-8e4e00-decl2.c @@ -1,6 +1,6 @@ static int az_ioctl(int cmd, void *arg) { - if (x) { + if (y) { return 0; } else { decl_and_ref.res warning: line 4: should b be a metavariable? warning: line 4: should v be a metavariable? diff = --- tests/decl_and_ref.cpp +++ /tmp/cocci-output-128647-d2481c-decl_and_ref.cpp @@ -3,4 +3,5 @@ int main() int v = 0; int a = 0; int & b = v; + // reference matched above } decl_andand_ref.res warning: line 4: should b be a metavariable? diff = --- tests/decl_andand_ref.cpp +++ /tmp/cocci-output-128647-c34fcf-decl_andand_ref.cpp @@ -3,4 +3,5 @@ int main() int v = 0; int a = 0; int && b = 0; + // reference matched above } decl_ptr_ref.res warning: line 4: should b be a metavariable? warning: line 4: should v be a metavariable? diff = --- tests/decl_ptr_ref.cpp +++ /tmp/cocci-output-128647-502d5e-decl_ptr_ref.cpp @@ -3,5 +3,6 @@ int main() int v = 0; int a = 0; int * b = &v; + // pointer matched above } decl_space.res diff = --- tests/decl_space.c +++ /tmp/cocci-output-128647-1e8ede-decl_space.c @@ -1,4 +1,4 @@ int main () { - int *x = y; - int x = y; + int *x = g; + int x = g; } decl_split.res decl_star.res diff = --- tests/decl_star.c +++ /tmp/cocci-output-128647-6fa019-decl_star.c @@ -1,5 +1,5 @@ int main () { - int *x; - int x; + int *y; + int y; return x; } declend.res diff = --- tests/declend.c +++ /tmp/cocci-output-128647-25b57c-declend.c @@ -1,6 +1,5 @@ int x; int main() { - int x; return 0; } declmeta.res diff = --- tests/declmeta.c +++ /tmp/cocci-output-128647-21cf2e-declmeta.c @@ -1,7 +1,7 @@ -int b,c; +int c; -int b,c; +int c; int main() { - int b,c; + int c; } decltype.res diff = --- tests/decltype.cpp +++ /tmp/cocci-output-128647-d38953-decltype.cpp @@ -3,5 +3,5 @@ int expr; int main () { decltype(expr) expr2; decltype((expr)) expr3; - return expr2 + expr3; + return 12 + expr3; } defe.res diff = --- tests/defe.c +++ /tmp/cocci-output-128647-8dacd9-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c +++ /tmp/cocci-output-128647-0a3d3c-define_exp.c @@ -1,5 +1,5 @@ #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? \ - SA_SHIRQ : SA_INTERRUPT) + IRQF_SHARED : IRQF_DISABLED) void main(int i) define_param.res diff = --- tests/define_param.c +++ /tmp/cocci-output-128647-5be5b3-define_param.c @@ -1,10 +1,10 @@ -#define fieldsize(a) (sizeof(a)/sizeof(*a)) + static int atari_proc_infos(unsigned char *nvram, char *buffer, int *len, off_t *begin, off_t offset, int size) { - for (i = fieldsize(boot_prefs) - 1; i >= 0; --i) { + for (i = ARRAY_SIZE(boot_prefs) - 1; i >= 0; --i) { if (nvram[1] == boot_prefs[i].val) { PRINT_PROC("%s\n", boot_prefs[i].name); break; definedots.res diff = --- tests/definedots.c +++ /tmp/cocci-output-128647-940271-definedots.c @@ -1,3 +1,3 @@ -#define a(x,y...) 3 -#define a(x,...) 3 -#define a(x) 33 +#define b(xx,yy...) 4 +#define b(xx,...) 4 +#define b(xx) 44 defineinit.res diff = --- tests/defineinit.c +++ /tmp/cocci-output-128647-62fc47-defineinit.c @@ -1,3 +1,3 @@ #define MYMACRO(adsf) { \ - .foo = (asdf),\ + .foo = (asdf) * 1000,\ } deftodo.res del2.res diff = --- tests/del2.c +++ /tmp/cocci-output-128647-aad9f9-del2.c @@ -4,8 +4,5 @@ int my_test_allocate_components(void) if (result != X_SUCCESS) return result; // placeholder - if (result != X_SUCCESS) - return result; -// placeholder return X_SUCCESS; } delete.res diff = --- tests/delete.cpp +++ /tmp/cocci-output-128647-a9da04-delete.cpp @@ -1,6 +1,5 @@ int main() { int * a; - delete a; delete [] a; } delete_array.res diff = --- tests/delete_array.cpp +++ /tmp/cocci-output-128647-229cc4-delete_array.cpp @@ -2,5 +2,4 @@ int main() { int * a; delete a; - delete [] a; } delete_function.res diff = --- tests/delete_function.c +++ /tmp/cocci-output-128647-c3aa08-delete_function.c @@ -2,12 +2,6 @@ int first () { return 0; } -int foo() { - a(); - a(); - a(); -} - int last () { return 0; } delp.res diff = --- tests/delp.c +++ /tmp/cocci-output-128647-c38d89-delp.c @@ -1,4 +1,4 @@ int main () { return - (foo); + foo; } depfail.res diff = --- tests/depfail.c +++ /tmp/cocci-output-128647-d4c83f-depfail.c @@ -1,5 +1,4 @@ int main(void) { foo(); - bar(); } deref.res diff = --- tests/deref.c +++ /tmp/cocci-output-128647-4ec9c5-deref.c @@ -1,6 +1,6 @@ int main () { int **q; - foo(*q+12); - xxx(q[0]+12); + foo(12); + xxx(12); yyy(q+12); } destroy.res diff = --- tests/destroy.c +++ /tmp/cocci-output-128647-923c32-destroy.c @@ -6,7 +6,12 @@ static void wlcore_nvs_cb(const struct f goto out; out_irq: +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) free_irq(wl->irq, wl); +#else + compat_free_threaded_irq(&private->irq_compat); + compat_destroy_threaded_irq(&wl->irq_compat); +#endif #ifdef foo out: release_firmware(fw); detect_cast_attr.res SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/detect_cast_attr.c +++ /tmp/cocci-output-128647-81f6e8-detect_cast_attr.c @@ -2,9 +2,9 @@ int func() { - char *a = (int __cast_attr) x; - char *a = (__cast_attr int) x; + char *a = (char *__cast_attr) x; + char *a = (__cast_attr char *) x; char *a = (int __cast_attr *) x; - char *a = (int *__cast_attr) x; + char *a = (char *__cast_attr) x; char *a = (int) x; } detect_macrodecl_attr.res SPECIAL NAMES: adding DECLARER as a declarer SPECIAL NAMES: adding __macro_attr as a attribute warning: line 8: should a be a metavariable? SPECIAL NAMES: adding DECLARER2 as a declarer SPECIAL NAMES: adding __macro_attr2 as a attribute SPECIAL NAMES: adding check_attr as a type Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function detect_param_attr.res SPECIAL NAMES: adding __nocast as a attribute SPECIAL NAMES: adding __attr as a attribute diff = --- tests/detect_param_attr.c +++ /tmp/cocci-output-128647-bfb843-detect_param_attr.c @@ -1,11 +1,12 @@ -int func1(int __nocast *u, __nocast int z, int q __nocast, int w) { +int func1(char __nocast *u, __nocast int z, char q __nocast, int w) { return 0; } -int func1(int __attribute__((nocast)) *u, __attribute__((nocast)) int z, int q __attribute__((nocast)), int w) { +int func1(long __attribute__((nocast)) *u, __attribute__((nocast)) int z, + char q __attribute__((nocast)), int w) { return 0; } -int fp(int __attr (*fp) (int)) { +int fp(short __attr (*fp) (int)) { return 0; } detect_struct_endattr.res SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/detect_struct_endattr.c +++ /tmp/cocci-output-128647-8b5085-detect_struct_endattr.c @@ -2,7 +2,6 @@ struct abcd { int a; - int b; int c; } __struct_endattr; detect_struct_gccattr.res diff = --- tests/detect_struct_gccattr.c +++ /tmp/cocci-output-128647-222c06-detect_struct_gccattr.c @@ -1,18 +1,15 @@ struct abcd { int a; - int b; int c; } __attribute__((pack,aligned(16))); struct abcd { int a; - int b; int c; } __attribute__ ( ( pack , aligned(16) ) ); struct abcd { int a; - int b; int c; } __attribute__((aligned (16))); @@ -24,19 +21,16 @@ struct abcd { struct abcd { int a; - int b; int c; } __attribute__((pack)) var1; struct abcd { int a; - int b; int c; } __attribute__ ( ( pack ) ) var2; struct abcd { int a; - int b; int c; } __attribute__((aligned (16))) var3; devlink.res SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/devlink.c +++ /tmp/cocci-output-128647-bf6295-devlink.c @@ -1,12 +1,12 @@ -static void cm4000_release(dev_link_t *link); +static void cm4000_release(struct pcmcia_device *link); int main () { memset(&dev->atr_csum,0, - sizeof(dev_link_t) - sizeof(dev_node)); + sizeof(struct pcmcia_device) - sizeof(dev_node)); } int xmain () { - dev_link_t x; + struct pcmcia_device x; memset(&dev->atr_csum,0, - sizeof(dev_link_t) - sizeof(dev_node)); + sizeof(struct pcmcia_device) - sizeof(dev_node)); } disj.res SPECIAL NAMES: adding bool as a type SPECIAL NAMES: adding DISJ_DECLARER1 as a declarer SPECIAL NAMES: adding DISJ_DECLARER2 as a declarer SPECIAL NAMES: adding DISJ_DECLARER3 as a declarer SPECIAL NAMES: adding DISJ_DECLARER0 as a declarer diff = --- tests/disj.c +++ /tmp/cocci-output-128647-b5f0fd-disj.c @@ -1,31 +1,31 @@ void f() { int disj_id0; - int disj_id1; - int disj_id2; + int disj_id3; + int disj_id3; int disj_id0 = 0; - int disj_id1 = 0; - int disj_id2 = 0; + int disj_id3 = 0; + int disj_id3 = 0; disj_expr(0); - disj_expr(1); - disj_expr(2); + disj_expr(3); + disj_expr(3); float disj_type; - int disj_type; - char disj_type; + bool disj_type; + bool disj_type; DISJ_DECLARER0(0); - DISJ_DECLARER1(0); - DISJ_DECLARER2(0); - return; + DISJ_DECLARER3(0); + DISJ_DECLARER3(0); + break; } void g() { - return; + continue; } void disj_id0(); -void disj_id1(); -void disj_id2(); +void disj_id3(); +void disj_id3(); void disj_id0() { foo(); } -void disj_id1() { foo(); } -void disj_id2() { foo(); } +void disj_id3() { foo(); } +void disj_id3() { foo(); } disjexpr.res diff = --- tests/disjexpr.c +++ /tmp/cocci-output-128647-6f94c2-disjexpr.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v, v.fld2); + f(v->fld, *v, v->fld2); } disjexpr_ver1.res diff = --- tests/disjexpr_ver1.c +++ /tmp/cocci-output-128647-bd1840-disjexpr_ver1.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld); + f(v->fld); } disjexpr_ver2.res diff = --- tests/disjexpr_ver2.c +++ /tmp/cocci-output-128647-d704c9-disjexpr_ver2.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v.fld2, v); + f(v->fld, v->fld2, *v); } disjid.res diff = --- tests/disjid.c +++ /tmp/cocci-output-128647-0631e7-disjid.c @@ -1,5 +1,5 @@ -int foo (int x, int z) { return 0; } -int foo (int y, int z) { return 0; } -int bar (int x, int z) { return 0; } -int bar (int y, int z) { return 0; } +int foo (int x, int z) { return 1; } +int foo (int y, int z) { return 1; } +int bar (int x, int z) { return 1; } +int bar (int y, int z) { return 1; } int xxx (int y, int z) { return 0; } distribute.res diff = --- tests/distribute.c +++ /tmp/cocci-output-128647-68754e-distribute.c @@ -1,4 +1,4 @@ int main(int i) { - f(1+1); + f(g(1) * 0 * g(2)); } dotcall.res diff = --- tests/dotcall.c +++ /tmp/cocci-output-128647-8a6acb-dotcall.c @@ -1,3 +1,2 @@ int main() { - xxx.foobar(); } dots_comma.res diff = --- tests/dots_comma.c +++ /tmp/cocci-output-128647-dd173b-dots_comma.c @@ -1,4 +1,4 @@ int main(void) { - f(3); + f(2, 3); } double.res diff = --- tests/double.c +++ /tmp/cocci-output-128647-d280c6-double.c @@ -1,5 +1,5 @@ static void BChannel_proc_xmt(struct BCState *bcs) { - if (!test_bit(BC_FLG_BUSY, &bcs->Flag) && (!skb_queue_len(&bcs->squeue))) { + if (!test_bit(BC_FLG_BUSY, &bcs->Flag) && skb_queue_empty(&bcs->squeue)) { st->l2.l2l1(st, PH_DEACTIVATE | CONFIRM, NULL); } } double_assign.res diff = --- tests/double_assign.c +++ /tmp/cocci-output-128647-ef6431-double_assign.c @@ -4,6 +4,5 @@ int main() { } int badmain() { - x = 12; x = 1; } double_lines.res diff = --- tests/double_lines.c +++ /tmp/cocci-output-128647-8fa6a5-double_lines.c @@ -1,7 +1,4 @@ int main () { test(); - foo(); - foo(); - foo(); endtest(); } double_switch.res doubleconst.res diff = --- tests/doubleconst.c +++ /tmp/cocci-output-128647-7a77e0-doubleconst.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; + char* const ccpc = &const_obj; } doubleconst2.res diff = --- tests/doubleconst2.c +++ /tmp/cocci-output-128647-a844ae-doubleconst2.c @@ -1,3 +1,3 @@ int main () { - const char* const ccpc = &const_obj; + const char* ccpc = &const_obj; } doubleconst4.res diff = --- tests/doubleconst4.c +++ /tmp/cocci-output-128647-344ab3-doubleconst4.c @@ -1,3 +1,3 @@ int main () { - char const* const ccpc = &const_obj; + char * const ccpc = &const_obj; } doublepos.res diff = --- tests/doublepos.c +++ /tmp/cocci-output-128647-5f83fa-doublepos.c @@ -1,5 +1,4 @@ int main() { - f(1,2); f(1,5); f(6,5); } doubleswitch.res diff = --- tests/doubleswitch.c +++ /tmp/cocci-output-128647-3877ac-doubleswitch.c @@ -3,8 +3,6 @@ void zfLnxRecvEth(zdev_t* dev, zbuf_t* b #ifdef ZM_AVOID_UDP_LARGE_PACKET_FAIL zbuf_t *new_buf; - foo(); - switch(netif_rx(new_buf)) #else doundo.res diff = --- tests/doundo.c +++ /tmp/cocci-output-128647-621740-doundo.c @@ -4,5 +4,5 @@ int main() { const s8 (*queue_priority_mapping)[2]; s8 *noevent; - foo(); + new_foo(); } dowhile.res diff = --- tests/dowhile.c +++ /tmp/cocci-output-128647-3e29b5-dowhile.c @@ -1,7 +1,5 @@ int main() { do { - f(); } while (0); - g(); } dowhile_4.res diff = --- tests/dowhile_4.c +++ /tmp/cocci-output-128647-07425c-dowhile_4.c @@ -2,5 +2,4 @@ int fun() { do { printf("dummy message"); } while (0); - printf("done printing"); } dowhile_for_complex.res diff = warning: nested, node 22: }3[1,2,4,5,7,8] in fun may be inconsistently modified warning: nested, node 23: [after][1,2,4,5,7,8] in fun may be inconsistently modified warning: nested, node 16: for[1,2,4,5,7]* in fun may be inconsistently modified warning: nested, node 21: statement[1,2,4,5,7,8,9] in fun may be inconsistently modified warning: nested, node 20: {3[1,2,4,5,7,8] in fun may be inconsistently modified --- tests/dowhile_for_complex.c +++ /tmp/cocci-output-128647-3a520d-dowhile_for_complex.c @@ -2,9 +2,6 @@ int fun() { int i = 1, j = 1; do { i++; - for (j = 1; j < 100; j++) { - ++j; - } } while (i < 100); return 0; } dowhile_nested.res diff = warning: nested, node 22: {3[1,2,4,5,7,8] in fun may be inconsistently modified warning: nested, node 17: whiletail[1,2,4,5,7] in fun may be inconsistently modified warning: nested, node 23: statement[1,2,4,5,7,8,9] in fun may be inconsistently modified warning: nested, node 16: do[1,2,4,5,7]* in fun may be inconsistently modified warning: nested, node 24: }3[1,2,4,5,7,8] in fun may be inconsistently modified --- tests/dowhile_nested.c +++ /tmp/cocci-output-128647-1f44a8-dowhile_nested.c @@ -2,9 +2,6 @@ int fun() { int i = 1, j = 1; do { i++; - do { - j++; - } while (j < 100); printf(“end of innner dowhile”); } while (i < 100); return 0; dropbr.res diff = --- tests/dropbr.c +++ /tmp/cocci-output-128647-6ad2fa-dropbr.c @@ -1,5 +1,4 @@ int main () { - if (a) { - bar(); - } + if (a) + foo(); } dropcom.res diff = --- tests/dropcom.c +++ /tmp/cocci-output-128647-f0c31c-dropcom.c @@ -2,10 +2,6 @@ int one() { return 0; } #endif /* XXX */ -int main () { - return 1; -} - int xyz () { return 1; } dropenderr.res diff = --- tests/dropenderr.c +++ /tmp/cocci-output-128647-0104a0-dropenderr.c @@ -1,8 +1,6 @@ int main () { - if (x) goto end; - if (x) goto end2; + if (x) {} + if (x) {} return 0; - end: - end2: return -1; } dropf.res diff = --- tests/dropf.c +++ /tmp/cocci-output-128647-c30c31-dropf.c @@ -1,3 +1,3 @@ int main() { - x = f(1) + f(3); + x = f(1 + 3) + f(3 + 3); } dropparam.res diff = --- tests/dropparam.c +++ /tmp/cocci-output-128647-d84304-dropparam.c @@ -2,11 +2,11 @@ int f(char *x, int y, char* z) { return; } -int g(char *x, int y, char* z) { +int g(char *x, char* z) { return; } void main(void) { - g("toto", 3, "tata"); + g("toto", "tata"); } dtest.res diff = --- tests/dtest.c +++ /tmp/cocci-output-128647-1dc262-dtest.c @@ -1,5 +1,5 @@ int main() { struct sk_buff *e; struct other *e1; - return e->a + e1->b; + return e->a + 12; } eb1.res SPECIAL NAMES: adding Packet as a type diff = --- tests/eb1.c +++ /tmp/cocci-output-128647-a060b5-eb1.c @@ -1,7 +1,13 @@ int func() { int c; - Packet p1,p2; + Packet * p1 = SCMalloc(SIZE_OF_PACKET),* p2 = SCMalloc(SIZE_OF_PACKET); int y; + if (p1 == NULL) + return 0; + if (p2 == NULL) + return 0; a = 3; + SCFree(p1); + SCFree(p2); return x+y; } edots.res diff = --- tests/edots.c +++ /tmp/cocci-output-128647-eb7925-edots.c @@ -1,6 +1,6 @@ void main(int i) { - foo[45]; - bar[45+v.field]; + foo; + bar; // f(foo[45] + bar[45]); edots_ver1.res diff = --- tests/edots_ver1.c +++ /tmp/cocci-output-128647-67011b-edots_ver1.c @@ -1,7 +1,7 @@ void main(int i) { - foo[45]; - bar[45+v.field]; + foo; + bar; - f(foo[45] + bar[45]); + f(foo + bar); } efi3.res diff = --- tests/efi3.c +++ /tmp/cocci-output-128647-0541cd-efi3.c @@ -6,6 +6,6 @@ static efi_status_t virt_efi_get_time(ef goto exit; exit: - efi_rts_work.efi_rts_id = EFI_NONE; + efi_rts_work.efi_rts_id = 12; }); } elsify.res diff = --- tests/elsify.c +++ /tmp/cocci-output-128647-1abf8d-elsify.c @@ -1,7 +1,7 @@ int main () { if (x) - GOTO(rc = 1); + rc = 1; else - GOTO(rc = 2); + rc = 2; } empty.res diff = --- tests/empty.c +++ /tmp/cocci-output-128647-9e251b-empty.c @@ -1,6 +1,6 @@ static int vlsi_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) { - pci_restore_state(pdev, idev->cfg_space); + pci_restore_state(pdev); if (ring_first(idev->tx_ring) == NULL) { } else emptytmp.res end_attr.res SPECIAL NAMES: adding autofree as a attribute diff = --- tests/end_attr.c +++ /tmp/cocci-output-128647-70c204-end_attr.c @@ -1,10 +1,12 @@ int main() { - struct foo x autofree; + struct foo x; + free(x); return; } int main() { - struct foo x autofree = NULL; + struct foo x = NULL; + free(x); return; } end_commas.res diff = --- tests/end_commas.c +++ /tmp/cocci-output-128647-9d08e8-end_commas.c @@ -1,4 +1,6 @@ static struct i2c_client client_template = { - .name = "adv7175_client", - .driver = &i2c_driver_adv7175 + .driver = &i2c_driver_adv7175, + .dev = { + .name = "adv7175_client", + } }; endcolon.res diff = --- tests/endcolon.cpp +++ /tmp/cocci-output-128647-a48e6d-endcolon.cpp @@ -1,4 +1,4 @@ int main () { a::b :: c :: - d(12); + d(15); } endcomma.res SPECIAL NAMES: adding DEFINE_CLK_STUB as a initializer ending in a comma endif.res warning: line 5: should x be a metavariable? diff = --- tests/endif.c +++ /tmp/cocci-output-128647-3e41ab-endif.c @@ -2,18 +2,23 @@ void f(int i) { x = 1; if(1) x = 3; + foo(); x = 1; while(1) x = 3; + foo(); x = 1; do x = 3; while(1); + foo(); x = 1; for(1;1;1) x = 3; + foo(); x = 1; for(1;1;1) { x = 3; } + foo(); // switch(1) { // case 0: x = 3; endline.res diff = --- tests/endline.cpp +++ /tmp/cocci-output-128647-576694-endline.cpp @@ -1,4 +1,4 @@ int main() { std::vector:: - t x = 12; + t x = 15; } endmodif.res diff = --- tests/endmodif.c +++ /tmp/cocci-output-128647-1aff70-endmodif.c @@ -1,11 +1,12 @@ -void f(void) + +replace_g(void) { - return x; + return 12; } -void g(void) +before_h(void) { - return x; + return 12; } void h(void) @@ -13,8 +14,22 @@ void h(void) return x; } +after_h(void) +{ + return 12; +} + void i(void) { return x; } +after_i1(void) +{ + return 12; +} +after_i2(void) +{ + return 12; +} + endnl.res diff = --- tests/endnl.c +++ /tmp/cocci-output-128647-b51be6-endnl.c @@ -1,18 +1,36 @@ int main () { +#ifdef FOO + call(1); +#endif foo(1); bar(2); +#ifdef BAR + call(2); +#endif one: +#ifdef FOO + call(3); +#endif foo(3); two: bar(4); +#ifdef BAR + call(4); +#endif three: xxx(5); #ifdef X #endif +#ifdef FOO + call(6); +#endif foo(6); #ifdef X #endif bar(7); +#ifdef BAR + call(7); +#endif #ifdef X #endif } endpos.res warning: s: metavariable p not used in the - or context code Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function enum.res diff = --- tests/enum.c +++ /tmp/cocci-output-128647-4c96b8-enum.c @@ -5,5 +5,5 @@ typedef enum static reg_errcode_t regex_compile () { - unsigned char *pending_exact = 0; + unsigned char *pending_exact = NULL; } enum_assign.res diff = --- tests/enum_assign.c +++ /tmp/cocci-output-128647-a7c9bc-enum_assign.c @@ -1,6 +1,7 @@ enum h { - a = 0, + q = 0, c, x, - b + b, + z }; enumcast.res diff = --- tests/enumcast.c +++ /tmp/cocci-output-128647-f98978-enumcast.c @@ -1 +1,2 @@ +enum{x = (int)1, }; int main() { return 12; } enumcpp.res diff = --- tests/enumcpp.cpp +++ /tmp/cocci-output-128647-c2e8ca-enumcpp.cpp @@ -1,32 +1,3 @@ int main() { - enum struct l1 {A, B}; - enum class l2 {A2, B2}; - enum struct l3:int {A3,B3}; - enum class l4:int {A4,B4}; - - enum l11 {A11, B11}; - enum l12 {A12, B12}; - enum l13:int {A13,B13}; - enum l14:int {A14,B14}; - - enum {A21, B21} l21; - enum {A22, B22} l22; - enum :int {A33,B33} l33; - enum :int {A32,B32} l32; - - enum struct zl1 {}; - enum class zl2 {}; - enum struct zl3:int {}; - enum class zl4:int {}; - - enum zl11 {}; - enum zl12 {}; - enum zl13:int {}; - enum zl14:int {}; - - enum {} zl21; - enum {} zl22; - enum :int {} zl33; - enum :int {} zl32; } enumdots.res diff = --- tests/enumdots.c +++ /tmp/cocci-output-128647-78ad41-enumdots.c @@ -1,3 +1,2 @@ enum binder_work_type { - BINDER_WORK_TRANSACTION = 12, } t; exitc.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function exitp.res exn while in timeout_function exp.res diff = --- tests/exp.c +++ /tmp/cocci-output-128647-5c3d28-exp.c @@ -1,14 +1,14 @@ int main(int i) { - int k = foo(); + int k = bar(); if(1) { - foo(); + bar(); } else { - foo(); + bar(); } - foo(); + bar(); } expnest.res diff = --- tests/expnest.c +++ /tmp/cocci-output-128647-979d33-expnest.c @@ -2,5 +2,5 @@ int main() { x = 3 + 4; x = f() + 15; x = 15 + g(); - x = f() + g(); + x = f() - g(); } expopt.res diff = --- tests/expopt.c +++ /tmp/cocci-output-128647-5ba44b-expopt.c @@ -1,5 +1,5 @@ int main() { int *x; f(x); - *x = 7; + x = 7; } expopt2.res diff = --- tests/expopt2.c +++ /tmp/cocci-output-128647-c7fc37-expopt2.c @@ -1,5 +1,5 @@ void main(int i) { - f(v, w.aa); + f(v, g(w.aa)); } expopt3.res diff = --- tests/expopt3.c +++ /tmp/cocci-output-128647-7d3810-expopt3.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - struct video_tuner v; - pcm20_getflags(pcm20, &v.flags, &v.xxx, &v.signal); + struct video_tuner *v; + pcm20_getflags(pcm20, &v->flags, &v->xxx, &v->signal); } expopt3_ver1.res diff = --- tests/expopt3_ver1.c +++ /tmp/cocci-output-128647-97e587-expopt3_ver1.c @@ -1,6 +1,6 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - struct video_tuner v; + struct video_tuner *v; //&v.field; - f(&v.field1, &v.field2, &v.field3, &v.field4); + f(&v->field1, &v->field2, &v->field3, &v->field4); } expopt3_ver2.res diff = --- tests/expopt3_ver2.c +++ /tmp/cocci-output-128647-3cb2d2-expopt3_ver2.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - struct video_tuner v; - f(v.field1, v.field2); + struct video_tuner *v; + f(v->field1, v->field2); } exprlist_comma.res diff = --- tests/exprlist_comma.c +++ /tmp/cocci-output-128647-3190f9-exprlist_comma.c @@ -1,4 +1,4 @@ int main(void) { - f(3); + f(2, 3); } exprun.res diff = --- tests/exprun.c +++ /tmp/cocci-output-128647-3fcbdc-exprun.c @@ -8,37 +8,50 @@ static void ice_dump_common_caps(struct ice_hw *hw, struct ice_hw_common_caps *caps, char const *prefix) { - ice_info(hw, "%s: switching_mode = %d\n", prefix, caps->switching_mode); - ice_info(hw, "%s: mgmt_mode = %d\n", prefix, caps->mgmt_mode); - ice_info(hw, "%s: mgmt_protocols_mctp = %d\n", prefix, + dev_info(ice_hw_to_dev(hw), "%s: switching_mode = %d\n", prefix, + caps->switching_mode); + dev_info(ice_hw_to_dev(hw), "%s: mgmt_mode = %d\n", prefix, + caps->mgmt_mode); + dev_info(ice_hw_to_dev(hw), "%s: mgmt_protocols_mctp = %d\n", prefix, caps->mgmt_protocols_mctp); - ice_info(hw, "%s: os2bmc = %d\n", prefix, caps->os2bmc); - ice_info(hw, "%s: valid_functions (bitmap) = %d\n", prefix, - caps->valid_functions); - ice_info(hw, "%s: sr_iov_1_1 = %d\n", prefix, caps->sr_iov_1_1); - ice_info(hw, "%s: vmdq = %d\n", prefix, caps->vmdq); - ice_info(hw, "%s: evb_802_1_qbg = %d\n", prefix, caps->evb_802_1_qbg); - ice_info(hw, "%s: evb_802_1_qbh = %d\n", prefix, caps->evb_802_1_qbh); - ice_info(hw, "%s: dcb = %d\n", prefix, caps->dcb); - ice_info(hw, "%s: active_tc_bitmap = %d\n", prefix, + dev_info(ice_hw_to_dev(hw), "%s: os2bmc = %d\n", prefix, caps->os2bmc); + dev_info(ice_hw_to_dev(hw), "%s: valid_functions (bitmap) = %d\n", + prefix, caps->valid_functions); + dev_info(ice_hw_to_dev(hw), "%s: sr_iov_1_1 = %d\n", prefix, + caps->sr_iov_1_1); + dev_info(ice_hw_to_dev(hw), "%s: vmdq = %d\n", prefix, caps->vmdq); + dev_info(ice_hw_to_dev(hw), "%s: evb_802_1_qbg = %d\n", prefix, + caps->evb_802_1_qbg); + dev_info(ice_hw_to_dev(hw), "%s: evb_802_1_qbh = %d\n", prefix, + caps->evb_802_1_qbh); + dev_info(ice_hw_to_dev(hw), "%s: dcb = %d\n", prefix, caps->dcb); + dev_info(ice_hw_to_dev(hw), "%s: active_tc_bitmap = %d\n", prefix, caps->active_tc_bitmap); - ice_info(hw, "%s: maxtc = %d\n", prefix, caps->maxtc); - ice_info(hw, "%s: iscsi = %d\n", prefix, caps->iscsi); - ice_info(hw, "%s: rss_table_size = %d\n", prefix, caps->rss_table_size); - ice_info(hw, "%s: rss_table_entry_width = %d\n", prefix, - caps->rss_table_entry_width); - ice_info(hw, "%s: num_rxq = %d\n", prefix, caps->num_rxq); - ice_info(hw, "%s: rxq_first_id = %d\n", prefix, caps->rxq_first_id); - ice_info(hw, "%s: num_txq = %d\n", prefix, caps->num_txq); - ice_info(hw, "%s: txq_first_id = %d\n", prefix, caps->txq_first_id); - ice_info(hw, "%s: num_msix_vectors = %d\n", prefix, + dev_info(ice_hw_to_dev(hw), "%s: maxtc = %d\n", prefix, caps->maxtc); + dev_info(ice_hw_to_dev(hw), "%s: iscsi = %d\n", prefix, caps->iscsi); + dev_info(ice_hw_to_dev(hw), "%s: rss_table_size = %d\n", prefix, + caps->rss_table_size); + dev_info(ice_hw_to_dev(hw), "%s: rss_table_entry_width = %d\n", + prefix, caps->rss_table_entry_width); + dev_info(ice_hw_to_dev(hw), "%s: num_rxq = %d\n", prefix, + caps->num_rxq); + dev_info(ice_hw_to_dev(hw), "%s: rxq_first_id = %d\n", prefix, + caps->rxq_first_id); + dev_info(ice_hw_to_dev(hw), "%s: num_txq = %d\n", prefix, + caps->num_txq); + dev_info(ice_hw_to_dev(hw), "%s: txq_first_id = %d\n", prefix, + caps->txq_first_id); + dev_info(ice_hw_to_dev(hw), "%s: num_msix_vectors = %d\n", prefix, caps->num_msix_vectors); - ice_info(hw, "%s: msix_vector_first_id = %d\n", prefix, + dev_info(ice_hw_to_dev(hw), "%s: msix_vector_first_id = %d\n", prefix, caps->msix_vector_first_id); - ice_info(hw, "%s: ieee_1588 = %d\n", prefix, caps->ieee_1588); - ice_info(hw, "%s: mgmt_cem = %d\n", prefix, caps->mgmt_cem); - ice_info(hw, "%s: iwarp = %d\n", prefix, caps->iwarp); - ice_info(hw, "%s: roce_lag = %d\n", prefix, caps->roce_lag); + dev_info(ice_hw_to_dev(hw), "%s: ieee_1588 = %d\n", prefix, + caps->ieee_1588); + dev_info(ice_hw_to_dev(hw), "%s: mgmt_cem = %d\n", prefix, + caps->mgmt_cem); + dev_info(ice_hw_to_dev(hw), "%s: iwarp = %d\n", prefix, caps->iwarp); + dev_info(ice_hw_to_dev(hw), "%s: roce_lag = %d\n", prefix, + caps->roce_lag); } /* This takes 27 seconds as of now, doubles with each ice_info() call added ice_info(hw, "%s: wr_csr_prot = 0x%llX\n", prefix, extra.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function failing_andany.res diff = --- tests/failing_andany.c +++ /tmp/cocci-output-128647-173276-failing_andany.c @@ -1,13 +1,9 @@ static int smc_probe1(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) { - request_irq(irq_flags); - register_netdev(dev); } static int smc_probe2(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) { - request_irq(dev); - register_netdev(dev); } far.res diff = --- tests/far.c +++ /tmp/cocci-output-128647-87f956-far.c @@ -1,7 +1,7 @@ int main(void) { int far = 0; - int x; - x = 10; - return x; + int y; + y = 10; + return y; } far2.res SPECIAL NAMES: adding __counted_by as a attribute diff = --- tests/far2.c +++ /tmp/cocci-output-128647-4c2e13-far2.c @@ -1,4 +1,4 @@ struct foo { size_t element_count; - int element_array[]; + int element_array[] __counted_by(element_count); }; fields.res diff = --- tests/fields.c +++ /tmp/cocci-output-128647-2b7bd4-fields.c @@ -1,4 +1,7 @@ struct foo x = { + .a = 1, + .b = 2, + .c = 3, .xa = 1, .xb = 2, .xc = 3, fieldsmin.res warning: line 4: should x be a metavariable? diff = --- tests/fieldsmin.c +++ /tmp/cocci-output-128647-403cf5-fieldsmin.c @@ -1,5 +1,3 @@ struct foo x = { - .a = 1, - .b = 2, .c = 3, }; fieldtmp.res finalclass.res diff = --- tests/finalclass.cpp +++ /tmp/cocci-output-128647-a3ee01-finalclass.cpp @@ -1,2 +1,2 @@ -class foo final { int x; }; +class foo final { int y; }; finalize_only.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function find_long.res diff = --- tests/find_long.c +++ /tmp/cocci-output-128647-ddd68b-find_long.c @@ -3,8 +3,8 @@ long function() long a; int b; - a + b; - b + a; + (long)(a + b); + (long)(b + a); return a; } firstdecl.res fix_flow_need.res diff = --- tests/fix_flow_need.c +++ /tmp/cocci-output-128647-b996ef-fix_flow_need.c @@ -5,7 +5,6 @@ void main(int i) { if(1) { foo(); } - bar(); foobar(); } flex.res diff = --- tests/flex.c +++ /tmp/cocci-output-128647-9948fe-flex.c @@ -3,5 +3,5 @@ struct scmi_msg_resp_sensor_description struct { #define SENSOR_UPDATE_BASE(x) 3 u8 name[SCMI_MAX_STR_SIZE]; - } desc[0]; + } desc[]; }; fn_todo.res diff = --- tests/fn_todo.c +++ /tmp/cocci-output-128647-187ab0-fn_todo.c @@ -5,6 +5,6 @@ static void task_kill_later(struct asd_a struct Scsi_Host *shost = sas_ha->core.shost; struct sas_task *task = ascb->uldd_task; - INIT_WORK(&task->abort_work, (void (*)(void *))sas_task_abort, task); + INIT_WORK(&task->abort_work, sas_task_abort); queue_work(shost->work_q, &task->abort_work); } fnptr.res diff = --- tests/fnptr.c +++ /tmp/cocci-output-128647-021639-fnptr.c @@ -8,5 +8,5 @@ static int sci_request_irq(struct sci_po sci_er_interrupt, sci_rx_interrupt, sci_tx_interrupt, sci_br_interrupt, }; - request_irq(port->irqs[0], sci_mpxed_interrupt, SA_INTERRUPT); + request_irq(port->irqs[0], sci_mpxed_interrupt, foo()); } fnret.res warning: line 6: should x be a metavariable? diff = --- tests/fnret.c +++ /tmp/cocci-output-128647-1839f7-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c +++ /tmp/cocci-output-128647-3c1c4f-fnty.c @@ -1,4 +1,4 @@ -struct allfns { +struct newname { int (*x) (int); int (*y) (int); }; fntypedef.res diff = --- tests/fntypedef.c +++ /tmp/cocci-output-128647-789453-fntypedef.c @@ -1 +1 @@ -typedef void (*toto_t)(int a, int b); +typedef void(*toto_t)(int a, int b, int c); forc.res diff = --- tests/forc.cpp +++ /tmp/cocci-output-128647-8e20a3-forc.cpp @@ -2,9 +2,9 @@ static void Ptngc_widediv() { while (rmask) { - if ((s_Ulo) + if (12) { unsigned int t; hi--; /* Borrow */ fordots.res diff = --- tests/fordots.c +++ /tmp/cocci-output-128647-4eb4aa-fordots.c @@ -1,4 +1,2 @@ int main () { - for(int i = 0; i != 12; i++) a = 2; - for(i = 0; i != 12; i++) a = 2; } format.res diff = --- tests/format.c +++ /tmp/cocci-output-128647-ca8bd9-format.c @@ -1,5 +1,5 @@ int main () { - printf("one %d two\n", 1); - printf("one %d two %d three\n", 1, 2); + printf("blah", 1); + printf("blah", 1, 2); printf("one two three\n"); } format2.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function formatlist.res diff = --- tests/formatlist.c +++ /tmp/cocci-output-128647-c313a7-formatlist.c @@ -1,10 +1,10 @@ int main () { foo("xyz %d abc"); - foo("xyz %d %d abc"); + foo("blah2"); foo("mno %d %d abc"); foo("mno %d abc %d %d abc %d"); - foo("xyz %d abc %d %d abc %d"); - foo("xyz %d abc %d %d abc %d mno"); + foo("blah"); + foo("blah"); foo("xyz %d abc %d %d abc %d %d abc %d"); foo("xyz %d abc %d %d abc"); foo("xyz abc"); forrange.res exn while in timeout_function forrange2.res diff = --- tests/forrange2.cpp +++ /tmp/cocci-output-128647-abf6e3-forrange2.cpp @@ -2,9 +2,9 @@ m2n::PtrM2N M2NConfiguration::getM2N(con { using std::get; for (M2NTuple &tuple : _m2ns) { - if ((get<1>(tuple) == acceptor) && (get<2>(tuple) == connector)) { + if ((get<1>(tuple) == acceptor) && (get<4>(tuple) == connector)) { return get<0>(tuple); - } else if ((get<2>(tuple) == acceptor) && (get<1>(tuple) == connector)) { + } else if ((get<4>(tuple) == acceptor) && (get<1>(tuple) == connector)) { return get<0>(tuple); } } fortest.res diff = --- tests/fortest.c +++ /tmp/cocci-output-128647-718df7-fortest.c @@ -1,18 +1,18 @@ int main() { - for(x=0; x!=10; x++) - y = 12; - for(x=0; x!=10; ) - y = 12; - for(x=0; ; x++) - y = 12; - for(x=0; ; ) - y = 12; - for( ; x!=10; x++) - y = 12; - for( ; x!=10; ) - y = 12; - for( ; ; x++) - y = 12; - for( ; ; ) - y = 12; + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); } fortype.res warning: line 4: should x be a metavariable? diff = --- tests/fortype.c +++ /tmp/cocci-output-128647-961a09-fortype.c @@ -1,4 +1,4 @@ int main () { - for (int x = 0; x!=10; x++) - return x; + for (char *p = 0; y!=10; y++) + return y; } four.res diff = --- tests/four.c +++ /tmp/cocci-output-128647-84f48c-four.c @@ -1,5 +1,3 @@ int main () { f(1); - h(2); - i(2); } foura.res diff = --- tests/foura.c +++ /tmp/cocci-output-128647-cbfab2-foura.c @@ -1,5 +1,4 @@ int main () { f(1); h(2); - i(2); } fp.res diff = --- tests/fp.c +++ /tmp/cocci-output-128647-de68e9-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); } fptr.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function fptr2.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function fptr3.res diff = --- tests/fptr3.c +++ /tmp/cocci-output-128647-07d9cb-fptr3.c @@ -1,6 +1,6 @@ int foo(int c, int d) { return 0; } int main() { - call(foo); + 12; } fresh_id_script.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function fsh.res diff = --- tests/fsh.c +++ /tmp/cocci-output-128647-183cf7-fsh.c @@ -1,4 +1,4 @@ int main () { f(c); - g(); + g(foo-c); } fun.res warning: line 5: should x be a metavariable? diff = --- tests/fun.c +++ /tmp/cocci-output-128647-bebd93-fun.c @@ -1 +1,4 @@ +struct a { + int a; +}; int f(int x) { return x; } func.res diff = --- tests/func.c +++ /tmp/cocci-output-128647-a52b3b-func.c @@ -1,6 +1,7 @@ static int hidg_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) { - VDBG(cdev, "hid_setup crtl_request : bRequestType:0x%x bRequest:0x%x " - "Value:0x%x\n", ctrl->bRequestType, ctrl->bRequest, value); + VDBG(cdev, + "%s crtl_request : bRequestType:0x%x bRequest:0x%x Value:0x%x\n", + ctrl->bRequestType, ctrl->bRequest, value); } funptr_array.res diff = --- tests/funptr_array.c +++ /tmp/cocci-output-128647-3abae1-funptr_array.c @@ -1 +1 @@ -int (*x[2])(int x); +int (*x[2])(char x); gadget_allocate.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type warning: soa_init: inherited metavariable id1 not used in the -, +, or context code warning: soa_free: inherited metavariable id1 not used in the -, +, or context code warning: soa_alloc: inherited metavariable id1 not used in the -, +, or context code exn while in timeout_function gadget_gather_scatter.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type warning: line 230: P, previously declared as a metavariable, is used as an identifier warning: line 230: p, previously declared as a metavariable, is used as an identifier exn while in timeout_function gadget_invalidate.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type exn while in timeout_function gadget_mark_used_fields.res exn while in timeout_function gadget_misc.res diff = --- tests/gadget_misc.c +++ /tmp/cocci-output-128647-1aac0c-gadget_misc.c @@ -2,6 +2,5 @@ int main() { if(0) { - *((int *) (0x0)) = 1; } } gadget_ninelets_typedef.res SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyFloat3x3 as a type SPECIAL NAMES: adding double3x3 as a type diff = --- tests/gadget_ninelets_typedef.c +++ /tmp/cocci-output-128647-dbd3eb-gadget_ninelets_typedef.c @@ -1,21 +1,23 @@ typedef double MyFloat; +typedef double double3x3[3][3]; +typedef MyFloat MyFloat3x3[3][3]; enum cpufields { ENUM_SOMETHING }; // ok for OpenGadget3, IPCC-Gadget struct particle_data { - MyFloat I[3][3]; + MyFloat3x3 I; MyFloat i[3]; - MyFloat J[3][3]; + MyFloat3x3 J; MyFloat j[3]; }; struct sph_particle_data { - double I[3][3]; + double3x3 I; double i[3]; - double J[3][3]; + double3x3 J; double j[3]; }; gadget_patch.res exn while in timeout_function gadget_remove_mpi_function_calls.res diff = --- tests/gadget_remove_mpi_function_calls.c +++ /tmp/cocci-output-128647-499441-gadget_remove_mpi_function_calls.c @@ -2,6 +2,5 @@ int main(int argc, char **argv) { MPI_Comm comm; - MPI_Init(&argc, &argv); comm = MPI_COMM_WORLD; } gadget_remove_used_fields.res diff = --- tests/gadget_remove_used_fields.c +++ /tmp/cocci-output-128647-ea8dd1-gadget_remove_used_fields.c @@ -1,8 +1,8 @@ -struct particle_data { int i; int j; int k; } * P ; +struct particle_data { int k; } * P ; struct particle_data_soa_t { int i; int j; } * P_soa ; -struct sph_particle_data { int i; int j; int k; } * SphP ; +struct sph_particle_data { int k; } * SphP ; struct sph_particle_data_soa_t { int i; int j; } * SphP_soa ; int main() gadget_sentinel.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type warning: line 111: should first be a metavariable? warning: line 142: should first be a metavariable? exn while in timeout_function gadget_soa_defs.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyBigFloat as a type SPECIAL NAMES: adding MyFloat3 as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyDoublePos3 as a type exn while in timeout_function gadget_soa_select.res SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_soa_select.c +++ /tmp/cocci-output-128647-b83316-gadget_soa_select.c @@ -1,5 +1,5 @@ struct sph_particle_data_soa_t { - int *Entropy; + int *Entropy;/* See coccinelle/gadget_soa_select.cocci on how to select SoA fields on a name basis */ }; int main() { gadget_sorting_hook.res diff = --- tests/gadget_sorting_hook.c +++ /tmp/cocci-output-128647-9c0ec4-gadget_sorting_hook.c @@ -21,7 +21,16 @@ int main() any_sort_func(P); + /* FIXME: this is a transitory gather-sort-scatter hook solution */ + soa_gather__sph_particle_data_soa_t(SphP, SphP_soa, 0, N_gas); + soa_gather__particle_data_soa_t(P, P_soa, 0, NumPart); + soa_invalidate_soa__sph_particle_data_soa_t(&SphP_soa, 0, N_gas); + soa_invalidate_soa__particle_data_soa_t(&P_soa, 0, NumPart); rearrange_particle_sequence(); + soa_scatter__particle_data_soa_t(P_soa, P, 0, NumPart); + soa_scatter__sph_particle_data_soa_t(SphP_soa, SphP, 0, N_gas); + soa_invalidate_aos__sph_particle_data(SphP, 0, N_gas); + soa_invalidate_aos__particle_data(P, 0, NumPart); return 0; } gadget_triplets_typedef.res SPECIAL NAMES: adding MyLongDouble as a type SPECIAL NAMES: adding MyFloat as a type SPECIAL NAMES: adding MyLongDouble3 as a type SPECIAL NAMES: adding MyFloat3 as a type diff = --- tests/gadget_triplets_typedef.c +++ /tmp/cocci-output-128647-445062-gadget_triplets_typedef.c @@ -3,6 +3,8 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; +typedef MyLongDouble MyLongDouble3[3]; +typedef MyFloat MyFloat3[3]; enum cpufields { ENUM_SOMETHING }; // ok for OpenGadget3, IPCC-Gadget @@ -11,11 +13,11 @@ struct particle_data { //MyFloat I[3][3]; //MyFloat I[3][3]; //MyFloat i[3]; - MyFloat j[3]; + MyFloat3 j; //MyFloat J[3][3]; //MyFloat i[3]; //MyDoublePos K[3][3]; - MyLongDouble d[3]; + MyLongDouble3 d; MyDoublePos k[3]; }; gadget_triplets_typedef_ipcc.res SPECIAL NAMES: adding MyDoublePos as a type SPECIAL NAMES: adding MyDoublePos3 as a type diff = --- tests/gadget_triplets_typedef_ipcc.c +++ /tmp/cocci-output-128647-9f2e4f-gadget_triplets_typedef_ipcc.c @@ -3,6 +3,7 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; +typedef MyDoublePos MyDoublePos3[3]; enum cpufields { ENUM_SOMETHING }; // ok for OpenGadget3, IPCC-Gadget @@ -16,7 +17,7 @@ struct particle_data { //MyFloat i[3]; //MyDoublePos K[3][3]; MyLongDouble d[3]; - MyDoublePos k[3]; + MyDoublePos3 k; }; struct sph_particle_data { gcc_attr_with_func.res diff = --- tests/gcc_attr_with_func.c +++ /tmp/cocci-output-128647-bd8974-gcc_attr_with_func.c @@ -1,8 +1,8 @@ -int __attribute__((always_inline)) func (int a); +int __attribute__((always_inline)) func (); -int func(int a); +int func(long a); -int __attribute__((always_inline)) func (int a) { +int __attribute__((always_inline)) func () { return 42; } @@ -10,16 +10,16 @@ int func (int a) { return 42; } -int __attribute__((always_inline)) *func (int a) { +int __attribute__((always_inline)) *func (long a) { return 42; } -int func (int a) __attribute__((attr)) { +int func (long a) __attribute__((attr)) { return 42; } -void __attribute__((mult,"1",2)) func (int a) { +void __attribute__((mult,"1",2)) func (long a) { } -void __attribute__((mult,1,"2")) func (int a) { +void __attribute__((mult,1,"2")) func (long a) { } gcc_attr_with_var.res diff = --- tests/gcc_attr_with_var.c +++ /tmp/cocci-output-128647-38d625-gcc_attr_with_var.c @@ -1,39 +1,39 @@ -int var1_end __attribute__((myattr1_end)); +int var1_end __attribute__((section(".shared"))); -int __attribute__((myattr1_mid)) var1_mid; +int __attribute__((section(".shared"))) var1_mid; -int var2_end __attribute__((myattr2_end)); +int var2_end __attribute__((section(".shared"))); -int __attribute__((myattr2_mid)) var2_mid; +int __attribute__((section(".shared"))) var2_mid; -int var3_end __attribute__((myattr3_end)); +__attribute__((section(".shared"))) int var3_end; -int __attribute__((myattr3_mid)) var3_mid; +__attribute__((section(".shared"))) int var3_mid; -int var4_end __attribute__((myattr4_end)); +int var4_end; -int __attribute__((myattr4_mid)) var4_mid; +int var4_mid; -int var5_end __attribute__((myattr5_end)); +int __attribute__((section(".shared"))) var5_end; -int __attribute__((myattr5_mid)) var5_mid; +int var5_mid __attribute__((section(".shared"))); -char array1_end[2] __attribute__((myattr1_end)); +char array1_end[2] __attribute__((section(".shared"))); char __attribute__((myattr1_mid)) array1_mid[2]; -char array2_end[2] __attribute__((myattr2_end)); +char array2_end[2] __attribute__((section(".shared"))); char __attribute__((myattr2_mid)) array2_mid[2]; -char array3_end[2] __attribute__((myattr3_end)); +__attribute__((section(".shared"))) char[2] array3_end; char __attribute__((myattr3_mid)) array3_mid[2]; -char array4_end[2] __attribute__((myattr4_end)); +char array4_end[2]; char __attribute__((myattr4_mid)) array4_mid[2]; -char array5_end[2] __attribute__((myattr5_end)); +char[2] __attribute__((section(".shared"))) array5_end; char __attribute__((myattr5_mid)) array5_mid[2]; gcc_min_max.res diff = --- tests/gcc_min_max.c +++ /tmp/cocci-output-128647-60ba2b-gcc_min_max.c @@ -1,8 +1,8 @@ int main() { int a, b; - a ? b; - a >?= b; + min(a, b); + a = min(a, b); + max(a, b); + a = max(a, b); } getc.res SPECIAL NAMES: adding VOID as a type SPECIAL NAMES: adding LPVOID as a type SPECIAL NAMES: adding PVOID as a type diff = --- tests/getc.c +++ /tmp/cocci-output-128647-826bb3-getc.c @@ -1,4 +1,4 @@ int IFoo_QueryInterface(int *iface, long *riid, void **ppv) { - return IBar_QueryInterface(iface, riid, *ppv); + return 12; } gilles-question.res diff = --- tests/gilles-question.c +++ /tmp/cocci-output-128647-4dc5ac-gilles-question.c @@ -2,8 +2,6 @@ void main(int i) { f(0); if(1) { - g(0); } - g(0); } globali.res gotobreak.res diff = --- tests/gotobreak.c +++ /tmp/cocci-output-128647-4d019f-gotobreak.c @@ -11,5 +11,5 @@ static void sedlbauer_config(struct pcmc CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple)); } - return; + return 0; } hashhash.res diff = --- tests/hashhash.c +++ /tmp/cocci-output-128647-4e3f77-hashhash.c @@ -1,5 +1,5 @@ #define FOO(x) foo ## x int FOO(float)(int a, int b) { - return 12; + return 10; } hd.res warning: line 4: should x be a metavariable? warning: line 4: should y be a metavariable? diff = --- tests/hd.c +++ /tmp/cocci-output-128647-6e4cb5-hd.c @@ -1,3 +1,3 @@ #include "hd.h" -int f(int x, int y) { return x; } +int f(int x) { return x; } headers.res diff = --- tests/headers.c +++ /tmp/cocci-output-128647-d50fef-headers.c @@ -10,12 +10,12 @@ static int empeg_write (struct usb_seria } -static void empeg_write_bulk_callback (struct urb *urb, struct pt_regs *regs) +static void empeg_write_bulk_callback(struct urb *urb) { } -static void empeg_read_bulk_callback (struct urb *urb, struct pt_regs *regs) +static void empeg_read_bulk_callback(struct urb *urb) { usb_fill_bulk_urb(empeg_read_bulk_callback); hex.res diff = --- tests/hex.c +++ /tmp/cocci-output-128647-180a35-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); } hil1.res SPECIAL NAMES: adding FUNC as a initializer ending in a comma diff = --- tests/hil1.c +++ /tmp/cocci-output-128647-058fef-hil1.c @@ -2,5 +2,5 @@ { HILSE_FUNC, { func: &funct }, funct_arg, zero_rc }, int main () { - return 12; + return 5; } icomma.res exn while in timeout_function id3.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function id4.res exn while in timeout_function idcon_ocaml.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function idcon_python.res exn while in timeout_function idstr.res diff = --- tests/idstr.c +++ /tmp/cocci-output-128647-3fdf7a-idstr.c @@ -1,3 +1,3 @@ int main () { - printf("arena 0x%08x, numfree = %d\n", (unsigned)dt, dt->numfree); + printf("y", (unsigned)dt, dt->numfree); } if.res diff = warning: rule starting on line 11, node 19: g(...)[1,2,4,5,6,7,8] in main1 may be inconsistently modified --- tests/if.c +++ /tmp/cocci-output-128647-12a689-if.c @@ -1,27 +1,37 @@ int main () { + before(); f(x); + after(); + before(); g(x); + after(); } int main1 () { + before(); f(x); if (x == NULL) { + before(); g(x); } } int main1 () { + before(); f(x); while (x == NULL) { if (q == 3) { + before(); g(x); } } x = 6; } int main2 () { + before(); f(x); if (x == NULL || y == 2) { + before(); g(x); } } ifadd.res diff = --- tests/ifadd.c +++ /tmp/cocci-output-128647-4cbabd-ifadd.c @@ -3,6 +3,7 @@ int main() { if (x) { one(); two(); + foo(); } } } ifbr.res warning: line 13: should ret be a metavariable? warning: rule starting on line 1: metavariable E not used in the - or context code ifd.res diff = --- tests/ifd.c +++ /tmp/cocci-output-128647-13dca7-ifd.c @@ -1,9 +1,13 @@ int main () { one(); +#ifdef 0 +#ifdef 10 foo(); one(); one(); bar(); +#endif +#endif one(); } ifdef1.res diff = --- tests/ifdef1.c +++ /tmp/cocci-output-128647-227fb3-ifdef1.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#include +#endif #include #include ifdef2.res diff = --- tests/ifdef2.c +++ /tmp/cocci-output-128647-061e1c-ifdef2.c @@ -1,6 +1,11 @@ #include #include #include +#ifdef CONFIG_NKERNEL +#include +#include +unsigned long maxsize = 0; +#endif #include ifdef3.res diff = --- tests/ifdef3.c +++ /tmp/cocci-output-128647-ab6e8c-ifdef3.c @@ -2,6 +2,15 @@ #include #include #include +#ifdef CONFIG_NKERNEL +#include +#define CONFIG_NKERNEL_NO_SHARED_IRQ // use local (native) mask/unmask +#undef CONFIG_NKERNEL_DEBUG_IRQ +#endif +static inline void nop(void) +{ + int i; +} void init_IRQ(void) ifdef4.res warning: line 9: should desc be a metavariable? warning: line 9: should irq_desc be a metavariable? diff = warning: Exemple4, node 12: statement[1,2,3,4,5] in init_IRQ may be inconsistently modified --- tests/ifdef4.c +++ /tmp/cocci-output-128647-a0dba3-ifdef4.c @@ -7,7 +7,10 @@ void init_IRQ(void) { for (irq = 0; irq < IRQS; irq++) { - *desc = irq_desc; +#ifdef CONFIG_NKERNEL + if (irq < IRQ_LIMIT) +#endif + *desc = irq_desc; uselessCall(); } } ifdef5.res diff = --- tests/ifdef5.c +++ /tmp/cocci-output-128647-72e579-ifdef5.c @@ -11,3 +11,11 @@ void init_IRQ(void) uselessCall(); } } +#ifdef CONFIG_NKERNEL +#ifndef TIMER_32K_SYNCHRONIZED +#define TIMER_32K_SYNCHRONIZED 0xffffffff +#endif +unsigned long nk_vtick_read_stamp(void) +{ + return omap_readl(TIMER_32K_SYNCHRONIZED); +} ifdef6.res diff = --- tests/ifdef6.c +++ /tmp/cocci-output-128647-4310c4-ifdef6.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#define foo(x) f(x) +#endif #include #include ifdef6a.res diff = --- tests/ifdef6a.c +++ /tmp/cocci-output-128647-106c3e-ifdef6a.c @@ -1,4 +1,7 @@ #include +#ifdef CONFIG_NKERNEL +#define foo(x) f(x) +#endif #include #include #include ifdefmeta.res diff = --- tests/ifdefmeta.c +++ /tmp/cocci-output-128647-47fe92-ifdefmeta.c @@ -1,26 +1,22 @@ int main() { - buf = alloca(3 + buf = malloc(3 + + 5 + 50 + + 2 + ) #ifdef PLATFORM_A -// platform a stuff - +5 - +50 #endif #ifdef PLATFORM_B -/* platform b stuff */ - +2 #endif - ); - buf = alloca(3 + ; + buf = malloc(3 + + 5 + 50 + + 2 + ) #ifdef PLATFORM_A -// platform a stuff - +5 - +50 #endif #ifdef PLATFORM_B -/* platform b stuff */ - +2 #endif - ); + ; } int other() { @@ -41,9 +37,6 @@ int other() { } int third() { - buf = alloca(3+5+2); - buf = alloca(3 - +5 - +2 - ); + buf = malloc(3 + 5 + 2); + buf = malloc(3 + 5 + 2); } ifdefmeta1.res diff = --- tests/ifdefmeta1.c +++ /tmp/cocci-output-128647-928a81-ifdefmeta1.c @@ -1,17 +1,9 @@ int main() { - buf = alloca(3 #ifdef PLATFORM_A -// platform a stuff - - - +5 #endif #ifdef PLATFORM_B -/* platform b stuff */ - +2 #endif - ); } ifdefmeta2.res diff = --- tests/ifdefmeta2.c +++ /tmp/cocci-output-128647-bc0ec6-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 - - - +5 - - - - - +2 - ); } ifdefmeta3.res diff = --- tests/ifdefmeta3.c +++ /tmp/cocci-output-128647-8fc167-ifdefmeta3.c @@ -1,11 +1,5 @@ int main () { f(); - if (foo) { - one(); -#ifdef ONE - two(); -#endif - three(); - } + xxx(); g(); } ifdefmeta4.res diff = --- tests/ifdefmeta4.c +++ /tmp/cocci-output-128647-15db60-ifdefmeta4.c @@ -1,14 +1,12 @@ int main() { - buf = alloca(3 + buf = malloc(3 + + 5 + 50 + + 2 + ) #ifdef PLATFORM_A -// platform a stuff - +5 - +50 #endif #ifdef PLATFORM_B -/* platform b stuff */ - +2 #endif - ); + ; } ifend.res diff = --- tests/ifend.c +++ /tmp/cocci-output-128647-448bf4-ifend.c @@ -3,5 +3,3 @@ static int vortex_debug = VORTEX_DEBUG; #else static int vortex_debug = 1; #endif - -#include ifgoto.res diff = --- tests/ifgoto.c +++ /tmp/cocci-output-128647-4c9575-ifgoto.c @@ -1,5 +1,7 @@ int main () { - if (x) - GOTO(l,a = 3); + if (x) { + a = 3; + goto l; + } l: return; } ifields.res SPECIAL NAMES: adding IFace as a type SPECIAL NAMES: adding IFaceVtbl as a type diff = --- tests/ifields.c +++ /tmp/cocci-output-128647-52e43f-ifields.c @@ -1,14 +1,16 @@ typedef struct tag_obj { int x; int y; - const IFaceVtbl *lpVtbl; + IFace IFace_iface; int a; } Tobj; static struct IFaceImpl obj = { 1, 2, - &x, + { + &x, 4, + }, 3 }; ifif.res diff = --- tests/ifif.c +++ /tmp/cocci-output-128647-7683fa-ifif.c @@ -1,5 +1,13 @@ int main () { +#ifdef FOO1 +#ifdef FOO2 foo(); +#endif /* FOO1 */ +#endif /* FOO2 */ xxx(); +#ifdef BAR1 +#ifdef BAR2 bar(); +#endif /* BAR1 */ +#endif /* BAR2 */ } ifreturn.res diff = --- tests/ifreturn.c +++ /tmp/cocci-output-128647-08bf6e-ifreturn.c @@ -1,31 +1,46 @@ int main () { if (x) { - return 1; + blah(); + { + return 1; + } } return 12; } int main () { if (a) { - if (x) { - return 1; + blah(); + { + if (x) { + blah(); + { + return 1; + } + } + b(); } - b(); } return 12; } int main () { if (a) { - if (b) { - if (x) { - return 1; - } - else { - return 1; + blah(); + { + if (b) { + blah(); + { + if (x) { + return 1; + } + else { + return 1; + } + } } + b(); } - b(); } return 12; } ifreturn3.res diff = --- tests/ifreturn3.c +++ /tmp/cocci-output-128647-60a740-ifreturn3.c @@ -3,7 +3,10 @@ int GetExitCode (int iFlag_Code) if(iFlag_Code==OK) { return OK; } else // blah + { + mwtrace(); return WARNING; + } return 0; } @@ -11,7 +14,9 @@ int GetExitCode (int iFlag_Code) { if(iFlag_Code==OK) { return OK; - } else + } else { + mwtrace(); return WARNING; + } return 0; } ifreturn4.res diff = --- tests/ifreturn4.c +++ /tmp/cocci-output-128647-1354f7-ifreturn4.c @@ -2,10 +2,16 @@ int GetExitCode (int iFlag_Code) { if(iFlag_Code==OK) { return OK; - } else if(iFlag_Code==WARNING) { - return WARNING; } else { - return_ERREUR; + mwtrace(); + if(iFlag_Code==WARNING) { + return WARNING; + } else { + mwtrace(); + { + return_ERREUR; + } + } } return 0; } ifreturn6.res diff = --- tests/ifreturn6.c +++ /tmp/cocci-output-128647-7fadd3-ifreturn6.c @@ -3,7 +3,8 @@ int main () { blah(); goto end; } - else goto end2; + else blah(); + later(); end: xxx(); end2: ifzer.res diff = --- tests/ifzer.c +++ /tmp/cocci-output-128647-7e92a0-ifzer.c @@ -3,6 +3,5 @@ int main() { and have lived on another thread's stack; that stack may have become unmapped meanwhile (CONFIG_DEBUG_PAGEALLOC). */ #endif - foo(); } ifzz.res diff = --- tests/ifzz.c +++ /tmp/cocci-output-128647-65e87c-ifzz.c @@ -2,9 +2,9 @@ if 0 char c; #endif -int foo(void) +size_t foo(void) { - int i = 1; + size_t i = 1; #if 0 TRACE("\n"); inc.res diff = --- tests/inc.c +++ /tmp/cocci-output-128647-0c4b75-inc.c @@ -1,2 +1 @@ -#define foo 3 -#define xxx 4 +#define foobar 3 incdir.res incl.res diff = --- tests/incl.c +++ /tmp/cocci-output-128647-9f2bc5-incl.c @@ -1,6 +1,8 @@ +#include "before.h" #include #include #include +#include "after.h" #ifdef FOO #include #endif FOO incl2.res diff = --- tests/incl2.c +++ /tmp/cocci-output-128647-f7a11c-incl2.c @@ -1,3 +1,4 @@ +#include "beginning.h" #include #include #include "linux/foo.h" inclifdef.res diff = --- tests/inclifdef.c +++ /tmp/cocci-output-128647-9b3f50-inclifdef.c @@ -1,4 +1,5 @@ #include +#include #ifdef CONFIG #include #endif include.res diff = --- tests/include.c +++ /tmp/cocci-output-128647-1d1856-include.c @@ -1,8 +1,6 @@ #include #include -#include -#include void main(int i) { incompatible_value.res diff = --- tests/incompatible_value.c +++ /tmp/cocci-output-128647-37bc1c-incompatible_value.c @@ -4,6 +4,6 @@ int main() { } int main() { - g(1); - g(2); + h(1); + h(2); } incpos.res exn while in timeout_function incpos1.res exn while in timeout_function inh1.res diff = --- tests/inh1.cpp +++ /tmp/cocci-output-128647-365513-inh1.cpp @@ -1,6 +1,7 @@ // emits warning on c++ file: 5: list of length 3 or 4 expected #include using namespace std; +// struct A { }; struct B : public A { }; int main() inherited.res diff = --- tests/inherited.c +++ /tmp/cocci-output-128647-d051fe-inherited.c @@ -6,5 +6,5 @@ void main(int i) { h(2); h2(2); - foo(1); + bar(1); } inherited_ver1.res diff = --- tests/inherited_ver1.c +++ /tmp/cocci-output-128647-739d0e-inherited_ver1.c @@ -3,8 +3,8 @@ void main(int i) { //g(1); f(2); - h(2); - h2(2); + hh(2); + hh22(2); - foo(1); + bar(1); } inhmet.res diff = --- tests/inhmet.c +++ /tmp/cocci-output-128647-f24d77-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; + foo(); } inhpos.res diff = --- tests/inhpos.c +++ /tmp/cocci-output-128647-8ab04c-inhpos.c @@ -1,3 +1,2 @@ int main () { - g(3); } init3tst.res diff = --- tests/init3tst.cpp +++ /tmp/cocci-output-128647-5f3664-init3tst.cpp @@ -1,4 +1,4 @@ class TestUpperTriangle { public: - static constexpr rsb_coo_idx_t nrA { 2 }; + static constexpr rsb_coo_idx_t nrA { 20 }; }; initializer.res warning: line 5: should var be a metavariable? diff = --- tests/initializer.c +++ /tmp/cocci-output-128647-ccd623-initializer.c @@ -1,5 +1,6 @@ struct SHT var = { .f1 = toto1, - .f2 = toto2, + .foo = 12, + .foo2 = 12, .f3 = toto3, }; initializer_many_fields.res warning: line 4: should x be a metavariable? initpython.res exn while in timeout_function inline.res diff = --- tests/inline.c +++ /tmp/cocci-output-128647-970ad2-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c +++ /tmp/cocci-output-128647-81986c-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include instfour.res instruct.res diff = --- tests/instruct.cpp +++ /tmp/cocci-output-128647-9d0832-instruct.cpp @@ -1,9 +1,7 @@ struct i { - using namespace foo; int a; }; struct j { - #pragma XXX yyy int x; }; int2bool-local.res SPECIAL NAMES: adding bool as a type SPECIAL NAMES: adding u1 as a type SPECIAL NAMES: adding u2 as a type SPECIAL NAMES: adding u4 as a type SPECIAL NAMES: adding u8 as a type SPECIAL NAMES: adding u16 as a type SPECIAL NAMES: adding u32 as a type diff = --- tests/int2bool-local.c +++ /tmp/cocci-output-128647-26ea6e-int2bool-local.c @@ -1,8 +1,9 @@ int nxnypz1(){ - int x, y, z; + bool z; + int x, y; x = 1; y = 0; - z = 0; + z = false; if (x) return x; @@ -31,8 +32,8 @@ int nxny3() { } int px4() { - int x; - x = 0; + bool x; + x = false; return 4; } @@ -49,11 +50,11 @@ int nxny5() { } int pxpy6() { - int x; - int y; + bool x; + bool y; - x = 0; - y = 1; + x = false; + y = true; x = x && y; introbrace.res diff = --- tests/introbrace.c +++ /tmp/cocci-output-128647-d3dbf9-introbrace.c @@ -1,8 +1,12 @@ int main() { - if (x) + if (x) { rc = request_threaded_irq(a, b); - else + rc = compat_request_threaded_irq(12); + } + else { rc = request_threaded_irq(a, b); + rc = compat_request_threaded_irq(12); + } } invert.res diff = --- tests/invert.c +++ /tmp/cocci-output-128647-1f0af7-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; + x = z + y; } ip.res diff = --- tests/ip.c +++ /tmp/cocci-output-128647-bca98b-ip.c @@ -2,10 +2,18 @@ void GetInfoDestTV(short sNoFo) { if(sNoFo == 1) printf("one"); - else if(sNoFo == 2) - printf("two"); - else if(sNoFo == 2) - printf("three"); - else - printf("other"); + else { + trace("ifelel"); + if(sNoFo == 2) + printf("two"); + else { + trace("ifelel"); + if(sNoFo == 2) + printf("three"); + else { + trace("ifelel"); + printf("other"); + } + } + } } ip2.res diff = --- tests/ip2.c +++ /tmp/cocci-output-128647-e6aaf1-ip2.c @@ -1,11 +1,17 @@ void GetInfoDestTV(short sNoFo) { - if(sNoFo == 1) + if(sNoFo == 1) { + trace("ifelel"); printf("one"); - else if(sNoFo == 2) + } + else if(sNoFo == 2) { + trace("ifelel"); printf("two"); - else if(sNoFo == 2) + } + else if(sNoFo == 2) { + trace("ifelel"); printf("three"); + } else printf("other"); } isococci.res diff = --- tests/isococci.c +++ /tmp/cocci-output-128647-75c1a2-isococci.c @@ -1,6 +1,3 @@ void f(int i) { - - if(x > 0) return x; - } isoif.res warning: r: metavariable p1 not used in the - or context code warning: r: metavariable E not used in the - or context code diff = --- tests/isoif.c +++ /tmp/cocci-output-128647-6ea598-isoif.c @@ -1,4 +1,2 @@ int main () { - if (x == NULL) one(); else two(); - if (x != NULL) three(); else four(); } isotest.res diff = --- tests/isotest.c +++ /tmp/cocci-output-128647-1cfe2f-isotest.c @@ -1,7 +1,6 @@ void main(int i) { char j; - int i; // = 1; j++; isotest2.res diff = --- tests/isotest2.c +++ /tmp/cocci-output-128647-2024f7-isotest2.c @@ -1,7 +1,6 @@ void main(int i) { char j; - int i = 1; j++; iteration.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function iteration_after_merge.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function iterator.res SPECIAL NAMES: adding list_for_each as a iterator diff = --- tests/iterator.c +++ /tmp/cocci-output-128647-4db286-iterator.c @@ -2,9 +2,5 @@ void pcibios_report_status(u_int status_ { struct list_head *l; - list_for_each(l, &pci_root_buses) { - struct pci_bus *bus = pci_bus_b(l); - - pcibios_bus_report_status(bus, status_mask, warn); - } + foo(); } iterprint.res SPECIAL NAMES: adding for_each_set_bit as a iterator diff = --- tests/iterprint.c +++ /tmp/cocci-output-128647-9dc768-iterprint.c @@ -1,6 +1,4 @@ int main () { - for(bit = 0; bit < size; bit++) { - if (test_bit(bit, bitmap)) - x = 12; - } + for_each_set_bit(bit, bitmap, size) + x = 12; } jloop1.res exn while in timeout_function julia10.res diff = --- tests/julia10.c +++ /tmp/cocci-output-128647-e575f6-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); - h(); g(); - h(); } julia7.res diff = --- tests/julia7.c +++ /tmp/cocci-output-128647-9d4e31-julia7.c @@ -1,7 +1,6 @@ int main(int x) { foo(); - if (x) {bar(); after(); return 0;} - bar(); + if (x) {after(); return 0;} after(); } justremove.res diff = --- tests/justremove.c +++ /tmp/cocci-output-128647-d6d69e-justremove.c @@ -1,17 +1,6 @@ int main () { - if (x) { - a(); - b(); - c(); - } foo(); - while (x) { - a(); - if (b()) continues; - c(); - } foo(); - r(); foo(); } keep_comma.res diff = --- tests/keep_comma.c +++ /tmp/cocci-output-128647-ab8b3e-keep_comma.c @@ -1,4 +1,4 @@ int main () { - foo(); + xxx(); snd_assert(!atomic_read(&substream->runtime->mmap_count), ); } km.res diff = --- tests/km.c +++ /tmp/cocci-output-128647-ae19ec-km.c @@ -1,5 +1,4 @@ int main() { - int *data = kmalloc(element->string.length + 1, GFP_KERNEL); + int *data = kzalloc(element->string.length + 1, GFP_KERNEL); foo(); - memset(data, 0, element->string.length + 1); } kmalloc.res diff = --- tests/kmalloc.c +++ /tmp/cocci-output-128647-5a1e19-kmalloc.c @@ -1,9 +1,7 @@ int main() { struct bar *y; - struct foo *x = kmalloc(sizeof(struct foo),GPF_KERNEL); + struct foo *x = kzalloc(sizeof(struct foo), GPF_KERNEL); if (!x) return -ENOMEM; - y = kmalloc(sizeof(struct bar),GPF_KERNEL); + y = kzalloc(sizeof(struct bar), GPF_KERNEL); if (!y) return -ENOMEM; - memset(x,0,sizeof(struct foo)); - memset(y,0,sizeof(struct bar)); } kmc.res warning: r: metavariable x1 not used in the - or context code warning: r: metavariable S not used in the - or context code diff = --- tests/kmc.c +++ /tmp/cocci-output-128647-5a16dd-kmc.c @@ -10,5 +10,4 @@ dmabounce_register_dev(struct device *de err_destroy: kfreea(device_info); - return 1; } kmtest4.res diff = --- tests/kmtest4.c +++ /tmp/cocci-output-128647-2d67bd-kmtest4.c @@ -1,4 +1,4 @@ int main () { x = kzalloc(3); - x->y = 12; + x->q = 12; } kr.res ktype.res warning: rule starting on line 1: metavariable T2 not used in the - or context code warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/ktype.c +++ /tmp/cocci-output-128647-ef2bbe-ktype.c @@ -3,8 +3,6 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { conf_t *conf; - conf = kmalloc(sizeof(conf_t), GFP_KERNEL); + conf = kzalloc(sizeof(conf_t), GFP_KERNEL); if (!conf) return; - - memset(conf, 0, sizeof(*conf)); } ktype2.res warning: r: metavariable T2 not used in the - or context code warning: r: metavariable T not used in the - or context code diff = --- tests/ktype2.c +++ /tmp/cocci-output-128647-d5f4d2-ktype2.c @@ -3,11 +3,8 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { conf_t *conf; - conf = kmalloc(sizeof(conf_t), GFP_KERNEL); + conf = kzalloc(sizeof(conf_t), GFP_KERNEL); if (!conf) { - memset(conf, 0, sizeof(*conf)); return; } - - memset(conf, 0, sizeof(*conf)); } labels_metastatement.res diff = --- tests/labels_metastatement.c +++ /tmp/cocci-output-128647-c6be73-labels_metastatement.c @@ -1,9 +1,15 @@ int foo(int i) { if(1) { - x = 3; - z = 4; - } // we don't want that it add both foo on the } and on the endif + { + x = 3; + foo(); + z = 4; + foo(); + } + foo(); + } + foo(); // we don't want that it add both foo on the } and on the endif // (note: but need correct endif accrochage) } labels_metastatement_ver1.res diff = --- tests/labels_metastatement_ver1.c +++ /tmp/cocci-output-128647-a829ab-labels_metastatement_ver1.c @@ -1,5 +1,9 @@ int foo(int i) { - if(1) x = 3; + if(1) { + x = 3; + foo(); + } + foo(); } lessone.res diff = --- tests/lessone.c +++ /tmp/cocci-output-128647-72a731-lessone.c @@ -1,4 +1,4 @@ int min() { - return 2.56 < 1; + return 2.56 < 0; } lfe.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function lid.res diff = --- tests/lid.c +++ /tmp/cocci-output-128647-155719-lid.c @@ -1,6 +1,6 @@ int main () { int a; static int b; - f(a); + f(12); f(b); } line_before_last.res diff = --- tests/line_before_last.c +++ /tmp/cocci-output-128647-f757d0-line_before_last.c @@ -1,17 +1,13 @@ int main () { - foo(); xxx(); } int main () { xxx(); - foo(); } int main () { xxx(); - - foo(); } lineseq.res diff = --- tests/lineseq.c +++ /tmp/cocci-output-128647-0c6582-lineseq.c @@ -1,6 +1,4 @@ int main () { - one(); - two(); - one(); - two(); + three(); + three(); } list_initialization.res diff = --- tests/list_initialization.cpp +++ /tmp/cocci-output-128647-6e68b4-list_initialization.cpp @@ -1,4 +1,3 @@ int main() { - int j={0}; } list_test.res warning: line 5: should a be a metavariable? warning: line 12: should a be a metavariable? warning: line 13: should b be a metavariable? warning: line 21: should a be a metavariable? warning: line 23: should b be a metavariable? warning: line 31: should a be a metavariable? warning: line 38: should a be a metavariable? warning: line 39: should b be a metavariable? warning: line 47: should a be a metavariable? warning: line 49: should b be a metavariable? warning: line 56: should f be a metavariable? warning: line 57: should a be a metavariable? warning: line 63: should g be a metavariable? warning: line 64: should a be a metavariable? warning: line 65: should b be a metavariable? warning: line 71: should h be a metavariable? warning: line 73: should a be a metavariable? warning: line 75: should b be a metavariable? warning: line 82: should i be a metavariable? warning: line 84: should a be a metavariable? warning: line 86: should b be a metavariable? diff = --- tests/list_test.c +++ /tmp/cocci-output-128647-7650f7-list_test.c @@ -1,55 +1,53 @@ int main () { - f(a); - g(a,b); - h(x,a,y,b,z); - h(a,y,b,z); - h(x,a,b,z); - h(x,a,y,b); - h(a,b,z); - h(x,a,b); - h(a,b); + f(); + g(b); + h(x,y,b,z); + h(y,b,z); + h(x,b,z); + h(x,y,b); + h(b,z); + h(x,b); + h(b); } -int f(int a) { return; } +int f() { return; } -int g(int a,int b) { return; } +int g(int b) { return; } -int h(int x, int a, int y, int b, int z) { return; } +int h(int x, int y, int b, int z) { return; } -int h(int a, int y, int b, int z) { return; } +int h(int y, int b, int z) { return; } -int h(int x, int a, int b, int z) { return; } +int h(int x, int b, int z) { return; } -int h(int x, int a, int y, int b) { return; } +int h(int x, int y, int b) { return; } -int h(int a, int b, int z) { return; } +int h(int b, int z) { return; } -int h(int x, int a, int b) { return; } +int h(int x, int b) { return; } -int h(int a, int b) { return; } +int h(int b) { return; } int f[] = { - a }; int g[] = { - a, b }; -int h[] = { x, a, y, b, z }; +int h[] = { x, y, b, z }; -int h[] = { a, y, b, z, }; +int h[] = { y, b, z, }; -int h[] = { x, a, b, z }; +int h[] = { x, b, z }; -int h[] = { x, a, y, b, }; +int h[] = { x, y, b, }; -int h[] = { a, b, z }; +int h[] = { b, z }; -int h[] = { x, a, b, }; +int h[] = { x, b, }; -int h[] = { a, b }; +int h[] = { b }; int i[] = { x, a, y, b, z }; @@ -57,33 +55,30 @@ int i[] = { a, y, b, z, }; int i[] = { x, a, b, z }; -int i[] = { x, a, y, b, }; +int i[] = { x, a, y, }; int i[] = { a, b, z }; -int i[] = { x, a, b, }; +int i[] = { x, a, }; -int i[] = { a, b }; +int i[] = { a, }; struct f { - int a; + int b; }; struct g { - int a; int b; }; struct h { int x; - int a; int y; int b; int z; }; struct h { - int a; int y; int b; int z; @@ -91,63 +86,46 @@ struct h { struct h { int x; - int a; int b; int z; }; struct h { int x; - int a; int y; int b; }; struct h { - int a; int b; int z; }; struct h { int x; - int a; int b; }; struct h { - int a; int b; }; -enum f { a }; +enum f { b }; -enum g { a, b }; +enum g { b }; -enum h { x, a, y, b, z, }; -enum h { a, y, b, z }; -enum h { x, a, b, z, }; -enum h { x, a, y, b }; -enum h { a, b, z, }; -enum h { x, a, b }; -enum h { a, b, }; +enum h { x, y, b, z, }; +enum h { y, b, z }; +enum h { x, b, z, }; +enum h { x, y, b }; +enum h { b, z, }; +enum h { x, b }; +enum h { b, }; enum i { x, a, y, b, z, }; enum i { a, y, b, z }; enum i { x, a, b, z, }; -enum i { x, a, y, b, }; +enum i { x, a, y, }; enum i { a, b, z, }; -enum i { x, a, b, }; -enum i { a, b, }; - -#define f(a) 3 - -#define g(a,b) 3 - -#define h(x,a,y,b,z) 3 -#define h(a,y,b,z) 3 -#define h(x,a,b,z) 3 -#define h(x,a,y,b) 3 -#define h(a,b,z) 3 -#define h(x,a,b) 3 -#define h(a,b) 3 +enum i { x, a, }; +enum i { a, }; local.res diff = --- tests/local.c +++ /tmp/cocci-output-128647-6ad766-local.c @@ -1 +1 @@ -int f(int xx, int yy) { return 0; } +int f(int a, int b, int yy) { return 0; } local_macro_fn_def_and_call.res diff = --- tests/local_macro_fn_def_and_call.cpp +++ /tmp/cocci-output-128647-2e36af-local_macro_fn_def_and_call.cpp @@ -1,11 +1,9 @@ void f(void) { #define SEMICOLON() ; - SEMICOLON() #undef SEMICOLON } void g(void) { #define SEMICOLON_HINT() MACROSTATEMENT - SEMICOLON_HINT() #undef SEMICOLON_HINT } localglobal.res diff = --- tests/localglobal.c +++ /tmp/cocci-output-128647-749ec4-localglobal.c @@ -3,5 +3,5 @@ int a; int main(int b) { int c; int local; - return a + b + c; + return global + local + local; } localid.res diff = --- tests/localid.c +++ /tmp/cocci-output-128647-e1d27e-localid.c @@ -2,8 +2,7 @@ int c; int main () { int a; - f(a); f(a+1); - f(b); - f(c); + h(b); + g(c); } localmacroparams.res diff = --- tests/localmacroparams.c +++ /tmp/cocci-output-128647-87a78f-localmacroparams.c @@ -1,2 +1,2 @@ -#define fn1(x) f(x) -#define fn2(x) f(y) +#define fn1(x) islocal +#define fn2(x) isglobal log.res diff = --- tests/log.c +++ /tmp/cocci-output-128647-a750b7-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { int main () { - f("foo"); } long.res diff = --- tests/long.c +++ /tmp/cocci-output-128647-4bb181-long.c @@ -1,4 +1,4 @@ int main () { - hello_world("this is a very long sentence. this is a very long sentence. ", - "I don't know how coccinelle will treat this!"); + hello_you("this is a very long sentence. this is a very long sentence. ", + "I don't know how coccinelle will treat this!"); } longconst.res diff = --- tests/longconst.c +++ /tmp/cocci-output-128647-9ba488-longconst.c @@ -2,18 +2,18 @@ long function1() { long a; int b; - a = 1l << b; - a = 1u << b; - a = 65536l << b; - a = 65536u << b; - a = 65536 << b; - a = 4294967296 << b; - a = 65535 << b; - a = 4294967295 << b; - a = 0x7fffffff << b; - a = 0x1fl << b; - a = 0x1fu << b; - a = 0x1FL << b; - a = 0x1FU << b; + a = f(1l, "long"); + a = f(1u, "unsigned"); + a = f(65536l, "long"); + a = f(65536u, "unsigned"); + a = f(65536, "int"); + a = f(4294967296, "int"); + a = f(65535, "int"); + a = f(4294967295, "int"); + a = f(0x7fffffff, "int"); + a = f(0x1fl, "long"); + a = f(0x1fu, "unsigned"); + a = f(0x1FL, "long"); + a = f(0x1FU, "unsigned"); return a; } longline2.res warning: line 5: should a be a metavariable? diff = --- tests/longline2.c +++ /tmp/cocci-output-128647-d9cd41-longline2.c @@ -1,8 +1,16 @@ int main() { - f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a,shdkjsdsdhkjsa,x,y,z); - f(sdhfkjdkdsahksadsdhjkdsa, sahdjshdkjsahdkjhsakjdsh, a, shdkjsdsdhkjsa, x, y, z); + f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a, + 1111111111111111111111111111111111111, 111111111111111111111111, 111, + shdkjsdsdhkjsa,x,y,z); + f(sdhfkjdkdsahksadsdhjkdsa, sahdjshdkjsahdkjhsakjdsh, a, + 1111111111111111111111111111111111111, 111111111111111111111111, 111, + shdkjsdsdhkjsa, x, y, z); f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa); - f(a,sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa); - f(a,sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa, + f(a,1111111111111111111111111111111111111, 111111111111111111111111, 111, + sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa, + shdkjsdsdhkjsa); + f(a,1111111111111111111111111111111111111, 111111111111111111111111, 111, + sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa, + shdkjsdsdhkjsa, sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa); } longlong.res diff = --- tests/longlong.c +++ /tmp/cocci-output-128647-b8d6ec-longlong.c @@ -1,6 +1,6 @@ -long long a; +int a; int main () { - long long b; + int b; return 0; } longlongint.res diff = --- tests/longlongint.c +++ /tmp/cocci-output-128647-fc7269-longlongint.c @@ -1,9 +1,3 @@ int main() { - unsigned int x; - int y; - unsigned long long int a; - long long int b; - unsigned long long m; - long long n; return 0; } loop.res diff = --- tests/loop.c +++ /tmp/cocci-output-128647-e189ec-loop.c @@ -1,5 +1,3 @@ int main() { - f(); while (1) { x : 15; } - g(); } lvalue.res warning: line 4: should x be a metavariable? diff = --- tests/lvalue.c +++ /tmp/cocci-output-128647-fbf759-lvalue.c @@ -1,4 +1,4 @@ int main() { - x = x + 1; - *x = 12; + f(x) = f(x) + 1; + *f(x) = 12; } macro.res SPECIAL NAMES: adding Scsi_Cmnd as a type diff = --- tests/macro.c +++ /tmp/cocci-output-128647-0d75c8-macro.c @@ -1,5 +1,5 @@ -#define SC_FCMND(fcmnd) ((Scsi_Cmnd *)((long)fcmnd - (long)&(((Scsi_Cmnd *)0)->SCp))) +#define SC_FCMND(fcmnd) ((struct scsi_cmnd *)((long)fcmnd - (long)&(((struct scsi_cmnd *)0)->SCp))) int main() { - return ((Scsi_Cmnd *)((long)fcmnd - (long)&(((Scsi_Cmnd *)0)->SCp))); + return ((struct scsi_cmnd *)((long)fcmnd - (long)&(((struct scsi_cmnd *)0)->SCp))); } macro_before_bool.res diff = --- tests/macro_before_bool.c +++ /tmp/cocci-output-128647-6c35e8-macro_before_bool.c @@ -1,4 +1,5 @@ static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) { + bool ret; return false; } macro_int16.res diff = --- tests/macro_int16.c +++ /tmp/cocci-output-128647-74acad-macro_int16.c @@ -4,6 +4,6 @@ void main(void) { INT16 a, b, c; - c = a + b; + c = a - b; } macro_params.res diff = --- tests/macro_params.c +++ /tmp/cocci-output-128647-2f9bbd-macro_params.c @@ -5,9 +5,9 @@ int main(int argc, char **argv) { - MACRO(1, i, j); + MACRO_2(argc, i, j); /* comment */ - MACRO(2, k, l); + MACRO_2(argc, k, l); return 0; } macro_stmt_when_fn_type.res diff = --- tests/macro_stmt_when_fn_type.cpp +++ /tmp/cocci-output-128647-a8caec-macro_stmt_when_fn_type.cpp @@ -1,4 +1,3 @@ -#define APPLY_FOR_ROLE return; #define APPLY_FOR_ROLE_HINT MACROSTATEMENT void do_nothing(fn_type fn) { match_init.res diff = --- tests/match_init.c +++ /tmp/cocci-output-128647-e8c65e-match_init.c @@ -1,15 +1,15 @@ int probably_works () { - int x = 3; + int a = 12; f(x); } int does_it_work () { - int y, x = 3; + int y, a = 12; f(x); } int should_work () { - x = 3; + a = 12; f(x); } match_no_meta.res diff = --- tests/match_no_meta.c +++ /tmp/cocci-output-128647-cae297-match_no_meta.c @@ -2,6 +2,4 @@ void main(int i) { foo(1); bar(2); - - bar(3); } max.res warning: line 6: should i be a metavariable? warning: line 14: should i be a metavariable? diff = --- tests/max.c +++ /tmp/cocci-output-128647-44ad4d-max.c @@ -1,3 +1,3 @@ int main () { - if (x < 25) return i; + if (x < 25) return 3; } md1.res diff = --- tests/md1.c +++ /tmp/cocci-output-128647-01b6d7-md1.c @@ -1,9 +1,11 @@ struct main { - int a; - int b; - int a,b,c; + int y; + int y; + int y; + int y; + int y; - char a; - char b; + char y; + char y; char a,b,c; }; md2.res diff = --- tests/md2.c +++ /tmp/cocci-output-128647-bb8edc-md2.c @@ -1,11 +1,13 @@ int main() { - int a; - static int b; - int a,b,c; + int y; + static int y; + int y; + int y; + int y; static int a,b,c; - char a; - static char b; + char y; + static char y; char a,b,c; static char a,b,c; } md3.res diff = --- tests/md3.c +++ /tmp/cocci-output-128647-6cf4d8-md3.c @@ -1,5 +1,5 @@ struct s_t { - double one[3]; + double3 one; int x; }*A,*B,*C,a,b,c; mdadd.res diff = --- tests/mdadd.c +++ /tmp/cocci-output-128647-61bd8a-mdadd.c @@ -1,3 +1,5 @@ int main () { - int a,b,c; + char a; + char b; + char c; } mdec.res diff = --- tests/mdec.c +++ /tmp/cocci-output-128647-2fe49b-mdec.c @@ -1,23 +1,26 @@ int main () { - int a, b, c, d; - int a, b, c, *d; - int a, b, *c, d; - int a, *b, c, d; - int *a, b, c, d; - int a, b, *c, *d; - int a, *b, *c, d; - int *a, *b, c, d; - int *a, b, c, *d; - int a, *b, c, *d; - int *a, b, *c, d; - int a, *b, c, *d; - int *a, b, *c, d; - int a, *b, *c, *d; - int *a, *b, *c, d; - int *a, *b, c, *d; - int *a, b, *c, *d; - int *a, b, c, *d; - int *a, b, *c, *d; - int a, *b, *c, *d; - int *a, *b, c, *d; + char d; + char c; + char b; + char a; + int *d; + int *c; + int *b; + int *a; + int *c, *d; + int *b, *c; + int *a, *b; + int *a, *d; + int *b, *d; + int *a, *c; + int *b, *d; + int *a, *c; + int *b, *c, *d; + int *a, *b, *c; + int *a, *b, *d; + int *a, *c, *d; + int *a, *d; + int *a, *c, *d; + int *b, *c, *d; + int *a, *b, *d; } mdecl.res warning: rule starting on line 14: inherited metavariable unbound not used in the -, +, or context code Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function mdeclp.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function mdeclp2.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function mdeclrep.res diff = --- tests/mdeclrep.c +++ /tmp/cocci-output-128647-92cf6e-mdeclrep.c @@ -1,19 +1,22 @@ int main () { - int a,x,c; + int y; + int a,c; return 0; } int main () { - int x,c; + int y; + int c; return 0; } int main () { - int a,x; + int y; + int a; return 0; } int main () { - int x; + int y; return 0; } mdindex.res diff = --- tests/mdindex.c +++ /tmp/cocci-output-128647-8b9546-mdindex.c @@ -1,5 +1,5 @@ int main() { - a[i][j][k]++; - b[i][j][k]++; + a[i, j, k]++; + b[0][j][k]++; } memory.res diff = --- tests/memory.c +++ /tmp/cocci-output-128647-27678b-memory.c @@ -2,6 +2,5 @@ int __queue_add(Queue_t *queue, Scsi_Cmnd *SCpnt, int head) { - if (BAD_MAGIC(1,12)) - BUG(); + BUG_ON(BAD_MAGIC(1, 12)); } merge_after_iteration.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function metaattr.res SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/metaattr.c +++ /tmp/cocci-output-128647-09fd9c-metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; + char b __attr__ = 1; int b = 1; return 0; } metahex.res metaline.res warning: line 43: x, previously declared as a metavariable, is used as an identifier diff = --- tests/metaline.c +++ /tmp/cocci-output-128647-c3cb41-metaline.c @@ -1,9 +1,8 @@ int main () { - static int x; static int y; - if (12) f(4+3); - g(4+3); - m(3+3); - g(3+3); + static int x; + while (12) f(4+3); + h(4 + 3); + q(3 + 3); r(3+4); } metaops.res diff = --- tests/metaops.c +++ /tmp/cocci-output-128647-99f476-metaops.c @@ -2,24 +2,24 @@ int p1() { int x = 0; int y = 1; - x = x + y; - x = x * y; - x = x / y; - x = x - y; - x = x && y; - x = x || y; - x = x == y; - x = x != y; - x = x > y; - x = x < y; - x = x >= y; - x = x <= y; - x = x % y; - x = x | y; - x = x & y; - x = x ^ y; - x = x << y; - x = x >> y; + x += x - y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; return 42; } @@ -28,17 +28,17 @@ int p2() { int x = 0; int y = 1; - x = 1; - x += 2; - x -= 3; - x *= 4; - x /= 5; - x %= 6; - x |= 7; - x &= 8; - x ^= 9; - x <<= 10; - x >>= 11; + x += 1; + x = 2; + x = 3; + x = 4; + x = 5; + x = 6; + x = 7; + x = 8; + x = 9; + x = 10; + x = 11; return 42; } metaops0.res diff = --- tests/metaops0.c +++ /tmp/cocci-output-128647-432f32-metaops0.c @@ -1,44 +1,11 @@ int p1() { - int x = 0; - int y = 1; - x = x + y; - x = x * y; - x = x / y; - x = x - y; - x = x && y; - x = x || y; - x = x == y; - x = x != y; - x = x > y; - x = x < y; - x = x >= y; - x = x <= y; - x = x % y; - x = x | y; - x = x & y; - x = x ^ y; - x = x << y; - x = x >> y; return 42; } int p2() { - int x = 0; - int y = 1; - x = 1; - x += 2; - x -= 3; - x *= 4; - x /= 5; - x %= 6; - x |= 7; - x &= 8; - x ^= 9; - x <<= 10; - x >>= 11; return 42; } metaruleelem.res diff = --- tests/metaruleelem.c +++ /tmp/cocci-output-128647-0f6269-metaruleelem.c @@ -1,6 +1,7 @@ int main(int x) { f(); - if(1) { + foo(); + if (1) { replace(); } g(); metastatement2.res diff = --- tests/metastatement2.c +++ /tmp/cocci-output-128647-d321f6-metastatement2.c @@ -1,6 +1,5 @@ void main(int i) { f(); - { replace(); replace(); } g(); } metastatement_for.res diff = --- tests/metastatement_for.c +++ /tmp/cocci-output-128647-f4812d-metastatement_for.c @@ -1,9 +1,6 @@ void main(void) { int i; - for (i = 0; i < 10; i++) { - printf("%d", i); - } if (i == 0) { printf("%d", i); metastatement_if.res diff = --- tests/metastatement_if.c +++ /tmp/cocci-output-128647-0dd526-metastatement_if.c @@ -5,8 +5,4 @@ void main(void) printf("%d", i); } - if (i == 0) { - printf("%d", i); - } - } mincom.res diff = --- tests/mincom.c +++ /tmp/cocci-output-128647-a7811a-mincom.c @@ -1,5 +1,7 @@ int main () { - if (rc == LS_NONE_FIRST_DE) + if (rc == LS_NONE_FIRST_DE) { /* It is not "ls -{a}l" operation, no need statahead for it. */ - GOTO(out, rc = -EAGAIN); + a(); + b(); + } } minenum.res diff = --- tests/minenum.c +++ /tmp/cocci-output-128647-5a7242-minenum.c @@ -1 +1 @@ -enum h { x, a, z, q, b }; +enum h { x, qq, q, b }; minenum1.res diff = --- tests/minenum1.c +++ /tmp/cocci-output-128647-04b0e2-minenum1.c @@ -1,2 +1,2 @@ -enum h { x, a, z, +enum h { x, qq, q, b }; minfn.res diff = --- tests/minfn.c +++ /tmp/cocci-output-128647-a76503-minfn.c @@ -1,13 +1,5 @@ int main () { return first; } -int f () { return second; } -int f () { return second; } - int main () { return third; } -#define x 3 -#define x 3 -#define x 3 -#define x 3 - int main () { return fifth; } mini_null_ref.res diff = --- tests/mini_null_ref.c +++ /tmp/cocci-output-128647-d38766-mini_null_ref.c @@ -2,11 +2,12 @@ static int __devinit w90p910_keypad_prob { const struct w90p910_keypad_platform_data *pdata = pdev->dev.platform_data; - const struct matrix_keymap_data *keymap_data = pdata->keymap_data; + const struct matrix_keymap_data *keymap_data; if (!pdata) { dev_err(&pdev->dev, "no platform data defined\n"); return -EINVAL; } + keymap_data = pdata->keymap_data; return; } miniclass.res diff = --- tests/miniclass.cpp +++ /tmp/cocci-output-128647-186a1c-miniclass.cpp @@ -1,28 +1,28 @@ class foo { public: - int public_field; - int public_func(); + char public_field; + char public_func(); private: - int private_field; - int private_func(); + char private_field; + char private_func(); protected: - int protected_field; - int protected_func(); + char protected_field; + char protected_func(); }; -int main () { +char main () { class foo { public: - int public_field; - int public_func(); + char public_field; + char public_func(); private: - int private_field; - int private_func(); + char private_field; + char private_func(); protected: - int protected_field; - int protected_func(); + char protected_field; + char protected_func(); }; } miniswap.res diff = --- tests/miniswap.c +++ /tmp/cocci-output-128647-80ea46-miniswap.c @@ -1,5 +1,5 @@ static void swap_refcount_rec(void *a, void *b, int size) { - struct ocfs2_refcount_rec *l, tmp; + struct ocfs2_refcount_rec *l; swap(l,tmp); } minstruct.res diff = --- tests/minstruct.c +++ /tmp/cocci-output-128647-54ae73-minstruct.c @@ -1,5 +1,7 @@ static struct i2c_client client_template = { - .name = "(unset)", + .dev = { + .name = "(unset)", + }, .id = -1, .driver = &i2c_driver_videotext }; minusdots.res diff = --- tests/minusdots.c +++ /tmp/cocci-output-128647-496792-minusdots.c @@ -1,9 +1,2 @@ void main(int i) { - - if (!hostptr) { - if (hostptr) { - return -ESRCH; - } - } - } minusdots_ver1.res diff = --- tests/minusdots_ver1.c +++ /tmp/cocci-output-128647-76e3cf-minusdots_ver1.c @@ -1,6 +1,2 @@ void main(int i) { - - if (!hostptr) { - i++; - } } move_type.res diff = --- tests/move_type.c +++ /tmp/cocci-output-128647-333a85-move_type.c @@ -1,6 +1,6 @@ int main() { - int x; int foo[12]; + int x; return 0; } multi.res diff = --- tests/multi.c +++ /tmp/cocci-output-128647-7f1731-multi.c @@ -3,4 +3,5 @@ int main() { g(1); g(1); } + h(1); } multi_func1.res exn while in timeout_function multi_initialize_finalize.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function multichars.res warning: line 4: should ab be a metavariable? diff = --- tests/multichars.c +++ /tmp/cocci-output-128647-ac2088-multichars.c @@ -1,5 +1,5 @@ int main () { - f('XYZ',ab); - f('X\nY',ab); - f('\n',ab); + f('XYZ',12); + f('X\nY',12); + f('\n',12); } multidec.res diff = --- tests/multidec.c +++ /tmp/cocci-output-128647-53e4c7-multidec.c @@ -1,11 +1,6 @@ int main () { int x = 3,z; - int x = 12; - int x = 12,y; + int y; int -x -= -12 -, y; } multidecl3.res diff = --- tests/multidecl3.c +++ /tmp/cocci-output-128647-d05716-multidecl3.c @@ -1,17 +1,13 @@ int main () { - int *i, i[12], i, k, r; + int k, r; } struct foo { - int *i, i[12], i, k, r; - int *i, i[12], i; - int *i; + int k, r; }; int main () { - int *i, i[12], i; } struct foo { - int *i, i[12], i; }; multipath.res diff = --- tests/multipath.c +++ /tmp/cocci-output-128647-1b8b79-multipath.c @@ -2,8 +2,8 @@ static void multipathd(struct md_thread { for (;;) { if ((mp_bh->path = multipath_map (conf))<0) { - printk(KERN_ERR "multipath: %s: redirecting sector %llu" - " to another IO path\n", + printk("KERN_ERR %s: %s: redirecting sector %llu to another IO path\n", + __func__, bdevname(bio->bi_bdev,b), (unsigned long long)bio->bi_iter.bi_sector); } multiplus.res warning: rule starting on line 3: metavariable T not used in the - or context code diff = --- tests/multiplus.c +++ /tmp/cocci-output-128647-2f30fb-multiplus.c @@ -1,4 +1,4 @@ -static void xm_link_timer(void *arg) +static void xm_link_timer(struct work_struct *work) { struct net_device *dev = arg; struct skge_port *skge = netdev_priv(arg); multiremove.res diff = --- tests/multiremove.c +++ /tmp/cocci-output-128647-b600ef-multiremove.c @@ -1,8 +1,5 @@ int main () { if (x) { xyz1(); } - if (x) { foo(); abc(); } if (x) { xyz2(); } - if (x) { bar(); abc(); } if (x) { xyz3(); } - if (x) { foo(); abc(); bar(); bar(); foo(); } } multistruct.res diff = --- tests/multistruct.c +++ /tmp/cocci-output-128647-aaa27d-multistruct.c @@ -1,5 +1,3 @@ -struct one x; -struct two y; struct three z; multitype.res diff = --- tests/multitype.c +++ /tmp/cocci-output-128647-efa519-multitype.c @@ -3,5 +3,5 @@ typedef struct foo { int a; } foo_t; int main() { foo_t * x; f(x->a); - g(x); + g(x, NULL); } multitypedef.res warning: non_delayed_fn: metavariable T not used in the - or context code diff = --- tests/multitypedef.c +++ /tmp/cocci-output-128647-d872ea-multitypedef.c @@ -5,5 +5,5 @@ typedef struct HYSDN_CARD { int ergo_inithardware(hysdn_card * card) { - INIT_WORK(&card->irq_queue, ergo_irq_bh, card); + INIT_WORK(&card->irq_queue, ergo_irq_bh); } multivars.res diff = --- tests/multivars.c +++ /tmp/cocci-output-128647-150a37-multivars.c @@ -1,5 +1,5 @@ void main(int i) { - f(1+2+v.field1,1+2+v.field1); + h(1 + 2 + v.field1); } mv.res SPECIAL NAMES: adding __free as a attribute SPECIAL NAMES: adding u8 as a type warning: line 4: should xxx be a metavariable? warning: line 4: should kfree be a metavariable? diff = --- tests/mv.c +++ /tmp/cocci-output-128647-d2b7d9-mv.c @@ -1,4 +1,4 @@ int main() { - u8 *xxx __free(kfree); foo(); + u8 *tx_frame __free(kfree); } na.res diff = --- tests/na.c +++ /tmp/cocci-output-128647-437622-na.c @@ -4,10 +4,10 @@ void foo() { int i; - if (!i & FOO) return; - !i & -FOO; + if (12) return; + 12; !i & !FOO; - !i & 100; - !i & -100; + 12; + 12; !i & !100; } nameless.res diff = --- tests/nameless.c +++ /tmp/cocci-output-128647-b4ec13-nameless.c @@ -1,6 +1,6 @@ typedef union { int foo; } t_foo; -typedef struct { +typedef struct __COCCI__TMP__STRUCTNAME__ { int foo; } t_foo; nest.res warning: line 6: should hostno be a metavariable? warning: line 18: should xxx be a metavariable? diff = warning: rule starting on line 1, node 14: statement[1,2,4,5,7] in info_func may be inconsistently modified warning: rule starting on line 1, node 13: statement[1,2,4,5,6] in info_func may be inconsistently modified warning: rule starting on line 12, node 14: statement[1,2,4,5,7] in info_func may be inconsistently modified warning: rule starting on line 12, node 13: statement[1,2,4,5,6] in info_func may be inconsistently modified --- tests/nest.c +++ /tmp/cocci-output-128647-508e4a-nest.c @@ -1,7 +1,7 @@ void info_func(int i) { foo(); while (x) { - 1+hostno+xxx; - 2+hostno+xxx; + 1+hostptr->host_no+hostptr->host_no; + 2+hostptr->host_no+hostptr->host_no; } } nestadd.res diff = --- tests/nestadd.c +++ /tmp/cocci-output-128647-168679-nestadd.c @@ -1,3 +1,12 @@ int main() { foo(); + if (x) { + return 12; + } + if (y) { + return 27; + } + if (z) { + return 42; + } } nestone.res warning: one: metavariable S not used in the - or context code diff = --- tests/nestone.c +++ /tmp/cocci-output-128647-565891-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} - yyy(); } nestseq.res diff = --- tests/nestseq.c +++ /tmp/cocci-output-128647-587c39-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); h(); + xxx(12); } neststruct.res diff = --- tests/neststruct.c +++ /tmp/cocci-output-128647-9e58a5-neststruct.c @@ -8,6 +8,6 @@ struct usb_hub { static int hub_configure(struct usb_hub *hub) { - hub->status = kmalloc(sizeof(*hub->status), GFP_KERNEL); + hub->status = kzalloc(sizeof(*hub->status), GFP_KERNEL); } new.res exn while in timeout_function newsimple.res diff = --- tests/newsimple.cpp +++ /tmp/cocci-output-128647-d440fc-newsimple.cpp @@ -1,6 +1,6 @@ int main() { sizeof(Test); - new int(1); + new int(2); } nl.res warning: line 4: should x be a metavariable? diff = --- tests/nl.c +++ /tmp/cocci-output-128647-e65e2c-nl.c @@ -1,4 +1,4 @@ int main() { - if (x) return; - x = x + 1; + if (y) return; + y = y + 1; } noa.res diff = --- tests/noa.c +++ /tmp/cocci-output-128647-df589c-noa.c @@ -2,6 +2,6 @@ int main () { if (x) { a(); } else { a(); } } -int tochange () { +int has_no_a () { if (x) { a(); } else { x(); } } nocast.res SPECIAL NAMES: adding gfp_t as a type diff = --- tests/nocast.c +++ /tmp/cocci-output-128647-763505-nocast.c @@ -1,4 +1,4 @@ -int main (unsigned int __nocast gfp_mask, int x) { +int main (gfp_t gfp_mask, int x) { buf = kmalloc(sizeof *send_buf + buf_size, gfp_mask); } noexcept.res diff = --- tests/noexcept.cpp +++ /tmp/cocci-output-128647-1a7b7b-noexcept.cpp @@ -1,9 +1,9 @@ -void foo() noexcept {} +void bar() noexcept {} -void Logger::trace(LogLocation loc, int mess) noexcept +void Logger::trace(LogLocation xyz, int mess) noexcept { } -void Logger::trace(LogLocation loc, std::string_view mess) noexcept +void Logger::trace(LogLocation xyz, std::string_view mess) noexcept { } formatter_type create_formatter(boost::log::attribute_name const &name, args_map const &args) override noret.res diff = --- tests/noret.c +++ /tmp/cocci-output-128647-49ae92-noret.c @@ -1,18 +1,18 @@ -main (int x); -static xmain (int x); -inline ymain (int x); +main (int x, int q); +static xmain (int x, int q); +inline ymain (int x, int q); -main (int x) { - return x; +main (int x, int q) { + return 12; } // foo -static xmain (int y) { - return y; +static xmain (int y, int q) { + return 12; } // xxx -inline ymain (int y) { - return y; +inline ymain (int y, int q) { + return 12; } // xxx not.res diff = --- tests/not.c +++ /tmp/cocci-output-128647-d43573-not.c @@ -1,9 +1,9 @@ int main() { int x; - this(12,x); + f(20); this(foo,x); bar(12,x); foo(12,x); - this(12,x); - this(12,x); + f(20); + f(20); } notest.res diff = --- tests/notest.c +++ /tmp/cocci-output-128647-317d16-notest.c @@ -1,6 +1,6 @@ int main() { struct foo *x; x = FN(); - if (!x) return; + if (12) return; return; } notnot.res warning: line 6: should true be a metavariable? warning: line 6: should false be a metavariable? diff = --- tests/notnot.c +++ /tmp/cocci-output-128647-356b59-notnot.c @@ -1,4 +1,4 @@ bool foo(int bar) { - return bar ? true : false; + return !!bar; } notpp.res diff = --- tests/notpp.cpp +++ /tmp/cocci-output-128647-3fe89d-notpp.cpp @@ -1,4 +1,4 @@ void main () { - if (not m2n->usesTwoLevelInitialization()) + if (not xxx->usesTwoLevelInitialization()) return; } noty.res diff = --- tests/noty.c +++ /tmp/cocci-output-128647-bc31bd-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } + g(); } noty2.res diff = --- tests/noty2.c +++ /tmp/cocci-output-128647-1351a8-noty2.c @@ -1,14 +1,11 @@ main () { - foo(); return; } int main2 () { - foo(); return; } blah_t main3 () { - foo(); return; } null_bool.res warning: line 4: should x be a metavariable? diff = --- tests/null_bool.c +++ /tmp/cocci-output-128647-0ce6fe-null_bool.c @@ -1,8 +1,8 @@ int main () { - if (x != NULL) return; - if (a && x != NULL && b) return; - if (x) return; - if (a && x && b) return; + if (12) return; + if (a && 12 && b) return; + if (12) return; + if (a && 12 && b) return; x = x + 20; } null_type.res diff = --- tests/null_type.c +++ /tmp/cocci-output-128647-1a5cbe-null_type.c @@ -2,7 +2,7 @@ int main(int i) { int *x; - g(x); - g(NULL); + g(f(x)); + g(f(NULL)); } oddifdef.res warning: line 4: should x be a metavariable? diff = --- tests/oddifdef.c +++ /tmp/cocci-output-128647-80cdd4-oddifdef.c @@ -7,9 +7,7 @@ void one () { a = 5; #ifdef FOO - x = 0; #else - x = 0; #endif } @@ -22,9 +20,7 @@ void two() { a = 3; #ifdef FOO - x = 0; #else - x = 0; #endif } @@ -37,8 +33,6 @@ void three() { #endif #ifdef FOO - x = 0; #else - x = 0; #endif } of.res diff = --- tests/of.c +++ /tmp/cocci-output-128647-bc6966-of.c @@ -1,16 +1,20 @@ static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { for (node = NULL; (node = of_find_all_nodes(node)); ) { - if (x) + if (x) { return it; + of_node_put(node); + } } } static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { for (node = NULL; (node = something(node)); ) { - if (x) + if (x) { + of_node_put(node); return it; + } } } oneline.res diff = --- tests/oneline.c +++ /tmp/cocci-output-128647-73f952-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); - f(); + g(); + g(); } op.res diff = --- tests/op.c +++ /tmp/cocci-output-128647-ae0cb8-op.c @@ -1,5 +1,4 @@ int main () { - return 3; } int main () { opeq.res opt.res diff = --- tests/opt.c +++ /tmp/cocci-output-128647-bd4726-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); } optional_qualifier.res diff = --- tests/optional_qualifier.c +++ /tmp/cocci-output-128647-7de2a3-optional_qualifier.c @@ -1,2 +1,2 @@ -int a; +const int a; const int b; optional_storage.res diff = --- tests/optional_storage.c +++ /tmp/cocci-output-128647-cba3b8-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) { } orexp.res diff = --- tests/orexp.c +++ /tmp/cocci-output-128647-1c90b2-orexp.c @@ -1,3 +1,3 @@ int main() { - bar(12+12); + 4; } output.res exn while in timeout_function output_init.res exn while in timeout_function overshoot.res warning: aaa: metavariable f not used in the - or context code warning: xxx: metavariable f not used in the - or context code diff = --- tests/overshoot.c +++ /tmp/cocci-output-128647-83ba74-overshoot.c @@ -1,9 +1,8 @@ int main () { a(); - s(); - d(); - f(); - b(); + g(); + g(); + g(); b(); q(); } p1p2.res SPECIAL NAMES: adding Error as a type warning: line 9: should errp be a metavariable? warning: line 20: should errp be a metavariable? diff = --- tests/p1p2.c +++ /tmp/cocci-output-128647-53bc63-p1p2.c @@ -1,3 +1,3 @@ -int main(int x, Error **errp); +int __attribute__((nonnull(1))) main(int x, Error **errp); -int main(int x, int y, Error **errp); +int __attribute__((nonnull(2))) main(int x, int y, Error **errp); p9.res diff = --- tests/p9.c +++ /tmp/cocci-output-128647-0f0788-p9.c @@ -1,3 +1,3 @@ -int f(int, int, int x) { +int f(int v0, int v1, int x) { return x; } pa.res diff = --- tests/pa.c +++ /tmp/cocci-output-128647-0b3f25-pa.c @@ -4,7 +4,8 @@ char *parse_args(const char *doing, unsigned num, s16 min_level, s16 max_level, - int (*unknown)(char *param, char *val, const char *doing)) + void *arg, + int (*unknown)(char *param, char *val, const char *doing, void *arg)) { return 0; } packed.res param.res diff = --- tests/param.c +++ /tmp/cocci-output-128647-a0b85f-param.c @@ -1 +1 @@ -void foo() { return; } + param_end.res warning: line 6: should x be a metavariable? warning: line 14: should y be a metavariable? diff = --- tests/param_end.c +++ /tmp/cocci-output-128647-354d8c-param_end.c @@ -1,15 +1,15 @@ -int one (int x) { return; } +int one () { return; } -int two (int a, int x, int b) { return; } +int two (int a, int b) { return; } -int three (int x, int a) { return; } +int three (int a) { return; } -int four (int a, int x) { return; } +int four (int a) { return; } -int yone (int y) { return; } +int yone () { return; } -int ytwo (int a, int y, int b) { return; } +int ytwo (int a, int b) { return; } -int ythree (int y, int a) { return; } +int ythree (int a) { return; } -int yfour (int a, int y) { return; } +int yfour (int a) { return; } param_to_exp.res diff = --- tests/param_to_exp.c +++ /tmp/cocci-output-128647-1984f8-param_to_exp.c @@ -1,3 +1,4 @@ int main (int x, int y) { + foo(x, y); return 0; } param_ver1.res diff = --- tests/param_ver1.c +++ /tmp/cocci-output-128647-7832a6-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c +++ /tmp/cocci-output-128647-412ab7-parameters_dots.c @@ -1,7 +1,3 @@ void main(int i) { - - f(1); g(3); - f(1,2); - f(); } parenmac.res diff = --- tests/parenmac.c +++ /tmp/cocci-output-128647-924d32-parenmac.c @@ -1 +1 @@ -#define TXSSZ(val) (val<<4) +#define TXSSZ(val) ((val)<<4) partial.res warning: rule starting on line 1: metavariable S not used in the - or context code diff = --- tests/partial.c +++ /tmp/cocci-output-128647-1c9f8b-partial.c @@ -1,3 +1,3 @@ #define CS_THIS_MODULE THIS_MODULE, #define CS_OWNER owner: -void cs46xx_null(struct pci_dev *pcidev) { return PAGE_SIZE; } +void cs46xx_null(struct pci_dev *pcidev) { return PAGE_SIZE2; } partialmd.res diff = --- tests/partialmd.c +++ /tmp/cocci-output-128647-ba25f5-partialmd.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; + int b,c; + int q; } partialmd2.res diff = --- tests/partialmd2.c +++ /tmp/cocci-output-128647-9036c5-partialmd2.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; + int a,c; + int q; } partialmd3.res diff = --- tests/partialmd3.c +++ /tmp/cocci-output-128647-4f4ecc-partialmd3.c @@ -1,3 +1,4 @@ int main () { - int a,b,c; + int a,b; + int q; } pb_distribute_type.res warning: line 6: should x be a metavariable? diff = --- tests/pb_distribute_type.c +++ /tmp/cocci-output-128647-0c68b6-pb_distribute_type.c @@ -1,15 +1,15 @@ int foo() { - int x; + int *x; return 0; } int foo() { - int *x; + int **x; return 0; } int foo() { - int x[45]; + int[45] *x; return 0; } pb_distribute_type2.res warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type2.c +++ /tmp/cocci-output-128647-ebd6a0-pb_distribute_type2.c @@ -1,15 +1,15 @@ int foo() { - int x; + int * x; return 0; } int foo() { - int *x; + int **x; return 0; } int foo() { - int x[45]; + int x[45]*; return 0; } pb_distribute_type3.res warning: line 9: should x be a metavariable? exn while in timeout_function pb_distribute_type4.res warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type4.c +++ /tmp/cocci-output-128647-48bff2-pb_distribute_type4.c @@ -1,15 +1,15 @@ int foo() { - int x; + float x; return 0; } int foo() { - int *x; + float x; return 0; } int foo() { - int x[45]; + float x; return 0; } pb_params_iso.res warning: line 23: should i be a metavariable? diff = --- tests/pb_params_iso.c +++ /tmp/cocci-output-128647-06ddab-pb_params_iso.c @@ -1,17 +1,17 @@ -int f(bool a, int i, bool b) { +int f(bool a, int i, char j, bool b) { i++; } -int f(int i, bool b) { +int f(int i, char j, bool b) { i++; } -int f(bool a, int i) { +int f(bool a, int i, char j) { i++; } -int f(int i) { +int f(int i, char j) { i++; } pb_parsing_macro.res diff = --- tests/pb_parsing_macro.c +++ /tmp/cocci-output-128647-99f31b-pb_parsing_macro.c @@ -1,4 +1,4 @@ #define FOO_METH_TEST(a) prefix_##a void FOO_METH_TEST(foo)(int x){ - alloca(x); + malloc(x); } pb_tag_symbols.res diff = --- tests/pb_tag_symbols.c +++ /tmp/cocci-output-128647-4435d9-pb_tag_symbols.c @@ -1,5 +1,3 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - if (copy_from_user(v,arg) != 0) - return -EFAULT; else {} } pcim.res diff = --- tests/pcim.c +++ /tmp/cocci-output-128647-0b2119-pcim.c @@ -1,5 +1,6 @@ int main () { - ctx->sensePA = pci_map_single(adapter->dev, cmd->sense_buffer, + ctx->sensePA = dma_map_single(&adapter->dev->dev, + cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, - PCI_DMA_FROMDEVICE); + DMA_FROM_DEVICE); } pcomma.res diff = --- tests/pcomma.c +++ /tmp/cocci-output-128647-5e51ff-pcomma.c @@ -1,14 +1,14 @@ -int main (int x) {} +int main (char c, int x) {} -int main (int *a, int x) {} +int main (int *a, char c, int x) {} -int main (int x, int *b) {} +int main (char c, int x, int *b) {} -int main (int *a, int x, int *b) {} +int main (int *a, char c, int x, int *b) {} int f() { - f(e); - f(e,1); - f(0,e); - f(0,e,1); + f(12, e); + f(12, e,1); + f(0,12, e); + f(0,12, e,1); } pif.res diff = --- tests/pif.c +++ /tmp/cocci-output-128647-123b16-pif.c @@ -1,5 +1 @@ -void f(void) -{ -/* hello */ -#pragma omp very very critical -} + plus33.res diff = --- tests/plus33.c +++ /tmp/cocci-output-128647-d943ff-plus33.c @@ -1 +1,2 @@ +typedef double double3x3[3][3]; int x; pmac.res diff = --- tests/pmac.c +++ /tmp/cocci-output-128647-4c6b01-pmac.c @@ -4,7 +4,5 @@ #include #endif -#define chip_t pmac_t - static int snd_pmac_register_sleep_notifier(pmac_t *chip); static int snd_pmac_unregister_sleep_notifier(pmac_t *chip); poscon.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function posiso.res diff = --- tests/posiso.c +++ /tmp/cocci-output-128647-036a42-posiso.c @@ -1,9 +1,7 @@ int main () { int *x; - if (x == NULL) x = a; else x = b; if (!x) x = a; else x = b; if (x == a) x = a; else x = b; - if (x == NULL) x = a; if (!x) x = a; if (x == a) x = a; } positionc.res diff = --- tests/positionc.c +++ /tmp/cocci-output-128647-b41b03-positionc.c @@ -2,8 +2,6 @@ int main () { if (foo(6,7)) x = ret; else x = ret; if (foo(6,7)) x = ret; else x = ret; if (foo(7,7)) x = ret; else x = ret; - if (bar(6,7)) x = ret; else x = ret; - if (bar(6,7)) x = ret; else x = ret; if (bar(7,7)) x = ret; else x = ret; } post.res diff = --- tests/post.c +++ /tmp/cocci-output-128647-4ead7d-post.c @@ -1,8 +1,6 @@ int main() { - f(3, foo + bar, 5); f(4, 3, 5); f(4, 3, 5); - h(3, some + thing, 5); h(4, 3, 5); h(4, 3, 5); } pragma2.res diff = --- tests/pragma2.c +++ /tmp/cocci-output-128647-46cb6b-pragma2.c @@ -4,7 +4,7 @@ int main() int n = 3; // FIXME: problem: uncommenting this breaks matching #pragma omp target map(tofrom: u[0:n*n], u_tmp[0:n*n]) -#pragma omp teams distribute parallel for simd +#pragma omp loop for(int i=0;ievent |= 1 << event; - schedule_work(&bcs->work); -} proto2.res diff = --- tests/proto2.c +++ /tmp/cocci-output-128647-11d7ab-proto2.c @@ -1,10 +1,9 @@ static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); +static void bch_sched_event(int event); static void bch_empty_fifo(struct BCState *bcs, int count); static void -bch_sched_event(struct BCState *bcs, int event) -{ +bch_sched_event(int event) { bcs->event |= 1 << event; schedule_work(&bcs->work); } proto_ver1.res diff = --- tests/proto_ver1.c +++ /tmp/cocci-output-128647-af0246-proto_ver1.c @@ -1,10 +1,2 @@ void bch_l2l1(struct PStack *st, int pr, void *arg); -void bch_sched_event(struct BCState *bcs, int event); void bch_empty_fifo(struct BCState *bcs, int count); - -void -bch_sched_event(struct BCState *bcs, int event) -{ - bcs->event |= 1 << event; - schedule_work(&bcs->work); -} proto_ver2.res diff = --- tests/proto_ver2.c +++ /tmp/cocci-output-128647-2bd1e0-proto_ver2.c @@ -46,7 +46,6 @@ static inline void dch_int(struct IsdnCa static void __devinit dch_setstack(struct PStack *st, struct IsdnCardState *cs); static void __devinit dch_init(struct IsdnCardState *cs); static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); static void bch_empty_fifo(struct BCState *bcs, int count); static void bch_fill_fifo(struct BCState *bcs); static void bch_int(struct IsdnCardState *cs, u_char hscx); @@ -584,16 +583,6 @@ bch_l2l1(struct PStack *st, int pr, void } //---------------------------------------------------------- -// proceed with bottom half handler BChannel_bh() -//---------------------------------------------------------- -static void -bch_sched_event(struct BCState *bcs, int event) -{ - bcs->event |= 1 << event; - schedule_work(&bcs->work); -} - -//---------------------------------------------------------- // Read B channel fifo to receive buffer //---------------------------------------------------------- static void protoassert.res diff = --- tests/protoassert.c +++ /tmp/cocci-output-128647-92a3d8-protoassert.c @@ -1,6 +1,8 @@ static unsigned mii_rd(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg); +static struct pcmcia_driver ZZZ_driver = { + .owner = THIS_MODULE, +}; int init(void) { - foo(); } protocpp.res diff = --- tests/protocpp.cpp +++ /tmp/cocci-output-128647-563406-protocpp.cpp @@ -1 +1 @@ -int mm_write_banner(std::ofstream &ofs, MM_typecode matcode); +int mm_write_banner(std::ofstream &ofs, MM_typecode xxx); protox.res warning: line 14: should x be a metavariable? ptrar.res diff = --- tests/ptrar.c +++ /tmp/cocci-output-128647-b719f4-ptrar.c @@ -1,8 +1,8 @@ int main () { struct foo *x; struct foo y[12]; - *y = 4; - *x = 2; - a = sizeof x; - b = sizeof "foo"; + *12 = 4; + *20 = 2; + a = sizeof 20; + b = sizeof 12; } ptrconstptr.res diff = --- tests/ptrconstptr.c +++ /tmp/cocci-output-128647-0701bf-ptrconstptr.c @@ -1,3 +1,3 @@ void main() { - const char * const * x; + const char * const * y; } putloop.res SPECIAL NAMES: adding for_each_child_of_node as a iterator SPECIAL NAMES: adding for_each_child_of_node_scoped as a iterator warning: rule starting on line 12: metavariable S not used in the - or context code diff = --- tests/putloop.c +++ /tmp/cocci-output-128647-33eb0a-putloop.c @@ -4,13 +4,11 @@ static int atmel_pctl_dt_node_to_map(str unsigned int *num_maps) { if (ret) { - for_each_child_of_node(np_config, np) { + for_each_child_of_node_scoped(np_config, np) { ret = atmel_pctl_dt_subnode_to_map(pctldev, np, map, &reserved_maps, num_maps); - if (ret < 0) { - of_node_put(np); + if (ret < 0) break; - } } } python_iteration.res exn while in timeout_function python_mdecl.res warning: rule starting on line 14: inherited metavariable unbound not used in the -, +, or context code exn while in timeout_function python_mdeclp.res exn while in timeout_function python_poscon.res exn while in timeout_function qcom.res qual.res diff = --- tests/qual.cpp +++ /tmp/cocci-output-128647-3503c5-qual.cpp @@ -1,3 +1,3 @@ int main () { - return std::isspace(text[index]); + return std::isspace(text[12]); } qualclass.res diff = --- tests/qualclass.cpp +++ /tmp/cocci-output-128647-0c4176-qualclass.cpp @@ -1,3 +1,3 @@ class ResidualNorm : public ::testing::Test { - int x; + int y; }; qualifier.res SPECIAL NAMES: adding survived_r1 as a type diff = --- tests/qualifier.c +++ /tmp/cocci-output-128647-6c1d94-qualifier.c @@ -1,11 +1,11 @@ int *foo(const int *i) { - return (int *)i; + return (survived_r1) i; } int *foo2(int *i) { - return (int *)i; + return i; } struct bar { @@ -16,15 +16,15 @@ struct bar { int *baz(const struct bar *b) { if (b->i) - return (int *)&b->i; + return (survived_r1)&b->i; else - return (int *)&b->j[0]; + return (survived_r1)&b->j[0]; } int *baz2(struct bar *b) { if (b->i) - return (int *)&b->i; + return &b->i; else - return (int *)&b->j[0]; + return &b->j[0]; } range.res diff = --- tests/range.c +++ /tmp/cocci-output-128647-898386-range.c @@ -1,17 +1,8 @@ int main() { - f(1); - f(1,2); - f(1,2,3); f(1,2,3,4); f(1,2,3,4,5); - g(1); - g(1,2); - g(1,2,3); g(1,2,3,4); g(1,2,3,4,5); - h(1); - h(1,2); - h(1,2,3); h(1,2,3,4); h(1,2,3,4,5); } rb.res SPECIAL NAMES: adding RB_DECLARE_CALLBACKS_MAX as a declarer diff = --- tests/rb.c +++ /tmp/cocci-output-128647-2ff5bd-rb.c @@ -1,2 +1 @@ -RB_DECLARE_CALLBACKS_MAX(static, augment_callbacks, struct drbd_interval, -rb, sector_t, end, NODE_END); + rcu3.res diff = --- tests/rcu3.c +++ /tmp/cocci-output-128647-7cfa1b-rcu3.c @@ -3,6 +3,6 @@ static struct mtd_chip_driver *get_mtd_c struct list_head *pos; struct mtd_chip_driver *this; - this = list_entry(pos, typeof(*this), list); - this = list_entry(pos, struct foo, list); + this = list_entry(_X(pos), typeof(*this), list); + this = list_entry(_X(pos), struct foo, list); } refl.res diff = --- tests/refl.c +++ /tmp/cocci-output-128647-00230d-refl.c @@ -1,5 +1,3 @@ int main () { int x; - one(&x); - two(&x); } regesc.res diff = --- tests/regesc.c +++ /tmp/cocci-output-128647-015b5f-regesc.c @@ -1,5 +1,5 @@ int main () { - f(".foo"); - f("\.foo"); + 22; + 23; } regexp.res diff = --- tests/regexp.c +++ /tmp/cocci-output-128647-a1c1e6-regexp.c @@ -1,9 +1,23 @@ int main(void) { int foo; +int foo_begins_by_foo; +int foo_ends_by_foo; +int foo_contains_foo; +int foo_is_an_id; int bar; +int bar_doesn_t_contain_foo; +int bar_is_an_id; int foobar; +int foobar_begins_by_foo; +int foobar_contains_foo; +int foobar_is_an_id; int barfoobar; +int barfoobar_contains_foo; +int barfoobar_is_an_id; int barfoo; +int barfoo_ends_by_foo; +int barfoo_contains_foo; +int barfoo_is_an_id; } regexp2.res diff = --- tests/regexp2.c +++ /tmp/cocci-output-128647-4f3a0e-regexp2.c @@ -2,9 +2,23 @@ int main(void) { int t0 = FOO; +int t0_equals_cst_that_begins_by_FOO; +int t0_equals_cst_that_ends_by_FOO; +int t0_equals_cst_that_contains_FOO; +int t0_is_constant; int t1 = BAR; +int t1_equals_cst_that_doesn_t_contain_FOO; +int t1_is_constant; int t2 = FOOBAR; +int t2_equals_cst_that_begins_by_FOO; +int t2_equals_cst_that_contains_FOO; +int t2_is_constant; int t3 = BARFOOBAR; +int t3_equals_cst_that_contains_FOO; +int t3_is_constant; int t4 = BARFOO; +int t4_equals_cst_that_ends_by_FOO; +int t4_equals_cst_that_contains_FOO; +int t4_is_constant; } regexp3.res diff = --- tests/regexp3.c +++ /tmp/cocci-output-128647-4801b3-regexp3.c @@ -2,10 +2,27 @@ int main(void) { char *t0 = "FOO"; +char *t0_equals_cst_that_begins_by_FOO; +char *t0_equals_cst_that_ends_by_FOO; +char *t0_equals_cst_that_contains_FOO; +char *t0_is_constant; char *t1 = "BAR"; +char *t1_equals_cst_that_doesn_t_contain_FOO; +char *t1_is_constant; char *t2 = "FOOBAR"; +char *t2_equals_cst_that_begins_by_FOO; +char *t2_equals_cst_that_contains_FOO; +char *t2_is_constant; char *t3 = "BARFOOBAR"; +char *t3_equals_cst_that_contains_FOO; +char *t3_is_constant; char *t4 = "BARFOO"; +char *t4_equals_cst_that_ends_by_FOO; +char *t4_equals_cst_that_contains_FOO; +char *t4_is_constant; char *s0 = "%s"; +char *s0_is_a_format_for_at_least_a_string; +char *s0_equals_cst_that_doesn_t_contain_FOO; +char *s0_is_constant; } relevant_position.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function rem1.res diff = --- tests/rem1.c +++ /tmp/cocci-output-128647-de9cc4-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) { foo(); } yyy(); } rem2.res diff = --- tests/rem2.c +++ /tmp/cocci-output-128647-18962a-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) foo(); yyy(); } remaft.res diff = --- tests/remaft.c +++ /tmp/cocci-output-128647-4426f5-remaft.c @@ -1,8 +1,6 @@ int main() { #ifdef BLAH - a(); #endif - b(); c() #ifdef BLAH ; remcom.res diff = --- tests/remcom.c +++ /tmp/cocci-output-128647-873fea-remcom.c @@ -3,20 +3,12 @@ asyncmeta_retry( Operation *op ) { if ( LogTest( LDAP_DEBUG_ANY ) ) { - char buf[ SLAP_TEXT_BUFLEN ]; - /* this lock is required; however, * it's invoked only when logging is on */ ldap_pvt_thread_mutex_lock( &mt->mt_uri_mutex ); - snprintf( buf, sizeof( buf ), - "retrying URI=\"%s\" DN=\"%s\"", - mt->mt_uri, - BER_BVISNULL( &msc->msc_bound_ndn ) ? - "" : msc->msc_bound_ndn.bv_val ); + Debug(LDAP_DEBUG_ANY, merged, op->o_log_prefix, candidate, + mt->mt_uri, + BER_BVISNULL(&msc->msc_bound_ndn) ? "" : msc->msc_bound_ndn.bv_val); ldap_pvt_thread_mutex_unlock( &mt->mt_uri_mutex ); - - Debug( LDAP_DEBUG_ANY, - "%s asyncmeta_retry[%d]: %s.\n", - op->o_log_prefix, candidate, buf ); } } remcom2.res diff = --- tests/remcom2.c +++ /tmp/cocci-output-128647-399f7e-remcom2.c @@ -2,7 +2,5 @@ int fn() { if (y) { x(); - - Debug(); } } remodif.res diff = --- tests/remodif.c +++ /tmp/cocci-output-128647-cdca1b-remodif.c @@ -5,7 +5,7 @@ static int hexium_attach(struct saa7146_ DEB_EE("\n"); - hexium = kzalloc(sizeof(struct hexium), GFP_KERNEL); + hexium = kzalloc(sizeof(*hexium), GFP_KERNEL); hexium->i2c_adapter = (struct i2c_adapter) { .name = "hexium gemini", }; remove-code-in-branch1.res diff = --- tests/remove-code-in-branch1.c +++ /tmp/cocci-output-128647-7e8f75-remove-code-in-branch1.c @@ -1,7 +1,7 @@ int main(void) { if (a > 1) - c(); + {} return 0; } remove_call.res diff = --- tests/remove_call.c +++ /tmp/cocci-output-128647-fed6c6-remove_call.c @@ -1,6 +1,2 @@ int main () { - int x = 3 + FN() + FN(); - x = 3 + FN() + FN(); - FN(); - return 3 + FN() + FN(); } remove_cast_attr.res SPECIAL NAMES: adding __cast_attr as a attribute diff = --- tests/remove_cast_attr.c +++ /tmp/cocci-output-128647-9368ad-remove_cast_attr.c @@ -2,9 +2,9 @@ int func() { - int *a = (int __cast_attr) x; - int *a = (__cast_attr int) x; + int *a = (int) x; + int *a = (int) x; int *a = (int __cast_attr *) x; - int *a = (int *__cast_attr) x; + int *a = (int *) x; int *a = (int) x; } remove_cast_attr_allminus.res diff = --- tests/remove_cast_attr_allminus.c +++ /tmp/cocci-output-128647-e2c32d-remove_cast_attr_allminus.c @@ -2,9 +2,9 @@ int func() { - int *a = (int __cast_attr) x; - int *a = (__cast_attr int) x; - int *a = (int __cast_attr *) x; - int *a = (int *__cast_attr) x; - int *a = (int) x; + int *a = (int *) x; + int *a = (int *) x; + int *a = (int *) x; + int *a = (int *) x; + int *a = (int *) x; } remove_macrodecl_attr.res SPECIAL NAMES: adding DECLARER as a declarer SPECIAL NAMES: adding __macro_attr as a attribute diff = --- tests/remove_macrodecl_attr.c +++ /tmp/cocci-output-128647-ab32b0-remove_macrodecl_attr.c @@ -1,3 +1,3 @@ #define __macro_attr MACROANNOTATION -DECLARER(a, b) __macro_attr; +DECLARER(a, b); remove_metaattr.res SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/remove_metaattr.c +++ /tmp/cocci-output-128647-117e5f-remove_metaattr.c @@ -1,5 +1,5 @@ int main() { - int b __attr__ = 1; + int b = 1; int b = 1; return 0; } remove_param_attrs.res SPECIAL NAMES: adding __nocast as a attribute diff = --- tests/remove_param_attrs.c +++ /tmp/cocci-output-128647-141fa1-remove_param_attrs.c @@ -6,15 +6,15 @@ int func2(int x, int __nocast y) { return 0; } -int func3(int x, int y __nocast) { +int func3(int x, int y) { return 0; } -int func1(int x, __attribute__((nocast)) int y) { +int func1(int x, int y) { return 0; } -int func2(int x, int __attribute__((nocast)) y) { +int func2(int x, int y) { return 0; } remove_struct_endattr.res SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr.c +++ /tmp/cocci-output-128647-818a30-remove_struct_endattr.c @@ -4,4 +4,4 @@ struct abcd { int a; int b; int c; -} __struct_endattr; +}; remove_struct_endattr_allminus.res SPECIAL NAMES: adding __struct_endattr as a attribute diff = --- tests/remove_struct_endattr_allminus.c +++ /tmp/cocci-output-128647-0eb73b-remove_struct_endattr_allminus.c @@ -1,13 +1 @@ #define __struct_endattr MACROANNOTATION - -struct abcd { - int a; - int b; - int c; -} __struct_endattr; - -struct defg { - int a; - int b; - int c; -}; remparam.res diff = --- tests/remparam.c +++ /tmp/cocci-output-128647-6fb1ff-remparam.c @@ -1,14 +1,14 @@ static irqreturn_t -snd_ad1889_interrupt(void *dev_id, int x, - struct pt_regs *regs) +snd_ad1889_interrupt(void *dev_id, int x + ) { return IRQ_HANDLED; } static irqreturn_t -snd_ad1889_interrupt(void *dev_id, - struct pt_regs *regs) +snd_ad1889_interrupt(void *dev_id + ) { return IRQ_HANDLED; rems.res diff = --- tests/rems.c +++ /tmp/cocci-output-128647-d7efc9-rems.c @@ -1,5 +1,4 @@ int main () { x(); - if (x) a(); y(); } rems1.res diff = --- tests/rems1.c +++ /tmp/cocci-output-128647-f6cf43-rems1.c @@ -1,5 +1,4 @@ int main () { x(); - a(); y(); } remstruct.res warning: line 2: should mpuio_irq_chip be a metavariable? warning: line 8: should xxx be a metavariable? diff = --- tests/remstruct.c +++ /tmp/cocci-output-128647-7be783-remstruct.c @@ -1,13 +1,4 @@ -static struct irqchip mpuio_irq_chip = { - .ack = mpuio_ack_irq, - .mask = mpuio_mask_irq, - .unmask = mpuio_unmask_irq -}; -static struct irqchip xxx = { - .a = 12, - .b = 15, -}; int hello ( String input ) { remu.res diff = --- tests/remu.c +++ /tmp/cocci-output-128647-97ce4b-remu.c @@ -1,5 +1,4 @@ struct anon_vma { int x; - unsigned degree; int y; }; replace_typedef.res diff = --- tests/replace_typedef.c +++ /tmp/cocci-output-128647-e967e5-replace_typedef.c @@ -3,8 +3,8 @@ typedef struct foo { int x; } foo_t; typedef int int_t; int main() { - foo_t x; - int_t y; + struct foo x; + int y; x.x = 12; return x.x + y; } replacement3.res diff = --- tests/replacement3.c +++ /tmp/cocci-output-128647-e1a690-replacement3.c @@ -1,6 +1,5 @@ int main() { - int *i; { - i = e(el); + int *i = e(el); } } reserved.res diff = --- tests/reserved.c +++ /tmp/cocci-output-128647-1576df-reserved.c @@ -1,7 +1,4 @@ int main() { - f(1,1); - f(2,2,2); - f(3,3,3,3); f(1,2); f(2,3,2); f(3,4,3,3); retest.res diff = --- tests/retest.c +++ /tmp/cocci-output-128647-a44044-retest.c @@ -1,6 +1,6 @@ int main () { foo(); - if (x) + if (f(x)) return 3; bar(); } retmacro.res diff = --- tests/retmacro.c +++ /tmp/cocci-output-128647-e19963-retmacro.c @@ -1,6 +1,6 @@ #define REG_PATTERN_TEST(R, M, W) \ { \ - for (pat = 0; pat < sizeof(test)/sizeof(test[0]); pat++) { \ + for (pat = 0; pat < ARRAY_SIZE(test); pat++) { \ if (value != (test[pat] & W & M)) { \ return 1; \ } \ @@ -10,7 +10,7 @@ #define REG_PATTERN_TEST2(R, M, W) \ { \ - for (pat = 0; pat < sizeof(test)/sizeof(test[0]); pat++) { \ + for (pat = 0; pat < ARRAY_SIZE(test); pat++) { \ if (value != (test[pat] & W & M)) { \ } \ } \ rets.res return.res warning: rule starting on line 18: metavariable S not used in the - or context code diff = --- tests/return.c +++ /tmp/cocci-output-128647-a02239-return.c @@ -1,6 +1,9 @@ void foo(int y) { int x; - if (x) { aaa(); bbb(); return; } - if (x) { aaa(); bbb(); return; } + if (x) { aaa(); bbb(); before_return(); + return; } + if (x) { aaa(); bbb(); before_return(); + return; } ccc(); + before_return(); } return_implicit.res diff = --- tests/return_implicit.c +++ /tmp/cocci-output-128647-b6d34f-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { foo(); + return -ENODEV; } retval.res diff = --- tests/retval.c +++ /tmp/cocci-output-128647-95f214-retval.c @@ -1,21 +1,15 @@ int main () { if (retval1) { - if (retval2 != -ENODEV) { - foo(); - return 3; - } - bar(); + foo(); + return 3; } return 6; } int second () { if (retval1) { - if (retval2 != -ENODEV) { - foo(); - goto out; - } - bar(); + foo(); + goto out; } out: return 6; retval2.res diff = --- tests/retval2.c +++ /tmp/cocci-output-128647-ba96f9-retval2.c @@ -11,7 +11,7 @@ int getlen(int *input, size_t maxlen, in return -1; } -int getlen(int *input, size_t maxlen, int delim, size_t *result) { +int newname(int *input, size_t maxlen, int delim, size_t *result) { size_t i; for (i = 0; i < maxlen; ++i) { if (input[i] == delim) { reusevar.res warning: rule starting on line 8: metavariable p1 not used in the - or context code diff = --- tests/reusevar.c +++ /tmp/cocci-output-128647-421f8a-reusevar.c @@ -1,8 +1,5 @@ int main () { - f(x); - f(q); - f(x); - f(q); - f(x); - f(q); + g(x); + g(x); + g(x); } ringbuf.res roa.res SPECIAL NAMES: adding __ro_after_init as a attribute diff = --- tests/roa.c +++ /tmp/cocci-output-128647-444287-roa.c @@ -1,10 +1,10 @@ -struct arm_delay_ops arm_delay_ops __ro_after_init = { +struct found used __ro_after_init = { .delay = __loop_delay, .const_udelay = __loop_const_udelay, .udelay = __loop_udelay, }; -struct arm_delay_ops2 arm_delay_ops2 = { +union arm_delay_ops2 not_used = { .delay = __loop_delay, .const_udelay = __loop_const_udelay, .udelay = __loop_udelay, roinit.res rptr.res diff = --- tests/rptr.c +++ /tmp/cocci-output-128647-a19139-rptr.c @@ -1,6 +1,4 @@ int foo(struct resource *r) { - if (r == NULL) - return 0; return 1; } saft.res saft2.res same_expr.res diff = --- tests/same_expr.c +++ /tmp/cocci-output-128647-9b1b77-same_expr.c @@ -1,6 +1,5 @@ void main(int i) { - f(1,1); f(1,2); } sbef.res diff = --- tests/sbef.c +++ /tmp/cocci-output-128647-34db1b-sbef.c @@ -2,6 +2,5 @@ int main () { { a(); b(); - a(); } } sbef2.res diff = --- tests/sbef2.c +++ /tmp/cocci-output-128647-680918-sbef2.c @@ -1,5 +1,4 @@ int main() { f(12); f(20); - a(); } scope_problem.res diff = --- tests/scope_problem.c +++ /tmp/cocci-output-128647-1c0eb8-scope_problem.c @@ -1,15 +1,7 @@ void main(int i) { - - int a; - foo(a); - a = 1; - if(1) { int a; - a = 2; } - a = 3; - } sd_2.res SPECIAL NAMES: adding MyDouble as a type SPECIAL NAMES: adding MyFloat as a type diff = --- tests/sd_2.c +++ /tmp/cocci-output-128647-5b30d6-sd_2.c @@ -1 +1 @@ - struct particle_data_extra { MyFloat Mass; }; + struct particle_data_extra { MyFloat *Mass; }; serio.res shared_brace.res warning: rule starting on line 1: metavariable S not used in the - or context code warning: rule starting on line 1: metavariable x not used in the - or context code warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/shared_brace.c +++ /tmp/cocci-output-128647-490e98-shared_brace.c @@ -1,9 +1,7 @@ int __init ixj_init(void) { - if (pci_present()) { - if ((probe = ixj_probe_pci(&cnt)) < 0) { - return probe; - } - } + if ((probe = ixj_probe_pci(&cnt)) < 0) { + return probe; + } } signed.res warning: line 4: should x be a metavariable? warning: line 10: should a be a metavariable? warning: line 16: should m be a metavariable? warning: line 23: should p be a metavariable? diff = --- tests/signed.c +++ /tmp/cocci-output-128647-4edbaf-signed.c @@ -1,5 +1,5 @@ -int main(signed *m, unsigned *p) { - signed x; - unsigned a; +int main(signed *n, unsigned *q) { + signed y; + unsigned b; return x; } sis.res SPECIAL NAMES: adding DECLARE_MUTEX as a declarer SPECIAL NAMES: adding DEFINE_MUTEX as a declarer diff = --- tests/sis.c +++ /tmp/cocci-output-128647-caea21-sis.c @@ -1,4 +1,4 @@ -DECLARE_MUTEX(disconnect_sem); +DEFINE_MUTEX(disconnect_sem); /*int foo() { return; }*/ // if uncomment, and erase newline, then have Line ID EOF and // some patterns in parsing_hacks don't apply anymore :( sizeof.res diff = --- tests/sizeof.c +++ /tmp/cocci-output-128647-25b55e-sizeof.c @@ -1,7 +1,7 @@ int main (int param) { - int i = sizeof(3); - int j = sizeof 3; + int i = sizeof(int); + int j = sizeof(int); int k = sizeof (int *); } sizeof_julia.res diff = --- tests/sizeof_julia.c +++ /tmp/cocci-output-128647-81f3b3-sizeof_julia.c @@ -1,5 +1,5 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - copy_from_user(&v, arg, sizeof(v)); + foo(); } sizeptr.res diff = --- tests/sizeptr.c +++ /tmp/cocci-output-128647-9626f0-sizeptr.c @@ -5,7 +5,7 @@ int main () { ssize_t b; ptrdiff_t c; - foo(sizeof *x,a); - foo(*x,b); - foo(x-y,c); + foo(ASIZE(sizeof ANINT(*x)),ASIZE(a)); + foo(ANINT(*x),ASSIZE(b)); + foo(APTRDIFF(x - y),APTRDIFF(c)); } sizestar.res diff = --- tests/sizestar.c +++ /tmp/cocci-output-128647-d23abc-sizestar.c @@ -1,7 +1,7 @@ int main () { max = num_var_ranges; if (fcount == NULL) { - fcount = kzalloc(max * sizeof *fcount, GFP_KERNEL); + fcount = kzalloc(max, sizeof *fcount, GFP_KERNEL); if (!fcount) return -ENOMEM; FILE_FCOUNT(file) = fcount; sizet.res diff = --- tests/sizet.cpp +++ /tmp/cocci-output-128647-c76ec4-sizet.cpp @@ -1,3 +1,2 @@ int main() { - size_t x; } sizet1.res diff = --- tests/sizet1.c +++ /tmp/cocci-output-128647-d1c8f2-sizet1.c @@ -1,3 +1,2 @@ int main() { - size_t x; } skip.res diff = --- tests/skip.c +++ /tmp/cocci-output-128647-265501-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); - f(2); - g(); + h(); } sl2.res diff = --- tests/sl2.c +++ /tmp/cocci-output-128647-a9e9dc-sl2.c @@ -1,11 +1,14 @@ int main () { + something(); + others(); + more(); +} + +int other () { one(); two(); one(); two(); -} - -int other () { one(); two(); one(); slen.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function smallfn.res diff = --- tests/smallfn.c +++ /tmp/cocci-output-128647-084ed5-smallfn.c @@ -1,30 +1,65 @@ int main () { if (y) { - one(); + { + one(); + foo(); + } + foo(); } else { - two(); + { + two(); + foo(); + } + foo(); } + foo(); while (y) { - one(); + { + one(); + foo(); + } + foo(); + } + foo(); + { + do { + one(); + foo(); + } + foo(); while(y); + foo(); } - do { - one(); - } while(y); switch (y) { - case 12:one(); - case 27:two(); + case 12: + foo();one(); + foo(); + case 27: + foo();two(); + foo(); } + foo(); { one(); + foo(); } + foo(); } int main () { if (y) { - one(); + { + one(); + foo(); + } + foo(); } else { - two(); + { + two(); + foo(); + } + foo(); } + foo(); } snip_field.res diff = --- tests/snip_field.cpp +++ /tmp/cocci-output-128647-b29d6a-snip_field.cpp @@ -1,2 +1,7 @@ -struct str_t { int f1; int f2; int a; int b; }; +struct str_t { int a; }; +struct l_t { + int f1; + int f2; + int b; +}; int main() { } snprintf.res diff = --- tests/snprintf.c +++ /tmp/cocci-output-128647-9ea3fa-snprintf.c @@ -1,4 +1,4 @@ static ssize_t idletimer_tg_show(char *buf) { - return snprintf(buf, PAGE_SIZE, "0\n"); + return sprintf(buf, PAGE_SIZE, "0\n"); } sp.res diff = --- tests/sp.c +++ /tmp/cocci-output-128647-63c79c-sp.c @@ -1,4 +1,4 @@ -typedef struct { +struct name { unsigned long gcr; struct pci_dev *pci; -} snd_card_als4000_t; +}; spaces.res spacing.res diff = --- tests/spacing.c +++ /tmp/cocci-output-128647-8c8a15-spacing.c @@ -1,8 +1,21 @@ typedef int *foo; +void *bar(int *baz) +{ + return baz; +} + int f(int x) { one(); if (x) { two(); + if (y) { + test(); + } } } + +void *bar(int *baz) +{ + return baz; +} spl.res diff = --- tests/spl.c +++ /tmp/cocci-output-128647-5b2d35-spl.c @@ -2,11 +2,13 @@ int main() { spin_lock(&isp116x->lock); /* take idle endpoints out of the schedule */ if (!list_empty(&ep->hep->urb_list)) { + spin_unlock(&isp116x->lock); return; } /* async deschedule */ if (!list_empty(&ep->schedule)) { + spin_unlock(&isp116x->lock); return; } } split_funcall1.res diff = --- tests/split_funcall1.c +++ /tmp/cocci-output-128647-3c9b8b-split_funcall1.c @@ -1,4 +1,4 @@ int main(void) { - f(0, 1, 2); + g(0, 1, 2); } split_funcall2.res diff = --- tests/split_funcall2.c +++ /tmp/cocci-output-128647-f36c1f-split_funcall2.c @@ -1,4 +1,4 @@ int main(void) { - f(0, 1, 2); + g(0, 1, 2); } square.res diff = --- tests/square.c +++ /tmp/cocci-output-128647-ed039a-square.c @@ -2,7 +2,7 @@ int two() { return 2; } int main() { int a[3]; int b[3]; - a[0]=1; - a[b[0]]=0; - a[two()]=2; + a[0 + 0]=1; + a[0 + 0]=0; + a[0 + 0]=2; } starprint.res SPECIAL NAMES: adding LPINT as a type diff = --- tests/starprint.c +++ /tmp/cocci-output-128647-0184f4-starprint.c @@ -1,6 +1,6 @@ typedef int *LPINT; -int foo(LPINT x, LPINT *y) +int foo(int *x, int **y) { return *x == **y; } static.res diff = --- tests/static.c +++ /tmp/cocci-output-128647-1e4e75-static.c @@ -1,4 +1,3 @@ static inline int i8042_read_data(void) { - return jazz_kh->data; } stm1.res exn while in timeout_function stm10.res diff = --- tests/stm10.c +++ /tmp/cocci-output-128647-a2ff22-stm10.c @@ -1,6 +1,7 @@ int main(int x) { f(); if (x) replace(); + h(); g(); if (x) replace(); } stm10_ver1.res diff = --- tests/stm10_ver1.c +++ /tmp/cocci-output-128647-f76cdc-stm10_ver1.c @@ -1,5 +1,6 @@ int main(int x) { f(); { replace(); replace();} + h(); g(); } stm2.res diff = --- tests/stm2.c +++ /tmp/cocci-output-128647-9737a1-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); - replace(); g(); } stm3.res diff = --- tests/stm3.c +++ /tmp/cocci-output-128647-9a54a3-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); g(); } stm4.res diff = --- tests/stm4.c +++ /tmp/cocci-output-128647-af9924-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); g(); + g(); } stm5.res diff = --- tests/stm5.c +++ /tmp/cocci-output-128647-e407a5-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); + h(); replace(); g(); + g(); } stm6.res diff = --- tests/stm6.c +++ /tmp/cocci-output-128647-fc99a3-stm6.c @@ -1,5 +1,6 @@ int main(int x) { f(); + h(); replace(); g(); } stm7.res exn while in timeout_function stm8.res diff = --- tests/stm8.c +++ /tmp/cocci-output-128647-89d9b6-stm8.c @@ -1,5 +1,6 @@ int main(int x) { f(); + g(); replace(); g(); } stm_exp.res diff = --- tests/stm_exp.c +++ /tmp/cocci-output-128647-2c2f2d-stm_exp.c @@ -1,7 +1,5 @@ int main() { - abs(); foo(bar,x); - abs(); foo(h(a),0); abs(); foo(0,0); stmt.res diff = --- tests/stmt.c +++ /tmp/cocci-output-128647-494df1-stmt.c @@ -1,4 +1,5 @@ int f() { int x; + foo(); xxx(); } stmt_removed_and_added.res diff = --- tests/stmt_removed_and_added.c +++ /tmp/cocci-output-128647-da45bb-stmt_removed_and_added.c @@ -1,6 +1,6 @@ void main() { - for(i; j; k) { + while (1) { if (1) continue; c++; str_init.res warning: line 4: should x be a metavariable? diff = --- tests/str_init.c +++ /tmp/cocci-output-128647-db38f9-str_init.c @@ -1,7 +1,3 @@ struct foo x = { - .aaa = 5, - .rrr = 1, .xxx= 12, - .bbb = 2, - .ccc = 4, }; strangeorder.res warning: rule starting on line 1: metavariable f not used in the - or context code diff = --- tests/strangeorder.c +++ /tmp/cocci-output-128647-1da237-strangeorder.c @@ -4,8 +4,10 @@ i2c_new_device(struct i2c_adapter *adap, struct i2c_client *client; client = kzalloc(sizeof *client, GFP_KERNEL); - if (!client) + if (!client) { + client = NULL; return NULL; + } client->adapter = adap; if (status < 0) { strid.res diff = --- tests/strid.c +++ /tmp/cocci-output-128647-e98fdf-strid.c @@ -1,4 +1,4 @@ int main () { struct foo *a; - print(a); + print(f(a, 12)); } strid2.res diff = --- tests/strid2.c +++ /tmp/cocci-output-128647-6b9fbe-strid2.c @@ -3,8 +3,8 @@ int main () { enum foo1 *b; struct foo a1; enum foo1 b1; - print(a); - print(b); + print(f(a, 12)); + print(f(b, 12)); print(a1.x); print(b1); } string.res strtest.res diff = --- tests/strtest.c +++ /tmp/cocci-output-128647-376b51-strtest.c @@ -1,3 +1,3 @@ int main() { - printf("hello\n"); + puts("hello\n"); } struct.res diff = --- tests/struct.c +++ /tmp/cocci-output-128647-7ac87d-struct.c @@ -8,7 +8,5 @@ struct foo { int main() { struct foo *a; - f(a->first); - f(a->second); } struct_metavar.res diff = --- tests/struct_metavar.c +++ /tmp/cocci-output-128647-0c4ff9-struct_metavar.c @@ -9,9 +9,6 @@ struct foo { int main() { struct foo *a; struct notfoo *b; - f(a->first); - f(a->second); - f(a->second); f(b->first); f(b->second); } struct_typedef.res diff = --- tests/struct_typedef.c +++ /tmp/cocci-output-128647-b559f5-struct_typedef.c @@ -1,5 +1,5 @@ -typedef struct dvb_frontend { - struct dvb_frontend_ops* ops; +typedef struct dvb2_frontend { + struct dvb_frontend_ops ops; } xx_t; typedef struct { structfoo.res SPECIAL NAMES: adding FOO as a declarer warning: line 5: should my_foo be a metavariable? diff = --- tests/structfoo.c +++ /tmp/cocci-output-128647-e04122-structfoo.c @@ -1,4 +1 @@ -struct foo my_foo[] = { -.a = 1, -.u.b = 42, -}; +FOO(1, 42); structptr_func.res diff = --- tests/structptr_func.c +++ /tmp/cocci-output-128647-dc6de9-structptr_func.c @@ -1,5 +1,6 @@ void func(struct socket *sock, struct sockaddr *uaddr, int peer) { - sock->ops->getname(sock, uaddr, peer); + int ___addr_len; + sock->ops->getname(sock, uaddr, &___addr_len, peer); return; } substruct.res diff = --- tests/substruct.c +++ /tmp/cocci-output-128647-bbfa99-substruct.c @@ -1,5 +1,5 @@ struct a { int a; } x[2] = { - { .a = 7, }, - { .a = 17, }, + { DECLARE_A(7), }, + { DECLARE_A(17), }, }; sw.res diff = --- tests/sw.c +++ /tmp/cocci-output-128647-dc802f-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c +++ /tmp/cocci-output-128647-afd856-swap3.c @@ -2,7 +2,7 @@ static void __ar955x_tx_iq_cal_sort(stru struct coeff *coeff, int i, int nmeasurement) { - int im, ix, iy, temp; + int im, ix, iy; for (iy = ix + 1; iy <= MAXIQCAL - 1; iy++) { // if ( iy <= MAXIQCAL - 1) { switch.res diff = --- tests/switch.c +++ /tmp/cocci-output-128647-f705da-switch.c @@ -3,6 +3,5 @@ int main () { default: break; case X: - f(); } } switchdecl.res warning: switch_1: metavariable S_1 not used in the - or context code diff = --- tests/switchdecl.c +++ /tmp/cocci-output-128647-9a5dbc-switchdecl.c @@ -4,7 +4,7 @@ switch (2) { int x; int x; - case 2: x=y; + case 2: break; case 4: j++; symbol.res warning: line 12: should g be a metavariable? diff = --- tests/symbol.c +++ /tmp/cocci-output-128647-fe5af2-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; - f = 3; - return f; } td.res diff = --- tests/td.c +++ /tmp/cocci-output-128647-339188-td.c @@ -1,5 +1,5 @@ -struct foo {int a;}; +struct foo {int b;}; -typedef struct blah {int a;} name; +typedef struct blah {int b;} name; -typedef struct {int a;} xxx; +typedef struct {int b;} xxx; tdnl.res diff = --- tests/tdnl.c +++ /tmp/cocci-output-128647-1f9e10-tdnl.c @@ -4,5 +4,4 @@ void main() { td2.attr; - foo(); } tdplus.res diff = --- tests/tdplus.c +++ /tmp/cocci-output-128647-e62a91-tdplus.c @@ -1 +1 @@ -typedef int (*filler_t)(int, int); +typedef int (*filler_t)(int, struct address_space *, int); template_test.res SPECIAL NAMES: adding xxx as a type SPECIAL NAMES: adding abc as a type diff = --- tests/template_test.cpp +++ /tmp/cocci-output-128647-bd9762-template_test.cpp @@ -1,5 +1,6 @@ int min() { int x; + vector d; foo<12,a> (3, 4); xxx<12,a> (3, 4); foo<12,a>(3, 4); templates1.res diff = --- tests/templates1.cpp +++ /tmp/cocci-output-128647-547696-templates1.cpp @@ -1,9 +1,9 @@ -template +template int f(const T1 v1, const T2 v2) { return I1+I2+I3+v1+v2; } int main() { - return f(1,1) + f(1,2) + f(1,2) + f(1,2) - 31; + return f(1,1) + f(1,2) + f(1,2) + f(1,2) - 31; } tern.res diff = --- tests/tern.c +++ /tmp/cocci-output-128647-be7094-tern.c @@ -1,4 +1,4 @@ int main () { - return (wc >= 0 && wc <= 0x7f ? wc : 0x7f); + return wc >= 0 && wc <= 0x7f ? wc : 0x7f; } test0.res diff = --- tests/test0.c +++ /tmp/cocci-output-128647-e98295-test0.c @@ -1,5 +1,3 @@ int main(int i) { - f(1); f(2); - f(1); } test1.res diff = --- tests/test1.c +++ /tmp/cocci-output-128647-724805-test1.c @@ -6,9 +6,9 @@ void main(int foo) { x(); if(1) { // h(3); - h(3); + h(1, 3, 2); } else { - h(4); + h(1, 4, 2); } test10.res test10_ver1.res diff = --- tests/test10_ver1.c +++ /tmp/cocci-output-128647-2f1744-test10_ver1.c @@ -3,7 +3,7 @@ void main(int i) { f(1); g(1); //g(1); - h(1); + h(1, 1); h(1); } test11.res test11_ver1.res diff = --- tests/test11_ver1.c +++ /tmp/cocci-output-128647-ef061f-test11_ver1.c @@ -2,6 +2,6 @@ void main(int i) { f(1); g(1); //g(1); - h(1); + h(1, 1); } test12.res diff = --- tests/test12.c +++ /tmp/cocci-output-128647-8bf112-test12.c @@ -1,6 +1,6 @@ void main(int foo) { - f(1); + f(1, 2); foo(); g(2); test2.res diff = --- tests/test2.c +++ /tmp/cocci-output-128647-c45f13-test2.c @@ -2,7 +2,7 @@ void main() { f(1,2,3); if(1) - g(1); + h(1); else - g(1); + h(1); } test3.res diff = --- tests/test3.c +++ /tmp/cocci-output-128647-67a307-test3.c @@ -4,7 +4,7 @@ void main() f(3); if(1) - g(1); + h(3, 1); else - g(2); + h(3, 2); } test4.res diff = --- tests/test4.c +++ /tmp/cocci-output-128647-267f86-test4.c @@ -1,7 +1,6 @@ void main() { f(1,2,3); - h(1); if(1) g(1); else test5.res diff = --- tests/test5.c +++ /tmp/cocci-output-128647-d913bc-test5.c @@ -12,9 +12,9 @@ void main() { f(1); if(1) { - g(1); + h(1); } else { - g(1); + h(1); } // g(1); // if add this then the CTL even with the direct path will this time test5_ver1.res diff = --- tests/test5_ver1.c +++ /tmp/cocci-output-128647-c4651a-test5_ver1.c @@ -12,9 +12,9 @@ void main() { f(1); if(1) { - g(1); + h(1); } else { - g(1); + h(1); } g(1); // if add this then the CTL even with the direct path will this time test6.res diff = --- tests/test6.c +++ /tmp/cocci-output-128647-558706-test6.c @@ -4,13 +4,13 @@ void main() { /* a comment */ - f(4) + f(5); + f(4, "foo") + f(5, "foo"); //f(f(3)); // if uncomment, should have the warning "already minused token" - if(f(1)) - f(1); + if(f(1, "foo")) + f(1, "foo"); else - f(2); + f(2, "foo"); if(1) g(1); @@ -20,7 +20,7 @@ void main() void mainbis() { - f(10); + f(10, "foo"); } test7.res diff = --- tests/test7.c +++ /tmp/cocci-output-128647-7b6572-test7.c @@ -2,10 +2,12 @@ void main() { if(1) { - f(1); + f(1, "foo"); + f(1, "bar"); } - f(3); + f(3, "foo"); + f(3, "bar"); /* nice comment */ } test8.res diff = --- tests/test8.c +++ /tmp/cocci-output-128647-2c6260-test8.c @@ -1,7 +1,6 @@ -void main(int foo) { +void main(char i, int foo) { float k; - int i; float j; { test9.res diff = --- tests/test9.c +++ /tmp/cocci-output-128647-df5be6-test9.c @@ -4,9 +4,9 @@ void main(int foo) { // f(1); // if uncomment then problems g(2); if(1) { - h(3); + h(1, 3); } else { - h(4); + h(1, 4); } // if uncomment then problems test_s.res diff = --- tests/test_s.c +++ /tmp/cocci-output-128647-80cf69-test_s.c @@ -2,7 +2,7 @@ int main () { if (x-one) { one(); } - if (x-two) { + if (12) { one(); two(); } @@ -11,7 +11,7 @@ int main () { two(); three(); } - if (two) { + if (12) { while (x) { one(); } test_unsigned_meta.res warning: line 6: should x be a metavariable? warning: line 13: should y be a metavariable? warning: line 19: should q be a metavariable? warning: line 28: should m be a metavariable? warning: line 33: should x be a metavariable? warning: line 39: should y be a metavariable? diff = --- tests/test_unsigned_meta.c +++ /tmp/cocci-output-128647-9b0a85-test_unsigned_meta.c @@ -1,8 +1,12 @@ int main () { - unsigned int x; - signed int y; + signed int x; + char new_x; + unsigned int y; + char new_y; unsigned char q; - char m; + char r; + unsigned char s1; + signed char s2; return 0; } testand.res diff = --- tests/testand.c +++ /tmp/cocci-output-128647-21edcc-testand.c @@ -1,5 +1,5 @@ int main () { f(1,2,3,4); - f(3,4,8,9); - f(8,9,3,4); + f(4,4,15,9); + f(15,9,4,4); } testand2.res diff = --- tests/testand2.c +++ /tmp/cocci-output-128647-a8c90e-testand2.c @@ -1,6 +1,6 @@ int main () { f(1,2,3,4); - f(3,4,8,9); + m(3,4,80,9); g(8,9,3,4); } three_types.res diff = --- tests/three_types.c +++ /tmp/cocci-output-128647-4e451e-three_types.c @@ -7,5 +7,5 @@ via_init_dmablit(drm_device_t *dev) { drm_via_blitq_t *blitq; - INIT_WORK(&blitq->wq, via_dmablit_workqueue,blitq); + INIT_WORK(&blitq->wq, via_dmablit_workqueue); } threea.res diff = --- tests/threea.c +++ /tmp/cocci-output-128647-9384a0-threea.c @@ -1,4 +1,3 @@ int main() { f(12); - q(12); } tloop.res diff = --- tests/tloop.c +++ /tmp/cocci-output-128647-40f995-tloop.c @@ -1,6 +1,5 @@ int foo(void) { for (i = 0; ender(i); i--) { - x = 12; } } tmpinit.res diff = --- tests/tmpinit.cpp +++ /tmp/cocci-output-128647-79e4b3-tmpinit.cpp @@ -1,3 +1,3 @@ class TestSymmetricCoo: public ::testing::Test { - const std::vector VA { std::vector(nnzA,4) }; + const std::vector VA { std::vector(nnzA,6) }; }; tmpinst2.res tmpinst4.res tmpinst5.res top.res SPECIAL NAMES: adding MODULE_PARM as a declarer SPECIAL NAMES: adding module_param as a declarer diff = --- tests/top.c +++ /tmp/cocci-output-128647-0311e6-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); topdec.res SPECIAL NAMES: adding LIST_HEAD as a declarer diff = --- tests/topdec.c +++ /tmp/cocci-output-128647-429843-topdec.c @@ -5,4 +5,4 @@ static int debug; /* Network device part of the driver */ static LIST_HEAD(tun_dev_list); -static struct ethtool_ops tun_ethtool_ops; +static const struct ethtool_ops tun_ethtool_ops; topdec_ver1.res diff = --- tests/topdec_ver1.c +++ /tmp/cocci-output-128647-4d866f-topdec_ver1.c @@ -4,4 +4,4 @@ static int debug; /* Network device part of the driver */ -static struct ethtool_ops tun_ethtool_ops; +static const struct ethtool_ops tun_ethtool_ops; topdec_ver2.res diff = --- tests/topdec_ver2.c +++ /tmp/cocci-output-128647-4722dd-topdec_ver2.c @@ -5,4 +5,4 @@ static int debug; /* Network device part of the driver */ int x; -static struct ethtool_ops tun_ethtool_ops; +static const struct ethtool_ops tun_ethtool_ops; topdecl.res diff = --- tests/topdecl.c +++ /tmp/cocci-output-128647-3b1a8b-topdecl.c @@ -1,3 +1,3 @@ int main () { - int x = foo(); + int x = xxx(); } toplevel_macrostmt.res SPECIAL NAMES: adding MODULE_PARM as a declarer SPECIAL NAMES: adding module_param as a declarer diff = --- tests/toplevel_macrostmt.c +++ /tmp/cocci-output-128647-7b2206-toplevel_macrostmt.c @@ -2,7 +2,7 @@ void main(int i) { } -MODULE_PARM(x,y); +module_param(x, int, y); MODULE_AUTHOR("me"); toplevel_struct.res warning: line 5: should usb_stor_host_template be a metavariable? diff = --- tests/toplevel_struct.c +++ /tmp/cocci-output-128647-d76291-toplevel_struct.c @@ -3,6 +3,7 @@ struct SHT usb_stor_host_template = { .name = "usb-storage", .proc_name = "usb-storage", .proc_info2 = usb_storage_proc_info2, + .foo = 12, .proc_info = usb_storage_proc_info, .proc_dir = NULL, .info = usb_storage_info, @@ -72,11 +73,11 @@ unsigned char usb_stor_sense_notready[18 void usb_storage_proc_info(int i) { - f(1); + g(1); } void usb_storage_proc_info2(int i) { - f(27); + g(27); } triplet.res diff = --- tests/triplet.c +++ /tmp/cocci-output-128647-0d6a34-triplet.c @@ -1,5 +1,6 @@ typedef double dtriplet_t[3] ; // FIXME: such code would not be parsed on cocci side +typedef int itriplet_t[3]; int main() { return 0; try_catch.res diff = --- tests/try_catch.cpp +++ /tmp/cocci-output-128647-c489d6-try_catch.cpp @@ -1,5 +1,6 @@ int main() { + int i; try { } catch (int e) { } } try_catch2.res tup.res warning: rule starting on line 10: metavariable C not used in the - or context code warning: rule starting on line 10: metavariable B not used in the - or context code diff = --- tests/tup.c +++ /tmp/cocci-output-128647-35be92-tup.c @@ -1,7 +1,7 @@ static int cm206_block_ioctl(struct inode *inode, struct file *file, unsigned cmd, unsigned long arg) { - return cdrom_ioctl(&cm206_info, inode, cmd, arg); + return xxx(); } static struct block_device_operations cm206_bdops = twomatch.res diff = --- tests/twomatch.c +++ /tmp/cocci-output-128647-c5f1bf-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); - xxx(12,1); + yyy(); } twoproto.res SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/twoproto.c +++ /tmp/cocci-output-128647-0f4cea-twoproto.c @@ -1,11 +1,9 @@ static void tc574_config(dev_link_t *link); -static int tc574_attach(struct pcmcia_device *p_dev) +static int tc574_attach(struct pcmcia_device *link) { - dev_link_t *link = dev_to_instance(p_dev); } -static void tc574_detach(struct pcmcia_device *p_dev) +static void tc574_detach(struct pcmcia_device *link) { - dev_link_t *link = dev_to_instance(p_dev); } ty.res diff = --- tests/ty.c +++ /tmp/cocci-output-128647-a90602-ty.c @@ -1,4 +1,4 @@ int main () { - struct foo x; + const struct foo x; return 12; } ty1.res warning: line 7: should x be a metavariable? diff = --- tests/ty1.c +++ /tmp/cocci-output-128647-8fe9b4-ty1.c @@ -1,4 +1,3 @@ int fn(int y) { char x; - foo(int,char); } ty_tyexp.res diff = --- tests/ty_tyexp.c +++ /tmp/cocci-output-128647-26bc5d-ty_tyexp.c @@ -1,11 +1,11 @@ void main(double z) { - int x; - int y; + float x; + float y; } -int main(int z) { +float main(float z) { } -int main2(int z); +float main2(float z); tydisj.res SPECIAL NAMES: adding int64_t as a type SPECIAL NAMES: adding uint64_t as a type diff = --- tests/tydisj.c +++ /tmp/cocci-output-128647-be000d-tydisj.c @@ -1,2 +1,3 @@ -int64_t foo() { int64_t a; int i; return i << 20; } +int64_t foo() { int64_t a; int i; xxx(); + return i << 20; } tyex.res SPECIAL NAMES: adding Point as a type SPECIAL NAMES: adding Location as a type diff = --- tests/tyex.c +++ /tmp/cocci-output-128647-cce664-tyex.c @@ -1,12 +1,15 @@ typedef struct { double x; double y; +} Point; +typedef struct { char *name; + Point p; } Location; int main () { Location a; Location *b; - foo (a.x,a.y,a.name); - foo (b->x,b->y,b->name); + foo (a.p.x,a.p.y,a.name); + foo (b->p.x,b->p.y,b->name); } type.res diff = --- tests/type.c +++ /tmp/cocci-output-128647-f8599a-type.c @@ -1,5 +1,5 @@ int foo() { - int x; + int *x; return 0; } type1.res diff = --- tests/type1.c +++ /tmp/cocci-output-128647-65c3dc-type1.c @@ -1,5 +1,5 @@ int foo() { - int x; + int * x; return 0; } type_and_var.res diff = --- tests/type_and_var.c +++ /tmp/cocci-output-128647-6c4688-type_and_var.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; + size_t b; + int A; f(a,A); } int main2() { - size_t a, b; + size_t a; + int B; f(b,B); } int main3() { - size_t a, b, c; + int A; + int B; + int C; f(a,A); f(b,B); f(c,C); } int main4() { - size_t a, b, c; + size_t a; + int B; + int C; f(b,B); f(c,C); } type_and_var2.res diff = --- tests/type_and_var2.c +++ /tmp/cocci-output-128647-e40a68-type_and_var2.c @@ -1,22 +1,28 @@ int main1() { - size_t a, b; + size_t b; + int A; f(a,A); } int main2() { - size_t a, b; + size_t a; + int B; f(b,B); } int main3() { - size_t a, b, c; + int A; f(a,A); + int B; f(b,B); + int C; f(c,C); } int main4() { - size_t a, b, c; + size_t a; + int B; f(b,B); + int C; f(c,C); } type_annotated.res diff = --- tests/type_annotated.c +++ /tmp/cocci-output-128647-e41d75-type_annotated.c @@ -4,7 +4,7 @@ void f1(int z) { struct foo2 j; int k; - j+i.foo+j.foo; + j+i.newfoo+j.foo; } @@ -15,6 +15,6 @@ void f2(struct foo i) { struct foo2 j; int k; - j+i.foo+j.foo; + j+i.newfoo+j.foo; } type_constraints.res diff = --- tests/type_constraints.c +++ /tmp/cocci-output-128647-329827-type_constraints.c @@ -1,9 +1,9 @@ void f(void) { int i; char c; - float f; - int *foo = xyz; - char *foo = xyz; + float *f; + int *foo = abc; + char *foo = abc; float *foo = xyz; } type_ver1.res diff = --- tests/type_ver1.c +++ /tmp/cocci-output-128647-8bc7a8-type_ver1.c @@ -1,5 +1,5 @@ int foo() { - struct foo x; + struct foo *x; return 0; } type_ver2.res diff = --- tests/type_ver2.c +++ /tmp/cocci-output-128647-90d97f-type_ver2.c @@ -1,5 +1,5 @@ int foo() { - int x[10]; + int[10] *x; return 0; } typedef.res SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef.c +++ /tmp/cocci-output-128647-76956e-typedef.c @@ -1,15 +1,15 @@ typedef struct bluecard_info_t { - dev_link_t link; + struct pcmcia_device *p_dev; } foo; static void should_work(u_long arg) { foo *info = (struct bluecard_info_t *)arg; - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } static void does_work(u_long arg) { struct bluecard_info_t *info = (struct bluecard_info_t *)arg; - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } typedef3.res SPECIAL NAMES: adding dev_link_t as a type diff = --- tests/typedef3.c +++ /tmp/cocci-output-128647-54adf8-typedef3.c @@ -1,5 +1,5 @@ typedef struct bluecard_info_t { - dev_link_t link; + struct pcmcia_device *p_dev; } foo; static void should_work(foo *info) @@ -9,5 +9,5 @@ static void should_work(foo *info) static void does_work(struct bluecard_info_t *info) { - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } typedef_double.res typeof.res diff = --- tests/typeof.c +++ /tmp/cocci-output-128647-295f81-typeof.c @@ -1,6 +1,4 @@ int main() { int x; - f(x); f(sizeof(struct foo)); - f(sizeof(int)); } typeof_expr.res diff = --- tests/typeof_expr.c +++ /tmp/cocci-output-128647-80d406-typeof_expr.c @@ -1,4 +1,4 @@ int main () { int x = 0; - f(typeof(x)); + f(x); } typin.res diff = --- tests/typin.c +++ /tmp/cocci-output-128647-168ee1-typin.c @@ -2,7 +2,7 @@ int x; char y; int main() { - m(f(x), 5); + m(f(20), 20); r(gg(y), '5'); - s(h(x,y), "5"); + s(h(20,y), "5"); } uc.res unbrace.res SPECIAL NAMES: adding list_for_each_entry as a iterator warning: line 13: should list be a metavariable? diff = warning: rule starting on line 1, node 30: {2[1,2,12,13] in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 41: }2[1,2,12,13] in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 26: foreach[1,2,12]* in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 30: {2[1,2,12,13] in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 26: foreach[1,2,12]* in mlxsw_sp_flower_parse_actions may be inconsistently modified warning: rule starting on line 1, node 320: }2[1,2,12,13] in mlxsw_sp_flower_parse_actions may be inconsistently modified --- tests/unbrace.c +++ /tmp/cocci-output-128647-132cd2-unbrace.c @@ -5,8 +5,6 @@ static int mlxsw_sp_flower_parse_actions struct netlink_ext_ack *extack) { const struct tc_action *a; - LIST_HEAD(actions); - int err; if (!tcf_exts_has_actions(exts)) return 0; @@ -15,13 +13,9 @@ static int mlxsw_sp_flower_parse_actions err = mlxsw_sp_acl_rulei_act_count(mlxsw_sp, rulei, extack); if (err) return err; - - tcf_exts_to_list(exts, &actions); - list_for_each_entry(a, &actions, list) { - one(); - if (two()) - return 1; - } + one(); + if (two()) + return 1; return 0; } @@ -33,8 +27,6 @@ static int mlxsw_sp_flower_parse_actions struct netlink_ext_ack *extack) { const struct tc_action *a; - LIST_HEAD(actions); - int err; if (!tcf_exts_has_actions(exts)) return 0; @@ -43,83 +35,79 @@ static int mlxsw_sp_flower_parse_actions err = mlxsw_sp_acl_rulei_act_count(mlxsw_sp, rulei, extack); if (err) return err; - - tcf_exts_to_list(exts, &actions); - list_for_each_entry(a, &actions, list) { - if (is_tcf_gact_ok(a)) { - err = mlxsw_sp_acl_rulei_act_terminate(rulei); - if (err) { - NL_SET_ERR_MSG_MOD(extack, "Cannot append terminate action"); - return err; - } - } else if (is_tcf_gact_shot(a)) { - err = mlxsw_sp_acl_rulei_act_drop(rulei); - if (err) { - NL_SET_ERR_MSG_MOD(extack, "Cannot append drop action"); - return err; - } - } else if (is_tcf_gact_trap(a)) { - err = mlxsw_sp_acl_rulei_act_trap(rulei); - if (err) { - NL_SET_ERR_MSG_MOD(extack, "Cannot append trap action"); - return err; - } - } else if (is_tcf_gact_goto_chain(a)) { - u32 chain_index = tcf_gact_goto_chain_index(a); - struct mlxsw_sp_acl_ruleset *ruleset; - u16 group_id; - - ruleset = mlxsw_sp_acl_ruleset_lookup(mlxsw_sp, block, - chain_index, - MLXSW_SP_ACL_PROFILE_FLOWER); - if (IS_ERR(ruleset)) - return PTR_ERR(ruleset); - - group_id = mlxsw_sp_acl_ruleset_group_id(ruleset); - err = mlxsw_sp_acl_rulei_act_jump(rulei, group_id); - if (err) { - NL_SET_ERR_MSG_MOD(extack, "Cannot append jump action"); - return err; - } - } else if (is_tcf_mirred_egress_redirect(a)) { - struct net_device *out_dev; - struct mlxsw_sp_fid *fid; - u16 fid_index; - - fid = mlxsw_sp_acl_dummy_fid(mlxsw_sp); - fid_index = mlxsw_sp_fid_index(fid); - err = mlxsw_sp_acl_rulei_act_fid_set(mlxsw_sp, rulei, - fid_index, extack); - if (err) - return err; - - out_dev = tcf_mirred_dev(a); - err = mlxsw_sp_acl_rulei_act_fwd(mlxsw_sp, rulei, - out_dev, extack); - if (err) - return err; - } else if (is_tcf_mirred_egress_mirror(a)) { - struct net_device *out_dev = tcf_mirred_dev(a); - - err = mlxsw_sp_acl_rulei_act_mirror(mlxsw_sp, rulei, - block, out_dev, - extack); - if (err) - return err; - } else if (is_tcf_vlan(a)) { - u16 proto = be16_to_cpu(tcf_vlan_push_proto(a)); - u32 action = tcf_vlan_action(a); - u8 prio = tcf_vlan_push_prio(a); - u16 vid = tcf_vlan_push_vid(a); - - return mlxsw_sp_acl_rulei_act_vlan(mlxsw_sp, rulei, - action, vid, - proto, prio, extack); - } else { - NL_SET_ERR_MSG_MOD(extack, "Unsupported action"); - dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); - return -EOPNOTSUPP; + if (is_tcf_gact_ok(a)) { + err = mlxsw_sp_acl_rulei_act_terminate(rulei); + if (err) { + NL_SET_ERR_MSG_MOD(extack, "Cannot append terminate action"); + return err; + } + } else if (is_tcf_gact_shot(a)) { + err = mlxsw_sp_acl_rulei_act_drop(rulei); + if (err) { + NL_SET_ERR_MSG_MOD(extack, "Cannot append drop action"); + return err; + } + } else if (is_tcf_gact_trap(a)) { + err = mlxsw_sp_acl_rulei_act_trap(rulei); + if (err) { + NL_SET_ERR_MSG_MOD(extack, "Cannot append trap action"); + return err; + } + } else if (is_tcf_gact_goto_chain(a)) { + u32 chain_index = tcf_gact_goto_chain_index(a); + struct mlxsw_sp_acl_ruleset *ruleset; + u16 group_id; + + ruleset = mlxsw_sp_acl_ruleset_lookup(mlxsw_sp, block, + chain_index, + MLXSW_SP_ACL_PROFILE_FLOWER); + if (IS_ERR(ruleset)) + return PTR_ERR(ruleset); + + group_id = mlxsw_sp_acl_ruleset_group_id(ruleset); + err = mlxsw_sp_acl_rulei_act_jump(rulei, group_id); + if (err) { + NL_SET_ERR_MSG_MOD(extack, "Cannot append jump action"); + return err; } + } else if (is_tcf_mirred_egress_redirect(a)) { + struct net_device *out_dev; + struct mlxsw_sp_fid *fid; + u16 fid_index; + + fid = mlxsw_sp_acl_dummy_fid(mlxsw_sp); + fid_index = mlxsw_sp_fid_index(fid); + err = mlxsw_sp_acl_rulei_act_fid_set(mlxsw_sp, rulei, + fid_index, extack); + if (err) + return err; + + out_dev = tcf_mirred_dev(a); + err = mlxsw_sp_acl_rulei_act_fwd(mlxsw_sp, rulei, + out_dev, extack); + if (err) + return err; +} else if (is_tcf_mirred_egress_mirror(a)) { + struct net_device *out_dev = tcf_mirred_dev(a); + + err = mlxsw_sp_acl_rulei_act_mirror(mlxsw_sp, rulei, + block, out_dev, + extack); + if (err) + return err; +} else if (is_tcf_vlan(a)) { + u16 proto = be16_to_cpu(tcf_vlan_push_proto(a)); + u32 action = tcf_vlan_action(a); + u8 prio = tcf_vlan_push_prio(a); + u16 vid = tcf_vlan_push_vid(a); + + return mlxsw_sp_acl_rulei_act_vlan(mlxsw_sp, rulei, + action, vid, + proto, prio, extack); + } else { + NL_SET_ERR_MSG_MOD(extack, "Unsupported action"); + dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); + return -EOPNOTSUPP; } return 0; } undref.res diff = --- tests/undref.c +++ /tmp/cocci-output-128647-043e2e-undref.c @@ -1,3 +1,3 @@ int main () { - bar(); + 42; } undref2.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function undref3.res Using bytecode version of ocamlc/ocamlopt/ocamldep ocamlfind: Package `iteration' not found exn while in timeout_function unelse.res diff = --- tests/unelse.c +++ /tmp/cocci-output-128647-b12094-unelse.c @@ -2,8 +2,6 @@ static short find_control(u16 control_in { if (!*pI) return 0; - else { - HPI_DEBUG_LOG(three, - one); - } + HPI_DEBUG_LOG(three, + one); } unfree.res diff = --- tests/unfree.c +++ /tmp/cocci-output-128647-d0e005-unfree.c @@ -2,8 +2,7 @@ static void mppe_free(void *arg) { struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; if (state) { - if (state->sha1_digest) - kfree(state->sha1_digest); + kfree(state->sha1_digest); kfree(state); } } unl.res diff = --- tests/unl.c +++ /tmp/cocci-output-128647-b58bec-unl.c @@ -1,10 +1,10 @@ int main () { - if (new_pe == NULL) { + if (unlikely(new_pe == NULL)) { return NULL; } } int main () { - if (new_pe == NULL) + if (unlikely(new_pe == NULL)) return NULL; } unstruct.res diff = --- tests/unstruct.c +++ /tmp/cocci-output-128647-7a1d45-unstruct.c @@ -1,4 +1,4 @@ -struct foo x __read_mostly = { .a = 12, }; -foo_t bar_t x(int y) { return 0; } + +foo_t unused.res diff = --- tests/unused.c +++ /tmp/cocci-output-128647-13f07a-unused.c @@ -2,5 +2,5 @@ static int synth_field_string_size(char { char *start; - start = strstr(type, "char["); + start = 12; } updassign.res diff = --- tests/updassign.c +++ /tmp/cocci-output-128647-657acf-updassign.c @@ -1,3 +1,3 @@ int main () { - int r = 1 + 2; + int r = 12; } useless_cast.res diff = --- tests/useless_cast.c +++ /tmp/cocci-output-128647-ec2020-useless_cast.c @@ -8,7 +8,7 @@ struct device { struct device *dev; -struct netdev_private *np = (struct netdev_private *) +struct netdev_private *np = dev->priv; using1.res warning: rule starting on line 2: metavariable i not used in the - or context code diff = --- tests/using1.cpp +++ /tmp/cocci-output-128647-18caca-using1.cpp @@ -1,5 +1,4 @@ namespace ns {}; int main() { - using namespace ns; } using2.res warning: rule starting on line 2: metavariable i not used in the - or context code using3.res warning: rule starting on line 2: metavariable i not used in the - or context code warning: rule starting on line 2: metavariable t not used in the - or context code diff = --- tests/using3.cpp +++ /tmp/cocci-output-128647-795ca3-using3.cpp @@ -1,5 +1,4 @@ int main() { - using i_t = int; i_t i = 3; } using4.res warning: rule starting on line 2: metavariable i not used in the - or context code warning: rule starting on line 2: metavariable t not used in the - or context code diff = --- tests/using4.cpp +++ /tmp/cocci-output-128647-fc28e6-using4.cpp @@ -1,6 +1,6 @@ // TODO: FIXME: will use 'std::vector::value_type;' once template support is improved int main() { - using s_t = typename std::string; + s_t s; } usingtest.res diff = --- tests/usingtest.cpp +++ /tmp/cocci-output-128647-50a3bb-usingtest.cpp @@ -18,4 +18,4 @@ class TestSpMM_OfAnyTypeSquare: public S int x[1]; }; -struct foo { int x[1]; }; +struct foo { int x[2]; }; usingtype.res diff = --- tests/usingtype.cpp +++ /tmp/cocci-output-128647-7c40df-usingtype.cpp @@ -1 +1 @@ -using mytime_t = double ; +using mytime_t = int ; varargs.res SPECIAL NAMES: adding Scsi_Cmnd as a type SPECIAL NAMES: adding ty_id as a type SPECIAL NAMES: adding ty_id2 as a type warning: line 13: should ty_id be a metavariable? diff = --- tests/varargs.c +++ /tmp/cocci-output-128647-69f065-varargs.c @@ -1,6 +1,7 @@ static void -fas216_log_command(FAS216_Info *info, int level, Scsi_Cmnd *SCpnt, char *fmt, ...) +fas216_log_command(FAS216_Info *info, int level, struct scsi_cmnd *SCpnt, + char *fmt, ...) { - ty_id ty_id; + ty_id2 ty_id; } varargs2.res diff = --- tests/varargs2.c +++ /tmp/cocci-output-128647-7d0d8e-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { + return NULL; } varargs3.res diff = --- tests/varargs3.c +++ /tmp/cocci-output-128647-8df80c-varargs3.c @@ -1,4 +1,3 @@ -static int foo(char *fmt, ...) { return 0; } @@ -8,7 +7,6 @@ static int bar(int x, y) return x+y; } -static int baz(FILE *stream, ...) { return 1; } vconstr.res exn while in timeout_function video1bis.res diff = --- tests/video1bis.c +++ /tmp/cocci-output-128647-f748e4-video1bis.c @@ -3,7 +3,5 @@ void *arg) { if (cmd == VIDIOCGTUNER) { struct video_tuner v; - if (copy_from_user(v, arg, sizeof(v)) != 0) - ret(-EFAULT); else {} } } virtual_constructor.res diff = --- tests/virtual_constructor.cpp +++ /tmp/cocci-output-128647-ad915c-virtual_constructor.cpp @@ -4,6 +4,5 @@ class A { virtual ~A(){int i;} // destructors can be declared 'virtual' }; int main(){ - int i; A a; } void.res diff = --- tests/void.c +++ /tmp/cocci-output-128647-0b1323-void.c @@ -2,4 +2,14 @@ int xbar(void) { return; } // this is some info about bar +int foo(void) +{ + return; +} + int bar(void) { return; } + +int foo(void) +{ + return; +} vpos.res diff = --- tests/vpos.c +++ /tmp/cocci-output-128647-0bda8d-vpos.c @@ -1,9 +1,7 @@ int main() { f(2); if (x) { - g(1,1); } else { - g(1,2); } } wchar.res SPECIAL NAMES: adding char16_t as a type SPECIAL NAMES: adding char32_t as a type SPECIAL NAMES: adding wchar_t as a type diff = --- tests/wchar.c +++ /tmp/cocci-output-128647-8b4599-wchar.c @@ -1,13 +1,4 @@ #include #include int main () { - char zero = '\0'; - char16_t zero_utf16 = u'\0'; - char32_t zero_utf32 = U'\0'; - wchar_t zeroL = L'\0'; - char empty[] = ""; - char empty_utf8[] = u8""; - char16_t empty_utf16[] = u""; - char32_t empty_utf32[] = U""; - wchar_t emptyL[] = L""; } whitespace.res diff = --- tests/whitespace.c +++ /tmp/cocci-output-128647-620361-whitespace.c @@ -1,3 +1,3 @@ int main () { - foo(sizeof (struct xxx)); + foo(sizeof(struct xxx), 12); } wierd_argument.res diff = --- tests/wierd_argument.c +++ /tmp/cocci-output-128647-0bcd90-wierd_argument.c @@ -1,7 +1,7 @@ static void ewx_i2c_setlines(snd_i2c_bus_t *bus, int clk, int data) { - ice1712_t *ice = snd_magic_cast(ice1712_t, bus->private_data, return); - ice1712_t *ice = snd_magic_cast(ice1712_t, bus->private_data, ); + ice1712_t *ice = bus->private_data; + ice1712_t *ice = bus->private_data; unsigned char tmp = 0; tmp++; } wierdinit.res SPECIAL NAMES: adding dev_link_t as a type wrongcheck.res diff = --- tests/wrongcheck.c +++ /tmp/cocci-output-128647-83d315-wrongcheck.c @@ -1,5 +1,3 @@ int main () { - err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, - buffer, sizeof(buffer)); if (err == sizeof(buffer)) return; } ws2.res warning: rule starting on line 1: metavariable A not used in the + code diff = --- tests/ws2.c +++ /tmp/cocci-output-128647-11412e-ws2.c @@ -1,6 +1,5 @@ int main() { - if (foo()) - goto err; + goto err; err: return; } xfield.res SPECIAL NAMES: adding FOO as a declarer diff = --- tests/xfield.c +++ /tmp/cocci-output-128647-cc0db7-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; /* int y; y2.res diff = --- tests/y2.c +++ /tmp/cocci-output-128647-c5795f-y2.c @@ -1,10 +1,6 @@ static void asuscom_interrupt_ipac(int intno, void *dev_id, struct pt_regs *regs) { - if (!cs) { - printk(KERN_WARNING "ISDNLink: Spurious interrupt!\n"); - return; - } Start_IPAC: debugl1(cs, "IPAC ISTA %02X", ista); if ((ista & 0x3f) && icnt) { zero.res diff = --- tests/zero.c +++ /tmp/cocci-output-128647-6e00bb-zero.c @@ -1,6 +1,2 @@ int main () { - memset(command, 0, sizeof(struct sbp2_command_info)); - memset(command, 0x00, sizeof(struct sbp2_command_info)); - memset(command, 0x0, sizeof(struct sbp2_command_info)); - memset(command, '\0', sizeof(struct sbp2_command_info)); } zeroline.res diff = --- tests/zeroline.c +++ /tmp/cocci-output-128647-b7ecb3-zeroline.c @@ -1,6 +1,7 @@ int main () { - int x; - int y; - memset(&x,0,4); - memset(&y,0,4); + int x = { 0 }; + int y = { + 0, + 4 + }; } -------------------------------- statistics -------------------------------- 62.res : CORRECT a.res : CORRECT a3.res : CORRECT a3d.res : CORRECT a_and_e.res : CORRECT a_and_e_ver1.res : CORRECT ab.res : CORRECT action.res : INCORRECT:diff token: , VS ) File , line 7, column 10, charpos = 78 around = ',', whole content = action(el, 1); File "tests/action.res", line 7, column 10, charpos = 78 around = ')', whole content = action(el); diff (result(<) vs expected_result(>)) = @@ -4,5 +4,5 @@ goto last_action; code(); last_action: - action(el, 1); + action(el); } add1.res : CORRECT addaft.res : CORRECT addafterdecl.res : CORRECT addbefore.res : CORRECT addbeforeafter.res : CORRECT addcomm.res : CORRECT addelse.res : CORRECT addes.res : CORRECT addfield.res : CORRECT addfield2.res : CORRECT addif.res : CORRECT addif1.res : CORRECT addif2.res : CORRECT addifdef.res : CORRECT addifelse.res : CORRECT addifelse2.res : CORRECT addinc.res : CORRECT addnl.res : CORRECT addremvec.res : seems incorrect, but only because of code that was not parsablediff token: 1 VS 12 File "tests/addremvec.cpp", line 1, column 9, charpos = 9 around = '1', whole content = vector d; File "tests/addremvec.res", line 1, column 9, charpos = 9 around = '12', whole content = vector d; addtoo.res : CORRECT addtrace.res : CORRECT after_if.res : CORRECT aggregate_initialization.res : PROBLEM exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"tests/aggregate_initialization.cocci\", line 4, column 7, charpos = 23\n around = '{',\n whole content = -\tint i{0};\n") allex.res : CORRECT allex2.res : CORRECT allex3.res : CORRECT andid.res : CORRECT anon.res : CORRECT anonfield.res : CORRECT ar.res : CORRECT arg.res : CORRECT argument.res : CORRECT arparam.res : CORRECT array_init.res : CORRECT array_size.res : CORRECT arraysz.res : CORRECT as_stm.res : CORRECT assign_deref_funcall_in_macro_it.res: CORRECT attr_with_arguments.res : CORRECT attradd.res : CORRECT attribute_order.res : CORRECT attributeb.res : CORRECT attributeu.res : CORRECT attrreplace.res : CORRECT attrs2groups.res : CORRECT auto.res : PROBLEM exn = Coccinelle_modules.Parse_cocci.SMPLParseError("File \"tests/auto.cocci\", line 15, column 2, charpos = 120\n around = 'auto',\n whole content = + auto y = 2;") autoloop.res : PROBLEM exn = Coccinelle_modules.Parse_cocci.SMPLParseError("File \"tests/autoloop.cocci\", line 8, column 7, charpos = 105\n around = 'auto',\n whole content = + for (auto ae: a)") b1.res : CORRECT b2.res : CORRECT bad_iso_example.res : INCORRECT:diff token: ( VS x File "tests/bad_iso_example.c", line 2, column 6, charpos = 19 around = '(', whole content = if ((x = 3)) return; File "tests/bad_iso_example.res", line 2, column 6, charpos = 19 around = 'x', whole content = if (x) return; diff (result(<) vs expected_result(>)) = @@ -1,4 +1,4 @@ int main() { - if ((x = 3)) return; + if (x) return; } bad_kfree.res : CORRECT bad_ptr_print.res : CORRECT bad_typedef.res : CORRECT badcfg.res : CORRECT badexp.res : CORRECT badpos.res : PROBLEM exn = Failure("rule starting on line 1: already tagged token:\nC code context\nFile \"tests/badpos.c\", line 5, column 30, charpos = 139\n around = 'reg_ptr',\n whole content = \t (int) -(((struct pt_regs *) reg_ptr)->orig_eax + 2));") badtypedef.res : CORRECT badwhen.res : CORRECT badzero.res : CORRECT bc_1.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") befS.res : CORRECT before.res : CORRECT befored.res : CORRECT ben.res : CORRECT bigin.res : CORRECT bigrepl.res : CORRECT binop.res : CORRECT bitfield.res : CORRECT bitfield_matching.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") bool1.res : CORRECT boolr.res : CORRECT bracebraceline.res : CORRECT braceline.res : CORRECT braces.res : CORRECT bracket.res : CORRECT branchparen.res : CORRECT break.res : CORRECT btf.res : CORRECT bug1.res : CORRECT bugloop.res : PROBLEM exn = Failure("6: opt only allowed for the elements of a statement list") bugon.res : CORRECT bus.res : CORRECT cards.res : CORRECT caseprint.res : CORRECT cast.res : CORRECT cast_iso.res : CORRECT castdecl.res : CORRECT cdstr.res : CORRECT cex_snip_field_bad.res : CORRECT cex_snip_field_ok.res : CORRECT cex_wishlist_complex1.res : CORRECT cex_wishlist_complex2.res : CORRECT cex_wishlist_complex3.res : CORRECT change.res : CORRECT change_type.res : CORRECT changei.res : INCORRECT:diff token: i VS xxx File , line 1, column 15, charpos = 15 around = 'i', whole content = typedef struct i xxx; File "tests/changei.res", line 1, column 15, charpos = 15 around = 'xxx', whole content = typedef struct xxx istruct; diff (result(<) vs expected_result(>)) = @@ -1,4 +1,4 @@ -typedef struct i xxx; +typedef struct xxx istruct; int xxx (int xxx) { char xxx; classfinal.res : seems incorrect, but only because of code that was not parsablediff token: x VS y File "tests/classfinal.cpp", line 7, column 6, charpos = 168 around = 'x', whole content = int x; File "tests/classfinal.res", line 7, column 6, charpos = 168 around = 'y', whole content = int y; cocci_args.res : CORRECT com.res : CORRECT comadd.res : CORRECT comj.res : CORRECT comma.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") comma_call.res : CORRECT comma_if.res : CORRECT comment_brace.res : CORRECT comment_brace2.res : CORRECT comment_line.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") comment_middle.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") commentbefore.res : CORRECT commentbefore2.res : CORRECT commentend.res : CORRECT comments.res : CORRECT compare.res : CORRECT compare_const.res : CORRECT compare_const2.res : CORRECT complexcpp.res : CORRECT comreturn.res : CORRECT condexp.res : CORRECT const.res : CORRECT const1bis.res : CORRECT const_adding.res : CORRECT const_array.res : CORRECT const_implicit_iso.res : CORRECT constptr.res : CORRECT constraints.res : CORRECT constrem.res : CORRECT constructor.res : CORRECT constty.res : CORRECT constx.res : CORRECT countcalls.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") countcalls_python.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") cptr.res : CORRECT cr.res : CORRECT cr1a.res : CORRECT cs_check.res : CORRECT cst.res : CORRECT cst_null.res : CORRECT cstr.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") cststr.res : CORRECT csw.res : CORRECT cuda.res : CORRECT cuda1.res : CORRECT cuda_noattr.res : CORRECT dbg.res : CORRECT dbg1.res : CORRECT dc_close.res : CORRECT debug.res : CORRECT dec.res : CORRECT decadd.res : CORRECT decdup.res : CORRECT decdup2.res : INCORRECT:diff token: www VS main File , line 1, column 4, charpos = 4 around = 'www', whole content = int www; File "tests/decdup2.res", line 1, column 4, charpos = 4 around = 'main', whole content = int main() { diff (result(<) vs expected_result(>)) = @@ -1,3 +1,15 @@ -int www; -BTF_ID_LIST_SINGLE(bpf_ima_inode_hash_btf_ids, struct, inode) +int main() { + int x; + int y, z; + int z = 12; + int a, b; + return a; +} + +static const struct seq_operations task_file_seq_ops = { + .start = task_file_seq_start, + .next = task_file_seq_next, + .stop = task_file_seq_stop, + .show = task_file_seq_show, +}; decdup3.res : CORRECT decdup4.res : CORRECT decl.res : CORRECT decl2.res : CORRECT decl_and_ref.res : CORRECT decl_andand_ref.res : CORRECT decl_ptr_ref.res : CORRECT decl_space.res : CORRECT decl_split.res : INCORRECT:diff token: int VS } File "tests/decl_split.c", line 2, column 8, charpos = 27 around = 'int', whole content = int x, y; File "tests/decl_split.res", line 2, column 0, charpos = 19 around = '}', whole content = } diff (result(<) vs expected_result(>)) = @@ -1,3 +1,2 @@ int func(int i) { - int x, y; } decl_star.res : CORRECT declend.res : CORRECT declmeta.res : CORRECT decltype.res : CORRECT defe.res : CORRECT define_exp.res : CORRECT define_param.res : CORRECT definedots.res : CORRECT defineinit.res : CORRECT deftodo.res : CORRECT del2.res : CORRECT delete.res : CORRECT delete_array.res : CORRECT delete_function.res : CORRECT delp.res : CORRECT depfail.res : CORRECT deref.res : CORRECT destroy.res : CORRECT detect_cast_attr.res : CORRECT detect_macrodecl_attr.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") detect_param_attr.res : CORRECT detect_struct_endattr.res : CORRECT detect_struct_gccattr.res : CORRECT devlink.res : CORRECT disj.res : CORRECT disjexpr.res : CORRECT disjexpr_ver1.res : CORRECT disjexpr_ver2.res : CORRECT disjid.res : CORRECT distribute.res : CORRECT dotcall.res : CORRECT dots_comma.res : CORRECT double.res : CORRECT double_assign.res : CORRECT double_lines.res : CORRECT double_switch.res : CORRECT doubleconst.res : CORRECT doubleconst2.res : CORRECT doubleconst4.res : CORRECT doublepos.res : CORRECT doubleswitch.res : CORRECT doundo.res : CORRECT dowhile.res : CORRECT dowhile_4.res : CORRECT dowhile_for_complex.res : CORRECT dowhile_nested.res : CORRECT dropbr.res : CORRECT dropcom.res : CORRECT dropenderr.res : CORRECT dropf.res : CORRECT dropparam.res : CORRECT dtest.res : CORRECT eb1.res : CORRECT edots.res : CORRECT edots_ver1.res : CORRECT efi3.res : CORRECT elsify.res : CORRECT empty.res : CORRECT emptytmp.res : seems incorrect, but only because of code that was not parsablediff token: 1 VS 2 File "tests/emptytmp.cpp", line 4, column 104, charpos = 123 around = '1', whole content = class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<1,TV>>, public ::testing::Test { File "tests/emptytmp.res", line 4, column 104, charpos = 123 around = '2', whole content = class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<2,TV>>, public ::testing::Test { end_attr.res : CORRECT end_commas.res : CORRECT endcolon.res : CORRECT endcomma.res : CORRECT endif.res : CORRECT endline.res : CORRECT endmodif.res : CORRECT endnl.res : CORRECT endpos.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") enum.res : CORRECT enum_assign.res : CORRECT enumcast.res : CORRECT enumcpp.res : CORRECT enumdots.res : CORRECT exitc.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") exitp.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") exp.res : CORRECT expnest.res : CORRECT expopt.res : CORRECT expopt2.res : CORRECT expopt3.res : CORRECT expopt3_ver1.res : CORRECT expopt3_ver2.res : CORRECT exprlist_comma.res : CORRECT exprun.res : CORRECT extra.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") failing_andany.res : CORRECT far.res : CORRECT far2.res : CORRECT fields.res : CORRECT fieldsmin.res : CORRECT fieldtmp.res : seems incorrect, but only because of code that was not parsablediff token: 0 VS 2 File "tests/fieldtmp.cpp", line 2, column 44, charpos = 58 around = '0', whole content = errval = mtx.tune_spmm(nullptr,0); File "tests/fieldtmp.res", line 2, column 44, charpos = 58 around = '2', whole content = errval = mtx.tune_spmm(nullptr,2); finalclass.res : CORRECT finalize_only.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") find_long.res : CORRECT firstdecl.res : CORRECT fix_flow_need.res : CORRECT flex.res : CORRECT fn_todo.res : CORRECT fnptr.res : CORRECT fnret.res : CORRECT fnty.res : CORRECT fntypedef.res : CORRECT forc.res : CORRECT fordots.res : CORRECT format.res : CORRECT format2.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") formatlist.res : CORRECT forrange.res : PROBLEM exn = Coccinelle_modules.Parse_cocci.SMPLParseError("File \"tests/forrange.cocci\", line 6, column 7, charpos = 45\n around = 'auto',\n whole content = - for (auto i: IA)") forrange2.res : CORRECT fortest.res : CORRECT fortype.res : CORRECT four.res : CORRECT foura.res : CORRECT fp.res : CORRECT fptr.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") fptr2.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") fptr3.res : CORRECT fresh_id_script.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") fsh.res : CORRECT fun.res : CORRECT func.res : CORRECT funptr_array.res : CORRECT gadget_allocate.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") gadget_gather_scatter.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") gadget_invalidate.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") gadget_mark_used_fields.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") gadget_misc.res : CORRECT gadget_ninelets_typedef.res : CORRECT gadget_patch.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") gadget_remove_mpi_function_calls.res: CORRECT gadget_remove_used_fields.res : CORRECT gadget_sentinel.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") gadget_soa_defs.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") gadget_soa_select.res : CORRECT gadget_sorting_hook.res : INCORRECT:diff token: any_sort_func VS soa_gather__particle_data_soa_t File , line 21, column 1, charpos = 555 around = 'any_sort_func', whole content = any_sort_func(P); File "tests/gadget_sorting_hook.res", line 22, column 1, charpos = 624 around = 'soa_gather__particle_data_soa_t', whole content = soa_gather__particle_data_soa_t(P, P_soa, 0, NumPart); diff (result(<) vs expected_result(>)) = @@ -18,7 +18,12 @@ int main() { + /* FIXME: this is a transitory gather-sort-scatter hook solution */ + soa_gather__particle_data_soa_t(P, P_soa, 0, NumPart); + soa_invalidate_soa__particle_data_soa_t(&P_soa, 0, NumPart); any_sort_func(P); + soa_scatter__particle_data_soa_t(P_soa, P, 0, NumPart); + soa_invalidate_aos__particle_data(P, 0, NumPart); /* FIXME: this is a transitory gather-sort-scatter hook solution */ gadget_triplets_typedef.res : CORRECT gadget_triplets_typedef_ipcc.res: CORRECT gcc_attr_with_func.res : CORRECT gcc_attr_with_var.res : INCORRECT:diff token: myattr1_mid VS section File , line 23, column 20, charpos = 515 around = 'myattr1_mid', whole content = char __attribute__((myattr1_mid)) array1_mid[2]; File "tests/gcc_attr_with_var.res", line 25, column 20, charpos = 515 around = 'section', whole content = char __attribute__((section(".shared"))) array1_mid[2]; diff (result(<) vs expected_result(>)) = @@ -6,9 +6,11 @@ int __attribute__((section(".shared"))) var2_mid; -__attribute__((section(".shared"))) int var3_end; +__attribute__((section(".shared"))) +int var3_end; -__attribute__((section(".shared"))) int var3_mid; +__attribute__((section(".shared"))) +int var3_mid; int var4_end; @@ -20,20 +22,22 @@ char array1_end[2] __attribute__((section(".shared"))); -char __attribute__((myattr1_mid)) array1_mid[2]; +char __attribute__((section(".shared"))) array1_mid[2]; char array2_end[2] __attribute__((section(".shared"))); -char __attribute__((myattr2_mid)) array2_mid[2]; +char __attribute__((section(".shared"))) array2_mid[2]; -__attribute__((section(".shared"))) char[2] array3_end; +__attribute__((section(".shared"))) +char array3_end[2]; -char __attribute__((myattr3_mid)) array3_mid[2]; +__attribute__((section(".shared"))) +char array3_mid[2]; char array4_end[2]; -char __attribute__((myattr4_mid)) array4_mid[2]; +char array4_mid[2]; -char[2] __attribute__((section(".shared"))) array5_end; +char __attribute__((section(".shared"))) array5_end[2]; -char __attribute__((myattr5_mid)) array5_mid[2]; +char array5_mid[2] __attribute__((section(".shared"))); gcc_min_max.res : CORRECT getc.res : CORRECT gilles-question.res : CORRECT globali.res : CORRECT gotobreak.res : CORRECT hashhash.res : CORRECT hd.res : CORRECT headers.res : CORRECT hex.res : CORRECT hil1.res : CORRECT icomma.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") id3.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") id4.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") idcon_ocaml.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") idcon_python.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") idstr.res : CORRECT if.res : CORRECT ifadd.res : CORRECT ifbr.res : CORRECT ifd.res : CORRECT ifdef1.res : CORRECT ifdef2.res : CORRECT ifdef3.res : CORRECT ifdef4.res : CORRECT ifdef5.res : CORRECT ifdef6.res : CORRECT ifdef6a.res : CORRECT ifdefmeta.res : INCORRECT:diff token: + VS #ifdef PLATFORM_A File , line 3, column 17, charpos = 49 around = '+', whole content = + 5 + 50 File "tests/ifdefmeta.res", line 3, column 0, charpos = 32 around = '#ifdef PLATFORM_A', whole content = #ifdef PLATFORM_A diff (result(<) vs expected_result(>)) = @@ -1,22 +1,22 @@ int main() { buf = malloc(3 +#ifdef PLATFORM_A + 5 + 50 +#endif + +#ifdef PLATFORM_B + 2 - ) - #ifdef PLATFORM_A - #endif - #ifdef PLATFORM_B - #endif - ; +#endif +); buf = malloc(3 +#ifdef PLATFORM_A + 5 + 50 +#endif + +#ifdef PLATFORM_B + 2 - ) - #ifdef PLATFORM_A - #endif - #ifdef PLATFORM_B - #endif - ; +#endif +); } int other() { ifdefmeta1.res : INCORRECT:diff token: #ifdef PLATFORM_A VS } File , line 2, column 4, charpos = 17 around = '#ifdef PLATFORM_A', whole content = #ifdef PLATFORM_A File "tests/ifdefmeta1.res", line 2, column 0, charpos = 13 around = '}', whole content = } diff (result(<) vs expected_result(>)) = @@ -1,9 +1,2 @@ int main() { - #ifdef PLATFORM_A - - - - #endif - #ifdef PLATFORM_B - #endif } ifdefmeta2.res : CORRECT ifdefmeta3.res : CORRECT ifdefmeta4.res : INCORRECT:diff token: + VS #ifdef PLATFORM_A File , line 3, column 20, charpos = 52 around = '+', whole content = + 5 + 50 File "tests/ifdefmeta4.res", line 3, column 0, charpos = 32 around = '#ifdef PLATFORM_A', whole content = #ifdef PLATFORM_A diff (result(<) vs expected_result(>)) = @@ -1,12 +1,13 @@ int main() { buf = malloc(3 - + 5 + 50 - + 2 - ) #ifdef PLATFORM_A + // platform a stuff + + 5 + 50 #endif #ifdef PLATFORM_B + /* platform b stuff */ + + 2 #endif - ; + ); } ifend.res : CORRECT ifgoto.res : CORRECT ifields.res : CORRECT ifif.res : CORRECT ifreturn.res : CORRECT ifreturn3.res : CORRECT ifreturn4.res : CORRECT ifreturn6.res : CORRECT ifzer.res : CORRECT ifzz.res : CORRECT inc.res : CORRECT incdir.res : INCORRECT:diff token: x VS 12 File "tests/incdir.c", line 4, column 6, charpos = 46 around = 'x', whole content = foo(x); File "tests/incdir.res", line 4, column 6, charpos = 46 around = '12', whole content = foo(12); diff (result(<) vs expected_result(>)) = @@ -1,5 +1,5 @@ #include "sub/incdir2.c" int main () { - foo(x); + foo(12); } incl.res : CORRECT incl2.res : CORRECT inclifdef.res : CORRECT include.res : CORRECT incompatible_value.res : CORRECT incpos.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") incpos1.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") inh1.res : CORRECT inherited.res : CORRECT inherited_ver1.res : CORRECT inhmet.res : CORRECT inhpos.res : CORRECT init3tst.res : CORRECT initializer.res : CORRECT initializer_many_fields.res : CORRECT initpython.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") inline.res : CORRECT insdef.res : CORRECT instfour.res : seems incorrect, but only because of code that was not parsablediff token: } VS int File "tests/instfour.cpp", line 5, column 0, charpos = 60 around = '}', whole content = } File "tests/instfour.res", line 5, column 8, charpos = 68 around = 'int', whole content = int sss; instruct.res : CORRECT int2bool-local.res : CORRECT introbrace.res : CORRECT invert.res : CORRECT ip.res : CORRECT ip2.res : CORRECT isococci.res : CORRECT isoif.res : CORRECT isotest.res : CORRECT isotest2.res : CORRECT iteration.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") iteration_after_merge.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") iterator.res : CORRECT iterprint.res : CORRECT jloop1.res : PROBLEM exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"tests/jloop1.cocci\", line 10, column 3, charpos = 129\n around = '...>',\n whole content = ...>\n") julia10.res : CORRECT julia7.res : CORRECT justremove.res : CORRECT keep_comma.res : CORRECT km.res : CORRECT kmalloc.res : CORRECT kmc.res : CORRECT kmtest4.res : CORRECT kr.res : seems incorrect, but only because of code that was not parsablediff token: foo VS } File "tests/kr.c", line 6, column 2, charpos = 37 around = 'foo', whole content = foo(); File "tests/kr.res", line 6, column 0, charpos = 35 around = '}', whole content = } ktype.res : CORRECT ktype2.res : CORRECT labels_metastatement.res : CORRECT labels_metastatement_ver1.res : CORRECT lessone.res : CORRECT lfe.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") lid.res : CORRECT line_before_last.res : CORRECT lineseq.res : CORRECT list_initialization.res : CORRECT list_test.res : CORRECT local.res : CORRECT local_macro_fn_def_and_call.res: CORRECT localglobal.res : CORRECT localid.res : CORRECT localmacroparams.res : CORRECT log.res : CORRECT long.res : CORRECT longconst.res : CORRECT longline2.res : CORRECT longlong.res : CORRECT longlongint.res : CORRECT loop.res : CORRECT lvalue.res : CORRECT macro.res : CORRECT macro_before_bool.res : CORRECT macro_int16.res : CORRECT macro_params.res : CORRECT macro_stmt_when_fn_type.res : CORRECT match_init.res : CORRECT match_no_meta.res : CORRECT max.res : CORRECT md1.res : CORRECT md2.res : CORRECT md3.res : CORRECT mdadd.res : CORRECT mdec.res : CORRECT mdecl.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") mdeclp.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") mdeclp2.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") mdeclrep.res : CORRECT mdindex.res : CORRECT memory.res : CORRECT merge_after_iteration.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") metaattr.res : CORRECT metahex.res : INCORRECT:diff token: f VS } File "tests/metahex.c", line 2, column 2, charpos = 15 around = 'f', whole content = f(3); File "tests/metahex.res", line 2, column 0, charpos = 13 around = '}', whole content = } diff (result(<) vs expected_result(>)) = @@ -1,4 +1,2 @@ int main() { - f(3); - g(0x03); } metaline.res : CORRECT metaops.res : CORRECT metaops0.res : CORRECT metaruleelem.res : CORRECT metastatement2.res : CORRECT metastatement_for.res : CORRECT metastatement_if.res : CORRECT mincom.res : CORRECT minenum.res : CORRECT minenum1.res : CORRECT minfn.res : CORRECT mini_null_ref.res : CORRECT miniclass.res : CORRECT miniswap.res : CORRECT minstruct.res : CORRECT minusdots.res : CORRECT minusdots_ver1.res : CORRECT move_type.res : CORRECT multi.res : CORRECT multi_func1.res : PROBLEM exn = Coccinelle_modules.Parse_cocci.SMPLParseError("minus: parse error: \n File \"tests/multi_func1.cocci\", line 12, column 2, charpos = 102\n around = 'fn2',\n whole content = fn2(...) {\n") multi_initialize_finalize.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") multichars.res : CORRECT multidec.res : CORRECT multidecl3.res : CORRECT multipath.res : CORRECT multiplus.res : CORRECT multiremove.res : CORRECT multistruct.res : CORRECT multitype.res : CORRECT multitypedef.res : CORRECT multivars.res : CORRECT mv.res : CORRECT na.res : CORRECT nameless.res : CORRECT nest.res : CORRECT nestadd.res : CORRECT nestone.res : CORRECT nestseq.res : CORRECT neststruct.res : CORRECT new.res : PROBLEM exn = Failure("impossible") newsimple.res : CORRECT nl.res : CORRECT noa.res : CORRECT nocast.res : CORRECT noexcept.res : seems incorrect, but only because of code that was not parsablediff token: args VS abc File "/tmp/cocci-output-128647-1a7b7b-noexcept.cpp", line 9, column 88, charpos = 245 around = 'args', whole content = formatter_type create_formatter(boost::log::attribute_name const &name, args_map const &args) override File "tests/noexcept.res", line 10, column 20, charpos = 249 around = 'abc', whole content = args_map const &abc) override noret.res : CORRECT not.res : CORRECT notest.res : CORRECT notnot.res : CORRECT notpp.res : CORRECT noty.res : CORRECT noty2.res : CORRECT null_bool.res : INCORRECT:diff token: ) VS != File , line 2, column 8, charpos = 22 around = ')', whole content = if (12) return; File "tests/null_bool.res", line 2, column 9, charpos = 23 around = '!=', whole content = if (12 != NULL) return; diff (result(<) vs expected_result(>)) = @@ -1,6 +1,6 @@ int main () { - if (12) return; - if (a && 12 && b) return; + if (12 != NULL) return; + if (a && 12 != NULL && b) return; if (12) return; if (a && 12 && b) return; x = x + 20; null_type.res : CORRECT oddifdef.res : INCORRECT:diff token: #else VS x File , line 10, column 0, charpos = 114 around = '#else', whole content = #else File "tests/oddifdef.res", line 10, column 2, charpos = 116 around = 'x', whole content = x = 0; diff (result(<) vs expected_result(>)) = @@ -7,7 +7,9 @@ a = 5; #ifdef FOO + x = 0; #else + x = 0; #endif } @@ -20,7 +22,9 @@ a = 3; #ifdef FOO + x = 0; #else + x = 0; #endif } @@ -33,6 +37,8 @@ #endif #ifdef FOO + x = 0; #else + x = 0; #endif } of.res : CORRECT oneline.res : CORRECT op.res : CORRECT opeq.res : seems incorrect, but only because of code that was not parsablediff token: lhs VS return File "tests/opeq.cpp", line 4, column 9, charpos = 123 around = 'lhs', whole content = lhs.store_unaligned(tmp.data()); File "tests/opeq.res", line 4, column 9, charpos = 123 around = 'return', whole content = return tmp == rhs; opt.res : CORRECT optional_qualifier.res : CORRECT optional_storage.res : CORRECT orexp.res : CORRECT output.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") output_init.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") overshoot.res : CORRECT p1p2.res : CORRECT p9.res : CORRECT pa.res : CORRECT packed.res : CORRECT param.res : CORRECT param_end.res : CORRECT param_to_exp.res : CORRECT param_ver1.res : CORRECT parameters_dots.res : CORRECT parenmac.res : CORRECT partial.res : CORRECT partialmd.res : CORRECT partialmd2.res : CORRECT partialmd3.res : CORRECT pb_distribute_type.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -10,6 +10,6 @@ } int foo() { - int[45] *x; + int (*x)[45]; return 0; } pb_distribute_type2.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -1,5 +1,5 @@ int foo() { - int * x; + int *x; return 0; } @@ -10,6 +10,6 @@ } int foo() { - int x[45]*; + int (*x)[45]; return 0; } pb_distribute_type3.res : PROBLEM exn = Failure("line 7: index 53 53 already used\n") pb_distribute_type4.res : CORRECT pb_params_iso.res : CORRECT pb_parsing_macro.res : CORRECT pb_tag_symbols.res : CORRECT pcim.res : CORRECT pcomma.res : CORRECT pif.res : CORRECT plus33.res : INCORRECT:diff token: double3x3 VS xdouble3x3 File , line 1, column 15, charpos = 15 around = 'double3x3', whole content = typedef double double3x3[3][3]; File "tests/plus33.res", line 1, column 15, charpos = 15 around = 'xdouble3x3', whole content = typedef double xdouble3x3[3][3]; diff (result(<) vs expected_result(>)) = @@ -1,2 +1,2 @@ -typedef double double3x3[3][3]; +typedef double xdouble3x3[3][3]; int x; pmac.res : CORRECT poscon.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") posiso.res : CORRECT positionc.res : CORRECT post.res : CORRECT pragma2.res : CORRECT pragma2a.res : INCORRECT:diff token: teams distribute parallel for simd VS loop File "tests/pragma2a.c", line 7, column 12, charpos = 168 around = 'teams distribute parallel for simd', whole content = #pragma omp teams distribute parallel for simd File "tests/pragma2a.res", line 7, column 12, charpos = 168 around = 'loop', whole content = #pragma omp loop diff (result(<) vs expected_result(>)) = @@ -4,7 +4,7 @@ int n = 3; // notice the following does not match what's in the patch #pragma omp target map(tofrom: u[0:n*n], u_tmp[0:n*N]) -#pragma omp teams distribute parallel for simd +#pragma omp loop for(int i=0;i, line 4, column 2, charpos = 42 around = '}', whole content = } File "tests/scope_problem.res", line 4, column 4, charpos = 44 around = 'a', whole content = a = 2; diff (result(<) vs expected_result(>)) = @@ -1,7 +1,6 @@ void main(int i) { if(1) { int a; + a = 2; } - - } sd_2.res : CORRECT serio.res : INCORRECT:diff token: init_MUTEX VS mutex_init File "tests/serio.c", line 7, column 1, charpos = 130 around = 'init_MUTEX', whole content = init_MUTEX(&serio->drv_sem); File "tests/serio.res", line 7, column 1, charpos = 130 around = 'mutex_init', whole content = mutex_init(&serio->new_lock); diff (result(<) vs expected_result(>)) = @@ -4,5 +4,5 @@ static void serio_init_port(struct serio *serio) { - init_MUTEX(&serio->drv_sem); + mutex_init(&serio->new_lock); } shared_brace.res : CORRECT signed.res : CORRECT sis.res : CORRECT sizeof.res : CORRECT sizeof_julia.res : CORRECT sizeptr.res : CORRECT sizestar.res : CORRECT sizet.res : CORRECT sizet1.res : CORRECT skip.res : CORRECT sl2.res : CORRECT slen.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") smallfn.res : CORRECT snip_field.res : CORRECT snprintf.res : CORRECT sp.res : CORRECT spaces.res : CORRECT spacing.res : CORRECT spl.res : CORRECT split_funcall1.res : CORRECT split_funcall2.res : CORRECT square.res : CORRECT starprint.res : CORRECT static.res : CORRECT stm1.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") stm10.res : CORRECT stm10_ver1.res : CORRECT stm2.res : CORRECT stm3.res : CORRECT stm4.res : CORRECT stm5.res : CORRECT stm6.res : CORRECT stm7.res : PROBLEM exn = Failure("Py.find_library: unable to find the Python library [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12m.so returned /usr/bin/../lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/bin/../lib/libpython3.12.so returned /usr/bin/../lib/libpython3.12.so: cannot open shared object file: No such file or directory] [libpython3.12m.so returned libpython3.12m.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12m.so returned /usr/lib/libpython3.12m.so: cannot open shared object file: No such file or directory] [libpython3.12.so returned libpython3.12.so: cannot open shared object file: No such file or directory] [/usr/lib/libpython3.12.so returned /usr/lib/libpython3.12.so: cannot open shared object file: No such file or directory]") stm8.res : CORRECT stm_exp.res : CORRECT stmt.res : CORRECT stmt_removed_and_added.res : CORRECT str_init.res : CORRECT strangeorder.res : CORRECT strid.res : CORRECT strid2.res : CORRECT string.res : CORRECT strtest.res : CORRECT struct.res : CORRECT struct_metavar.res : CORRECT struct_typedef.res : CORRECT structfoo.res : CORRECT structptr_func.res : CORRECT substruct.res : CORRECT sw.res : CORRECT swap3.res : CORRECT switch.res : CORRECT switchdecl.res : CORRECT symbol.res : CORRECT td.res : CORRECT tdnl.res : CORRECT tdplus.res : CORRECT template_test.res : seems incorrect, but only because of code that was not parsablediff token: vector VS abc File "/tmp/cocci-output-128647-bd9762-template_test.cpp", line 3, column 2, charpos = 23 around = 'vector', whole content = vector d; File "tests/template_test.res", line 3, column 2, charpos = 23 around = 'abc', whole content = abc<2 + 2> d; templates1.res : CORRECT tern.res : CORRECT test0.res : CORRECT test1.res : CORRECT test10.res : CORRECT test10_ver1.res : CORRECT test11.res : CORRECT test11_ver1.res : CORRECT test12.res : CORRECT test2.res : CORRECT test3.res : CORRECT test4.res : CORRECT test5.res : CORRECT test5_ver1.res : CORRECT test6.res : CORRECT test7.res : CORRECT test8.res : CORRECT test9.res : CORRECT test_s.res : CORRECT test_unsigned_meta.res : CORRECT testand.res : CORRECT testand2.res : CORRECT three_types.res : CORRECT threea.res : CORRECT tloop.res : CORRECT tmpinit.res : CORRECT tmpinst2.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -1,4 +1,3 @@ int main2() { - vc_t> v; } tmpinst4.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -1,6 +1,5 @@ int main() { - vc_t v; // vc_t> v; // vc_t>> v; // vc_t>>> v; tmpinst5.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -1,24 +1,19 @@ int main1() { - vc_t v; } int main2() { - vc_t> v; } int main3() { - vc_t>> v; } int main4() { - vc_t>>> v; } int main5() { - vc_t>>>> v; } top.res : CORRECT topdec.res : CORRECT topdec_ver1.res : CORRECT topdec_ver2.res : CORRECT topdecl.res : CORRECT toplevel_macrostmt.res : CORRECT toplevel_struct.res : CORRECT triplet.res : CORRECT try_catch.res : CORRECT try_catch2.res : CORRECT tup.res : CORRECT twomatch.res : CORRECT twoproto.res : CORRECT ty.res : CORRECT ty1.res : CORRECT ty_tyexp.res : CORRECT tydisj.res : CORRECT tyex.res : CORRECT type.res : CORRECT type1.res : CORRECT type_and_var.res : CORRECT type_and_var2.res : CORRECT type_annotated.res : CORRECT type_constraints.res : CORRECT type_ver1.res : CORRECT type_ver2.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -1,5 +1,5 @@ int foo() { - int[10] *x; + int *x[10]; return 0; } typedef.res : CORRECT typedef3.res : INCORRECT:diff token: link VS p_dev File , line 7, column 29, charpos = 137 around = 'link', whole content = unsigned int iobase = info->link.io.BasePort1; File "tests/typedef3.res", line 7, column 29, charpos = 137 around = 'p_dev', whole content = unsigned int iobase = info->p_dev->io.BasePort1; diff (result(<) vs expected_result(>)) = @@ -4,7 +4,7 @@ static void should_work(foo *info) { - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } static void does_work(struct bluecard_info_t *info) typedef_double.res : CORRECT typeof.res : CORRECT typeof_expr.res : CORRECT typin.res : CORRECT uc.res : CORRECT unbrace.res : CORRECT undref.res : CORRECT undref2.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") undref3.res : PROBLEM exn = Coccinelle_modules.Yes_prepare_ocamlcocci.LinkFailure("iteration(iteration.cma)", "Not found") unelse.res : CORRECT unfree.res : CORRECT unl.res : CORRECT unstruct.res : INCORRECT:not same number of entities (func, decl, ...) diff (result(<) vs expected_result(>)) = @@ -1,4 +1,2 @@ -foo_t - unused.res : CORRECT updassign.res : CORRECT useless_cast.res : CORRECT using1.res : CORRECT using2.res : INCORRECT:diff token: using VS } File "tests/using2.cpp", line 4, column 1, charpos = 39 around = 'using', whole content = using ns::x; File "tests/using2.res", line 4, column 0, charpos = 38 around = '}', whole content = } diff (result(<) vs expected_result(>)) = @@ -1,5 +1,4 @@ namespace ns { int x; }; int main() { - using ns::x; } using3.res : CORRECT using4.res : CORRECT usingtest.res : seems incorrect, but only because of code that was not parsablediff token: 1 VS 2 File "/tmp/cocci-output-128647-50a3bb-usingtest.cpp", line 12, column 104, charpos = 506 around = '1', whole content = class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<1,TV>>, public ::testing::Test { File "tests/usingtest.res", line 12, column 104, charpos = 506 around = '2', whole content = class TestSpMM_OfAnyTypeSquare: public SquareTestMatrix,std::tuple_element_t<2,TV>>, public ::testing::Test { usingtype.res : CORRECT varargs.res : CORRECT varargs2.res : CORRECT varargs3.res : CORRECT vconstr.res : PROBLEM exn = Not_found video1bis.res : CORRECT virtual_constructor.res : INCORRECT:diff token: int VS } File , line 3, column 14, charpos = 33 around = 'int', whole content = virtual A(){int i;} // warning: constructors cannot be declared ‘virtual’; tolerable with e.g. g++ -fpermissive File "tests/virtual_constructor.res", line 4, column 14, charpos = 34 around = '}', whole content = virtual A(){} // warning: constructors cannot be declared ‘virtual’; tolerable with e.g. g++ -fpermissive diff (result(<) vs expected_result(>)) = @@ -1,7 +1,8 @@ + class A { public: - virtual A(){int i;} // warning: constructors cannot be declared ‘virtual’; tolerable with e.g. g++ -fpermissive - virtual ~A(){int i;} // destructors can be declared 'virtual' + virtual A(){} // warning: constructors cannot be declared ‘virtual’; tolerable with e.g. g++ -fpermissive + virtual ~A(){} // destructors can be declared 'virtual' }; int main(){ A a; void.res : CORRECT vpos.res : CORRECT wchar.res : CORRECT whitespace.res : CORRECT wierd_argument.res : CORRECT wierdinit.res : seems incorrect, but only because of code that was not parsablediff token: dev_link_t VS struct File "tests/wierdinit.c", line 4, column 1, charpos = 27 around = 'dev_link_t', whole content = dev_link_t *link; File "tests/wierdinit.res", line 4, column 1, charpos = 27 around = 'struct', whole content = struct pcmcia_device *link; wrongcheck.res : CORRECT ws2.res : CORRECT xfield.res : CORRECT y2.res : CORRECT zero.res : CORRECT zeroline.res : CORRECT -------------------------------- regression testing information -------------------------------- regression file: tests/SCORE_expected.sexp new test file appeared: 62.res new test file appeared: a.res new test file appeared: a3.res new test file appeared: a3d.res new test file appeared: a_and_e.res new test file appeared: a_and_e_ver1.res new test file appeared: ab.res new test file appeared: action.res new test file appeared: add1.res new test file appeared: addaft.res new test file appeared: addafterdecl.res new test file appeared: addbefore.res new test file appeared: addbeforeafter.res new test file appeared: addcomm.res new test file appeared: addelse.res new test file appeared: addes.res new test file appeared: addfield.res new test file appeared: addfield2.res new test file appeared: addif.res new test file appeared: addif1.res new test file appeared: addif2.res new test file appeared: addifdef.res new test file appeared: addifelse.res new test file appeared: addifelse2.res new test file appeared: addinc.res new test file appeared: addnl.res new test file appeared: addremvec.res new test file appeared: addtoo.res new test file appeared: addtrace.res new test file appeared: after_if.res new test file appeared: aggregate_initialization.res new test file appeared: allex.res new test file appeared: allex2.res new test file appeared: allex3.res new test file appeared: andid.res new test file appeared: anon.res new test file appeared: anonfield.res new test file appeared: ar.res new test file appeared: arg.res new test file appeared: argument.res new test file appeared: arparam.res new test file appeared: array_init.res new test file appeared: array_size.res new test file appeared: arraysz.res new test file appeared: as_stm.res new test file appeared: assign_deref_funcall_in_macro_it.res new test file appeared: attr_with_arguments.res new test file appeared: attradd.res new test file appeared: attribute_order.res new test file appeared: attributeb.res new test file appeared: attributeu.res new test file appeared: attrreplace.res new test file appeared: attrs2groups.res new test file appeared: auto.res new test file appeared: autoloop.res new test file appeared: b1.res new test file appeared: b2.res new test file appeared: bad_iso_example.res new test file appeared: bad_kfree.res new test file appeared: bad_ptr_print.res new test file appeared: bad_typedef.res new test file appeared: badcfg.res new test file appeared: badexp.res new test file appeared: badpos.res new test file appeared: badtypedef.res new test file appeared: badwhen.res new test file appeared: badzero.res new test file appeared: bc_1.res new test file appeared: befS.res new test file appeared: before.res new test file appeared: befored.res new test file appeared: ben.res new test file appeared: bigin.res new test file appeared: bigrepl.res new test file appeared: binop.res new test file appeared: bitfield.res new test file appeared: bitfield_matching.res new test file appeared: bool1.res new test file appeared: boolr.res new test file appeared: bracebraceline.res new test file appeared: braceline.res new test file appeared: braces.res new test file appeared: bracket.res new test file appeared: branchparen.res new test file appeared: break.res new test file appeared: btf.res new test file appeared: bug1.res new test file appeared: bugloop.res new test file appeared: bugon.res new test file appeared: bus.res new test file appeared: cards.res new test file appeared: caseprint.res new test file appeared: cast.res new test file appeared: cast_iso.res new test file appeared: castdecl.res new test file appeared: cdstr.res new test file appeared: cex_snip_field_bad.res new test file appeared: cex_snip_field_ok.res new test file appeared: cex_wishlist_complex1.res new test file appeared: cex_wishlist_complex2.res new test file appeared: cex_wishlist_complex3.res new test file appeared: change.res new test file appeared: change_type.res new test file appeared: changei.res new test file appeared: classfinal.res new test file appeared: cocci_args.res new test file appeared: com.res new test file appeared: comadd.res new test file appeared: comj.res new test file appeared: comma.res new test file appeared: comma_call.res new test file appeared: comma_if.res new test file appeared: comment_brace.res new test file appeared: comment_brace2.res new test file appeared: comment_line.res new test file appeared: comment_middle.res new test file appeared: commentbefore.res new test file appeared: commentbefore2.res new test file appeared: commentend.res new test file appeared: comments.res new test file appeared: compare.res new test file appeared: compare_const.res new test file appeared: compare_const2.res new test file appeared: complexcpp.res new test file appeared: comreturn.res new test file appeared: condexp.res new test file appeared: const.res new test file appeared: const1bis.res new test file appeared: const_adding.res new test file appeared: const_array.res new test file appeared: const_implicit_iso.res new test file appeared: constptr.res new test file appeared: constraints.res new test file appeared: constrem.res new test file appeared: constructor.res new test file appeared: constty.res new test file appeared: constx.res new test file appeared: countcalls.res new test file appeared: countcalls_python.res new test file appeared: cptr.res new test file appeared: cr.res new test file appeared: cr1a.res new test file appeared: cs_check.res new test file appeared: cst.res new test file appeared: cst_null.res new test file appeared: cstr.res new test file appeared: cststr.res new test file appeared: csw.res new test file appeared: cuda.res new test file appeared: cuda1.res new test file appeared: cuda_noattr.res new test file appeared: dbg.res new test file appeared: dbg1.res new test file appeared: dc_close.res new test file appeared: debug.res new test file appeared: dec.res new test file appeared: decadd.res new test file appeared: decdup.res new test file appeared: decdup2.res new test file appeared: decdup3.res new test file appeared: decdup4.res new test file appeared: decl.res new test file appeared: decl2.res new test file appeared: decl_and_ref.res new test file appeared: decl_andand_ref.res new test file appeared: decl_ptr_ref.res new test file appeared: decl_space.res new test file appeared: decl_split.res new test file appeared: decl_star.res new test file appeared: declend.res new test file appeared: declmeta.res new test file appeared: decltype.res new test file appeared: defe.res new test file appeared: define_exp.res new test file appeared: define_param.res new test file appeared: definedots.res new test file appeared: defineinit.res new test file appeared: deftodo.res new test file appeared: del2.res new test file appeared: delete.res new test file appeared: delete_array.res new test file appeared: delete_function.res new test file appeared: delp.res new test file appeared: depfail.res new test file appeared: deref.res new test file appeared: destroy.res new test file appeared: detect_cast_attr.res new test file appeared: detect_macrodecl_attr.res new test file appeared: detect_param_attr.res new test file appeared: detect_struct_endattr.res new test file appeared: detect_struct_gccattr.res new test file appeared: devlink.res new test file appeared: disj.res new test file appeared: disjexpr.res new test file appeared: disjexpr_ver1.res new test file appeared: disjexpr_ver2.res new test file appeared: disjid.res new test file appeared: distribute.res new test file appeared: dotcall.res new test file appeared: dots_comma.res new test file appeared: double.res new test file appeared: double_assign.res new test file appeared: double_lines.res new test file appeared: double_switch.res new test file appeared: doubleconst.res new test file appeared: doubleconst2.res new test file appeared: doubleconst4.res new test file appeared: doublepos.res new test file appeared: doubleswitch.res new test file appeared: doundo.res new test file appeared: dowhile.res new test file appeared: dowhile_4.res new test file appeared: dowhile_for_complex.res new test file appeared: dowhile_nested.res new test file appeared: dropbr.res new test file appeared: dropcom.res new test file appeared: dropenderr.res new test file appeared: dropf.res new test file appeared: dropparam.res new test file appeared: dtest.res new test file appeared: eb1.res new test file appeared: edots.res new test file appeared: edots_ver1.res new test file appeared: efi3.res new test file appeared: elsify.res new test file appeared: empty.res new test file appeared: emptytmp.res new test file appeared: end_attr.res new test file appeared: end_commas.res new test file appeared: endcolon.res new test file appeared: endcomma.res new test file appeared: endif.res new test file appeared: endline.res new test file appeared: endmodif.res new test file appeared: endnl.res new test file appeared: endpos.res new test file appeared: enum.res new test file appeared: enum_assign.res new test file appeared: enumcast.res new test file appeared: enumcpp.res new test file appeared: enumdots.res new test file appeared: exitc.res new test file appeared: exitp.res new test file appeared: exp.res new test file appeared: expnest.res new test file appeared: expopt.res new test file appeared: expopt2.res new test file appeared: expopt3.res new test file appeared: expopt3_ver1.res new test file appeared: expopt3_ver2.res new test file appeared: exprlist_comma.res new test file appeared: exprun.res new test file appeared: extra.res new test file appeared: failing_andany.res new test file appeared: far.res new test file appeared: far2.res new test file appeared: fields.res new test file appeared: fieldsmin.res new test file appeared: fieldtmp.res new test file appeared: finalclass.res new test file appeared: finalize_only.res new test file appeared: find_long.res new test file appeared: firstdecl.res new test file appeared: fix_flow_need.res new test file appeared: flex.res new test file appeared: fn_todo.res new test file appeared: fnptr.res new test file appeared: fnret.res new test file appeared: fnty.res new test file appeared: fntypedef.res new test file appeared: forc.res new test file appeared: fordots.res new test file appeared: format.res new test file appeared: format2.res new test file appeared: formatlist.res new test file appeared: forrange.res new test file appeared: forrange2.res new test file appeared: fortest.res new test file appeared: fortype.res new test file appeared: four.res new test file appeared: foura.res new test file appeared: fp.res new test file appeared: fptr.res new test file appeared: fptr2.res new test file appeared: fptr3.res new test file appeared: fresh_id_script.res new test file appeared: fsh.res new test file appeared: fun.res new test file appeared: func.res new test file appeared: funptr_array.res new test file appeared: gadget_allocate.res new test file appeared: gadget_gather_scatter.res new test file appeared: gadget_invalidate.res new test file appeared: gadget_mark_used_fields.res new test file appeared: gadget_misc.res new test file appeared: gadget_ninelets_typedef.res new test file appeared: gadget_patch.res new test file appeared: gadget_remove_mpi_function_calls.res new test file appeared: gadget_remove_used_fields.res new test file appeared: gadget_sentinel.res new test file appeared: gadget_soa_defs.res new test file appeared: gadget_soa_select.res new test file appeared: gadget_sorting_hook.res new test file appeared: gadget_triplets_typedef.res new test file appeared: gadget_triplets_typedef_ipcc.res new test file appeared: gcc_attr_with_func.res new test file appeared: gcc_attr_with_var.res new test file appeared: gcc_min_max.res new test file appeared: getc.res new test file appeared: gilles-question.res new test file appeared: globali.res new test file appeared: gotobreak.res new test file appeared: hashhash.res new test file appeared: hd.res new test file appeared: headers.res new test file appeared: hex.res new test file appeared: hil1.res new test file appeared: icomma.res new test file appeared: id3.res new test file appeared: id4.res new test file appeared: idcon_ocaml.res new test file appeared: idcon_python.res new test file appeared: idstr.res new test file appeared: if.res new test file appeared: ifadd.res new test file appeared: ifbr.res new test file appeared: ifd.res new test file appeared: ifdef1.res new test file appeared: ifdef2.res new test file appeared: ifdef3.res new test file appeared: ifdef4.res new test file appeared: ifdef5.res new test file appeared: ifdef6.res new test file appeared: ifdef6a.res new test file appeared: ifdefmeta.res new test file appeared: ifdefmeta1.res new test file appeared: ifdefmeta2.res new test file appeared: ifdefmeta3.res new test file appeared: ifdefmeta4.res new test file appeared: ifend.res new test file appeared: ifgoto.res new test file appeared: ifields.res new test file appeared: ifif.res new test file appeared: ifreturn.res new test file appeared: ifreturn3.res new test file appeared: ifreturn4.res new test file appeared: ifreturn6.res new test file appeared: ifzer.res new test file appeared: ifzz.res new test file appeared: inc.res new test file appeared: incdir.res new test file appeared: incl.res new test file appeared: incl2.res new test file appeared: inclifdef.res new test file appeared: include.res new test file appeared: incompatible_value.res new test file appeared: incpos.res new test file appeared: incpos1.res new test file appeared: inh1.res new test file appeared: inherited.res new test file appeared: inherited_ver1.res new test file appeared: inhmet.res new test file appeared: inhpos.res new test file appeared: init3tst.res new test file appeared: initializer.res new test file appeared: initializer_many_fields.res new test file appeared: initpython.res new test file appeared: inline.res new test file appeared: insdef.res new test file appeared: instfour.res new test file appeared: instruct.res new test file appeared: int2bool-local.res new test file appeared: introbrace.res new test file appeared: invert.res new test file appeared: ip.res new test file appeared: ip2.res new test file appeared: isococci.res new test file appeared: isoif.res new test file appeared: isotest.res new test file appeared: isotest2.res new test file appeared: iteration.res new test file appeared: iteration_after_merge.res new test file appeared: iterator.res new test file appeared: iterprint.res new test file appeared: jloop1.res new test file appeared: julia10.res new test file appeared: julia7.res new test file appeared: justremove.res new test file appeared: keep_comma.res new test file appeared: km.res new test file appeared: kmalloc.res new test file appeared: kmc.res new test file appeared: kmtest4.res new test file appeared: kr.res new test file appeared: ktype.res new test file appeared: ktype2.res new test file appeared: labels_metastatement.res new test file appeared: labels_metastatement_ver1.res new test file appeared: lessone.res new test file appeared: lfe.res new test file appeared: lid.res new test file appeared: line_before_last.res new test file appeared: lineseq.res new test file appeared: list_initialization.res new test file appeared: list_test.res new test file appeared: local.res new test file appeared: local_macro_fn_def_and_call.res new test file appeared: localglobal.res new test file appeared: localid.res new test file appeared: localmacroparams.res new test file appeared: log.res new test file appeared: long.res new test file appeared: longconst.res new test file appeared: longline2.res new test file appeared: longlong.res new test file appeared: longlongint.res new test file appeared: loop.res new test file appeared: lvalue.res new test file appeared: macro.res new test file appeared: macro_before_bool.res new test file appeared: macro_int16.res new test file appeared: macro_params.res new test file appeared: macro_stmt_when_fn_type.res new test file appeared: match_init.res new test file appeared: match_no_meta.res new test file appeared: max.res new test file appeared: md1.res new test file appeared: md2.res new test file appeared: md3.res new test file appeared: mdadd.res new test file appeared: mdec.res new test file appeared: mdecl.res new test file appeared: mdeclp.res new test file appeared: mdeclp2.res new test file appeared: mdeclrep.res new test file appeared: mdindex.res new test file appeared: memory.res new test file appeared: merge_after_iteration.res new test file appeared: metaattr.res new test file appeared: metahex.res new test file appeared: metaline.res new test file appeared: metaops.res new test file appeared: metaops0.res new test file appeared: metaruleelem.res new test file appeared: metastatement2.res new test file appeared: metastatement_for.res new test file appeared: metastatement_if.res new test file appeared: mincom.res new test file appeared: minenum.res new test file appeared: minenum1.res new test file appeared: minfn.res new test file appeared: mini_null_ref.res new test file appeared: miniclass.res new test file appeared: miniswap.res new test file appeared: minstruct.res new test file appeared: minusdots.res new test file appeared: minusdots_ver1.res new test file appeared: move_type.res new test file appeared: multi.res new test file appeared: multi_func1.res new test file appeared: multi_initialize_finalize.res new test file appeared: multichars.res new test file appeared: multidec.res new test file appeared: multidecl3.res new test file appeared: multipath.res new test file appeared: multiplus.res new test file appeared: multiremove.res new test file appeared: multistruct.res new test file appeared: multitype.res new test file appeared: multitypedef.res new test file appeared: multivars.res new test file appeared: mv.res new test file appeared: na.res new test file appeared: nameless.res new test file appeared: nest.res new test file appeared: nestadd.res new test file appeared: nestone.res new test file appeared: nestseq.res new test file appeared: neststruct.res new test file appeared: new.res new test file appeared: newsimple.res new test file appeared: nl.res new test file appeared: noa.res new test file appeared: nocast.res new test file appeared: noexcept.res new test file appeared: noret.res new test file appeared: not.res new test file appeared: notest.res new test file appeared: notnot.res new test file appeared: notpp.res new test file appeared: noty.res new test file appeared: noty2.res new test file appeared: null_bool.res new test file appeared: null_type.res new test file appeared: oddifdef.res new test file appeared: of.res new test file appeared: oneline.res new test file appeared: op.res new test file appeared: opeq.res new test file appeared: opt.res new test file appeared: optional_qualifier.res new test file appeared: optional_storage.res new test file appeared: orexp.res new test file appeared: output.res new test file appeared: output_init.res new test file appeared: overshoot.res new test file appeared: p1p2.res new test file appeared: p9.res new test file appeared: pa.res new test file appeared: packed.res new test file appeared: param.res new test file appeared: param_end.res new test file appeared: param_to_exp.res new test file appeared: param_ver1.res new test file appeared: parameters_dots.res new test file appeared: parenmac.res new test file appeared: partial.res new test file appeared: partialmd.res new test file appeared: partialmd2.res new test file appeared: partialmd3.res new test file appeared: pb_distribute_type.res new test file appeared: pb_distribute_type2.res new test file appeared: pb_distribute_type3.res new test file appeared: pb_distribute_type4.res new test file appeared: pb_params_iso.res new test file appeared: pb_parsing_macro.res new test file appeared: pb_tag_symbols.res new test file appeared: pcim.res new test file appeared: pcomma.res new test file appeared: pif.res new test file appeared: plus33.res new test file appeared: pmac.res new test file appeared: poscon.res new test file appeared: posiso.res new test file appeared: positionc.res new test file appeared: post.res new test file appeared: pragma2.res new test file appeared: pragma2a.res new test file appeared: pragma3.res new test file appeared: pragmatest1.res new test file appeared: pragmatest2.res new test file appeared: print_return.res new test file appeared: proto.res new test file appeared: proto2.res new test file appeared: proto_ver1.res new test file appeared: proto_ver2.res new test file appeared: protoassert.res new test file appeared: protocpp.res new test file appeared: protox.res new test file appeared: ptrar.res new test file appeared: ptrconstptr.res new test file appeared: putloop.res new test file appeared: python_iteration.res new test file appeared: python_mdecl.res new test file appeared: python_mdeclp.res new test file appeared: python_poscon.res new test file appeared: qcom.res new test file appeared: qual.res new test file appeared: qualclass.res new test file appeared: qualifier.res new test file appeared: range.res new test file appeared: rb.res new test file appeared: rcu3.res new test file appeared: refl.res new test file appeared: regesc.res new test file appeared: regexp.res new test file appeared: regexp2.res new test file appeared: regexp3.res new test file appeared: relevant_position.res new test file appeared: rem1.res new test file appeared: rem2.res new test file appeared: remaft.res new test file appeared: remcom.res new test file appeared: remcom2.res new test file appeared: remodif.res new test file appeared: remove-code-in-branch1.res new test file appeared: remove_call.res new test file appeared: remove_cast_attr.res new test file appeared: remove_cast_attr_allminus.res new test file appeared: remove_macrodecl_attr.res new test file appeared: remove_metaattr.res new test file appeared: remove_param_attrs.res new test file appeared: remove_struct_endattr.res new test file appeared: remove_struct_endattr_allminus.res new test file appeared: remparam.res new test file appeared: rems.res new test file appeared: rems1.res new test file appeared: remstruct.res new test file appeared: remu.res new test file appeared: replace_typedef.res new test file appeared: replacement3.res new test file appeared: reserved.res new test file appeared: retest.res new test file appeared: retmacro.res new test file appeared: rets.res new test file appeared: return.res new test file appeared: return_implicit.res new test file appeared: retval.res new test file appeared: retval2.res new test file appeared: reusevar.res new test file appeared: ringbuf.res new test file appeared: roa.res new test file appeared: roinit.res new test file appeared: rptr.res new test file appeared: saft.res new test file appeared: saft2.res new test file appeared: same_expr.res new test file appeared: sbef.res new test file appeared: sbef2.res new test file appeared: scope_problem.res new test file appeared: sd_2.res new test file appeared: serio.res new test file appeared: shared_brace.res new test file appeared: signed.res new test file appeared: sis.res new test file appeared: sizeof.res new test file appeared: sizeof_julia.res new test file appeared: sizeptr.res new test file appeared: sizestar.res new test file appeared: sizet.res new test file appeared: sizet1.res new test file appeared: skip.res new test file appeared: sl2.res new test file appeared: slen.res new test file appeared: smallfn.res new test file appeared: snip_field.res new test file appeared: snprintf.res new test file appeared: sp.res new test file appeared: spaces.res new test file appeared: spacing.res new test file appeared: spl.res new test file appeared: split_funcall1.res new test file appeared: split_funcall2.res new test file appeared: square.res new test file appeared: starprint.res new test file appeared: static.res new test file appeared: stm1.res new test file appeared: stm10.res new test file appeared: stm10_ver1.res new test file appeared: stm2.res new test file appeared: stm3.res new test file appeared: stm4.res new test file appeared: stm5.res new test file appeared: stm6.res new test file appeared: stm7.res new test file appeared: stm8.res new test file appeared: stm_exp.res new test file appeared: stmt.res new test file appeared: stmt_removed_and_added.res new test file appeared: str_init.res new test file appeared: strangeorder.res new test file appeared: strid.res new test file appeared: strid2.res new test file appeared: string.res new test file appeared: strtest.res new test file appeared: struct.res new test file appeared: struct_metavar.res new test file appeared: struct_typedef.res new test file appeared: structfoo.res new test file appeared: structptr_func.res new test file appeared: substruct.res new test file appeared: sw.res new test file appeared: swap3.res new test file appeared: switch.res new test file appeared: switchdecl.res new test file appeared: symbol.res new test file appeared: td.res new test file appeared: tdnl.res new test file appeared: tdplus.res new test file appeared: template_test.res new test file appeared: templates1.res new test file appeared: tern.res new test file appeared: test0.res new test file appeared: test1.res new test file appeared: test10.res new test file appeared: test10_ver1.res new test file appeared: test11.res new test file appeared: test11_ver1.res new test file appeared: test12.res new test file appeared: test2.res new test file appeared: test3.res new test file appeared: test4.res new test file appeared: test5.res new test file appeared: test5_ver1.res new test file appeared: test6.res new test file appeared: test7.res new test file appeared: test8.res new test file appeared: test9.res new test file appeared: test_s.res new test file appeared: test_unsigned_meta.res new test file appeared: testand.res new test file appeared: testand2.res new test file appeared: three_types.res new test file appeared: threea.res new test file appeared: tloop.res new test file appeared: tmpinit.res new test file appeared: tmpinst2.res new test file appeared: tmpinst4.res new test file appeared: tmpinst5.res new test file appeared: top.res new test file appeared: topdec.res new test file appeared: topdec_ver1.res new test file appeared: topdec_ver2.res new test file appeared: topdecl.res new test file appeared: toplevel_macrostmt.res new test file appeared: toplevel_struct.res new test file appeared: triplet.res new test file appeared: try_catch.res new test file appeared: try_catch2.res new test file appeared: tup.res new test file appeared: twomatch.res new test file appeared: twoproto.res new test file appeared: ty.res new test file appeared: ty1.res new test file appeared: ty_tyexp.res new test file appeared: tydisj.res new test file appeared: tyex.res new test file appeared: type.res new test file appeared: type1.res new test file appeared: type_and_var.res new test file appeared: type_and_var2.res new test file appeared: type_annotated.res new test file appeared: type_constraints.res new test file appeared: type_ver1.res new test file appeared: type_ver2.res new test file appeared: typedef.res new test file appeared: typedef3.res new test file appeared: typedef_double.res new test file appeared: typeof.res new test file appeared: typeof_expr.res new test file appeared: typin.res new test file appeared: uc.res new test file appeared: unbrace.res new test file appeared: undref.res new test file appeared: undref2.res new test file appeared: undref3.res new test file appeared: unelse.res new test file appeared: unfree.res new test file appeared: unl.res new test file appeared: unstruct.res new test file appeared: unused.res new test file appeared: updassign.res new test file appeared: useless_cast.res new test file appeared: using1.res new test file appeared: using2.res new test file appeared: using3.res new test file appeared: using4.res new test file appeared: usingtest.res new test file appeared: usingtype.res new test file appeared: varargs.res new test file appeared: varargs2.res new test file appeared: varargs3.res new test file appeared: vconstr.res new test file appeared: video1bis.res new test file appeared: virtual_constructor.res new test file appeared: void.res new test file appeared: vpos.res new test file appeared: wchar.res new test file appeared: whitespace.res new test file appeared: wierd_argument.res new test file appeared: wierdinit.res new test file appeared: wrongcheck.res new test file appeared: ws2.res new test file appeared: xfield.res new test file appeared: y2.res new test file appeared: zero.res new test file appeared: zeroline.res -------------------------------- total score -------------------------------- good = 662/767 Current score is greater than expected :) (was expecting 0 but got 662) make[2]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' debian/rules override_dh_auto_test-indep make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' # nothing make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' create-stamp debian/debhelper-build-stamp dh_prep dh_installdirs debian/rules override_dh_auto_install-arch make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' /usr/bin/make DESTDIR=/build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle install install-bash make[2]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' mkdir -p /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/bin /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle mkdir -p /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle/ocaml if test -f bundles/pyml/dllpyml_stubs.so; then \ /usr/bin/install -c -m 755 bundles/pyml/dllpyml_stubs.so \ /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle; \ fi if test -f bundles/pcre/dllpcre_stubs.so; then \ /usr/bin/install -c -m 755 bundles/pcre/dllpcre_stubs.so \ /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle; \ fi /usr/bin/install -c -m 755 spatch /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/bin/spatch /usr/bin/install -c -m 644 standard.h /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle /usr/bin/install -c -m 644 standard.iso /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle /usr/bin/install -c -m 644 ocaml/*.cmi /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle/ocaml/ if test -f ocaml/coccilib.cmx; then \ /usr/bin/install -c -m 644 ocaml/*.cmx /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle/ocaml/; \ fi /usr/bin/install -c -m 755 tools/spgen/source/spgen \ /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/bin/spgen mkdir -p /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle/python/coccilib /usr/bin/install -c -m 644 python/coccilib/*.py \ /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/lib/coccinelle/python/coccilib if test "x/usr/share/bash-completion/completions" != "xno"; then \ mkdir -p /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/bash-completion/completions; \ /usr/bin/install -c -m 644 scripts/spatch.bash_completion \ /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/bash-completion/completions/spatch; \ fi mkdir -p /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/man/man1 mkdir -p /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/man/man3 /usr/bin/install -c -m 644 docs/spatch.1 /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/man/man1/ /usr/bin/install -c -m 644 docs/pycocci.1 /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/man/man1/ /usr/bin/install -c -m 644 docs/spgen.1 /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/man/man1/ /usr/bin/install -c -m 644 docs/Coccilib.3cocci /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/man/man3/ make[2]: Nothing to be done for 'install-bash'. make[2]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' # Vim files install -d /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/vim/addons/ftdetect /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/vim/addons/syntax cp /build/reproducible-path/coccinelle-1.2.deb/editors/vim/ftdetect/cocci.vim /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/vim/addons/ftdetect/ cp /build/reproducible-path/coccinelle-1.2.deb/editors/vim/syntax/cocci.vim /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/vim/addons/syntax/ install -d /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/vim/registry cp /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle.yaml /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/vim/registry/ # Emacs files cp /build/reproducible-path/coccinelle-1.2.deb/editors/emacs/cocci.el /build/reproducible-path/coccinelle-1.2.deb/debian/coccinelle/usr/share/emacs/site-lisp/ make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' debian/rules override_dh_auto_install-indep make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' # Nothing make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' dh_ocamldoc dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_installemacsen dh_python3 dh_perl dh_link dh_strip_nondeterminism debian/rules override_dh_compress make[1]: Entering directory '/build/reproducible-path/coccinelle-1.2.deb' dh_compress -X.pdf -X.cocci -X.c make[1]: Leaving directory '/build/reproducible-path/coccinelle-1.2.deb' dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux.so.2.usr-is-merged dh_installdeb dh_ocaml W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit Parsing_stat W: coccinelle doesn't resolve dependency on unit Token_views_c W: coccinelle doesn't resolve dependency on unit Token_annot W: coccinelle doesn't resolve dependency on unit Cpp_token_c W: coccinelle doesn't resolve dependency on unit Ograph_extended W: coccinelle doesn't resolve dependency on unit Lexer_parser dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.2.deb-1_i386.deb'. dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.2.deb-1_all.deb'. dpkg-deb: building package 'coccinelle' in '../coccinelle_1.2.deb-1_i386.deb'. dpkg-genbuildinfo --build=binary -O../coccinelle_1.2.deb-1_i386.buildinfo dpkg-genchanges --build=binary -O../coccinelle_1.2.deb-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/99521 and its subdirectories I: Current time: Tue Nov 25 05:44:48 -12 2025 I: pbuilder-time-stamp: 1764092688 Wed Oct 23 11:21:50 UTC 2024 I: 1st build successful. Starting 2nd build on remote node ionos2-i386.debian.net. Wed Oct 23 11:21:50 UTC 2024 I: Preparing to do remote build '2' on ionos2-i386.debian.net. Wed Oct 23 11:32:35 UTC 2024 I: Deleting $TMPDIR on ionos2-i386.debian.net. Wed Oct 23 11:32:35 UTC 2024 I: coccinelle_1.2.deb-1_i386.changes: Format: 1.8 Date: Sat, 13 Jul 2024 14:01:27 +0200 Source: coccinelle Binary: coccinelle coccinelle-dbgsym coccinelle-doc Architecture: i386 all Version: 1.2.deb-1 Distribution: unstable Urgency: medium Maintainer: Debian OCaml Maintainers Changed-By: Stéphane Glondu Description: coccinelle - semantic patching tool for C coccinelle-doc - documentation for coccinelle Changes: coccinelle (1.2.deb-1) unstable; urgency=medium . * Team upload * New upstream release Checksums-Sha1: fd11404c13f7957967bb9d27c6df6efe4636e712 56004 coccinelle-dbgsym_1.2.deb-1_i386.deb 47fb1de1deb1ad74e9594c3c6008f65670bdc303 769700 coccinelle-doc_1.2.deb-1_all.deb e2866632f43eaaae52a43b11a484aa24f975e4fd 10420 coccinelle_1.2.deb-1_i386.buildinfo 3f9a14cf35f6b7fadffe720ac7a242870e133242 1714588 coccinelle_1.2.deb-1_i386.deb Checksums-Sha256: 62cbeb5422797bfd7cb2225fdd421669dcc69b9f86f5d947715c0f00c37997e5 56004 coccinelle-dbgsym_1.2.deb-1_i386.deb 4b2eb108768afcecc7c8edaa1c21f2e97b4d2e649fe65013ffa39509efea7829 769700 coccinelle-doc_1.2.deb-1_all.deb a49a7282d0b661ccd146c3d776d3532a43e74f88daf4c2add4c066281160318a 10420 coccinelle_1.2.deb-1_i386.buildinfo 2c31c1bf2dc7e58c31998efd55b559eb17e8cc9d948e0ad6f7c02c0ab2282bc6 1714588 coccinelle_1.2.deb-1_i386.deb Files: c3a625147cf967ca5d01c65a3fc43b75 56004 debug optional coccinelle-dbgsym_1.2.deb-1_i386.deb 6b01e1572cdc188457101e4979f1f916 769700 doc optional coccinelle-doc_1.2.deb-1_all.deb 765833019f1d3e505f38d34f548cf185 10420 devel optional coccinelle_1.2.deb-1_i386.buildinfo 916e291e7d2254e98bbb532431189df4 1714588 devel optional coccinelle_1.2.deb-1_i386.deb Wed Oct 23 11:32:37 UTC 2024 I: diffoscope 281 will be used to compare the two builds: Running as unit: rb-diffoscope-i386_4-37175.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.kH1PbaSP/coccinelle_1.2.deb-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.kH1PbaSP/coccinelle_1.2.deb-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.kH1PbaSP/coccinelle_1.2.deb-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.kH1PbaSP/b1/coccinelle_1.2.deb-1_i386.changes /srv/reproducible-results/rbuild-debian/r-b-build.kH1PbaSP/b2/coccinelle_1.2.deb-1_i386.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.421s) 0.421s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.045s) 0.045s 12 calls diffoscope.comparators.binary.FilesystemFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 771ms CPU time consumed: 770ms Wed Oct 23 11:32:38 UTC 2024 I: diffoscope 281 found no differences in the changes files, and a .buildinfo file also exists. Wed Oct 23 11:32:38 UTC 2024 I: coccinelle from unstable built successfully and reproducibly on i386. Wed Oct 23 11:32:40 UTC 2024 I: Submitting .buildinfo files to external archives: Wed Oct 23 11:32:40 UTC 2024 I: Submitting 12K b1/coccinelle_1.2.deb-1_i386.buildinfo.asc Wed Oct 23 11:32:41 UTC 2024 I: Submitting 12K b2/coccinelle_1.2.deb-1_i386.buildinfo.asc Wed Oct 23 11:32:41 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Wed Oct 23 11:32:41 UTC 2024 I: Done submitting .buildinfo files. Wed Oct 23 11:32:41 UTC 2024 I: Removing signed coccinelle_1.2.deb-1_i386.buildinfo.asc files: removed './b1/coccinelle_1.2.deb-1_i386.buildinfo.asc' removed './b2/coccinelle_1.2.deb-1_i386.buildinfo.asc'