LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.
C cdebiandesktop-environmentebpffirewalllandlocklinuxlinux-distributionopen-sourceprivacyquickjsraspberry-pi-5reactsecuritywaylandwayland-compositor
# Our own QR codes (src/vault/qr.c): known answers (segno), round trip, error
# correction, real images (tests/qr/) and fuzz. With ASan/UBSan if the compiler has them.
QR_SAN := $(shell echo 'int main(void){return 0;}' | $(CC) -fsanitize=address,undefined -x c -o /dev/null - 2>/dev/null && echo -fsanitize=address,undefined)
build/qr-test: tests/qr_test.c src/vault/qr.c src/vault/qr.h src/vault/smem.c src/vault/smem.h tests/qr/qr_ref.h build/obj/vault/vstb.o
@mkdir -p build
$(CC) $(CPPFLAGS) -Itests $(CFLAGS) $(QR_SAN) $(WARN) -std=c11 -o $@ tests/qr_test.c src/vault/qr.c src/vault/smem.c build/obj/vault/vstb.o -lm -lpthread
./$@ || { rm -f $@; exit 1; }
test: build/qr-test