Repository navigation
Milestone 8.5: VST3 binary format and CPU preflight - #110
Merged
Merged
Conversation
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.
VST3 discovery now reads bounded binary headers and compares their format/CPU identifiers with the running Maskil project-service process. Desktop Music distinguishes a preliminary match, a differing format/CPU, and an undetermined result. This adds file evidence beyond vendor-reported metadata without loading any plugin code.
The reader supports PE DLL, ELF shared-object, and thin/universal Mach-O library headers. Universal tables and slices are bounded and checked for range, overlap, and CPU agreement. Conventional module paths are probed without recursive traversal or following links. Headers are checked for at most 128 candidates per scan; each file needs at most 1,056 header bytes. Hybrid Windows/Arm behavior and emulation remain undetermined rather than inferred.
A header match does not validate the full binary, VST entry points, OS/ABI support, dependencies, publisher signatures, licensing, or playback. Custom layouts and Info.plist executable names are not resolved. Findings remain transient, separate from manifests, and do not alter the song, renderer, or schema. Milestone 8.5 advances the dependency for 9.6 while preserving completed 9.x work; isolated native loading and hosting remain pending.
Validation: 607 .NET tests and 141 web tests pass; production build and diff checks pass. Windows browser checks cover matching/mismatching headers despite folder labels, linked/missing/truncated files, fresh rescan after a CPU-header change, clear/navigation cleanup, and unchanged song state. Fixtures contain inert header bytes only and have been removed. Cross-format parsing is tested with fixtures; actual macOS/Linux plugin loading is not claimed. Unix link handling is covered by Linux CI.