sudara / pamplejuce

A JUCE audio plugin template. JUCE 8, Catch2, Pluginval, macOS notarization, Azure Trusted Signing, Github Actions
https://melatonin.dev/manuals/pamplejuce
MIT License
429 stars 43 forks source link

Strip Symbols From Linux & Mac #124

Open satbirkira opened 2 weeks ago

satbirkira commented 2 weeks ago

I've added a before and after test so there's no mistake of leaving symbols in, and to test the effectiveness of the strip. The default test symbol is processBlock, but it's a good idea to also check any sensitive symbols (eg. privateKey).

I wasn't able to figure out the best way to do this on Windows. On Linux and Mac, it's unreliable to use compiler flags. It's more verbose than the other jobs, I leave it to you to decide how informative it is.

If anyone can figure out the windows strip and symbol export, that would be dandy.

This also serves as a building block towards https://github.com/sudara/pamplejuce/issues/121#issue-2607080213