>>> hardened-malloc: Building testing/hardened-malloc 12-r1 (using abuild 3.12.0-r0) started Mon, 20 Nov 2023 14:05:48 +0000 >>> hardened-malloc: Checking sanity of /home/buildozer/aports/testing/hardened-malloc/APKBUILD... >>> hardened-malloc: Analyzing dependencies... >>> hardened-malloc: Installing for build: build-base python3 (1/13) Installing libbz2 (1.0.8-r6) (2/13) Installing libffi (3.4.4-r3) (3/13) Installing gdbm (1.23-r1) (4/13) Installing xz-libs (5.4.5-r0) (5/13) Installing mpdecimal (2.5.1-r2) (6/13) Installing libpanelw (6.4_p20231007-r0) (7/13) Installing readline (8.2.1-r2) (8/13) Installing sqlite-libs (3.44.0-r0) (9/13) Installing python3 (3.11.6-r1) (10/13) Installing python3-pycache-pyc0 (3.11.6-r1) (11/13) Installing pyc (3.11.6-r1) (12/13) Installing python3-pyc (3.11.6-r1) (13/13) Installing .makedepends-hardened-malloc (20231120.140550) Executing busybox-1.36.1-r15.trigger OK: 418 MiB in 118 packages >>> hardened-malloc: Cleaning up srcdir >>> hardened-malloc: Cleaning up pkgdir >>> hardened-malloc: Cleaning up tmpdir >>> hardened-malloc: Fetching https://distfiles.alpinelinux.org/distfiles/edge/hardened-malloc-12.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 65439 100 65439 0 0 731k 0 --:--:-- --:--:-- --:--:-- 734k >>> hardened-malloc: Fetching https://distfiles.alpinelinux.org/distfiles/edge/hardened-malloc-12.tar.gz >>> hardened-malloc: Checking sha512sums... hardened-malloc-12.tar.gz: OK >>> hardened-malloc: Unpacking /var/cache/distfiles/edge/hardened-malloc-12.tar.gz... mkdir -p out-light gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=false -DSLOT_RANDOMIZE=false -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=0 -DSLAB_QUARANTINE_QUEUE_LENGTH=0 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=8 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out-light/chacha.o chacha.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=false -DSLOT_RANDOMIZE=false -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=0 -DSLAB_QUARANTINE_QUEUE_LENGTH=0 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=8 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out-light/h_malloc.o h_malloc.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=false -DSLOT_RANDOMIZE=false -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=0 -DSLAB_QUARANTINE_QUEUE_LENGTH=0 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=8 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out-light/memory.o memory.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=false -DSLOT_RANDOMIZE=false -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=0 -DSLAB_QUARANTINE_QUEUE_LENGTH=0 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=8 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out-light/pages.o pages.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=false -DSLOT_RANDOMIZE=false -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=0 -DSLAB_QUARANTINE_QUEUE_LENGTH=0 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=8 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out-light/random.o random.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=false -DSLOT_RANDOMIZE=false -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=0 -DSLAB_QUARANTINE_QUEUE_LENGTH=0 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=8 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out-light/util.o util.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -std=c++17 -fsized-deallocation -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=false -DSLOT_RANDOMIZE=false -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=0 -DSLAB_QUARANTINE_QUEUE_LENGTH=0 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=8 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out-light/new.o new.cc gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Wl,-O1,--as-needed,-z,defs,-z,relro,-z,now,-z,nodlopen,-z,text -shared out-light/chacha.o out-light/h_malloc.o out-light/memory.o out-light/pages.o out-light/random.o out-light/util.o out-light/new.o -lstdc++ -o out-light/libhardened_malloc-light.so mkdir -p out gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=true -DSLOT_RANDOMIZE=true -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=1 -DSLAB_QUARANTINE_QUEUE_LENGTH=1 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=1 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out/chacha.o chacha.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=true -DSLOT_RANDOMIZE=true -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=1 -DSLAB_QUARANTINE_QUEUE_LENGTH=1 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=1 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out/h_malloc.o h_malloc.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=true -DSLOT_RANDOMIZE=true -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=1 -DSLAB_QUARANTINE_QUEUE_LENGTH=1 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=1 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out/memory.o memory.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=true -DSLOT_RANDOMIZE=true -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=1 -DSLAB_QUARANTINE_QUEUE_LENGTH=1 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=1 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out/pages.o pages.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=true -DSLOT_RANDOMIZE=true -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=1 -DSLAB_QUARANTINE_QUEUE_LENGTH=1 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=1 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out/random.o random.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=true -DSLOT_RANDOMIZE=true -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=1 -DSLAB_QUARANTINE_QUEUE_LENGTH=1 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=1 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out/util.o util.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -std=c++17 -fsized-deallocation -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=true -DSLOT_RANDOMIZE=true -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=1 -DSLAB_QUARANTINE_QUEUE_LENGTH=1 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=1 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -DCONFIG_SELF_INIT=true -c -o out/new.o new.cc gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -std=c17 -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings -Wundef -Werror -march=native -Wmissing-prototypes -Wstrict-prototypes -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Wl,-O1,--as-needed,-z,defs,-z,relro,-z,now,-z,nodlopen,-z,text -shared out/chacha.o out/h_malloc.o out/memory.o out/pages.o out/random.o out/util.o out/new.o -lstdc++ -o out/libhardened_malloc.so make -C test/ make[1]: Entering directory '/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test' gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out offset.c -lpthread -lhardened_malloc -o offset gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out mallinfo.c -lpthread -lhardened_malloc -o mallinfo gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out mallinfo2.c -lpthread -lhardened_malloc -o mallinfo2 gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out malloc_info.c -lpthread -lhardened_malloc -o malloc_info gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out large_array_growth.c -lpthread -lhardened_malloc -o large_array_growth gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out double_free_large.c -lpthread -lhardened_malloc -o double_free_large gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out double_free_large_delayed.c -lpthread -lhardened_malloc -o double_free_large_delayed gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out double_free_small.c -lpthread -lhardened_malloc -o double_free_small gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out double_free_small_delayed.c -lpthread -lhardened_malloc -o double_free_small_delayed gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out unaligned_free_large.c -lpthread -lhardened_malloc -o unaligned_free_large gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out unaligned_free_small.c -lpthread -lhardened_malloc -o unaligned_free_small gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out read_after_free_large.c -lpthread -lhardened_malloc -o read_after_free_large gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out read_after_free_small.c -lpthread -lhardened_malloc -o read_after_free_small gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out write_after_free_large.c -lpthread -lhardened_malloc -o write_after_free_large gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out write_after_free_large_reuse.c -lpthread -lhardened_malloc -o write_after_free_large_reuse gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out write_after_free_small.c -lpthread -lhardened_malloc -o write_after_free_small gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out write_after_free_small_reuse.c -lpthread -lhardened_malloc -o write_after_free_small_reuse gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out read_zero_size.c -lpthread -lhardened_malloc -o read_zero_size gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out write_zero_size.c -lpthread -lhardened_malloc -o write_zero_size gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out invalid_free_protected.c -lpthread -lhardened_malloc -o invalid_free_protected gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out invalid_free_unprotected.c -lpthread -lhardened_malloc -o invalid_free_unprotected gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out invalid_free_small_region.c -lpthread -lhardened_malloc -o invalid_free_small_region gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out invalid_free_small_region_far.c -lpthread -lhardened_malloc -o invalid_free_small_region_far gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out uninitialized_read_small.c -lpthread -lhardened_malloc -o uninitialized_read_small gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out uninitialized_read_large.c -lpthread -lhardened_malloc -o uninitialized_read_large gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out uninitialized_free.c -lpthread -lhardened_malloc -o uninitialized_free gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out uninitialized_realloc.c -lpthread -lhardened_malloc -o uninitialized_realloc gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out uninitialized_malloc_usable_size.c -lpthread -lhardened_malloc -o uninitialized_malloc_usable_size gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out overflow_large_1_byte.c -lpthread -lhardened_malloc -o overflow_large_1_byte gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out overflow_large_8_byte.c -lpthread -lhardened_malloc -o overflow_large_8_byte gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out overflow_small_1_byte.c -lpthread -lhardened_malloc -o overflow_small_1_byte gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out overflow_small_8_byte.c -lpthread -lhardened_malloc -o overflow_small_8_byte malloc_info.c: In function 'leak_memory': malloc_info.c:12:12: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 12 | (void)!malloc(1024 * 1024 * 1024); | ^~~~~~ malloc_info.c:10:1: note: include '' or provide a declaration of 'malloc' 9 | #include "../util.h" +++ |+#include 10 | malloc_info.c:12:12: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 12 | (void)!malloc(1024 * 1024 * 1024); | ^~~~~~ malloc_info.c:12:12: note: include '' or provide a declaration of 'malloc' unaligned_free_large.c: In function 'main': unaligned_free_large.c:10:5: warning: 'free' called on pointer 'p' with nonzero offset 1 [-Wfree-nonheap-object] 10 | free(p + 1); | ^~~~~~~~~~~ unaligned_free_large.c:6:15: note: returned from 'malloc' 6 | char *p = malloc(256 * 1024); | ^~~~~~~~~~~~~~~~~~ unaligned_free_small.c: In function 'main': unaligned_free_small.c:10:5: warning: 'free' called on pointer 'p' with nonzero offset 1 [-Wfree-nonheap-object] 10 | free(p + 1); | ^~~~~~~~~~~ unaligned_free_small.c:6:15: note: returned from 'malloc' 6 | char *p = malloc(16); | ^~~~~~~~~~ invalid_free_unprotected.c: In function 'main': invalid_free_unprotected.c:13:5: warning: 'free' called on pointer 'p' with nonzero offset 32768 [-Wfree-nonheap-object] 13 | free(p + 4096 * 8); | ^~~~~~~~~~~~~~~~~~ invalid_free_unprotected.c:9:15: note: returned from 'mmap' 9 | char *p = mmap(NULL, 4096 * 16, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invalid_free_small_region_far.c: In function 'main': invalid_free_small_region_far.c:11:5: warning: 'free' called on pointer 'p' with nonzero offset 1073741824 [-Wfree-nonheap-object] 11 | free(q); | ^~~~~~~ invalid_free_small_region_far.c:6:15: note: returned from 'malloc' 6 | char *p = malloc(16); | ^~~~~~~~~~ uninitialized_realloc.c: In function 'main': uninitialized_realloc.c:6:15: warning: 'realloc' called on a pointer to an unallocated object '1' [-Wfree-nonheap-object] 6 | void *p = realloc((void *)1, 16); | ^~~~~~~~~~~~~~~~~~~~~~ invalid_free_small_region.c: In function 'main': invalid_free_small_region.c:11:5: warning: 'free' called on pointer 'p' with nonzero offset 16384 [-Wfree-nonheap-object] 11 | free(q); | ^~~~~~~ invalid_free_small_region.c:6:15: note: returned from 'malloc' 6 | char *p = malloc(16); | ^~~~~~~~~~ uninitialized_free.c: In function 'main': invalid_free_protected.c: In function 'main': uninitialized_free.c:6:5: warning: 'free' called on a pointer to an unallocated object '1' [-Wfree-nonheap-object] 6 | free((void *)1); | ^~~~~~~~~~~~~~~ invalid_free_protected.c:13:5: warning: 'free' called on pointer 'p' with nonzero offset 32768 [-Wfree-nonheap-object] 13 | free(p + 4096 * 8); | ^~~~~~~~~~~~~~~~~~ invalid_free_protected.c:9:15: note: returned from 'mmap' 9 | char *p = mmap(NULL, 4096 * 16, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out string_overflow.c -lpthread -lhardened_malloc -o string_overflow gcc -std=c++17 -fsized-deallocation -O3 -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out delete_type_size_mismatch.cc -lpthread -lhardened_malloc -o delete_type_size_mismatch gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out unaligned_malloc_usable_size_small.c -lpthread -lhardened_malloc -o unaligned_malloc_usable_size_small gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out invalid_malloc_usable_size_small.c -lpthread -lhardened_malloc -o invalid_malloc_usable_size_small gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out invalid_malloc_usable_size_small_quarantine.c -lpthread -lhardened_malloc -o invalid_malloc_usable_size_small_quarantine gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out malloc_object_size.c -lpthread -lhardened_malloc -o malloc_object_size gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out malloc_object_size_offset.c -lpthread -lhardened_malloc -o malloc_object_size_offset gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out invalid_malloc_object_size_small.c -lpthread -lhardened_malloc -o invalid_malloc_object_size_small gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out invalid_malloc_object_size_small_quarantine.c -lpthread -lhardened_malloc -o invalid_malloc_object_size_small_quarantine gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out impossibly_large_malloc.c -lpthread -lhardened_malloc -o impossibly_large_malloc gcc -std=c17 -O3 -Wmissing-prototypes -D_GNU_SOURCE -DSLAB_CANARY=true -DCONFIG_EXTENDED_SIZE_CLASSES=true -Wl,-L/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out,-R,/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test/../out realloc_init.c -lpthread -lhardened_malloc -o realloc_init impossibly_large_malloc.c: In function 'main': impossibly_large_malloc.c:6:15: warning: argument 1 value '18446744073709551608' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6 | char *p = malloc(-8); | ^~~~~~~~~~ In file included from /usr/include/fortify/stdlib.h:23, from impossibly_large_malloc.c:1: /usr/include/stdlib.h:40:7: note: in a call to allocation function 'malloc' declared here 40 | void *malloc (size_t); | ^~~~~~ make[1]: Leaving directory '/home/buildozer/aports/testing/hardened-malloc/src/hardened_malloc-12/test' python3 -m unittest discover --start-directory test/ ...................................... ---------------------------------------------------------------------- Ran 38 tests in 8.855s OK >>> hardened-malloc: Entering fakeroot... >>> hardened-malloc*: Running postcheck for hardened-malloc >>> hardened-malloc*: Preparing package hardened-malloc... >>> hardened-malloc*: Stripping binaries >>> hardened-malloc*: Scanning shared objects >>> hardened-malloc*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> hardened-malloc*: Package size: 96.0 KB >>> hardened-malloc*: Compressing data... >>> hardened-malloc*: Create checksum... >>> hardened-malloc*: Create hardened-malloc-12-r1.apk >>> hardened-malloc: Build complete at Mon, 20 Nov 2023 14:06:04 +0000 elapsed time 0h 0m 16s >>> hardened-malloc: Cleaning up srcdir >>> hardened-malloc: Cleaning up pkgdir >>> hardened-malloc: Uninstalling dependencies... (1/13) Purging .makedepends-hardened-malloc (20231120.140550) (2/13) Purging python3-pyc (3.11.6-r1) (3/13) Purging python3-pycache-pyc0 (3.11.6-r1) (4/13) Purging pyc (3.11.6-r1) (5/13) Purging python3 (3.11.6-r1) (6/13) Purging gdbm (1.23-r1) (7/13) Purging libbz2 (1.0.8-r6) (8/13) Purging libffi (3.4.4-r3) (9/13) Purging libpanelw (6.4_p20231007-r0) (10/13) Purging mpdecimal (2.5.1-r2) (11/13) Purging readline (8.2.1-r2) (12/13) Purging sqlite-libs (3.44.0-r0) (13/13) Purging xz-libs (5.4.5-r0) Executing busybox-1.36.1-r15.trigger OK: 377 MiB in 105 packages >>> hardened-malloc: Updating the testing/x86_64 repository index... >>> hardened-malloc: Signing the index...