From d3eda47fd3189e5c6829fe079016a7e36a4d71be Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Mon, 22 Jun 2026 11:37:28 -0500 Subject: [PATCH] feat(ci): strip debug symbols from soul binary before publishing Add strip -s after gcc compilation to remove symbol table and relocation info. Reduces binary size and prevents symbol-level reverse engineering of EL runtime internals. --- .gitea/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index fed5443..632b4b1 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -134,6 +134,10 @@ jobs: -lssl -lcrypto -lcurl -lpthread -lm \ -o dist/neuron + # Strip debug symbols and non-essential symbol table entries. + # -s removes the symbol table + relocation info (max size reduction). + # Keeps the binary functional; debuggability is preserved via source + CI logs. + strip -s dist/neuron ls -lh dist/neuron - name: Smoke test