Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Weekly hardened_malloc binaries, built on Debian/Alpine

License

Notifications You must be signed in to change notification settings

charles8191/hardened_malloc

Repository files navigation

hardened_malloc binary

Warning

The libstdc++ and libgcc packages or their equivalents should be installed. Otherwise, you may break your system by trying to preload it globally.

This is a simple containerized build tool that builds the very latest hardened_malloc from Git.

We build this weekly using GitHub Actions.

3 different buildroots are used. Alpine for musl-based systems, Debian for most glibc-based systems and RHEL for Fedora-based systems.

There is a container artifact to build this, or you can use podman-build.1 to build the container. Replace DISTRO with either alpine, debian, or rhel:

mkdir out
podman run -v ./out:/out ghcr.io/charles8191/hardened_malloc/artifact:DISTRO

Demo

Replace DISTRO with either alpine, debian, or rhel.

wget https://github.com/charles8191/hardened_malloc/raw/refs/heads/main/libhardened_malloc-DISTRO.so
LD_PRELOAD=./libhardened_malloc-DISTRO.so /bin/echo "Hello, world!"

Charles and this project is not affilated with GrapheneOS in any way, shape or form.

About

Weekly hardened_malloc binaries, built on Debian/Alpine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages