Skip to content

Make VM data and generated helpers harder to identify - #252

Merged
levno-710 merged 2 commits into
masterfrom
vm-data-and-shared-strings
Oct 29, 2026
Merged

levno-710 merged 2 commits into
masterfrom
vm-data-and-shared-strings

Conversation

@levno-710

@levno-710 levno-710 commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Replaces fixed VM metadata keys with randomized numeric keys and scatters prototype data, instructions, and constants across multiple tables. A generated helper reconstructs the tables once at startup, preserving direct lookups during execution. Medium protects this reconstruction code through Cff.

Cff now embeds repeated string literals once in a shared table and reuses them, including diagnostics and helper keys introduced during flattening. Together, these changes reduce recognizable landmarks and make finding interesting parts of the generated output harder.

@levno-710
levno-710 merged commit 0d3e287 into master Oct 29, 2026
1 check passed
@levno-710
levno-710 deleted the vm-data-and-shared-strings branch October 29, 2026 22:03
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