Diff of the two buildlogs: -- --- b1/build.log 2025-03-19 00:40:40.766783261 +0000 +++ b2/build.log 2025-03-19 00:41:19.401034798 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 18 12:40:11 -12 2025 -I: pbuilder-time-stamp: 1742344811 +I: Current time: Tue Apr 21 21:03:43 +14 2026 +I: pbuilder-time-stamp: 1776755023 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying missing-prototypes.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1366452/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1054072/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 21 07:03 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1054072/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1054072/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='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='7933c7f55bdb44929d2fdb7582e2c189' - 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='1366452' - PS1='# ' - PS2='> ' + INVOCATION_ID=7ac1abde4410421eb115309c8984debd + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1054072 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.tjt3QHBR/pbuilderrc_kEKc --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.tjt3QHBR/b1 --logfile b1/build.log weplab_0.1.5-7.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.tjt3QHBR/pbuilderrc_VxYB --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.tjt3QHBR/b2 --logfile b2/build.log weplab_0.1.5-7.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1366452/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1054072/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -153,7 +185,7 @@ Get: 39 http://deb.debian.org/debian trixie/main arm64 libdbus-1-dev arm64 1.16.2-2 [216 kB] Get: 40 http://deb.debian.org/debian trixie/main arm64 libpcap0.8t64 arm64 1.10.5-2 [160 kB] Get: 41 http://deb.debian.org/debian trixie/main arm64 libpcap0.8-dev arm64 1.10.5-2 [274 kB] -Fetched 22.9 MB in 0s (138 MB/s) +Fetched 22.9 MB in 0s (86.2 MB/s) Preconfiguring packages ... Selecting previously unselected package sgml-base. (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 ... 19899 files and directories currently installed.) @@ -333,7 +365,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/weplab-0.1.5/ && 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 > ../weplab_0.1.5-7_source.changes +I: user script /srv/workspace/pbuilder/1054072/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1054072/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/weplab-0.1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../weplab_0.1.5-7_source.changes dpkg-buildpackage: info: source package weplab dpkg-buildpackage: info: source version 0.1.5-7 dpkg-buildpackage: info: source distribution unstable @@ -422,6 +458,7 @@ gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"weplab\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIBPCAP=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/weplab-0.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu89 -Wall -pipe -c -o globals.o globals.c gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"weplab\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIBPCAP=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/weplab-0.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu89 -Wall -pipe -c -o heuristics.o heuristics.c gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"weplab\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIBPCAP=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/weplab-0.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu89 -Wall -pipe -c -o md5.o md5.c +gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"weplab\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIBPCAP=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/weplab-0.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu89 -Wall -pipe -c -o wep.o wep.c analpfile.c: In function 'AnalyzePcapFile': analpfile.c:105:44: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] 105 | if (GetPacketBssid(pkt+144,bssid)){ @@ -458,8 +495,61 @@ analpfile.c:187:72: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 187 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); | ~~~~~~~~^~~~~~~~~ +main.c: In function 'ReadHexByteArray': +main.c:138:15: warning: unused variable 'j' [-Wunused-variable] + 138 | int i,j; + | ^ +main.c: In function 'main': +main.c:303:45: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 303 | saux=optarg; + | ^ +main.c:307:58: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 307 | if (atoi(saux)>NUMBER_ATTACKS || !atoi(saux)) QuitParameterError("attacks to be launched must be defined as positive numbers from 1 to 5 splitted by commas and no spaces"); + | ^~~~ + | | + | unsigned char * +In file included from /usr/include/features.h:523, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from main.c:28: +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +main.c:307:88: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 307 | if (atoi(saux)>NUMBER_ATTACKS || !atoi(saux)) QuitParameterError("attacks to be launched must be defined as positive numbers from 1 to 5 splitted by commas and no spaces"); + | ^~~~ + | | + | unsigned char * +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +main.c:308:87: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 308 | defaultAttacks[STABILITY_LEVELS][atoi(saux)-1]=1; + | ^~~~ + | | + | unsigned char * +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +main.c:310:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 310 | saux=(&optarg[i])+1; + | ^ +gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"weplab\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIBPCAP=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/weplab-0.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu89 -Wall -pipe -c -o attack.o attack.c +main.c:334:79: warning: pointer targets in passing argument 1 of 'ReadHexByteArray' differ in signedness [-Wpointer-sign] + 334 | global_v.useDebugKey=ReadHexByteArray(optarg,global_v.debugKey,strlen(optarg)+1); + | ^~~~~~ + | | + | char * +main.c:137:37: note: expected 'unsigned char *' but argument is of type 'char *' + 137 | int ReadHexByteArray(unsigned char *asciiByteArray, unsigned char *destination, int asciiByteArrayMaxSize){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +main.c:196:17: warning: unused variable 'h2' [-Wunused-variable] + 196 | int h1, h2; + | ^~ +main.c:196:13: warning: unused variable 'h1' [-Wunused-variable] + 196 | int h1, h2; + | ^~ dictionary.c: In function 'GetNextWord': -gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"weplab\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIBPCAP=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/weplab-0.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu89 -Wall -pipe -c -o wep.o wep.c dictionary.c:143:27: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 143 | while (((rv=fgets(word, sz-1, wordfile))!=NULL)&&((word[0]=='\r')||(word[0]=='\n'))) { | ^~~~ @@ -507,6 +597,10 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ +md5.c: In function 'MD5Final': +md5.c:132:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] + 132 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ + | ^ dictionary.c:294:55: warning: pointer targets in passing argument 1 of 'wep_keygen128' differ in signedness [-Wpointer-sign] 294 | wep_keygen128(word, keys); | ^~~~ @@ -523,64 +617,6 @@ dictionary.c:104:25: note: expected 'char *' but argument is of type 'unsigned char *' 104 | void wep_keygen40(char *str, u_char *keys){ | ~~~~~~^~~ -main.c: In function 'ReadHexByteArray': -main.c:138:15: warning: unused variable 'j' [-Wunused-variable] - 138 | int i,j; - | ^ -main.c: In function 'main': -main.c:303:45: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 303 | saux=optarg; - | ^ -main.c:307:58: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 307 | if (atoi(saux)>NUMBER_ATTACKS || !atoi(saux)) QuitParameterError("attacks to be launched must be defined as positive numbers from 1 to 5 splitted by commas and no spaces"); - | ^~~~ - | | - | unsigned char * -In file included from /usr/include/features.h:523, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from main.c:28: -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -main.c:307:88: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 307 | if (atoi(saux)>NUMBER_ATTACKS || !atoi(saux)) QuitParameterError("attacks to be launched must be defined as positive numbers from 1 to 5 splitted by commas and no spaces"); - | ^~~~ - | | - | unsigned char * -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -main.c:308:87: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 308 | defaultAttacks[STABILITY_LEVELS][atoi(saux)-1]=1; - | ^~~~ - | | - | unsigned char * -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -main.c:310:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 310 | saux=(&optarg[i])+1; - | ^ -main.c:334:79: warning: pointer targets in passing argument 1 of 'ReadHexByteArray' differ in signedness [-Wpointer-sign] - 334 | global_v.useDebugKey=ReadHexByteArray(optarg,global_v.debugKey,strlen(optarg)+1); - | ^~~~~~ - | | - | char * -main.c:137:37: note: expected 'unsigned char *' but argument is of type 'char *' - 137 | int ReadHexByteArray(unsigned char *asciiByteArray, unsigned char *destination, int asciiByteArrayMaxSize){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -main.c:196:17: warning: unused variable 'h2' [-Wunused-variable] - 196 | int h1, h2; - | ^~ -main.c:196:13: warning: unused variable 'h1' [-Wunused-variable] - 196 | int h1, h2; - | ^~ -gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"weplab\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIBPCAP=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/weplab-0.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu89 -Wall -pipe -c -o attack.o attack.c -md5.c: In function 'MD5Final': -md5.c:132:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] - 132 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ - | ^ heuristics.c: In function 'GuessOutputByte': heuristics.c:61:10: warning: unused variable 'E' [-Wunused-variable] 61 | u_char E, S[N]; @@ -589,20 +625,6 @@ heuristics.c:397:108: warning: unknown conversion type character ')' in format [-Wformat=] 397 | printf("Perhaps you should increase the default probability (--perc) to a higher value (default 70%), or capture more packets.\n"); | ^ -bruteforce.c: In function 'bruteforce': -bruteforce.c:170:42: warning: 'mpid' may be used uninitialized [-Wmaybe-uninitialized] - 170 | for (i=0; i