Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify rationale for separate debug info #282

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

david-a-wheeler
Copy link
Contributor

The current text way oversells the value of separate debug info. Depending on separating debug info for security is a terrible idea. Decompilers and similar tools work quite well even when debug info is separate. Also, many of the readers are thinking about open source software, and clearly trying to hide the source code when it's public doesn't make any sense (!).

So I suggest emphasizing the size argument (which is uncontroversial), then briefly noting the other argument but emphasizing that hiding debug info doesn't really prevent decompilation.

If you want to hide secrets, omitting debug info is a terrible way to do it :-). Let's not claim otherwise.

The current text *way* oversells the value of separate debug info.
Depending on separating debug info for security is a terrible idea.
Decompilers and similar tools work quite well even when debug info
is separate. Also, many of the readers are thinking about open source
software, and clearly trying to hide the source code when it's public
doesn't make any sense (!).

So I suggest emphasizing the *size* argument (which is
uncontroversial), then briefly noting the other argument but emphasizing
that hiding debug info doesn't really prevent decompilation.

If you want to hide secrets, omitting debug info is a *terrible* way
to do it :-). Let's not claim otherwise.

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
@thomasnyman
Copy link
Contributor

lgtm

@thomasnyman thomasnyman merged commit 5176060 into main Nov 8, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants