Skip to content

build: keep symbol tables in release binaries - #43

Merged
somoore merged 1 commit into
mainfrom
build/keep-symbols
Oct 23, 2026
Merged

somoore merged 1 commit into
mainfrom
build/keep-symbols

Conversation

@somoore

@somoore somoore commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Released cmesh binaries are built with -s -w. Without symbols, govulncheck -mode binary falls back to module-level matching and reports GO-2026-5932 (x/crypto/openpgp, unmaintained, no fix) against v0.1.0-prealpha.5 even though nothing calls it (the source-mode scan already says so). Dropping -s -w from Makefile and scripts/build-release.sh; a local build keeps 19,001 symbols and the binary scan reports 0 vulnerabilities. -trimpath stays. Takes effect on the next release.

Stripped binaries make govulncheck -mode binary fall back to module-level
matching, so prealpha.5 reports GO-2026-5932 (x/crypto/openpgp, no fix)
even though no openpgp symbol is reachable. Unstripped: 0 vulnerabilities.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T18:40:44.311004Z 5de2cf1 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@somoore

somoore commented Oct 23, 2026

Copy link
Copy Markdown
Owner Author

@codex review

1 similar comment
@somoore

somoore commented Oct 23, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 5de2cf15a4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@somoore
somoore merged commit fbd028d into main Oct 23, 2026
2 checks passed
@somoore
somoore deleted the build/keep-symbols branch October 23, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant