Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Suppress UBSan alignment check for vendored tre library

Martin Vogel25d94d821aff
diff --git a/Makefile.cbm b/Makefile.cbm
index c4c8e6dc0..fd5ab9323 100644
--- a/Makefile.cbm
+++ b/Makefile.cbm
@@ -387,7 +387,7 @@ TRE_OBJ_TEST = $(BUILD_DIR)/tre.o
TRE_OBJ_PROD = $(BUILD_DIR)/prod_tre.o
$(BUILD_DIR)/tre.o: $(TRE_SRC) | $(BUILD_DIR)
- $(CC) $(TRE_CFLAGS) $(SANITIZE) -c -o $@ $<
+ $(CC) $(TRE_CFLAGS) $(SANITIZE) -fno-sanitize=alignment -c -o $@ $<
$(BUILD_DIR)/prod_tre.o: $(TRE_SRC) | $(BUILD_DIR)
$(CC) $(TRE_CFLAGS) -O2 -c -o $@ $<