==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: mdk4 4.2-2 (Wed Jan 14 13:16:27 2026)
==> Retrieving sources...
-> Updating mdk4 git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
mdk4 ... warning: refname '4.2' is ambiguous.
Passed
==> Validating source files with b2sums...
mdk4 ... warning: refname '4.2' is ambiguous.
Passed
==> Making package: mdk4 4.2-2 (Wed Jan 14 18:16:34 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (2) libnl-3.12.0-1 libpcap-1.10.6-1
Total Download Size: 0.65 MiB
Total Installed Size: 6.06 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
libnl-3.12.0-1-aarch64 downloading...
libpcap-1.10.6-1-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libnl...
installing libpcap...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (5) perl-error-0.17030-3 perl-mailtools-2.22-3 perl-timedate-2.33-9 zlib-ng-2.3.2-1 git-2.52.0-2
Total Installed Size: 45.04 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
git-zsh-completion: upstream zsh completion
tk: gitk and git gui
openssh: ssh transport and crypto
man: show help with `git command --help`
perl-libwww: git svn
perl-term-readkey: git svn and interactive.singlekey setting
perl-io-socket-ssl: git send-email TLS support
perl-authen-sasl: git send-email TLS support
perl-cgi: gitweb (web interface) support
python: git svn & git p4
subversion: git svn
org.freedesktop.secrets: keyring credential helper
libsecret: libsecret credential helper [installed]
less: the default pager for git
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
Creating group 'git' with GID 968.
Creating user 'git' (git daemon user) with UID 968 and GID 968.
(2/3) Reloading system manager configuration...
Skipped: Current root is not booted.
(3/3) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Creating working copy of mdk4 git repo...
Cloning into 'mdk4'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Auto-merging src/attacks/poc.c
Auto-merging src/attacks/poc.c
==> Starting build()...
make -C src clean
make[1]: Entering directory '/build/mdk4/src/mdk4/src'
rm -f mdk4
rm -f debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o
rm -f ../test *.o
make -C osdep clean
make[2]: Entering directory '/build/mdk4/src/mdk4/src/osdep'
make -C radiotap clean
make[3]: Entering directory '/build/mdk4/src/mdk4/src/osdep/radiotap'
rm -f *.o
make[3]: Leaving directory '/build/mdk4/src/mdk4/src/osdep/radiotap'
rm -f libosdep.a *.o .os.*
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/osdep'
make -C attacks clean
make[2]: Entering directory '/build/mdk4/src/mdk4/src/attacks'
rm -f attacks.o auth_dos.o beacon_flood.o countermeasures.o deauth.o dummy.o eapol.o fuzzer.o ieee80211s.o poc.o probing.o wids.o *.o
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/attacks'
make[1]: Leaving directory '/build/mdk4/src/mdk4/src'
make -C src
make[1]: Entering directory '/build/mdk4/src/mdk4/src'
make -C osdep
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o debug.o debug.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o helpers.o helpers.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o mac_addr.o mac_addr.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o linkedlist.o linkedlist.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o greylist.o greylist.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o dumpfile.o dumpfile.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o packet.o packet.c
make[2]: Entering directory '/build/mdk4/src/mdk4/src/osdep'
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o brute.o brute.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o osdep.o osdep.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o channelhopper.o channelhopper.c
Building for Linux
make[3]: Entering directory '/build/mdk4/src/mdk4/src/osdep'
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o ghosting.o ghosting.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -c -o fragmenting.o fragmenting.c
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4/src/attacks'
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o attacks.o attacks.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o auth_dos.o auth_dos.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o beacon_flood.o beacon_flood.c
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4/src/attacks'
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o auth_dos.o auth_dos.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o countermeasures.o countermeasures.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o beacon_flood.o beacon_flood.c
osdep.c: In function 'osdep_init_txpowers':
osdep.c:165:14: warning: '%s' directive argument is null [-Wformat-overflow=]
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o countermeasures.o countermeasures.c
channelhopper.c:48:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o deauth.o deauth.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o deauth.o deauth.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o dummy.o dummy.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o dummy.o dummy.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o eapol.o eapol.c
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4/src/attacks'
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4/src/attacks'
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o deauth.o deauth.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o fuzzer.o fuzzer.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o deauth.o deauth.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o eapol.o eapol.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o fuzzer.o fuzzer.c
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4/src/attacks'
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o eapol.o eapol.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o fuzzer.o fuzzer.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o ieee80211s.o ieee80211s.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o dummy.o dummy.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o eapol.o eapol.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o ieee80211s.o ieee80211s.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o ieee80211s.o ieee80211s.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o ieee80211s.o ieee80211s.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o poc.o poc.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o ieee80211s.o ieee80211s.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o probing.o probing.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o wids.o wids.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o poc.o poc.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o poc.o poc.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o poc.o poc.c
poc.c: In function 'poc_parse':
poc.c:173:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
In file included from /usr/include/stdio.h:970,
from poc.c:1:
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'get_target':
poc.c:212:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable]
poc.c: In function 'get_file_lines':
poc.c:494:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
poc.c:499:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'str_to_hex':
poc.c:521:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
poc.c:523:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
In file included from poc.c:2:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
407 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
poc.c:539:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
poc.c: In function 'poc_parse':
poc.c:159:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
poc.c: In function 'get_target':
poc.c:237:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized]
poc.c:208:13: note: 'dsflags' was declared here
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o probing.o probing.c
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o poc.o poc.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -c -o osdep.o osdep.c
probing.c: In function 'create_probe_req':
probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign]
In file included from attacks.h:14,
from probing.h:4,
from probing.c:8:
../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *'
probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign]
In file included from /usr/include/string.h:548,
from probing.c:4:
/usr/include/bits/string_fortified.h:86:99: note: expected 'const char *' but argument is of type 'unsigned char *'
86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -c -o network.o network.c
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/attacks'
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o wids.o wids.c
poc.c: In function 'poc_parse':
poc.c:173:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
In file included from /usr/include/stdio.h:970,
from poc.c:1:
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'get_target':
poc.c:212:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable]
poc.c: In function 'get_file_lines':
poc.c:494:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
poc.c:499:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'str_to_hex':
poc.c:521:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
poc.c:523:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
In file included from poc.c:2:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
407 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
poc.c:539:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
poc.c: In function 'poc_parse':
poc.c:159:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
poc.c: In function 'get_target':
poc.c:237:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized]
poc.c:208:13: note: 'dsflags' was declared here
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -c -o file.o file.c
poc.c: In function 'poc_parse':
poc.c:173:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
In file included from /usr/include/stdio.h:970,
from poc.c:1:
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'get_target':
poc.c:212:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable]
poc.c: In function 'get_file_lines':
poc.c:494:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
poc.c:499:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'str_to_hex':
poc.c:521:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
poc.c:523:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
In file included from poc.c:2:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
407 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
poc.c:539:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
poc.c: In function 'poc_parse':
poc.c:159:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
poc.c: In function 'get_target':
poc.c:237:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized]
poc.c:208:13: note: 'dsflags' was declared here
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o probing.o probing.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -c -o linux.o linux.c
poc.c: In function 'poc_parse':
poc.c:173:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
In file included from /usr/include/stdio.h:970,
from poc.c:1:
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'get_target':
poc.c:212:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable]
poc.c: In function 'get_file_lines':
poc.c:494:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
poc.c:499:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'str_to_hex':
poc.c:521:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
poc.c:523:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
In file included from poc.c:2:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
407 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
poc.c:539:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
poc.c: In function 'poc_parse':
poc.c:159:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
poc.c: In function 'get_target':
poc.c:237:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized]
poc.c:208:13: note: 'dsflags' was declared here
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o probing.o probing.c
probing.c: In function 'create_probe_req':
probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign]
In file included from attacks.h:14,
from probing.h:4,
from probing.c:8:
../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *'
probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign]
In file included from /usr/include/string.h:548,
from probing.c:4:
/usr/include/bits/string_fortified.h:86:99: note: expected 'const char *' but argument is of type 'unsigned char *'
86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -c -o probing.o probing.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -c -o linux_tap.o linux_tap.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -c -o radiotap/radiotap.o radiotap/radiotap.c
poc.c: In function 'poc_parse':
poc.c:173:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
In file included from /usr/include/stdio.h:970,
from poc.c:1:
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'get_target':
poc.c:212:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable]
poc.c: In function 'get_file_lines':
poc.c:494:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
poc.c:499:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
/usr/include/bits/stdio2.h:305:26: note: expected 'char * restrict' but argument is of type 'unsigned char *'
305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
| ~~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'str_to_hex':
poc.c:521:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
poc.c:523:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
In file included from poc.c:2:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
407 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
poc.c:539:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
poc.c: In function 'poc_parse':
poc.c:159:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
poc.c: In function 'get_target':
poc.c:237:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized]
poc.c:208:13: note: 'dsflags' was declared here
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -c -o common.o common.c
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/attacks'
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4/src/attacks'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/attacks'
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4/src/attacks'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/attacks'
probing.c: In function 'create_probe_req':
probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign]
In file included from attacks.h:14,
from probing.h:4,
from probing.c:8:
../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *'
probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign]
In file included from /usr/include/string.h:548,
from probing.c:4:
/usr/include/bits/string_fortified.h:86:99: note: expected 'const char *' but argument is of type 'unsigned char *'
86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/attacks'
probing.c: In function 'create_probe_req':
probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign]
In file included from attacks.h:14,
from probing.h:4,
from probing.c:8:
../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *'
probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign]
In file included from /usr/include/string.h:548,
from probing.c:4:
/usr/include/bits/string_fortified.h:86:99: note: expected 'const char *' but argument is of type 'unsigned char *'
86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/attacks'
probing.c: In function 'create_probe_req':
probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign]
In file included from attacks.h:14,
from probing.h:4,
from probing.c:8:
../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *'
probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign]
In file included from /usr/include/string.h:548,
from probing.c:4:
/usr/include/bits/string_fortified.h:86:99: note: expected 'const char *' but argument is of type 'unsigned char *'
86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/attacks'
linux.c: In function 'do_linux_open.constprop':
linux.c:1937:21: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=]
In file included from /usr/include/stdio.h:970,
from linux.c:34:
In function 'snprintf',
inlined from 'do_linux_open.constprop' at linux.c:1936:17:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 34 and 289 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
linux.c: In function 'get_battery_state':
linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull]
In file included from linux.c:40:
/usr/include/dirent.h:134:12: note: in a call to function 'closedir' declared 'nonnull'
134 | extern int closedir (DIR *__dirp) __nonnull ((1));
| ^~~~~~~~
linux.c:2318:58: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
In function 'snprintf',
inlined from 'get_battery_state' at linux.c:2318:13:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
linux.c: In function 'get_battery_state':
linux.c:2330:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
In function 'snprintf',
inlined from 'get_battery_state' at linux.c:2329:13:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 26 and 281 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
linux.c: In function 'get_battery_state':
linux.c:2289:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 106 [-Wformat-truncation=]
In function 'snprintf',
inlined from 'get_battery_state' at linux.c:2288:13:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
ar cru libosdep.a osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libosdep.a
touch .os.Linux
make[3]: Leaving directory '/build/mdk4/src/mdk4/src/osdep'
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/osdep'
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4/src/attacks'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/mdk4/src/mdk4/src/attacks'
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 mdk4.c osdep/libosdep.a debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o attacks/attacks.o attacks/auth_dos.o attacks/beacon_flood.o attacks/countermeasures.o attacks/deauth.o attacks/dummy.o attacks/eapol.o attacks/fuzzer.o attacks/ieee80211s.o attacks/poc.o attacks/probing.o attacks/wids.o -o mdk4 -lnl-genl-3 -lnl-3 -lm -Losdep -losdep -lpthread -lpcap -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
mdk4.c: In function ‘main’:
mdk4.c:164:3: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
164 | setuid(getuid());
| ^~~~~~~~~~~~~~~~
make[1]: Leaving directory '/build/mdk4/src/mdk4/src'
==> Entering fakeroot environment...
==> Starting package()...
install: creating directory '/build/mdk4/pkg/mdk4/usr'
install: creating directory '/build/mdk4/pkg/mdk4/usr/bin'
'src/mdk4' -> '/build/mdk4/pkg/mdk4/usr/bin/mdk4'
install: creating directory '/build/mdk4/pkg/mdk4/usr/share'
install: creating directory '/build/mdk4/pkg/mdk4/usr/share/man'
install: creating directory '/build/mdk4/pkg/mdk4/usr/share/man/man8'
'man/mdk4.2' -> '/build/mdk4/pkg/mdk4/usr/share/man/man8/mdk4.8'
install: creating directory '/build/mdk4/pkg/mdk4/usr/share/doc'
install: creating directory '/build/mdk4/pkg/mdk4/usr/share/doc/mdk4'
'README.md' -> '/build/mdk4/pkg/mdk4/usr/share/doc/mdk4/README.md'
'useful_files' -> '/build/mdk4/pkg/mdk4/usr/share/doc/mdk4/useful_files'
'useful_files/common-ssids.txt' -> '/build/mdk4/pkg/mdk4/usr/share/doc/mdk4/useful_files/common-ssids.txt'
'useful_files/fakeap-example.txt' -> '/build/mdk4/pkg/mdk4/usr/share/doc/mdk4/useful_files/fakeap-example.txt'
'useful_files/less-common-ssids.txt' -> '/build/mdk4/pkg/mdk4/usr/share/doc/mdk4/useful_files/less-common-ssids.txt'
'useful_files/more-ssids.txt' -> '/build/mdk4/pkg/mdk4/usr/share/doc/mdk4/useful_files/more-ssids.txt'
==> Tidying install...
-> Removing libtool files...
-> Removing static library files...
-> Purging unwanted files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "mdk4"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: mdk4 4.2-2 (Wed Jan 14 18:16:42 2026)
==> Cleaning up...
[?12l[?25h