Wed Jul 17 06:05:50 UTC 2024 I: starting to build coccinelle/unstable/armhf on jenkins on '2024-07-17 06:05' Wed Jul 17 06:05:50 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_18/6526/console.log Wed Jul 17 06:05:50 UTC 2024 I: Downloading source for unstable/coccinelle=1.2.deb-1 --2024-07-17 06:05:51-- 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% 257M=0s 2024-07-17 06:05:51 (257 MB/s) - ‘coccinelle_1.2.deb-1.dsc’ saved [2179/2179] Wed Jul 17 06:05:51 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 Jul 17 06:05:51 UTC 2024 I: Checking whether the package is not for us Wed Jul 17 06:05:51 UTC 2024 I: Starting 1st build on remote node ff64a-armhf-rb.debian.net. Wed Jul 17 06:05:51 UTC 2024 I: Preparing to do remote build '1' on ff64a-armhf-rb.debian.net. Wed Jul 17 06:52:34 UTC 2024 I: Deleting $TMPDIR on ff64a-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Tue Jul 16 18:05:59 -12 2024 I: pbuilder-time-stamp: 1721196359 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: 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/30107/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='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='8c6c500eea154108b38d708eb8b1c30a' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' 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='30107' 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.Y41pGE1f/pbuilderrc_yG15 --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.Y41pGE1f/b1 --logfile b1/build.log coccinelle_1.2.deb-1.dsc' SUDO_GID='114' SUDO_UID='109' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux ff64a 6.1.0-22-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin I: user script /srv/workspace/pbuilder/30107/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: armhf 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 ... 19503 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} 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} 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} 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} 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} 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-minimal{a} python3-pkg-resources{a} python3-setuptools{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, 175 newly installed, 0 to remove and 0 not upgraded. Need to get 895 MB of archives. After unpacking 2713 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libfftw3-double3 armhf 3.3.10-1+b3 [331 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.2-1 [83.5 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf libbrotli1 armhf 1.1.0-2+b4 [293 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf libpng16-16t64 armhf 1.6.43-5 [262 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf libfreetype6 armhf 2.13.2+dfsg-1+b4 [372 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf libfontenc1 armhf 1:1.1.8-1 [20.6 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf x11-common all 1:7.7+23 [252 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf xfonts-encodings all 1:1.0.4-2.2 [577 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf xfonts-utils armhf 1:7.7+6 [84.5 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf fonts-urw-base35 all 20200910-8 [10.8 MB] Get: 11 http://deb.debian.org/debian unstable/main armhf fontconfig-config armhf 2.15.0-1.1 [317 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf libfontconfig1 armhf 2.15.0-1.1 [370 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf libsharpyuv0 armhf 1.4.0-0.1 [111 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf libdav1d7 armhf 1.4.3-1 [256 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf libheif-plugin-dav1d armhf 1.17.6-4+b2 [9888 B] Get: 16 http://deb.debian.org/debian unstable/main armhf libde265-0 armhf 1.0.15-1+b1 [145 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf libheif-plugin-libde265 armhf 1.17.6-4+b2 [12.6 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf libheif1 armhf 1.17.6-4+b2 [243 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libjbig0 armhf 2.1-6.1+b1 [27.3 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf libjpeg62-turbo armhf 1:2.1.5-3 [143 kB] Get: 21 http://deb.debian.org/debian unstable/main armhf liblcms2-2 armhf 2.14-2+b1 [126 kB] Get: 22 http://deb.debian.org/debian unstable/main armhf libglib2.0-0t64 armhf 2.80.4-1 [1314 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf liblqr-1-0 armhf 0.4.2-2.1+b1 [23.6 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf libltdl7 armhf 2.4.7-7+b1 [390 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf libopenjp2-7 armhf 2.5.0-2+b3 [170 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf libraw23t64 armhf 0.21.2-2.1 [373 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf libdeflate0 armhf 1.20-1 [35.9 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf liblerc4 armhf 4.0.0+ds-4+b1 [137 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf libwebp7 armhf 1.4.0-0.1 [265 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf libtiff6 armhf 4.5.1+git230720-4 [301 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf libwebpdemux2 armhf 1.4.0-0.1 [110 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf libwebpmux3 armhf 1.4.0-0.1 [120 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf libxau6 armhf 1:1.0.9-1+b1 [17.4 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf libxdmcp6 armhf 1:1.1.2-3+b1 [23.0 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf libxcb1 armhf 1.17.0-2 [140 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf libx11-data all 2:1.8.7-1 [328 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf libx11-6 armhf 2:1.8.7-1+b1 [739 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf libxext6 armhf 2:1.3.4-1+b1 [47.8 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-5 [9075 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg-3+b1 [583 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf imagemagick-6-common all 8:6.9.13.12+dfsg1-1 [67.3 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf libmagickcore-6.q16-7t64 armhf 8:6.9.13.12+dfsg1-1 [1562 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf libmagickwand-6.q16-7t64 armhf 8:6.9.13.12+dfsg1-1 [302 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf poppler-data all 0.4.12-1 [1601 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.4-3 [798 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.4-3 [1795 kB] Get: 47 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.12.3-1 [26.5 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf tzdata all 2024a-4 [255 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-4 [69.3 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-4 [145 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.4-3 [1812 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.4-3 [664 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.12.3-1 [9472 B] Get: 56 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.12.3-1 [27.5 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3 [314 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3 [98.1 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3 [42.0 kB] Get: 61 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.22.5-1 [195 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-5 [1091 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40.2-1 [87.8 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.12.1-2 [1376 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf ucf all 3.0043+nmu1 [55.2 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf autoconf all 2.71-3 [332 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf autopoint all 0.22.5-1 [723 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.16 [88.6 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-7 [517 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 78 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 79 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.191-2 [183 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.22.5-1 [1479 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 84 http://deb.debian.org/debian unstable/main armhf debhelper all 13.16 [891 kB] Get: 85 http://deb.debian.org/debian unstable/main armhf dh-ocaml all 2.1 [69.4 kB] Get: 86 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 70.3.0-2 [264 kB] Get: 87 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 70.3.0-2 [504 kB] Get: 88 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20240603 [109 kB] Get: 89 http://deb.debian.org/debian unstable/main armhf fonts-lmodern all 2.005-1 [4540 kB] Get: 90 http://deb.debian.org/debian unstable/main armhf libgs-common all 10.03.1~dfsg-1 [148 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf libgs10-common all 10.03.1~dfsg-1 [474 kB] Get: 92 http://deb.debian.org/debian unstable/main armhf libavahi-common-data armhf 0.8-13+b2 [112 kB] Get: 93 http://deb.debian.org/debian unstable/main armhf libavahi-common3 armhf 0.8-13+b2 [40.2 kB] Get: 94 http://deb.debian.org/debian unstable/main armhf libdbus-1-3 armhf 1.14.10-4+b1 [181 kB] Get: 95 http://deb.debian.org/debian unstable/main armhf libavahi-client3 armhf 0.8-13+b2 [43.4 kB] Get: 96 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.21.3-3 [30.0 kB] Get: 97 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.1-1 [22.1 kB] Get: 98 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.21.3-3 [75.8 kB] Get: 99 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-3 [7908 B] Get: 100 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.21.3-3 [283 kB] Get: 101 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.21.3-3 [114 kB] Get: 102 http://deb.debian.org/debian unstable/main armhf libcups2t64 armhf 2.4.10-1 [215 kB] Get: 103 http://deb.debian.org/debian unstable/main armhf libidn12 armhf 1.42-2 [77.7 kB] Get: 104 http://deb.debian.org/debian unstable/main armhf libijs-0.35 armhf 0.35-15.1+b1 [13.4 kB] Get: 105 http://deb.debian.org/debian unstable/main armhf libjbig2dec0 armhf 0.20-1+b2 [56.1 kB] Get: 106 http://deb.debian.org/debian unstable/main armhf libpaper1 armhf 1.1.29+b1 [12.2 kB] Get: 107 http://deb.debian.org/debian unstable/main armhf libice6 armhf 2:1.0.10-1+b1 [50.1 kB] Get: 108 http://deb.debian.org/debian unstable/main armhf libsm6 armhf 2:1.2.3-1+b1 [31.7 kB] Get: 109 http://deb.debian.org/debian unstable/main armhf libxt6t64 armhf 1:1.2.1-1.2 [159 kB] Get: 110 http://deb.debian.org/debian unstable/main armhf libgs10 armhf 10.03.1~dfsg-1 [2143 kB] Get: 111 http://deb.debian.org/debian unstable/main armhf ghostscript armhf 10.03.1~dfsg-1 [50.0 kB] Get: 112 http://deb.debian.org/debian unstable/main armhf libnetpbm11t64 armhf 2:11.07.00-2 [166 kB] Get: 113 http://deb.debian.org/debian unstable/main armhf netpbm armhf 2:11.07.00-2 [1905 kB] Get: 114 http://deb.debian.org/debian unstable/main armhf tex-common all 6.18 [32.5 kB] Get: 115 http://deb.debian.org/debian unstable/main armhf libpaper-utils armhf 1.1.29+b1 [8700 B] Get: 116 http://deb.debian.org/debian unstable/main armhf libkpathsea6 armhf 2024.20240313.70630+ds-2 [146 kB] Get: 117 http://deb.debian.org/debian unstable/main armhf libptexenc1 armhf 2024.20240313.70630+ds-2 [44.0 kB] Get: 118 http://deb.debian.org/debian unstable/main armhf libsynctex2 armhf 2024.20240313.70630+ds-2 [48.8 kB] Get: 119 http://deb.debian.org/debian unstable/main armhf libtexlua53-5 armhf 2024.20240313.70630+ds-2 [82.4 kB] Get: 120 http://deb.debian.org/debian unstable/main armhf t1utils armhf 1.41-4 [54.7 kB] Get: 121 http://deb.debian.org/debian unstable/main armhf libpixman-1-0 armhf 0.42.2-1+b1 [476 kB] Get: 122 http://deb.debian.org/debian unstable/main armhf libxcb-render0 armhf 1.17.0-2 [114 kB] Get: 123 http://deb.debian.org/debian unstable/main armhf libxcb-shm0 armhf 1.17.0-2 [105 kB] Get: 124 http://deb.debian.org/debian unstable/main armhf libxrender1 armhf 1:0.9.10-1.1+b1 [24.9 kB] Get: 125 http://deb.debian.org/debian unstable/main armhf libcairo2 armhf 1.18.0-3+b1 [442 kB] Get: 126 http://deb.debian.org/debian unstable/main armhf libgraphite2-3 armhf 1.3.14-2 [63.2 kB] Get: 127 http://deb.debian.org/debian unstable/main armhf libharfbuzz0b armhf 8.3.0-2+b1 [2156 kB] Get: 128 http://deb.debian.org/debian unstable/main armhf libmpfi0 armhf 1.5.4+ds-3 [28.6 kB] Get: 129 http://deb.debian.org/debian unstable/main armhf libpotrace0 armhf 1.16-2+b1 [22.6 kB] Get: 130 http://deb.debian.org/debian unstable/main armhf libteckit0 armhf 2.5.12+ds1-1 [259 kB] Get: 131 http://deb.debian.org/debian unstable/main armhf libxmu6 armhf 2:1.1.3-3+b2 [50.9 kB] Get: 132 http://deb.debian.org/debian unstable/main armhf libxpm4 armhf 1:3.5.17-1+b1 [50.0 kB] Get: 133 http://deb.debian.org/debian unstable/main armhf libxaw7 armhf 2:1.0.14-1+b2 [165 kB] Get: 134 http://deb.debian.org/debian unstable/main armhf libxi6 armhf 2:1.8.1-1 [73.8 kB] Get: 135 http://deb.debian.org/debian unstable/main armhf libzzip-0-13t64 armhf 0.13.72+dfsg.1-1.2+b1 [53.0 kB] Get: 136 http://deb.debian.org/debian unstable/main armhf texlive-binaries armhf 2024.20240313.70630+ds-2 [6042 kB] Get: 137 http://deb.debian.org/debian unstable/main armhf xdg-utils all 1.1.3-4.1 [75.5 kB] Get: 138 http://deb.debian.org/debian unstable/main armhf texlive-base all 2024.20240706-1 [22.7 MB] Get: 139 http://deb.debian.org/debian unstable/main armhf hicolor-icon-theme all 0.18-1 [12.0 kB] Get: 140 http://deb.debian.org/debian unstable/main armhf imagemagick-6.q16 armhf 8:6.9.13.12+dfsg1-1 [290 kB] Get: 141 http://deb.debian.org/debian unstable/main armhf imagemagick armhf 8:6.9.13.12+dfsg1-1 [19.6 kB] Get: 142 http://deb.debian.org/debian unstable/main armhf hevea armhf 2.36-2+b1 [1787 kB] Get: 143 http://deb.debian.org/debian unstable/main armhf libapache-pom-java all 29-2 [5276 B] Get: 144 http://deb.debian.org/debian unstable/main armhf libcommons-parent-java all 56-1 [10.8 kB] Get: 145 http://deb.debian.org/debian unstable/main armhf libcommons-logging-java all 1.3.0-1 [68.6 kB] Get: 146 http://deb.debian.org/debian unstable/main armhf libstdlib-ocaml armhf 4.14.1-1 [464 kB] Get: 147 http://deb.debian.org/debian unstable/main armhf libstdlib-ocaml-dev armhf 4.14.1-1 [7137 kB] Get: 148 http://deb.debian.org/debian unstable/main armhf libcompiler-libs-ocaml-dev armhf 4.14.1-1 [32.2 MB] Get: 149 http://deb.debian.org/debian unstable/main armhf ocaml-base armhf 4.14.1-1 [358 kB] Get: 150 http://deb.debian.org/debian unstable/main armhf libfindlib-ocaml armhf 1.9.6-2 [167 kB] Get: 151 http://deb.debian.org/debian unstable/main armhf libfontbox-java all 1:1.8.16-5 [211 kB] Get: 152 http://deb.debian.org/debian unstable/main armhf ocaml-interp armhf 4.14.1-1 [6458 kB] Get: 153 http://deb.debian.org/debian unstable/main armhf libncurses6 armhf 6.5-2 [81.8 kB] Get: 154 http://deb.debian.org/debian unstable/main armhf libncurses-dev armhf 6.5-2 [309 kB] Get: 155 http://deb.debian.org/debian unstable/main armhf ocaml armhf 4.14.1-1 [66.5 MB] Get: 156 http://deb.debian.org/debian unstable/main armhf libmenhir-ocaml-dev armhf 20231231+ds-1 [645 kB] Get: 157 http://deb.debian.org/debian unstable/main armhf libparmap-ocaml armhf 1.2.5-3+b1 [83.2 kB] Get: 158 http://deb.debian.org/debian unstable/main armhf libparmap-ocaml-dev armhf 1.2.5-3+b1 [189 kB] Get: 159 http://deb.debian.org/debian unstable/main armhf libpdfbox-java all 1:1.8.16-5 [5527 kB] Get: 160 http://deb.debian.org/debian unstable/main armhf libpkgconf3 armhf 1.8.1-3 [31.7 kB] Get: 161 http://deb.debian.org/debian unstable/main armhf libstdcompat-ocaml armhf 20~git20240529-1 [66.5 kB] Get: 162 http://deb.debian.org/debian unstable/main armhf libpyml-ocaml armhf 20231101-1+b1 [439 kB] Get: 163 http://deb.debian.org/debian unstable/main armhf libstdcompat-ocaml-dev armhf 20~git20240529-1 [1153 kB] Get: 164 http://deb.debian.org/debian unstable/main armhf libpyml-ocaml-dev armhf 20231101-1+b1 [912 kB] Get: 165 http://deb.debian.org/debian unstable/main armhf menhir armhf 20231231+ds-1 [1194 kB] Get: 166 http://deb.debian.org/debian unstable/main armhf ocaml-findlib armhf 1.9.6-2 [468 kB] Get: 167 http://deb.debian.org/debian unstable/main armhf pkgconf-bin armhf 1.8.1-3 [29.1 kB] Get: 168 http://deb.debian.org/debian unstable/main armhf pkgconf armhf 1.8.1-3 [26.1 kB] Get: 169 http://deb.debian.org/debian unstable/main armhf preview-latex-style all 13.2-1 [350 kB] Get: 170 http://deb.debian.org/debian unstable/main armhf texlive-fonts-extra all 2024.20240706-2 [623 MB] Get: 171 http://deb.debian.org/debian unstable/main armhf texlive-fonts-recommended all 2024.20240706-1 [4992 kB] Get: 172 http://deb.debian.org/debian unstable/main armhf texlive-latex-base all 2024.20240706-1 [1274 kB] Get: 173 http://deb.debian.org/debian unstable/main armhf texlive-latex-recommended all 2024.20240706-1 [8847 kB] Get: 174 http://deb.debian.org/debian unstable/main armhf texlive-pictures all 2024.20240706-1 [17.0 MB] Get: 175 http://deb.debian.org/debian unstable/main armhf texlive-latex-extra all 2024.20240706-2 [20.0 MB] Fetched 895 MB in 23s (38.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:armhf. (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 ... 19503 files and directories currently installed.) Preparing to unpack .../00-libfftw3-double3_3.3.10-1+b3_armhf.deb ... Unpacking libfftw3-double3:armhf (3.3.10-1+b3) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../01-libexpat1_2.6.2-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.2-1) ... Selecting previously unselected package libbrotli1:armhf. Preparing to unpack .../02-libbrotli1_1.1.0-2+b4_armhf.deb ... Unpacking libbrotli1:armhf (1.1.0-2+b4) ... Selecting previously unselected package libpng16-16t64:armhf. Preparing to unpack .../03-libpng16-16t64_1.6.43-5_armhf.deb ... Unpacking libpng16-16t64:armhf (1.6.43-5) ... Selecting previously unselected package libfreetype6:armhf. Preparing to unpack .../04-libfreetype6_2.13.2+dfsg-1+b4_armhf.deb ... Unpacking libfreetype6:armhf (2.13.2+dfsg-1+b4) ... Selecting previously unselected package libfontenc1:armhf. Preparing to unpack .../05-libfontenc1_1%3a1.1.8-1_armhf.deb ... Unpacking libfontenc1:armhf (1:1.1.8-1) ... Selecting previously unselected package x11-common. Preparing to unpack .../06-x11-common_1%3a7.7+23_all.deb ... Unpacking x11-common (1:7.7+23) ... 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+6_armhf.deb ... Unpacking xfonts-utils (1:7.7+6) ... 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_armhf.deb ... Unpacking fontconfig-config (2.15.0-1.1) ... Selecting previously unselected package libfontconfig1:armhf. Preparing to unpack .../11-libfontconfig1_2.15.0-1.1_armhf.deb ... Unpacking libfontconfig1:armhf (2.15.0-1.1) ... Selecting previously unselected package libsharpyuv0:armhf. Preparing to unpack .../12-libsharpyuv0_1.4.0-0.1_armhf.deb ... Unpacking libsharpyuv0:armhf (1.4.0-0.1) ... Selecting previously unselected package libdav1d7:armhf. Preparing to unpack .../13-libdav1d7_1.4.3-1_armhf.deb ... Unpacking libdav1d7:armhf (1.4.3-1) ... Selecting previously unselected package libheif-plugin-dav1d:armhf. Preparing to unpack .../14-libheif-plugin-dav1d_1.17.6-4+b2_armhf.deb ... Unpacking libheif-plugin-dav1d:armhf (1.17.6-4+b2) ... Selecting previously unselected package libde265-0:armhf. Preparing to unpack .../15-libde265-0_1.0.15-1+b1_armhf.deb ... Unpacking libde265-0:armhf (1.0.15-1+b1) ... Selecting previously unselected package libheif-plugin-libde265:armhf. Preparing to unpack .../16-libheif-plugin-libde265_1.17.6-4+b2_armhf.deb ... Unpacking libheif-plugin-libde265:armhf (1.17.6-4+b2) ... Selecting previously unselected package libheif1:armhf. Preparing to unpack .../17-libheif1_1.17.6-4+b2_armhf.deb ... Unpacking libheif1:armhf (1.17.6-4+b2) ... Selecting previously unselected package libjbig0:armhf. Preparing to unpack .../18-libjbig0_2.1-6.1+b1_armhf.deb ... Unpacking libjbig0:armhf (2.1-6.1+b1) ... Selecting previously unselected package libjpeg62-turbo:armhf. Preparing to unpack .../19-libjpeg62-turbo_1%3a2.1.5-3_armhf.deb ... Unpacking libjpeg62-turbo:armhf (1:2.1.5-3) ... Selecting previously unselected package liblcms2-2:armhf. Preparing to unpack .../20-liblcms2-2_2.14-2+b1_armhf.deb ... Unpacking liblcms2-2:armhf (2.14-2+b1) ... Selecting previously unselected package libglib2.0-0t64:armhf. Preparing to unpack .../21-libglib2.0-0t64_2.80.4-1_armhf.deb ... Unpacking libglib2.0-0t64:armhf (2.80.4-1) ... Selecting previously unselected package liblqr-1-0:armhf. Preparing to unpack .../22-liblqr-1-0_0.4.2-2.1+b1_armhf.deb ... Unpacking liblqr-1-0:armhf (0.4.2-2.1+b1) ... Selecting previously unselected package libltdl7:armhf. Preparing to unpack .../23-libltdl7_2.4.7-7+b1_armhf.deb ... Unpacking libltdl7:armhf (2.4.7-7+b1) ... Selecting previously unselected package libopenjp2-7:armhf. Preparing to unpack .../24-libopenjp2-7_2.5.0-2+b3_armhf.deb ... Unpacking libopenjp2-7:armhf (2.5.0-2+b3) ... Selecting previously unselected package libraw23t64:armhf. Preparing to unpack .../25-libraw23t64_0.21.2-2.1_armhf.deb ... Unpacking libraw23t64:armhf (0.21.2-2.1) ... Selecting previously unselected package libdeflate0:armhf. Preparing to unpack .../26-libdeflate0_1.20-1_armhf.deb ... Unpacking libdeflate0:armhf (1.20-1) ... Selecting previously unselected package liblerc4:armhf. Preparing to unpack .../27-liblerc4_4.0.0+ds-4+b1_armhf.deb ... Unpacking liblerc4:armhf (4.0.0+ds-4+b1) ... Selecting previously unselected package libwebp7:armhf. Preparing to unpack .../28-libwebp7_1.4.0-0.1_armhf.deb ... Unpacking libwebp7:armhf (1.4.0-0.1) ... Selecting previously unselected package libtiff6:armhf. Preparing to unpack .../29-libtiff6_4.5.1+git230720-4_armhf.deb ... Unpacking libtiff6:armhf (4.5.1+git230720-4) ... Selecting previously unselected package libwebpdemux2:armhf. Preparing to unpack .../30-libwebpdemux2_1.4.0-0.1_armhf.deb ... Unpacking libwebpdemux2:armhf (1.4.0-0.1) ... Selecting previously unselected package libwebpmux3:armhf. Preparing to unpack .../31-libwebpmux3_1.4.0-0.1_armhf.deb ... Unpacking libwebpmux3:armhf (1.4.0-0.1) ... Selecting previously unselected package libxau6:armhf. Preparing to unpack .../32-libxau6_1%3a1.0.9-1+b1_armhf.deb ... Unpacking libxau6:armhf (1:1.0.9-1+b1) ... Selecting previously unselected package libxdmcp6:armhf. Preparing to unpack .../33-libxdmcp6_1%3a1.1.2-3+b1_armhf.deb ... Unpacking libxdmcp6:armhf (1:1.1.2-3+b1) ... Selecting previously unselected package libxcb1:armhf. Preparing to unpack .../34-libxcb1_1.17.0-2_armhf.deb ... Unpacking libxcb1:armhf (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:armhf. Preparing to unpack .../36-libx11-6_2%3a1.8.7-1+b1_armhf.deb ... Unpacking libx11-6:armhf (2:1.8.7-1+b1) ... Selecting previously unselected package libxext6:armhf. Preparing to unpack .../37-libxext6_2%3a1.3.4-1+b1_armhf.deb ... Unpacking libxext6:armhf (2:1.3.4-1+b1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../38-libicu72_72.1-5_armhf.deb ... Unpacking libicu72:armhf (72.1-5) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../39-libxml2_2.12.7+dfsg-3+b1_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg-3+b1) ... 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:armhf. Preparing to unpack .../41-libmagickcore-6.q16-7t64_8%3a6.9.13.12+dfsg1-1_armhf.deb ... Unpacking libmagickcore-6.q16-7t64:armhf (8:6.9.13.12+dfsg1-1) ... Selecting previously unselected package libmagickwand-6.q16-7t64:armhf. Preparing to unpack .../42-libmagickwand-6.q16-7t64_8%3a6.9.13.12+dfsg1-1_armhf.deb ... Unpacking libmagickwand-6.q16-7t64:armhf (8:6.9.13.12+dfsg1-1) ... 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:armhf. Preparing to unpack .../44-libpython3.12-minimal_3.12.4-3_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.4-3) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../45-python3.12-minimal_3.12.4-3_armhf.deb ... Unpacking python3.12-minimal (3.12.4-3) ... Setting up libpython3.12-minimal:armhf (3.12.4-3) ... Setting up libexpat1:armhf (2.6.2-1) ... Setting up python3.12-minimal (3.12.4-3) ... 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 ... 21569 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.12.3-1_armhf.deb ... Unpacking python3-minimal (3.12.3-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2024a-4_all.deb ... Unpacking tzdata (2024a-4) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package libreadline8t64:armhf. Preparing to unpack .../5-libreadline8t64_8.2-4_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-4) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../6-libpython3.12-stdlib_3.12.4-3_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.4-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../7-python3.12_3.12.4-3_armhf.deb ... Unpacking python3.12 (3.12.4-3) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../8-libpython3-stdlib_3.12.3-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.12.3-1) ... Setting up python3-minimal (3.12.3-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 ... 22571 files and directories currently installed.) Preparing to unpack .../000-python3_3.12.3-1_armhf.deb ... Unpacking python3 (3.12.3-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_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../003-libmagic1t64_1%3a5.45-3_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../004-file_1%3a5.45-3_armhf.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../005-gettext-base_0.22.5-1_armhf.deb ... Unpacking gettext-base (0.22.5-1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../006-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../007-groff-base_1.23.0-5_armhf.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../008-bsdextrautils_2.40.2-1_armhf.deb ... Unpacking bsdextrautils (2.40.2-1) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../009-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../010-man-db_2.12.1-2_armhf.deb ... Unpacking man-db (2.12.1-2) ... 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_armhf.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../013-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-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-1_all.deb ... Unpacking autopoint (0.22.5-1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../017-libdebhelper-perl_13.16_all.deb ... Unpacking libdebhelper-perl (13.16) ... 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:armhf. Preparing to unpack .../023-libelf1t64_0.191-2_armhf.deb ... Unpacking libelf1t64:armhf (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../024-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../025-gettext_0.22.5-1_armhf.deb ... Unpacking gettext (0.22.5-1) ... 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.16_all.deb ... Unpacking debhelper (13.16) ... Selecting previously unselected package dh-ocaml. Preparing to unpack .../029-dh-ocaml_2.1_all.deb ... Unpacking dh-ocaml (2.1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../030-python3-pkg-resources_70.3.0-2_all.deb ... Unpacking python3-pkg-resources (70.3.0-2) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../031-python3-setuptools_70.3.0-2_all.deb ... Unpacking python3-setuptools (70.3.0-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../032-dh-python_6.20240603_all.deb ... Unpacking dh-python (6.20240603) ... Selecting previously unselected package fonts-lmodern. Preparing to unpack .../033-fonts-lmodern_2.005-1_all.deb ... Unpacking fonts-lmodern (2.005-1) ... Selecting previously unselected package libgs-common. Preparing to unpack .../034-libgs-common_10.03.1~dfsg-1_all.deb ... Unpacking libgs-common (10.03.1~dfsg-1) ... Selecting previously unselected package libgs10-common. Preparing to unpack .../035-libgs10-common_10.03.1~dfsg-1_all.deb ... Unpacking libgs10-common (10.03.1~dfsg-1) ... Selecting previously unselected package libavahi-common-data:armhf. Preparing to unpack .../036-libavahi-common-data_0.8-13+b2_armhf.deb ... Unpacking libavahi-common-data:armhf (0.8-13+b2) ... Selecting previously unselected package libavahi-common3:armhf. Preparing to unpack .../037-libavahi-common3_0.8-13+b2_armhf.deb ... Unpacking libavahi-common3:armhf (0.8-13+b2) ... Selecting previously unselected package libdbus-1-3:armhf. Preparing to unpack .../038-libdbus-1-3_1.14.10-4+b1_armhf.deb ... Unpacking libdbus-1-3:armhf (1.14.10-4+b1) ... Selecting previously unselected package libavahi-client3:armhf. Preparing to unpack .../039-libavahi-client3_0.8-13+b2_armhf.deb ... Unpacking libavahi-client3:armhf (0.8-13+b2) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../040-libkrb5support0_1.21.3-3_armhf.deb ... Unpacking libkrb5support0:armhf (1.21.3-3) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../041-libcom-err2_1.47.1-1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.1-1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../042-libk5crypto3_1.21.3-3_armhf.deb ... Unpacking libk5crypto3:armhf (1.21.3-3) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../043-libkeyutils1_1.6.3-3_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-3) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../044-libkrb5-3_1.21.3-3_armhf.deb ... Unpacking libkrb5-3:armhf (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../045-libgssapi-krb5-2_1.21.3-3_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.21.3-3) ... Selecting previously unselected package libcups2t64:armhf. Preparing to unpack .../046-libcups2t64_2.4.10-1_armhf.deb ... Unpacking libcups2t64:armhf (2.4.10-1) ... Selecting previously unselected package libidn12:armhf. Preparing to unpack .../047-libidn12_1.42-2_armhf.deb ... Unpacking libidn12:armhf (1.42-2) ... Selecting previously unselected package libijs-0.35:armhf. Preparing to unpack .../048-libijs-0.35_0.35-15.1+b1_armhf.deb ... Unpacking libijs-0.35:armhf (0.35-15.1+b1) ... Selecting previously unselected package libjbig2dec0:armhf. Preparing to unpack .../049-libjbig2dec0_0.20-1+b2_armhf.deb ... Unpacking libjbig2dec0:armhf (0.20-1+b2) ... Selecting previously unselected package libpaper1:armhf. Preparing to unpack .../050-libpaper1_1.1.29+b1_armhf.deb ... Unpacking libpaper1:armhf (1.1.29+b1) ... Selecting previously unselected package libice6:armhf. Preparing to unpack .../051-libice6_2%3a1.0.10-1+b1_armhf.deb ... Unpacking libice6:armhf (2:1.0.10-1+b1) ... Selecting previously unselected package libsm6:armhf. Preparing to unpack .../052-libsm6_2%3a1.2.3-1+b1_armhf.deb ... Unpacking libsm6:armhf (2:1.2.3-1+b1) ... Selecting previously unselected package libxt6t64:armhf. Preparing to unpack .../053-libxt6t64_1%3a1.2.1-1.2_armhf.deb ... Unpacking libxt6t64:armhf (1:1.2.1-1.2) ... Selecting previously unselected package libgs10:armhf. Preparing to unpack .../054-libgs10_10.03.1~dfsg-1_armhf.deb ... Unpacking libgs10:armhf (10.03.1~dfsg-1) ... Selecting previously unselected package ghostscript. Preparing to unpack .../055-ghostscript_10.03.1~dfsg-1_armhf.deb ... Unpacking ghostscript (10.03.1~dfsg-1) ... Selecting previously unselected package libnetpbm11t64:armhf. Preparing to unpack .../056-libnetpbm11t64_2%3a11.07.00-2_armhf.deb ... Unpacking libnetpbm11t64:armhf (2:11.07.00-2) ... Selecting previously unselected package netpbm. Preparing to unpack .../057-netpbm_2%3a11.07.00-2_armhf.deb ... Unpacking netpbm (2:11.07.00-2) ... Selecting previously unselected package tex-common. Preparing to unpack .../058-tex-common_6.18_all.deb ... Unpacking tex-common (6.18) ... Selecting previously unselected package libpaper-utils. Preparing to unpack .../059-libpaper-utils_1.1.29+b1_armhf.deb ... Unpacking libpaper-utils (1.1.29+b1) ... Selecting previously unselected package libkpathsea6:armhf. Preparing to unpack .../060-libkpathsea6_2024.20240313.70630+ds-2_armhf.deb ... Unpacking libkpathsea6:armhf (2024.20240313.70630+ds-2) ... Selecting previously unselected package libptexenc1:armhf. Preparing to unpack .../061-libptexenc1_2024.20240313.70630+ds-2_armhf.deb ... Unpacking libptexenc1:armhf (2024.20240313.70630+ds-2) ... Selecting previously unselected package libsynctex2:armhf. Preparing to unpack .../062-libsynctex2_2024.20240313.70630+ds-2_armhf.deb ... Unpacking libsynctex2:armhf (2024.20240313.70630+ds-2) ... Selecting previously unselected package libtexlua53-5:armhf. Preparing to unpack .../063-libtexlua53-5_2024.20240313.70630+ds-2_armhf.deb ... Unpacking libtexlua53-5:armhf (2024.20240313.70630+ds-2) ... Selecting previously unselected package t1utils. Preparing to unpack .../064-t1utils_1.41-4_armhf.deb ... Unpacking t1utils (1.41-4) ... Selecting previously unselected package libpixman-1-0:armhf. Preparing to unpack .../065-libpixman-1-0_0.42.2-1+b1_armhf.deb ... Unpacking libpixman-1-0:armhf (0.42.2-1+b1) ... Selecting previously unselected package libxcb-render0:armhf. Preparing to unpack .../066-libxcb-render0_1.17.0-2_armhf.deb ... Unpacking libxcb-render0:armhf (1.17.0-2) ... Selecting previously unselected package libxcb-shm0:armhf. Preparing to unpack .../067-libxcb-shm0_1.17.0-2_armhf.deb ... Unpacking libxcb-shm0:armhf (1.17.0-2) ... Selecting previously unselected package libxrender1:armhf. Preparing to unpack .../068-libxrender1_1%3a0.9.10-1.1+b1_armhf.deb ... Unpacking libxrender1:armhf (1:0.9.10-1.1+b1) ... Selecting previously unselected package libcairo2:armhf. Preparing to unpack .../069-libcairo2_1.18.0-3+b1_armhf.deb ... Unpacking libcairo2:armhf (1.18.0-3+b1) ... Selecting previously unselected package libgraphite2-3:armhf. Preparing to unpack .../070-libgraphite2-3_1.3.14-2_armhf.deb ... Unpacking libgraphite2-3:armhf (1.3.14-2) ... Selecting previously unselected package libharfbuzz0b:armhf. Preparing to unpack .../071-libharfbuzz0b_8.3.0-2+b1_armhf.deb ... Unpacking libharfbuzz0b:armhf (8.3.0-2+b1) ... Selecting previously unselected package libmpfi0:armhf. Preparing to unpack .../072-libmpfi0_1.5.4+ds-3_armhf.deb ... Unpacking libmpfi0:armhf (1.5.4+ds-3) ... Selecting previously unselected package libpotrace0:armhf. Preparing to unpack .../073-libpotrace0_1.16-2+b1_armhf.deb ... Unpacking libpotrace0:armhf (1.16-2+b1) ... Selecting previously unselected package libteckit0:armhf. Preparing to unpack .../074-libteckit0_2.5.12+ds1-1_armhf.deb ... Unpacking libteckit0:armhf (2.5.12+ds1-1) ... Selecting previously unselected package libxmu6:armhf. Preparing to unpack .../075-libxmu6_2%3a1.1.3-3+b2_armhf.deb ... Unpacking libxmu6:armhf (2:1.1.3-3+b2) ... Selecting previously unselected package libxpm4:armhf. Preparing to unpack .../076-libxpm4_1%3a3.5.17-1+b1_armhf.deb ... Unpacking libxpm4:armhf (1:3.5.17-1+b1) ... Selecting previously unselected package libxaw7:armhf. Preparing to unpack .../077-libxaw7_2%3a1.0.14-1+b2_armhf.deb ... Unpacking libxaw7:armhf (2:1.0.14-1+b2) ... Selecting previously unselected package libxi6:armhf. Preparing to unpack .../078-libxi6_2%3a1.8.1-1_armhf.deb ... Unpacking libxi6:armhf (2:1.8.1-1) ... Selecting previously unselected package libzzip-0-13t64:armhf. Preparing to unpack .../079-libzzip-0-13t64_0.13.72+dfsg.1-1.2+b1_armhf.deb ... Unpacking libzzip-0-13t64:armhf (0.13.72+dfsg.1-1.2+b1) ... Selecting previously unselected package texlive-binaries. Preparing to unpack .../080-texlive-binaries_2024.20240313.70630+ds-2_armhf.deb ... Unpacking texlive-binaries (2024.20240313.70630+ds-2) ... Selecting previously unselected package xdg-utils. Preparing to unpack .../081-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 .../082-texlive-base_2024.20240706-1_all.deb ... Unpacking texlive-base (2024.20240706-1) ... Selecting previously unselected package hicolor-icon-theme. Preparing to unpack .../083-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 .../084-imagemagick-6.q16_8%3a6.9.13.12+dfsg1-1_armhf.deb ... Unpacking imagemagick-6.q16 (8:6.9.13.12+dfsg1-1) ... Selecting previously unselected package imagemagick. Preparing to unpack .../085-imagemagick_8%3a6.9.13.12+dfsg1-1_armhf.deb ... Unpacking imagemagick (8:6.9.13.12+dfsg1-1) ... Selecting previously unselected package hevea. Preparing to unpack .../086-hevea_2.36-2+b1_armhf.deb ... Unpacking hevea (2.36-2+b1) ... Selecting previously unselected package libapache-pom-java. Preparing to unpack .../087-libapache-pom-java_29-2_all.deb ... Unpacking libapache-pom-java (29-2) ... Selecting previously unselected package libcommons-parent-java. Preparing to unpack .../088-libcommons-parent-java_56-1_all.deb ... Unpacking libcommons-parent-java (56-1) ... Selecting previously unselected package libcommons-logging-java. Preparing to unpack .../089-libcommons-logging-java_1.3.0-1_all.deb ... Unpacking libcommons-logging-java (1.3.0-1) ... Selecting previously unselected package libstdlib-ocaml. Preparing to unpack .../090-libstdlib-ocaml_4.14.1-1_armhf.deb ... Unpacking libstdlib-ocaml (4.14.1-1) ... Selecting previously unselected package libstdlib-ocaml-dev. Preparing to unpack .../091-libstdlib-ocaml-dev_4.14.1-1_armhf.deb ... Unpacking libstdlib-ocaml-dev (4.14.1-1) ... Selecting previously unselected package libcompiler-libs-ocaml-dev. Preparing to unpack .../092-libcompiler-libs-ocaml-dev_4.14.1-1_armhf.deb ... Unpacking libcompiler-libs-ocaml-dev (4.14.1-1) ... Selecting previously unselected package ocaml-base. Preparing to unpack .../093-ocaml-base_4.14.1-1_armhf.deb ... Unpacking ocaml-base (4.14.1-1) ... Selecting previously unselected package libfindlib-ocaml. Preparing to unpack .../094-libfindlib-ocaml_1.9.6-2_armhf.deb ... Unpacking libfindlib-ocaml (1.9.6-2) ... Selecting previously unselected package libfontbox-java. Preparing to unpack .../095-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 .../096-ocaml-interp_4.14.1-1_armhf.deb ... Unpacking ocaml-interp (4.14.1-1) ... Selecting previously unselected package libncurses6:armhf. Preparing to unpack .../097-libncurses6_6.5-2_armhf.deb ... Unpacking libncurses6:armhf (6.5-2) ... Selecting previously unselected package libncurses-dev:armhf. Preparing to unpack .../098-libncurses-dev_6.5-2_armhf.deb ... Unpacking libncurses-dev:armhf (6.5-2) ... Selecting previously unselected package ocaml. Preparing to unpack .../099-ocaml_4.14.1-1_armhf.deb ... Unpacking ocaml (4.14.1-1) ... Selecting previously unselected package libmenhir-ocaml-dev. Preparing to unpack .../100-libmenhir-ocaml-dev_20231231+ds-1_armhf.deb ... Unpacking libmenhir-ocaml-dev (20231231+ds-1) ... Selecting previously unselected package libparmap-ocaml. Preparing to unpack .../101-libparmap-ocaml_1.2.5-3+b1_armhf.deb ... Unpacking libparmap-ocaml (1.2.5-3+b1) ... Selecting previously unselected package libparmap-ocaml-dev. Preparing to unpack .../102-libparmap-ocaml-dev_1.2.5-3+b1_armhf.deb ... Unpacking libparmap-ocaml-dev (1.2.5-3+b1) ... Selecting previously unselected package libpdfbox-java. Preparing to unpack .../103-libpdfbox-java_1%3a1.8.16-5_all.deb ... Unpacking libpdfbox-java (1:1.8.16-5) ... Selecting previously unselected package libpkgconf3:armhf. Preparing to unpack .../104-libpkgconf3_1.8.1-3_armhf.deb ... Unpacking libpkgconf3:armhf (1.8.1-3) ... Selecting previously unselected package libstdcompat-ocaml. Preparing to unpack .../105-libstdcompat-ocaml_20~git20240529-1_armhf.deb ... Unpacking libstdcompat-ocaml (20~git20240529-1) ... Selecting previously unselected package libpyml-ocaml. Preparing to unpack .../106-libpyml-ocaml_20231101-1+b1_armhf.deb ... Unpacking libpyml-ocaml (20231101-1+b1) ... Selecting previously unselected package libstdcompat-ocaml-dev. Preparing to unpack .../107-libstdcompat-ocaml-dev_20~git20240529-1_armhf.deb ... Unpacking libstdcompat-ocaml-dev (20~git20240529-1) ... Selecting previously unselected package libpyml-ocaml-dev. Preparing to unpack .../108-libpyml-ocaml-dev_20231101-1+b1_armhf.deb ... Unpacking libpyml-ocaml-dev (20231101-1+b1) ... Selecting previously unselected package menhir. Preparing to unpack .../109-menhir_20231231+ds-1_armhf.deb ... Unpacking menhir (20231231+ds-1) ... Selecting previously unselected package ocaml-findlib. Preparing to unpack .../110-ocaml-findlib_1.9.6-2_armhf.deb ... Unpacking ocaml-findlib (1.9.6-2) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../111-pkgconf-bin_1.8.1-3_armhf.deb ... Unpacking pkgconf-bin (1.8.1-3) ... Selecting previously unselected package pkgconf:armhf. Preparing to unpack .../112-pkgconf_1.8.1-3_armhf.deb ... Unpacking pkgconf:armhf (1.8.1-3) ... Selecting previously unselected package preview-latex-style. Preparing to unpack .../113-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 .../114-texlive-fonts-extra_2024.20240706-2_all.deb ... Unpacking texlive-fonts-extra (2024.20240706-2) ... Selecting previously unselected package texlive-fonts-recommended. Preparing to unpack .../115-texlive-fonts-recommended_2024.20240706-1_all.deb ... Unpacking texlive-fonts-recommended (2024.20240706-1) ... Selecting previously unselected package texlive-latex-base. Preparing to unpack .../116-texlive-latex-base_2024.20240706-1_all.deb ... Unpacking texlive-latex-base (2024.20240706-1) ... Selecting previously unselected package texlive-latex-recommended. Preparing to unpack .../117-texlive-latex-recommended_2024.20240706-1_all.deb ... Unpacking texlive-latex-recommended (2024.20240706-1) ... Selecting previously unselected package texlive-pictures. Preparing to unpack .../118-texlive-pictures_2024.20240706-1_all.deb ... Unpacking texlive-pictures (2024.20240706-1) ... Selecting previously unselected package texlive-latex-extra. Preparing to unpack .../119-texlive-latex-extra_2024.20240706-2_all.deb ... Unpacking texlive-latex-extra (2024.20240706-2) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:armhf (1.5.7-2) ... Setting up libgraphite2-3:armhf (1.3.14-2) ... Setting up liblcms2-2:armhf (2.14-2+b1) ... Setting up libpixman-1-0:armhf (0.42.2-1+b1) ... Setting up libsharpyuv0:armhf (1.4.0-0.1) ... Setting up libxau6:armhf (1:1.0.9-1+b1) ... Setting up imagemagick-6-common (8:6.9.13.12+dfsg1-1) ... Setting up libxdmcp6:armhf (1:1.1.2-3+b1) ... Setting up libkeyutils1:armhf (1.6.3-3) ... Setting up libxcb1:armhf (1.17.0-2) ... Setting up libicu72:armhf (72.1-5) ... Setting up liblerc4:armhf (4.0.0+ds-4+b1) ... Setting up bsdextrautils (2.40.2-1) ... Setting up hicolor-icon-theme (0.18-1) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libxcb-render0:armhf (1.17.0-2) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libijs-0.35:armhf (0.35-15.1+b1) ... Setting up libdebhelper-perl (13.16) ... Setting up libgs-common (10.03.1~dfsg-1) ... Setting up libbrotli1:armhf (1.1.0-2+b4) ... Setting up libfontbox-java (1:1.8.16-5) ... Setting up libmagic1t64:armhf (1:5.45-3) ... Setting up x11-common (1:7.7+23) ... invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up dh-ocaml (2.1) ... Setting up libdeflate0:armhf (1.20-1) ... Setting up gettext-base (0.22.5-1) ... Setting up m4 (1.4.19-4) ... Setting up libxcb-shm0:armhf (1.17.0-2) ... Setting up libcom-err2:armhf (1.47.1-1) ... Setting up file (1:5.45-3) ... Setting up libjbig0:armhf (2.1-6.1+b1) ... Setting up libnetpbm11t64:armhf (2:11.07.00-2) ... Setting up libelf1t64:armhf (0.191-2) ... Setting up poppler-data (0.4.12-1) ... Setting up libkrb5support0:armhf (1.21.3-3) ... Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' Local time is now: Wed Jul 17 06:11:52 UTC 2024. Universal Time is now: Wed Jul 17 06:11:52 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libfontenc1:armhf (1:1.1.8-1) ... Setting up autotools-dev (20220109.1) ... Setting up libglib2.0-0t64:armhf (2.80.4-1) ... No schema files found: doing nothing. Setting up libpkgconf3:armhf (1.8.1-3) ... Setting up libjpeg62-turbo:armhf (1:2.1.5-3) ... Setting up libzzip-0-13t64:armhf (0.13.72+dfsg.1-1.2+b1) ... Setting up libx11-data (2:1.8.7-1) ... Setting up libjbig2dec0:armhf (0.20-1+b2) ... Setting up libteckit0:armhf (2.5.12+ds1-1) ... Setting up libapache-pom-java (29-2) ... Setting up libavahi-common-data:armhf (0.8-13+b2) ... Setting up libncurses6:armhf (6.5-2) ... Setting up libdbus-1-3:armhf (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:armhf (2024.20240313.70630+ds-2) ... Setting up libstdlib-ocaml (4.14.1-1) ... Setting up libpng16-16t64:armhf (1.6.43-5) ... Setting up libidn12:armhf (1.42-2) ... Setting up autopoint (0.22.5-1) ... Setting up libmpfi0:armhf (1.5.4+ds-3) ... Setting up ocaml-base (4.14.1-1) ... Setting up pkgconf-bin (1.8.1-3) ... Setting up libk5crypto3:armhf (1.21.3-3) ... Setting up libltdl7:armhf (2.4.7-7+b1) ... Setting up libfftw3-double3:armhf (3.3.10-1+b3) ... Setting up libkpathsea6:armhf (2024.20240313.70630+ds-2) ... Setting up libraw23t64:armhf (0.21.2-2.1) ... Setting up autoconf (2.71-3) ... Setting up libwebp7:armhf (1.4.0-0.1) ... Setting up libstdcompat-ocaml (20~git20240529-1) ... Setting up dwz (0.15-1+b2) ... Setting up libdav1d7:armhf (1.4.3-1) ... Setting up liblqr-1-0:armhf (0.4.2-2.1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libtiff6:armhf (4.5.1+git230720-4) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up fonts-lmodern (2.005-1) ... Setting up libopenjp2-7:armhf (2.5.0-2+b3) ... Setting up libx11-6:armhf (2:1.8.7-1+b1) ... Setting up netbase (6.4) ... Setting up libkrb5-3:armhf (1.21.3-3) ... Setting up libde265-0:armhf (1.0.15-1+b1) ... Setting up libwebpmux3:armhf (1.4.0-0.1) ... Setting up libparmap-ocaml (1.2.5-3+b1) ... Setting up readline-common (8.2-4) ... Setting up libxml2:armhf (2.12.7+dfsg-3+b1) ... 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 (20231231+ds-1) ... Setting up libsynctex2:armhf (2024.20240313.70630+ds-2) ... Setting up libpotrace0:armhf (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:armhf (2:1.0.10-1+b1) ... Setting up libncurses-dev:armhf (6.5-2) ... Setting up gettext (0.22.5-1) ... Setting up libpdfbox-java (1:1.8.16-5) ... Setting up libxpm4:armhf (1:3.5.17-1+b1) ... Setting up libxrender1:armhf (1:0.9.10-1.1+b1) ... Setting up libtool (2.4.7-7) ... Setting up libstdlib-ocaml-dev (4.14.1-1) ... Setting up libwebpdemux2:armhf (1.4.0-0.1) ... Setting up libcommons-parent-java (56-1) ... Setting up libavahi-common3:armhf (0.8-13+b2) ... Setting up libfindlib-ocaml (1.9.6-2) ... Setting up libcommons-logging-java (1.3.0-1) ... Setting up libxext6:armhf (2:1.3.4-1+b1) ... Setting up pkgconf:armhf (1.8.1-3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libcompiler-libs-ocaml-dev (4.14.1-1) ... Setting up libpyml-ocaml (20231101-1+b1) ... Setting up ocaml-interp (4.14.1-1) ... Setting up libptexenc1:armhf (2024.20240313.70630+ds-2) ... Setting up libfreetype6:armhf (2.13.2+dfsg-1+b4) ... Setting up ocaml-findlib (1.9.6-2) ... Setting up libgssapi-krb5-2:armhf (1.21.3-3) ... Setting up ucf (3.0043+nmu1) ... Setting up netpbm (2:11.07.00-2) ... Setting up libreadline8t64:armhf (8.2-4) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up libharfbuzz0b:armhf (8.3.0-2+b1) ... Setting up libsm6:armhf (2:1.2.3-1+b1) ... Setting up libavahi-client3:armhf (0.8-13+b2) ... Setting up libpaper1:armhf (1.1.29+b1) ... Creating config file /etc/papersize with new version Setting up libpython3.12-stdlib:armhf (3.12.4-3) ... Setting up libxi6:armhf (2:1.8.1-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up python3.12 (3.12.4-3) ... Setting up libpaper-utils (1.1.29+b1) ... Setting up ocaml (4.14.1-1) ... Setting up xfonts-utils (1:7.7+6) ... Setting up man-db (2.12.1-2) ... 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 (20231231+ds-1) ... Setting up libstdcompat-ocaml-dev (20~git20240529-1) ... Setting up libparmap-ocaml-dev (1.2.5-3+b1) ... Setting up libxt6t64:armhf (1:1.2.1-1.2) ... Setting up libcups2t64:armhf (2.4.10-1) ... Setting up libpython3-stdlib:armhf (3.12.3-1) ... Setting up libxmu6:armhf (2:1.1.3-3+b2) ... Setting up libpyml-ocaml-dev (20231101-1+b1) ... Setting up preview-latex-style (13.2-1) ... Setting up debhelper (13.16) ... Setting up python3 (3.12.3-1) ... Setting up libxaw7:armhf (2:1.0.14-1+b2) ... Setting up fonts-urw-base35 (20200910-8) ... Setting up python3-pkg-resources (70.3.0-2) ... Setting up libgs10-common (10.03.1~dfsg-1) ... Setting up python3-setuptools (70.3.0-2) ... Setting up fontconfig-config (2.15.0-1.1) ... Setting up libfontconfig1:armhf (2.15.0-1.1) ... Setting up libgs10:armhf (10.03.1~dfsg-1) ... Setting up dh-python (6.20240603) ... Setting up ghostscript (10.03.1~dfsg-1) ... Setting up libcairo2:armhf (1.18.0-3+b1) ... Setting up texlive-binaries (2024.20240313.70630+ds-2) ... 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.20240706-1) ... 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 texlive-latex-base (2024.20240706-1) ... Setting up texlive-fonts-extra (2024.20240706-2) ... Setting up texlive-latex-recommended (2024.20240706-1) ... Setting up texlive-pictures (2024.20240706-1) ... Setting up texlive-fonts-recommended (2024.20240706-1) ... Setting up texlive-latex-extra (2024.20240706-2) ... Setting up libheif-plugin-dav1d:armhf (1.17.6-4+b2) ... Setting up libheif-plugin-libde265:armhf (1.17.6-4+b2) ... Setting up libheif1:armhf (1.17.6-4+b2) ... Setting up libmagickcore-6.q16-7t64:armhf (8:6.9.13.12+dfsg1-1) ... Setting up libmagickwand-6.q16-7t64:armhf (8:6.9.13.12+dfsg1-1) ... Setting up imagemagick-6.q16 (8:6.9.13.12+dfsg1-1) ... 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+b1) ... Setting up imagemagick (8:6.9.13.12+dfsg1-1) ... Processing triggers for libc-bin (2.39-4) ... 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 armhf debian/rules clean dh clean --with ocaml,python3,autoreconf dh_auto_clean make -j5 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, 16 Jul 2024 18:38:25 -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 4.14.1 OCaml library path is /usr/lib/ocaml checking for ocamlopt... /usr/bin/ocamlopt checking for ocamlc.opt... /usr/bin/ocamlc.opt checking for ocamlopt.opt... /usr/bin/ocamlopt.opt 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... no checking for ocamllex... /usr/bin/ocamllex checking for ocamllex.opt... /usr/bin/ocamllex.opt 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 bigarray... 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: 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-05-27> (./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-05-27> (./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-05-27> (/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-05-27> (/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-05-27> (./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-05-27> (./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 -j5 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/ocaml/pyml -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/stdcompat -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 27 states, 322 transitions, table size 1450 bytes OCAMLLEX parsing_cocci/lexer_cli.mll 14 states, 681 transitions, table size 2808 bytes OCAMLLEX parsing_cocci/lexer_cocci.mll OCAMLDEP tools/spgen/source/main.ml 143 states, 8123 transitions, table size 33350 bytes 23641 additional bytes used for bindings OCAMLDEP tools/spgen/source/spgen_test.ml 403 states, 8820 transitions, table size 37698 bytes 4123 additional bytes used for bindings 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 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 408 states, 16889 transitions, table size 70004 bytes 10655 additional bytes used for bindings 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 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 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 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 OCAMLC tools/spgen/source/spgen_test.mli cp globals/regexp.cmi ocaml/regexp.cmi OCAMLC tools/spgen/source/main.mli cp globals/config.cmi ocaml/config.cmi cp globals/flag.cmi ocaml/flag.cmi cp parsing_c/flag_parsing_c.cmi ocaml/flag_parsing_c.cmi cp globals/iteration.cmi ocaml/iteration.cmi cp commons/commands.cmi ocaml/commands.cmi cp commons/common.cmi ocaml/common.cmi cp commons/ocamlextra/dumper.cmi ocaml/dumper.cmi OCAMLC commons/ocamlextra/dumper.ml OCAMLC commons/commands.ml OCAMLC commons/common.ml OCAMLC commons/ograph_simple.mli OCAMLC commons/ograph_extended.mli OCAMLC globals/config.ml OCAMLC globals/flag.ml OCAMLC globals/iteration.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/parse_printf.ml OCAMLC parsing_cocci/lexer_cli.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_cocci/cocci_args.ml OCAMLC parsing_c/token_annot.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/flag_ctl.ml OCAMLC ctl/ast_ctl.ml OCAMLC ctl/pretty_print_ctl.mli OCAMLC ctl/ctl_engine.mli OCAMLC ocaml/yes_prepare_ocamlcocci.mli OCAMLC ocaml/prepare_ocamlcocci.mli OCAMLC engine/flag_matcher.ml OCAMLC engine/check_exhaustive_pattern.mli OCAMLC popl09/ast_popl.mli OCAMLC popl09/flag_popl.ml OCAMLC extra/classic_patch.mli OCAMLC extra/kbuild.mli OCAMLC extra/maintainers.mli OCAMLC flag_cocci.ml OCAMLC read_options.ml OCAMLC tools/spgen/source/globals.mli OCAMLC tools/spgen/source/ast_tostring.mli OCAMLC tools/spgen/source/spgen_lexer.ml OCAMLC tools/spgen/source/main.ml cp parsing_c/token_c.cmi ocaml/token_c.cmi cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi cp globals/regexp.cmo ocaml/regexp.cmo cp globals/config.cmo ocaml/config.cmo cp globals/flag.cmo ocaml/flag.cmo cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo cp globals/iteration.cmo ocaml/iteration.cmo cp commons/commands.cmo ocaml/commands.cmo cp commons/ocamlextra/dumper.cmo ocaml/dumper.cmo OCAMLC commons/ograph_simple.ml OCAMLC commons/ograph_extended.ml OCAMLC -o globals/globals.cma 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/adjacency.mli OCAMLC parsing_cocci/commas_on_lists.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 ctl/pretty_print_ctl.ml OCAMLC ctl/ctl_engine.ml OCAMLC ctl/wrapper_ctl.mli OCAMLC ocaml/prepare_ocamlcocci.ml OCAMLC popl09/ast_popl.ml OCAMLC popl09/asttopopl.mli OCAMLC popl09/insert_quantifiers.mli OCAMLC popl09/pretty_print_popl.mli OCAMLC extra/classic_patch.ml OCAMLC extra/kbuild.ml OCAMLC extra/maintainers.ml OCAMLC testing.mli OCAMLC tools/spgen/source/globals.ml OCAMLC tools/spgen/source/ast_tostring.ml 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 cp parsing_c/token_c.cmo ocaml/token_c.cmo cp commons/common.cmo ocaml/common.cmo cp parsing_cocci/ast_cocci.cmo ocaml/ast_cocci.cmo OCAMLC -o commons/commons.cma OCAMLC parsing_cocci/ast0_cocci.ml OCAMLC parsing_cocci/pretty_print_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/unify_ast.mli OCAMLC parsing_cocci/compute_lines.mli OCAMLC parsing_cocci/iso_pattern.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/stmtlist.ml 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/free_vars.mli OCAMLC parsing_cocci/check_meta.mli OCAMLC parsing_cocci/safe_for_multi_decls.ml OCAMLC parsing_cocci/parse_aux.mli OCAMLC parsing_cocci/cleanup_rules.ml OCAMLC parsing_cocci/disjdistr.ml OCAMLC parsing_cocci/get_constants2.ml OCAMLC parsing_cocci/id_utils.mli OCAMLC parsing_cocci/re_constraints.ml OCAMLC parsing_cocci/parse_cocci.mli 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 parsing_c/comment_annotater_c.mli OCAMLC ctl/wrapper_ctl.ml 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/lib_engine.mli OCAMLC engine/check_exhaustive_pattern.ml OCAMLC engine/check_reachability.mli OCAMLC engine/c_vs_c.mli OCAMLC engine/isomorphisms_c_c.mli OCAMLC engine/cocci_vs_c.mli 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 popl09/asttopopl.ml OCAMLC popl09/insert_quantifiers.ml OCAMLC popl09/pretty_print_popl.ml OCAMLC popl09/popltoctl.mli OCAMLC popl09/popl.mli OCAMLC -o extra/extra.cma OCAMLC main.ml 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/script_rule.mli OCAMLC tools/spgen/source/spgen_interactive.mli OCAMLC tools/spgen/source/spgen_config.mli OCAMLC tools/spgen/source/spgen_test.ml cp parsing_c/parser_c.cmi ocaml/parser_c.cmi cp parsing_c/ast_c.cmo ocaml/ast_c.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/unparse_ast0.ml OCAMLC parsing_cocci/unify_ast.ml OCAMLC parsing_cocci/compute_lines.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/top_level.ml OCAMLC parsing_cocci/type_infer.ml OCAMLC parsing_cocci/test_exps.ml OCAMLC parsing_cocci/unitary_ast0.ml OCAMLC parsing_cocci/arity.ml OCAMLC parsing_cocci/index.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/data.ml OCAMLC parsing_cocci/free_vars.ml OCAMLC parsing_cocci/check_meta.ml OCAMLC parsing_cocci/parse_aux.ml MENHIR parsing_cocci/parser_cocci_menhir.mly OCAMLC parsing_cocci/id_utils.ml OCAMLC parsing_cocci/adjacency.ml OCAMLC parsing_cocci/commas_on_lists.ml 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/unparse_cocci.ml OCAMLC parsing_c/parsing_recovery_c.mli OCAMLC parsing_c/parsing_consistency_c.ml OCAMLC parsing_c/unparse_hrule.ml OCAMLC parsing_c/type_c.ml OCAMLC parsing_c/comment_annotater_c.ml OCAMLC -o ctl/ctl.cma OCAMLC ocaml/externalanalysis.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/isomorphisms_c_c.ml OCAMLC engine/asttomember.ml OCAMLC engine/asttoctl2.ml OCAMLC engine/ctltotex.ml OCAMLC popl09/popltoctl.ml OCAMLC popl09/popl.ml OCAMLC tools/spgen/source/detect_patch.ml OCAMLC tools/spgen/source/meta_variable.ml 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.ml OCAMLC tools/spgen/source/file_transform.ml OCAMLC tools/spgen/source/spgen_interactive.ml OCAMLC tools/spgen/source/spgen_config.ml OCAMLC tools/spgen/source/spgen.ml 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/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.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/parsing_recovery_c.ml OCAMLC parsing_c/danger.ml OCAMLC parsing_c/parse_c.mli OCAMLC engine/pretty_print_engine.ml OCAMLC engine/c_vs_c.ml OCAMLC engine/cocci_vs_c.ml OCAMLC engine/pattern_c.ml OCAMLC engine/transformation_c.ml OCAMLC engine/postprocess_transinfo.ml OCAMLC engine/ctlcocci_integration.ml OCAMLC -o popl09/popl09.cma OCAMLC cocci.mli OCAMLC tools/spgen/source/position_generator.ml OCAMLC tools/spgen/source/disj_generator.ml OCAMLC tools/spgen/source/rule_body.ml cp parsing_c/parse_c.cmi ocaml/parse_c.cmi cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo 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/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 -o engine/engine.cma OCAMLC testing.ml OCAMLC enter.ml cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo OCAMLC parsing_c/parsing_hacks.ml OCAMLC parsing_c/cpp_analysis_c.ml OCAMLC parsing_c/parse_c.ml OCAMLC parsing_c/unparse_c.ml OCAMLC parsing_c/cpp_ast_c.ml OCAMLC parsing_c/test_parsing_c.ml OCAMLC ocaml/exposed_modules.ml cp parsing_c/parse_c.cmo ocaml/parse_c.cmo cp parsing_c/parser_c.cmo ocaml/parser_c.cmo OCAMLC ocaml/coccilib.ml OCAMLC ocaml/yes_prepare_ocamlcocci.ml OCAMLC ocaml/run_ocamlcocci.ml OCAMLC python/yes_pycocci.mli OCAMLC cocci.ml OCAMLC -o parsing_c/parsing_c.cma OCAMLC python/yes_pycocci.ml OCAMLC python/pycocci.ml OCAMLDEP parsing_cocci/parser_cocci_menhir.ml OCAMLDEP parsing_cocci/parser_cocci_menhir.mli OCAMLC -o python/python.cma OCAMLC parsing_cocci/parser_cocci_menhir.mli OCAMLC parsing_cocci/lexer_cocci.mli OCAMLC parsing_cocci/lexer_script.mli OCAMLC -o ocaml/ocaml.cma 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-24168-3f8a99-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-24168-4bc92d-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-24168-6f62ce-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-24168-8ce745-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-24168-7547c6-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-24168-7b015a-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-24168-9b7189-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-24168-7904bc-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-24168-8388b2-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-24168-424d0d-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { + foo(); goto out; } after(); addbeforeafter.res diff = --- tests/addbeforeafter.c +++ /tmp/cocci-output-24168-877b78-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-24168-eddf5b-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-24168-42b6a2-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; } addes.res diff = --- tests/addes.c +++ /tmp/cocci-output-24168-3b9e0d-addes.c @@ -1 +1,3 @@ int i; +struct foo { +}; addfield.res diff = --- tests/addfield.c +++ /tmp/cocci-output-24168-2d112f-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-24168-daadba-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-24168-f06a16-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-24168-efea98-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-24168-e89b26-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-24168-02ba9f-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-24168-01a578-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-24168-57a4d0-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-24168-816bed-addinc.c @@ -1,4 +1,5 @@ #ifndef FOO #define FOO #include +#include #endif addnl.res diff = --- tests/addnl.c +++ /tmp/cocci-output-24168-03ea46-addnl.c @@ -1,5 +1,6 @@ int main () { xxx(); - foo(); + FOO(); + yyy(); } addremvec.res addtoo.res diff = --- tests/addtoo.c +++ /tmp/cocci-output-24168-8eab80-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-24168-2a1d2c-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-24168-5fc8d4-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-24168-b89bb2-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-24168-56f2f8-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; out: - return 0; + return 100; } allex3.res diff = --- tests/allex3.c +++ /tmp/cocci-output-24168-856122-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; out: - return 0; } andid.res diff = --- tests/andid.c +++ /tmp/cocci-output-24168-81a41e-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-24168-13781a-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-24168-d0f8ce-anonfield.c @@ -1,3 +1,3 @@ struct { - int; + bool; }; ar.res diff = --- tests/ar.c +++ /tmp/cocci-output-24168-42c91b-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-24168-f099f2-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-24168-f05184-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-24168-721896-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-24168-66b9bb-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-24168-e053bd-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-24168-4f4f5d-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-24168-10ada5-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-24168-d74ab8-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-24168-d283c8-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-24168-5ad979-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-24168-86ffd8-attributeb.c @@ -1,3 +1,3 @@ int main(){ - [[lucky]] int variable; + [[fortunate]] int variable; } attributeu.res diff = --- tests/attributeu.cpp +++ /tmp/cocci-output-24168-7943a9-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-24168-7efd1b-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-24168-9b60da-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-24168-7ae9f6-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-24168-d495b7-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-24168-95772b-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-24168-79153e-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-24168-080954-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-24168-27127c-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-24168-77a15d-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-24168-77516b-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-24168-eb5c48-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-24168-90fc2c-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-24168-a9e022-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-24168-318366-before.c @@ -1,4 +1,6 @@ int main () { + blah(); one(); + blah(); foo(); } befored.res diff = --- tests/befored.c +++ /tmp/cocci-output-24168-4f50e6-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-24168-65a0f0-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-24168-1769bf-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) blah(); + bar(); foo(); } bigrepl.res diff = --- tests/bigrepl.c +++ /tmp/cocci-output-24168-b419bb-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-24168-67fb04-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-24168-4016ee-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-24168-883371-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-24168-fd0d14-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; int b; } bracebraceline.res diff = --- tests/bracebraceline.c +++ /tmp/cocci-output-24168-9853bb-bracebraceline.c @@ -1,6 +1,5 @@ int main () { if (x) { - one(); - two(); + three(); } } braceline.res diff = --- tests/braceline.c +++ /tmp/cocci-output-24168-f64e7f-braceline.c @@ -1,6 +1,3 @@ int main () { - if (x) { - one(); - two(); - } + if (x) three(); } braces.res diff = --- tests/braces.c +++ /tmp/cocci-output-24168-0e3b9b-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-24168-71e35b-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-24168-1bea9d-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-24168-06cb1f-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-24168-84e25b-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-24168-bc22fe-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-24168-8f0d7e-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-24168-4b9000-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-24168-af0119-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-24168-74e64a-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; } cast_iso.res diff = --- tests/cast_iso.c +++ /tmp/cocci-output-24168-8d1489-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-24168-a604a1-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-24168-b300c1-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-24168-5d8c84-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-24168-d78445-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-24168-33544b-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-24168-2cdede-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-24168-374401-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-24168-c4f943-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-24168-44566c-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-24168-2bc677-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-24168-c12117-cocci_args.c @@ -1,3 +1,3 @@ int main () { - f(); + g(a); } com.res diff = --- tests/com.c +++ /tmp/cocci-output-24168-25eb74-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-24168-df3214-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment int main () { return 12; } comj.res diff = --- tests/comj.c +++ /tmp/cocci-output-24168-9b5019-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_588423.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_588423.ml Compilation OK! Loading ML code of the SP... diff = --- tests/comma.c +++ /tmp/cocci-output-24168-f62706-comma.c @@ -3,9 +3,9 @@ show_cpuinfo (struct seq_file *m, void * { for (i = 0; i < ARRAY_SIZE(feature_bits) && size > 1; ++i) { cp += snprintf(cp, size, "%s%s", sep, - feature_bits[i].feature_name), + feature_bits[i].feature_name); cp += snprintf(cp, size, "%s%s", sep, - feature_bits[i].feature_name), + feature_bits[i].feature_name); sep = ", "; } } comma_call.res diff = --- tests/comma_call.c +++ /tmp/cocci-output-24168-74736d-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-24168-1add84-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-24168-b83690-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-24168-e901cf-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_21004f.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_21004f.ml File "/tmp/ocaml_cocci_21004f.ml", line 31, characters 4-5: 31 | let p = match List.nth __args__ 1 with Coccilib.Pos x -> x | _ -> failwith "bad value" in ^ Warning 26 [unused-var]: unused variable p. Compilation OK! Loading ML code of the SP... 1 1 diff = --- tests/comment_line.c +++ /tmp/cocci-output-24168-31fb71-comment_line.c @@ -1,11 +1,9 @@ int main() { before(); - foo(); /*test*/ after(); - foo(); /*test*/ after(); } comment_middle.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_85b3e0.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_85b3e0.ml File "/tmp/ocaml_cocci_85b3e0.ml", line 30, characters 5-6: 30 | let f = match List.nth __args__ 0 with Coccilib.Str x -> x | _ -> failwith "bad value" in ^ Warning 26 [unused-var]: unused variable f. Compilation OK! Loading ML code of the SP... diff = --- tests/comment_middle.c +++ /tmp/cocci-output-24168-04ba23-comment_middle.c @@ -5,5 +5,4 @@ struct i { }; int main() { - foo(); } commentbefore.res commentbefore2.res commentend.res diff = --- tests/commentend.c +++ /tmp/cocci-output-24168-876b9a-commentend.c @@ -1,5 +1,4 @@ int main () { foo(); - bar(); /* this is bar */ xxx(); } comments.res diff = --- tests/comments.c +++ /tmp/cocci-output-24168-cbf019-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-24168-9232db-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-24168-f8dcb7-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-24168-1638ac-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-24168-77d1b4-complexcpp.cpp @@ -1,3 +1,3 @@ int main() { - std::complex x; + } comreturn.res diff = --- tests/comreturn.c +++ /tmp/cocci-output-24168-522191-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-24168-7d2fd7-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-24168-2d5832-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-24168-7a3b00-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-24168-9408f1-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-24168-075b69-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-24168-dfefd4-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-24168-c21736-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-24168-0d0bd9-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-24168-300838-constrem.c @@ -1,3 +1 @@ -static const int a; -static const int (*f)(const int); constructor.res diff = --- tests/constructor.c +++ /tmp/cocci-output-24168-111a7a-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-24168-841cff-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-24168-3649c1-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_9b75c7.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_9b75c7.ml Compilation OK! Loading ML code of the SP... countcalls_python.res exn while in timeout_function cptr.res diff = --- tests/cptr.c +++ /tmp/cocci-output-24168-4b9376-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c +++ /tmp/cocci-output-24168-01a68e-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-24168-5ff90a-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-24168-5b343b-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-24168-0524ca-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-24168-e15a0e-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_bc4498.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_bc4498.ml Compilation OK! Loading ML code of the SP... diff = --- tests/cstr.c +++ /tmp/cocci-output-24168-4d4eac-cstr.c @@ -1,4 +1,8 @@ int main() { f(1,2,1,2,3); g(0,2,1,11,22,11,22,1,1,2,3); + h(1, 1); + h(1, 1); + h(1, 1); + h(2, 2); } cststr.res warning: line 4: should foo be a metavariable? diff = --- tests/cststr.c +++ /tmp/cocci-output-24168-8337b1-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-24168-ad3806-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-24168-b7ac29-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-24168-c14313-cuda1.cpp @@ -1,4 +1,4 @@ int main() { - kernel_2<<>>(); + kernel_2<<>>(0); } cuda_noattr.res diff = --- tests/cuda_noattr.cpp +++ /tmp/cocci-output-24168-cce6f7-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-24168-577245-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-24168-639c50-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-24168-52eed7-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-24168-e19667-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-24168-221034-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-24168-67f9f7-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-24168-beb894-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-24168-588ae1-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-24168-245850-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-24168-2d7264-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-24168-b22b5c-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-24168-8f77c3-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-24168-6f8244-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-24168-aa786d-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-24168-1790ea-declend.c @@ -1,6 +1,5 @@ int x; int main() { - int x; return 0; } declmeta.res diff = --- tests/declmeta.c +++ /tmp/cocci-output-24168-afa7d0-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-24168-7b5b81-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-24168-be9a65-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c +++ /tmp/cocci-output-24168-6cfe0a-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-24168-e4b2c3-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-24168-87f49f-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-24168-80612b-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-24168-93c1c7-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-24168-b187e5-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-24168-8ccd79-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-24168-4e55f6-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-24168-8c30c2-delp.c @@ -1,4 +1,4 @@ int main () { return - (foo); + foo; } depfail.res diff = --- tests/depfail.c +++ /tmp/cocci-output-24168-117604-depfail.c @@ -1,5 +1,4 @@ int main(void) { foo(); - bar(); } deref.res diff = --- tests/deref.c +++ /tmp/cocci-output-24168-868e84-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-24168-d9fab2-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-24168-98aa2d-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_a21c61.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_a21c61.ml File "tests/detect_macrodecl_attr.cocci", line 18, characters 6-57: Warning 10 [non-unit-statement]: this expression should have type unit. Compilation OK! Loading ML code of the SP... diff = --- tests/detect_macrodecl_attr.c +++ /tmp/cocci-output-24168-d3a3de-detect_macrodecl_attr.c @@ -1,7 +1,5 @@ #define __macro_attr MACROANNOTATION -DECLARER(a, b) __macro_attr; +DECLARER(c, b) __macro_attr; DECLARER(a, b); - -DECLARER2(a, b) __macro_attr2; 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-24168-121880-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-24168-b05413-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-24168-b10be0-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-24168-078c59-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-24168-5b9874-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-24168-97073a-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-24168-d9f3d6-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-24168-c3a07f-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-24168-bea099-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-24168-ad0b8d-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-24168-9402f3-dotcall.c @@ -1,3 +1,2 @@ int main() { - xxx.foobar(); } dots_comma.res diff = --- tests/dots_comma.c +++ /tmp/cocci-output-24168-0c0ea8-dots_comma.c @@ -1,4 +1,4 @@ int main(void) { - f(3); + f(2, 3); } double.res diff = --- tests/double.c +++ /tmp/cocci-output-24168-8a3c6f-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-24168-722cf6-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-24168-b3ac93-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-24168-cce353-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-24168-098644-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-24168-95fc94-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-24168-fc5ac8-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-24168-86ea9e-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-24168-38de2e-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-24168-0fe4c6-dowhile.c @@ -1,7 +1,5 @@ int main() { do { - f(); } while (0); - g(); } dowhile_4.res diff = --- tests/dowhile_4.c +++ /tmp/cocci-output-24168-eca277-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-24168-41c109-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-24168-11dcb6-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-24168-e0d4da-dropbr.c @@ -1,5 +1,4 @@ int main () { - if (a) { - bar(); - } + if (a) + foo(); } dropcom.res diff = --- tests/dropcom.c +++ /tmp/cocci-output-24168-c96b3f-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-24168-7ad850-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-24168-819ae1-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-24168-b2c875-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-24168-23fe13-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-24168-fa31fe-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-24168-d4a497-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-24168-8c8f1f-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-24168-d6ce93-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-24168-39c4da-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-24168-823062-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-24168-9edc0c-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-24168-0f580a-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-24168-f00c9f-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-24168-845e92-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-24168-17976f-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-24168-b8c119-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-24168-a53307-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_e48958.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_e48958.ml Compilation OK! Loading ML code of the SP... diff = --- tests/endpos.c +++ /tmp/cocci-output-24168-793189-endpos.c @@ -1,4 +1,5 @@ int main () { + main(); if (x) { foo(); return -1; @@ -13,3 +14,8 @@ out: print(); return -1; } + +int main() +{ + return 0; +} enum.res diff = --- tests/enum.c +++ /tmp/cocci-output-24168-188f9a-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-24168-4ba18c-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-24168-630541-enumcast.c @@ -1 +1,2 @@ +enum{x = (int)1, }; int main() { return 12; } enumcpp.res diff = --- tests/enumcpp.cpp +++ /tmp/cocci-output-24168-9c18c3-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-24168-e8c25f-enumdots.c @@ -1,3 +1,2 @@ enum binder_work_type { - BINDER_WORK_TRANSACTION = 12, } t; exitc.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_8a304a.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_8a304a.ml Compilation OK! Loading ML code of the SP... Failure in rule starting on line 8 diff = --- tests/exitc.c +++ /tmp/cocci-output-24168-71a78a-exitc.c @@ -1,6 +1,6 @@ int main () { - f(a1); - f(a2); - f(done); - f(a4); + g(a1); + g(a2); + g(done); + g(a4); } exitp.res exn while in timeout_function exp.res diff = --- tests/exp.c +++ /tmp/cocci-output-24168-470477-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-24168-923aa1-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-24168-7aedf5-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-24168-63c04c-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-24168-1c5c48-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-24168-162545-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-24168-ccc7bf-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-24168-3d7f1c-exprlist_comma.c @@ -1,4 +1,4 @@ int main(void) { - f(3); + f(2, 3); } exprun.res diff = --- tests/exprun.c +++ /tmp/cocci-output-24168-d3607d-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_f6b09a.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_f6b09a.ml Compilation OK! Loading ML code of the SP... diff = --- tests/extra.c +++ /tmp/cocci-output-24168-f68482-extra.c @@ -1,12 +1,25 @@ #ifdef FIRST -int main (int a, struct foo *b, struct bar *c) { +int _called_function_0 (int a, struct foo *b, struct bar *c) { a = b->x; return c->d; } + +int main(int a, struct foo *b, struct bar *c) +{ + assert(c != NULL); + assert(b != NULL); + return _called_function_0(a, b, c); +} #else -int main (int a, struct foo *xyz) { +int _called_function_1 (int a, struct foo *xyz) { a = xyz->x; return xyz->d; } + +int main(int a, struct foo *xyz) +{ + assert(xyz != NULL); + return _called_function_1(a, xyz); +} #endif failing_andany.res diff = --- tests/failing_andany.c +++ /tmp/cocci-output-24168-0e8ece-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-24168-893ef4-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-24168-2ff802-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-24168-32b60a-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-24168-e964d5-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-24168-08f366-finalclass.cpp @@ -1,2 +1,2 @@ -class foo final { int x; }; +class foo final { int y; }; finalize_only.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_dde453.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_dde453.ml Compilation OK! Loading ML code of the SP... find_long.res diff = --- tests/find_long.c +++ /tmp/cocci-output-24168-cee52b-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-24168-8ea86b-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-24168-25e154-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-24168-e529ea-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-24168-c4b964-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-24168-3d88e4-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c +++ /tmp/cocci-output-24168-f3a6f0-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-24168-d33195-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-24168-ba3964-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-24168-b4a362-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-24168-7742fa-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_2eaa49.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_2eaa49.ml Compilation OK! Loading ML code of the SP... diff = format string is 1x format string is 2x --- tests/format2.c +++ /tmp/cocci-output-24168-e7eb36-format2.c @@ -1,4 +1,3 @@ int main () { foo("blah %x blah"); - foo("blah %1x blah %2x blah"); } formatlist.res diff = --- tests/formatlist.c +++ /tmp/cocci-output-24168-799c73-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-24168-1540c4-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-24168-acfc33-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-24168-894de1-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-24168-f3b8c4-four.c @@ -1,5 +1,3 @@ int main () { f(1); - h(2); - i(2); } foura.res diff = --- tests/foura.c +++ /tmp/cocci-output-24168-4df84e-foura.c @@ -1,5 +1,4 @@ int main () { f(1); h(2); - i(2); } fp.res diff = --- tests/fp.c +++ /tmp/cocci-output-24168-6d80f7-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); } fptr.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_f27eea.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_f27eea.ml Compilation OK! Loading ML code of the SP... diff = --- tests/fptr.c +++ /tmp/cocci-output-24168-180925-fptr.c @@ -1,6 +1,6 @@ int foo(int c, int d) { return 0; } int main() { - call(foo); + success; } fptr2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_bc9667.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_bc9667.ml Compilation OK! Loading ML code of the SP... diff = --- tests/fptr2.c +++ /tmp/cocci-output-24168-c32ce3-fptr2.c @@ -1,7 +1,7 @@ int foo(int c, int d) { return 0; } int main() { - call(foo); - addrcall(&foo); + success; + success; } fptr3.res diff = --- tests/fptr3.c +++ /tmp/cocci-output-24168-9287b0-fptr3.c @@ -1,6 +1,6 @@ int foo(int c, int d) { return 0; } int main() { - call(foo); + 12; } fresh_id_script.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_05fc60.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_05fc60.ml File "tests/fresh_id_script.cocci", line 37, characters 4-5: Warning 26 [unused-var]: unused variable i. Compilation OK! Loading ML code of the SP... exn while in timeout_function fsh.res diff = --- tests/fsh.c +++ /tmp/cocci-output-24168-8c7f5f-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-24168-128485-fun.c @@ -1 +1,4 @@ +struct a { + int a; +}; int f(int x) { return x; } func.res diff = --- tests/func.c +++ /tmp/cocci-output-24168-c85ac3-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-24168-c3a23c-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-24168-a126d9-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-24168-39f5c0-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-24168-8b0bfe-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-24168-5c79a7-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-24168-ebf2a4-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-24168-a72258-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-24168-f1831d-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-24168-b42494-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-24168-66faaf-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-24168-39aa12-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-24168-bd9c97-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-24168-7c7f6a-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-24168-a5e674-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-24168-45523b-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-24168-1a33c8-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-24168-a0f087-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-24168-12aa13-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-24168-c3c26d-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-24168-57a1a4-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_8f68f7.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_8f68f7.ml Compilation OK! Loading ML code of the SP... diff = --- tests/id3.c +++ /tmp/cocci-output-24168-51f982-id3.c @@ -1,3 +1,3 @@ int foo () { - bar (6); + bar3(6, fresh1, fresh1); } id4.res exn while in timeout_function idcon_ocaml.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_0450f3.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_0450f3.ml Compilation OK! Loading ML code of the SP... diff = --- tests/idcon_ocaml.c +++ /tmp/cocci-output-24168-5a379b-idcon_ocaml.c @@ -1,5 +1,5 @@ void f(void) { - g(a); + g(18); g(b); - g(c); + g(18); } idcon_python.res exn while in timeout_function idstr.res diff = --- tests/idstr.c +++ /tmp/cocci-output-24168-edce9e-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-24168-3abc00-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-24168-eed868-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-24168-48d845-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-24168-614a14-ifdef1.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#include +#endif #include #include ifdef2.res diff = --- tests/ifdef2.c +++ /tmp/cocci-output-24168-8d3544-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-24168-481ecf-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-24168-6b9c1a-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-24168-dcd270-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-24168-06c140-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-24168-5e574b-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-24168-7c110c-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-24168-17d422-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-24168-6a4e05-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 - - - +5 - - - - - +2 - ); } ifdefmeta3.res diff = --- tests/ifdefmeta3.c +++ /tmp/cocci-output-24168-c8e20f-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-24168-bb876a-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-24168-54efdf-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-24168-8fc8fa-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-24168-381120-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-24168-453eeb-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-24168-993a1f-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-24168-e12352-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-24168-60f8d5-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-24168-4c25db-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-24168-b5ac95-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-24168-02a420-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-24168-a8f7f8-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-24168-3f3aec-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-24168-b9d263-incl2.c @@ -1,3 +1,4 @@ +#include "beginning.h" #include #include #include "linux/foo.h" inclifdef.res diff = --- tests/inclifdef.c +++ /tmp/cocci-output-24168-4c92e3-inclifdef.c @@ -1,4 +1,5 @@ #include +#include #ifdef CONFIG #include #endif include.res diff = --- tests/include.c +++ /tmp/cocci-output-24168-b46713-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-24168-362b47-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-24168-411b8a-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-24168-51b379-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-24168-5d3469-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-24168-78cd11-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; + foo(); } inhpos.res diff = --- tests/inhpos.c +++ /tmp/cocci-output-24168-b673f4-inhpos.c @@ -1,3 +1,2 @@ int main () { - g(3); } init3tst.res diff = --- tests/init3tst.cpp +++ /tmp/cocci-output-24168-7e8ea6-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-24168-be2b9c-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-24168-e84974-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c +++ /tmp/cocci-output-24168-1231ca-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include instfour.res instruct.res diff = --- tests/instruct.cpp +++ /tmp/cocci-output-24168-18ff9b-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-24168-00a98d-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-24168-4da122-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-24168-53ec3a-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; + x = z + y; } ip.res diff = --- tests/ip.c +++ /tmp/cocci-output-24168-b9e52e-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-24168-25f3fe-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-24168-2cb0c9-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-24168-f2c5b3-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-24168-e65531-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-24168-5f6be9-isotest2.c @@ -1,7 +1,6 @@ void main(int i) { char j; - int i = 1; j++; iteration.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_3a4771.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_3a4771.ml Compilation OK! Loading ML code of the SP... 1 pending new file instances 0 pending original file instances exn while in timeout_function iteration_after_merge.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_9f1a1b.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_9f1a1b.ml Compilation OK! Loading ML code of the SP... 2 pending new file instances 0 pending original file instances exn while in timeout_function iterator.res SPECIAL NAMES: adding list_for_each as a iterator diff = --- tests/iterator.c +++ /tmp/cocci-output-24168-beb5d4-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-24168-ae9a1d-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-24168-337c29-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); - h(); g(); - h(); } julia7.res diff = --- tests/julia7.c +++ /tmp/cocci-output-24168-5a6190-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-24168-1065b3-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-24168-77f7ae-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-24168-a42da5-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-24168-606903-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-24168-44c887-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-24168-fa2b49-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-24168-e4ad1a-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-24168-c60870-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-24168-a8814d-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-24168-9f06d3-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-24168-4a4408-lessone.c @@ -1,4 +1,4 @@ int min() { - return 2.56 < 1; + return 2.56 < 0; } lfe.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_b819a1.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_b819a1.ml Compilation OK! Loading ML code of the SP... SPECIAL NAMES: adding list_for_each_entry as a iterator diff = --- tests/lfe.c +++ /tmp/cocci-output-24168-da611d-lfe.c @@ -11,13 +11,21 @@ static bool tipc_service_insert_publ(str u32 key = p->key; /* Return if the publication already exists */ - list_for_each_entry(_p, &sr->all_publ, all_publ) { - if (_p->key == key && (!_p->sk.node || _p->sk.node == node)) { - pr_debug("Failed to bind duplicate %u,%u,%u/%u:%u/%u\n", - p->sr.type, p->sr.lower, p->sr.upper, - node, p->sk.ref, key); - goto exit; + { + int __a__1 = 0; + list_for_each_entry(_p, &sr->all_publ, all_publ) { + __a__1++; + { + if (_p->key == key && (!_p->sk.node || _p->sk.node == node)) { + pr_debug("Failed to bind duplicate %u,%u,%u/%u:%u/%u\n", + p->sr.type, p->sr.lower, + p->sr.upper, + node, p->sk.ref, key); + goto exit; + } + } } + trace_printk("%s:%d, count: %d\n", __FILE__, __LINE__, __a__1); } exit: return res; lid.res diff = --- tests/lid.c +++ /tmp/cocci-output-24168-af43a6-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-24168-ae4dc4-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-24168-ca4aeb-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-24168-9deba9-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-24168-4d3aa3-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-24168-2011bb-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-24168-506340-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-24168-dcac8c-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-24168-f22562-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-24168-9e02ca-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-24168-29434a-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { int main () { - f("foo"); } long.res diff = --- tests/long.c +++ /tmp/cocci-output-24168-92029d-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-24168-17d450-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-24168-c52d5c-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-24168-fa6967-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-24168-cf0728-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-24168-d24f01-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-24168-6c5158-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-24168-7f1149-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-24168-fe0531-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-24168-89b0a1-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-24168-0f619a-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-24168-645a77-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-24168-10ca21-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-24168-7ba614-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-24168-f457cf-max.c @@ -1,3 +1,3 @@ int main () { - if (x < 25) return i; + if (x < 25) return 3; } md1.res (ONCE) already tagged but only removed, so safe diff = --- tests/md1.c +++ /tmp/cocci-output-24168-14672b-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-24168-eef259-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-24168-7694dd-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-24168-aefb81-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-24168-e241be-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_cf8bae.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_cf8bae.ml File "/tmp/ocaml_cocci_cf8bae.ml", line 24, characters 4-11: 24 | let unbound = List.nth __script_args__ 4 in ^^^^^^^ Warning 26 [unused-var]: unused variable unbound. Compilation OK! Loading ML code of the SP... diff = --- tests/mdecl.c +++ /tmp/cocci-output-24168-c1e983-mdecl.c @@ -1,5 +1,4 @@ -int one () { if (c < 0) return 12; return x < 0; } + int one () { return x < 0; } int one () { return rvw; } int two () { if (c < 0) return 21; return y; } -int one () { int c; if (c) return 12; return x < 0; } mdeclp.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_a1642a.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_a1642a.ml Compilation OK! Loading ML code of the SP... diff = --- tests/mdeclp.c +++ /tmp/cocci-output-24168-be1063-mdeclp.c @@ -1,2 +1,2 @@ -int one() { return 1; } + int two() { return 1; } mdeclp2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_34540a.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_34540a.ml Compilation OK! Loading ML code of the SP... exn while in timeout_function mdeclrep.res diff = --- tests/mdeclrep.c +++ /tmp/cocci-output-24168-db1a82-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-24168-3972a6-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-24168-e6b636-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_e8edce.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_e8edce.ml Compilation OK! Loading ML code of the SP... 1 pending new file instances 0 pending original file instances metaattr.res SPECIAL NAMES: adding __attr__ as a attribute diff = --- tests/metaattr.c +++ /tmp/cocci-output-24168-161554-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-24168-deed41-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-24168-8cfe1e-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 (ONCE) already tagged but only removed, so safe diff = --- tests/metaops0.c +++ /tmp/cocci-output-24168-5332d3-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-24168-70d56c-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-24168-2fbe05-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-24168-ea5eaf-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-24168-57b6fe-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-24168-1552d7-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-24168-c14aaf-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-24168-ab18c5-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-24168-0260dc-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-24168-542835-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-24168-0480c9-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-24168-5250a5-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-24168-a8ab25-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-24168-f9cc7f-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-24168-054f9e-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-24168-23bdf5-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-24168-66fd68-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_518460.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_518460.ml Compilation OK! Loading ML code of the SP... exn while in timeout_function multichars.res warning: line 4: should ab be a metavariable? diff = --- tests/multichars.c +++ /tmp/cocci-output-24168-a5ad9f-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-24168-42b284-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-24168-cf9019-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-24168-83f00e-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-24168-385379-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-24168-d38449-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-24168-97e75d-multistruct.c @@ -1,5 +1,3 @@ -struct one x; -struct two y; struct three z; multitype.res diff = --- tests/multitype.c +++ /tmp/cocci-output-24168-281579-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-24168-23dff9-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-24168-ba24b0-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-24168-19381e-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-24168-66c6c0-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-24168-040202-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-24168-1e313f-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-24168-8bbb3b-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-24168-3e91ae-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} - yyy(); } nestseq.res diff = --- tests/nestseq.c +++ /tmp/cocci-output-24168-44dfab-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); h(); + xxx(12); } neststruct.res diff = --- tests/neststruct.c +++ /tmp/cocci-output-24168-2e1b15-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-24168-e1af8f-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-24168-cf870e-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-24168-129678-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-24168-9d36fc-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-24168-8add63-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-24168-d5977f-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-24168-cf22f8-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-24168-5fb950-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-24168-a4e81d-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-24168-e271fc-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-24168-8b12d1-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } + g(); } noty2.res diff = --- tests/noty2.c +++ /tmp/cocci-output-24168-6b6518-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-24168-4d7ead-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-24168-047766-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-24168-962a5e-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-24168-dd16c2-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-24168-353480-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); - f(); + g(); + g(); } op.res diff = --- tests/op.c +++ /tmp/cocci-output-24168-6a1125-op.c @@ -1,5 +1,4 @@ int main () { - return 3; } int main () { opeq.res opt.res diff = --- tests/opt.c +++ /tmp/cocci-output-24168-1a7723-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); } optional_qualifier.res diff = --- tests/optional_qualifier.c +++ /tmp/cocci-output-24168-fd3e0f-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-24168-4168d7-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) { } orexp.res diff = --- tests/orexp.c +++ /tmp/cocci-output-24168-746f31-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-24168-2849c1-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-24168-c6afb2-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-24168-f64238-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-24168-fde3ef-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-24168-7d035d-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-24168-3601cb-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-24168-99db5a-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-24168-8de9a0-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c +++ /tmp/cocci-output-24168-1764de-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-24168-cb4e2c-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-24168-8449ef-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-24168-5374f1-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-24168-919544-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-24168-8c6c78-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-24168-2533c3-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-24168-98f9f9-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-24168-47b691-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-24168-8ee3b5-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-24168-b63379-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-24168-4782ad-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-24168-c19094-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-24168-05f441-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-24168-4e164c-pif.c @@ -1,5 +1 @@ -void f(void) -{ -/* hello */ -#pragma omp very very critical -} + plus33.res diff = --- tests/plus33.c +++ /tmp/cocci-output-24168-6b4be6-plus33.c @@ -1 +1,2 @@ +typedef double double3x3[3][3]; int x; pmac.res diff = --- tests/pmac.c +++ /tmp/cocci-output-24168-ee7351-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_3d9191.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_3d9191.ml Compilation OK! Loading ML code of the SP... diff = --- tests/poscon.c +++ /tmp/cocci-output-24168-cefbcd-poscon.c @@ -2,8 +2,8 @@ int main () { f(0); g(0); g(0); - g(0); - g(0); - g(0); - g(0); + g(27); + g(27); + g(27); + g(27); } posiso.res diff = --- tests/posiso.c +++ /tmp/cocci-output-24168-1c1cd6-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-24168-d5a044-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-24168-2b755d-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-24168-5e1256-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-24168-3629e8-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-24168-796cd4-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-24168-917b05-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-24168-ead863-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-24168-1f211a-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-24168-3935f7-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-24168-5e6b7a-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-24168-650004-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-24168-9fb81c-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-24168-7b38bc-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-24168-1498ae-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-24168-fade13-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-24168-9306a4-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-24168-222a71-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-24168-1b7482-refl.c @@ -1,5 +1,3 @@ int main () { int x; - one(&x); - two(&x); } regesc.res diff = --- tests/regesc.c +++ /tmp/cocci-output-24168-133b77-regesc.c @@ -1,5 +1,5 @@ int main () { - f(".foo"); - f("\.foo"); + 22; + 23; } regexp.res diff = --- tests/regexp.c +++ /tmp/cocci-output-24168-a2a72a-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-24168-d424e2-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-24168-979df8-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_70aa47.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_70aa47.ml Compilation OK! Loading ML code of the SP... diff = --- tests/relevant_position.c +++ /tmp/cocci-output-24168-19ff26-relevant_position.c @@ -1,4 +1,4 @@ -struct blah { struct list_head xxx; }; + struct sk_buff { int x; rem1.res diff = --- tests/rem1.c +++ /tmp/cocci-output-24168-ca712c-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) { foo(); } yyy(); } rem2.res diff = --- tests/rem2.c +++ /tmp/cocci-output-24168-968827-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) foo(); yyy(); } remaft.res diff = --- tests/remaft.c +++ /tmp/cocci-output-24168-fd2e6e-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-24168-d96992-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-24168-e5e8f9-remcom2.c @@ -2,7 +2,5 @@ int fn() { if (y) { x(); - - Debug(); } } remodif.res diff = --- tests/remodif.c +++ /tmp/cocci-output-24168-3842dd-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-24168-82bc00-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-24168-2a3ae3-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-24168-c027dd-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-24168-0ee90a-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-24168-9028b1-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-24168-321b4a-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-24168-b9c869-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-24168-daa39d-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-24168-ddac9b-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-24168-a68e92-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-24168-6860d6-rems.c @@ -1,5 +1,4 @@ int main () { x(); - if (x) a(); y(); } rems1.res diff = --- tests/rems1.c +++ /tmp/cocci-output-24168-e0db5d-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-24168-486211-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-24168-56e0e8-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-24168-652951-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-24168-ce7434-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-24168-778d14-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-24168-b2aa56-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-24168-1222ca-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-24168-d7d20a-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-24168-d84993-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { foo(); + return -ENODEV; } retval.res diff = --- tests/retval.c +++ /tmp/cocci-output-24168-99e211-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-24168-1d3cc9-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-24168-99f09d-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-24168-36d015-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-24168-ca01e5-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-24168-484fd3-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-24168-a3ef34-sbef.c @@ -2,6 +2,5 @@ int main () { { a(); b(); - a(); } } sbef2.res diff = --- tests/sbef2.c +++ /tmp/cocci-output-24168-b47fd2-sbef2.c @@ -1,5 +1,4 @@ int main() { f(12); f(20); - a(); } scope_problem.res diff = --- tests/scope_problem.c +++ /tmp/cocci-output-24168-efcf5e-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-24168-8e34f2-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-24168-152ba8-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-24168-734592-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-24168-f7704c-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-24168-c22738-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-24168-e91a1b-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-24168-b93251-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-24168-e35f15-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-24168-284891-sizet.cpp @@ -1,3 +1,2 @@ int main() { - size_t x; } sizet1.res diff = --- tests/sizet1.c +++ /tmp/cocci-output-24168-81a615-sizet1.c @@ -1,3 +1,2 @@ int main() { - size_t x; } skip.res diff = --- tests/skip.c +++ /tmp/cocci-output-24168-a084f3-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); - f(2); - g(); + h(); } sl2.res diff = --- tests/sl2.c +++ /tmp/cocci-output-24168-b5dfbc-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 native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_2816f4.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_2816f4.ml Compilation OK! Loading ML code of the SP... diff = --- tests/slen.c +++ /tmp/cocci-output-24168-3f82c6-slen.c @@ -3,16 +3,10 @@ int main() { one(); } if (x) { - one(); - two(); - three(); + was3(); } if (x) { - one(); - two(); - three(); - four(); - five(); + was5(); } end(); } smallfn.res diff = --- tests/smallfn.c +++ /tmp/cocci-output-24168-4af598-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-24168-895f07-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-24168-78cdd9-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-24168-a18fad-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-24168-5d2178-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-24168-97deda-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-24168-1817d1-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-24168-0fdb11-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-24168-7a4b8e-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-24168-70513b-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-24168-7ce481-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-24168-e08cff-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-24168-81807c-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-24168-e35676-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); - replace(); g(); } stm3.res diff = --- tests/stm3.c +++ /tmp/cocci-output-24168-b60721-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); g(); } stm4.res diff = --- tests/stm4.c +++ /tmp/cocci-output-24168-7ea64e-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); g(); + g(); } stm5.res diff = --- tests/stm5.c +++ /tmp/cocci-output-24168-33b8d2-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); + h(); replace(); g(); + g(); } stm6.res diff = --- tests/stm6.c +++ /tmp/cocci-output-24168-63bdc5-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-24168-6f0e01-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-24168-6158d1-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-24168-6a125c-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-24168-6e7348-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-24168-fcd742-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-24168-6bca60-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-24168-346da9-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-24168-c7da0d-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-24168-69ec11-strtest.c @@ -1,3 +1,3 @@ int main() { - printf("hello\n"); + puts("hello\n"); } struct.res diff = --- tests/struct.c +++ /tmp/cocci-output-24168-2af8a4-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-24168-293f5e-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-24168-650f80-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-24168-90da4e-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-24168-fb9c93-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-24168-8725cb-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-24168-7133dd-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c +++ /tmp/cocci-output-24168-e45deb-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-24168-dec47a-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-24168-79bbd7-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-24168-4c575e-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; - f = 3; - return f; } td.res diff = --- tests/td.c +++ /tmp/cocci-output-24168-f060ce-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-24168-5e3483-tdnl.c @@ -4,5 +4,4 @@ void main() { td2.attr; - foo(); } tdplus.res diff = --- tests/tdplus.c +++ /tmp/cocci-output-24168-890c39-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-24168-5eb168-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-24168-ab46d5-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-24168-4d90d4-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-24168-c5e469-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-24168-340065-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-24168-a9dc4d-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-24168-a925f5-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-24168-91121b-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-24168-3d60a3-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-24168-4195db-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-24168-b64364-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-24168-b03c44-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-24168-7546e5-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-24168-24aedf-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-24168-2856ae-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-24168-bc4136-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-24168-7fcab4-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-24168-7d099b-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-24168-a60be8-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-24168-9f9ca9-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-24168-17aa60-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-24168-266b2d-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-24168-d9b05f-threea.c @@ -1,4 +1,3 @@ int main() { f(12); - q(12); } tloop.res diff = --- tests/tloop.c +++ /tmp/cocci-output-24168-69ff42-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-24168-98b87a-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-24168-c883f7-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-24168-948109-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-24168-908d14-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-24168-447a6a-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-24168-c2c1e2-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-24168-a959a5-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-24168-c30b61-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-24168-08e695-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-24168-f7f042-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-24168-48923f-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-24168-8675e3-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-24168-612430-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-24168-581b1e-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-24168-88442d-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-24168-8b7900-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-24168-69f76f-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-24168-e47d92-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-24168-4f658e-type.c @@ -1,5 +1,5 @@ int foo() { - int x; + int *x; return 0; } type1.res diff = --- tests/type1.c +++ /tmp/cocci-output-24168-a0417d-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-24168-252152-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-24168-1f2e5a-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-24168-93ded7-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-24168-8a9922-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-24168-141d00-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-24168-754732-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-24168-637482-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-24168-4399e8-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-24168-370740-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-24168-f6219e-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-24168-a29c85-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-24168-2eeb1a-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-24168-93a863-undref.c @@ -1,3 +1,3 @@ int main () { - bar(); + 42; } undref2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_a7728b.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_a7728b.ml Compilation OK! Loading ML code of the SP... diff = the value of f: unknown --- tests/undref2.c +++ /tmp/cocci-output-24168-92a830-undref2.c @@ -1,3 +1,3 @@ int main () { - bar(); + 42; } undref3.res Using native version of ocamlc/ocamlopt/ocamldep ocamlc.opt -c /tmp/ocaml_cocci_466420.cmo -g -I /build/reproducible-path/coccinelle-1.2.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_466420.ml Compilation OK! Loading ML code of the SP... diff = the value of f: unknown --- tests/undref3.c +++ /tmp/cocci-output-24168-4c7e11-undref3.c @@ -1,3 +1,3 @@ int main () { - bar(); + 42; } unelse.res diff = --- tests/unelse.c +++ /tmp/cocci-output-24168-a0840a-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-24168-cd2df4-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-24168-b1757f-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-24168-1402f0-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-24168-ef2528-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-24168-5c2883-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-24168-262fd7-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-24168-3c38a9-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-24168-7a1727-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-24168-c6a389-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-24168-9e747c-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-24168-e526f7-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-24168-bbab58-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-24168-ae8df8-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { + return NULL; } varargs3.res diff = --- tests/varargs3.c +++ /tmp/cocci-output-24168-73e92d-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-24168-1c9503-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-24168-e28137-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-24168-c1dd7f-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-24168-212648-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-24168-fb5a2a-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-24168-6b18ba-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-24168-f8a202-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-24168-5bfc78-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-24168-e1203a-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-24168-12d22b-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; /* int y; y2.res diff = --- tests/y2.c +++ /tmp/cocci-output-24168-580198-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-24168-15700d-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-24168-cca46f-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 : CORRECT comma_call.res : CORRECT comma_if.res : CORRECT comment_brace.res : CORRECT comment_brace2.res : CORRECT comment_line.res : CORRECT comment_middle.res : CORRECT 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 : CORRECT countcalls.stdout : CORRECT 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 : CORRECT 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 : CORRECT 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 : CORRECT enum.res : CORRECT enum_assign.res : CORRECT enumcast.res : CORRECT enumcpp.res : CORRECT enumdots.res : CORRECT exitc.res : CORRECT 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 : CORRECT 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 : CORRECT finalize_only.stdout : CORRECT 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 : CORRECT 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 : CORRECT fptr2.res : CORRECT fptr3.res : CORRECT fresh_id_script.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]") 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 : CORRECT 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 : CORRECT 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 = 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]") iteration_after_merge.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]") 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 : CORRECT 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 : CORRECT mdeclp.res : CORRECT mdeclp2.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]") mdeclrep.res : CORRECT mdindex.res : CORRECT memory.res : CORRECT merge_after_iteration.res : CORRECT merge_after_iteration.stdout : CORRECT 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 = 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]") 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-24168-8add63-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 : CORRECT 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 : CORRECT 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-24168-5eb168-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 : CORRECT undref3.res : CORRECT 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-24168-9e747c-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.stdout 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: finalize_only.stdout 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: merge_after_iteration.stdout 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 = 690/770 Current score is greater than expected :) (was expecting 0 but got 690) 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-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged dh_installdeb dh_ocaml W: coccinelle doesn't resolve dependency on unit Token_views_c W: coccinelle doesn't resolve dependency on unit Cpp_token_c W: coccinelle doesn't resolve dependency on unit Lexer_parser W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit Token_annot W: coccinelle doesn't resolve dependency on unit Ograph_extended W: coccinelle doesn't resolve dependency on unit Parsing_stat dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.2.deb-1_all.deb'. dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.2.deb-1_armhf.deb'. dpkg-deb: building package 'coccinelle' in '../coccinelle_1.2.deb-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../coccinelle_1.2.deb-1_armhf.buildinfo dpkg-genchanges --build=binary -O../coccinelle_1.2.deb-1_armhf.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/30107 and its subdirectories I: Current time: Tue Jul 16 18:52:22 -12 2024 I: pbuilder-time-stamp: 1721199142 Wed Jul 17 06:52:37 UTC 2024 I: 1st build successful. Starting 2nd build on remote node virt32a-armhf-rb.debian.net. Wed Jul 17 06:52:37 UTC 2024 I: Preparing to do remote build '2' on virt32a-armhf-rb.debian.net. Wed Jul 17 07:14:39 UTC 2024 I: Deleting $TMPDIR on virt32a-armhf-rb.debian.net. Wed Jul 17 07:14:41 UTC 2024 I: coccinelle_1.2.deb-1_armhf.changes: Format: 1.8 Date: Sat, 13 Jul 2024 14:01:27 +0200 Source: coccinelle Binary: coccinelle coccinelle-dbgsym coccinelle-doc Architecture: armhf 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: 4e6f82317add93b6aced4c286ea2001ac1e04841 65336 coccinelle-dbgsym_1.2.deb-1_armhf.deb 47fb1de1deb1ad74e9594c3c6008f65670bdc303 769700 coccinelle-doc_1.2.deb-1_all.deb 54514a714dfbaa3eea020f53a884447f00013daf 9964 coccinelle_1.2.deb-1_armhf.buildinfo 164468b5872182804bed759ed00eaba83af982e4 1453780 coccinelle_1.2.deb-1_armhf.deb Checksums-Sha256: 13cc1feae5040f9a07162a168c270975f48ef805aac11baa99279879d45b839f 65336 coccinelle-dbgsym_1.2.deb-1_armhf.deb 4b2eb108768afcecc7c8edaa1c21f2e97b4d2e649fe65013ffa39509efea7829 769700 coccinelle-doc_1.2.deb-1_all.deb 42c704661f8f16afb59b7a8eee3c9456b3e64972076e2ae687995b4f0f01928c 9964 coccinelle_1.2.deb-1_armhf.buildinfo f767b2b466058b157741b7760f102dc07fc4adcfdd5d143cf90fb0ed0ea9e8d0 1453780 coccinelle_1.2.deb-1_armhf.deb Files: c83a00321f938363f614ef46e6b89cb0 65336 debug optional coccinelle-dbgsym_1.2.deb-1_armhf.deb 6b01e1572cdc188457101e4979f1f916 769700 doc optional coccinelle-doc_1.2.deb-1_all.deb b5a2034ce36ef2f94b40bcde9cead0d7 9964 devel optional coccinelle_1.2.deb-1_armhf.buildinfo abf4af8f9eaf29b906b81e7698760b1d 1453780 devel optional coccinelle_1.2.deb-1_armhf.deb Wed Jul 17 07:14:42 UTC 2024 I: diffoscope 272 will be used to compare the two builds: Running as unit: rb-diffoscope-armhf_18-6526.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.Y41pGE1f/coccinelle_1.2.deb-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.Y41pGE1f/coccinelle_1.2.deb-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.Y41pGE1f/coccinelle_1.2.deb-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.Y41pGE1f/b1/coccinelle_1.2.deb-1_armhf.changes /srv/reproducible-results/rbuild-debian/r-b-build.Y41pGE1f/b2/coccinelle_1.2.deb-1_armhf.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.512s) 0.512s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.048s) 0.048s 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: 904ms CPU time consumed: 905ms Wed Jul 17 07:14:44 UTC 2024 I: diffoscope 272 found no differences in the changes files, and a .buildinfo file also exists. Wed Jul 17 07:14:44 UTC 2024 I: coccinelle from unstable built successfully and reproducibly on armhf. Wed Jul 17 07:14:45 UTC 2024 I: Submitting .buildinfo files to external archives: Wed Jul 17 07:14:45 UTC 2024 I: Submitting 12K b1/coccinelle_1.2.deb-1_armhf.buildinfo.asc Wed Jul 17 07:14:46 UTC 2024 I: Submitting 12K b2/coccinelle_1.2.deb-1_armhf.buildinfo.asc Wed Jul 17 07:14:47 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Wed Jul 17 07:14:47 UTC 2024 I: Done submitting .buildinfo files. Wed Jul 17 07:14:47 UTC 2024 I: Removing signed coccinelle_1.2.deb-1_armhf.buildinfo.asc files: removed './b1/coccinelle_1.2.deb-1_armhf.buildinfo.asc' removed './b2/coccinelle_1.2.deb-1_armhf.buildinfo.asc'