[port #1062] remove Linux runtime VMA labels in tiny mode - #12
Open
luantak wants to merge 2 commits into
Open
Conversation
Co-authored-by: Paul <luantak@pm.me>
luantak: use a named return for strippedVMAName; panic immediately without a VMA map / nested ifs. Copilot: binsubstr matches "Go:" not " Go: ". Adapted to master's stripRuntime map return. Co-authored-by: Paul <luantak@pm.me>
cursor
Bot
force-pushed
the
cursor/maremagnum-pr-1062-tiny-linux-vma-labels-2676
branch
from
August 11, 2026 21:05
07cf595 to
23fda5e
Compare
luantak
marked this pull request as ready for review
August 12, 2026 00:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Validity: valid
Linux runtime names anonymous mappings (
Go: heap arenaetc.) visible in/proc/PID/maps. DisablingsetVMANamefor tiny Linux builds removes an OS-visible runtime trace without changing mapping behavior.Upstream
burrowers#1062 (was dirty vs master)
Commit layout
Commit 1 is Maremagnum's from burrowers#1062 (author preserved as on the upstream commit:
autoprofiler <autoprofiler@local.invalid>); following commit(s) address luantak/mvdan review feedback and are authored by the Cursor/luantak port side.e26e4a0 autoprofiler | remove Linux runtime VMA labels in tiny mode23fda5e Cursor Agent | Address review feedback: named VMA return, no map, binsubstr Go:What this ports
setVMANameinset_vma_name_linux.gounder tinytiny-vma.txtar(GOOS=linux)Feedback applied (luantak requested changes)
strippedVMANameso it does not look like a general success condition (still returns master'sstrippedFunctionsmap for other direct-strip validation).set_vma_name_linux.goon Linux.binsubstrmatchesGo:notGo:.Testing
go test -run 'TestScript/(tiny|tiny-vma)$' .✅Remaining risks
set_vma_name_linux.gowith that symbol name.Notes for Paul
Clean, small; good companion to other tiny hardening ports.