>>> hardened-malloc: Building testing/hardened-malloc 12-r2 (using abuild 3.13.0-r5) started Thu, 03 Oct 2024 22:58:41 +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/10) Installing libffi (3.4.6-r0) (2/10) Installing gdbm (1.24-r0) (3/10) Installing mpdecimal (4.0.0-r0) (4/10) Installing libpanelw (6.5_p20240601-r1) (5/10) Installing sqlite-libs (3.46.1-r0) (6/10) Installing python3 (3.12.6-r0) (7/10) Installing python3-pycache-pyc0 (3.12.6-r0) (8/10) Installing pyc (3.12.6-r0) (9/10) Installing python3-pyc (3.12.6-r0) (10/10) Installing .makedepends-hardened-malloc (20241003.225842) Executing busybox-1.36.1-r32.trigger OK: 448 MiB in 123 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> hardened-malloc: Fetching hardened-malloc-12.tar.gz::https://github.com/GrapheneOS/hardened_malloc/archive/refs/tags/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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12997 0 12997 0 0 29253 0 --:--:-- --:--:-- --:--:-- 29253 100 65439 0 65439 0 0 137k 0 --:--:-- --:--:-- --:--:-- 2560k >>> hardened-malloc: Fetching https://distfiles.alpinelinux.org/distfiles/edge/hardened-malloc-12.tar.gz >>> hardened-malloc: Checking sha512sums... hardened-malloc-12.tar.gz: OK gcc14.patch: OK >>> hardened-malloc: Unpacking /var/cache/distfiles/edge/hardened-malloc-12.tar.gz... >>> hardened-malloc: gcc14.patch patching file test/malloc_info.c 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 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 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); | ^~~~~~~~~~ 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_protected.c: In function 'main': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~ 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); | ^~~~~~~~~~ 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); | ^~~~~~ uninitialized_free.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); | ^~~~~~~~~~~~~~~ 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 1.094s 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: 92.0 KB >>> hardened-malloc*: Compressing data... >>> hardened-malloc*: Create checksum... >>> hardened-malloc*: Create hardened-malloc-12-r2.apk >>> hardened-malloc: Build complete at Thu, 03 Oct 2024 22:58:48 +0000 elapsed time 0h 0m 7s >>> hardened-malloc: Cleaning up srcdir >>> hardened-malloc: Cleaning up pkgdir >>> hardened-malloc: Uninstalling dependencies... (1/10) Purging .makedepends-hardened-malloc (20241003.225842) (2/10) Purging python3-pyc (3.12.6-r0) (3/10) Purging python3-pycache-pyc0 (3.12.6-r0) (4/10) Purging pyc (3.12.6-r0) (5/10) Purging python3 (3.12.6-r0) (6/10) Purging gdbm (1.24-r0) (7/10) Purging libffi (3.4.6-r0) (8/10) Purging libpanelw (6.5_p20240601-r1) (9/10) Purging mpdecimal (4.0.0-r0) (10/10) Purging sqlite-libs (3.46.1-r0) Executing busybox-1.36.1-r32.trigger OK: 410 MiB in 113 packages >>> hardened-malloc: Updating the testing/x86_64 repository index... >>> hardened-malloc: Signing the index...