Skip to content

[pull] main from VirusTotal:main#235

Merged
pull[bot] merged 1 commit into
threatcode:mainfrom
VirusTotal:main
Jun 4, 2026
Merged

[pull] main from VirusTotal:main#235
pull[bot] merged 1 commit into
threatcode:mainfrom
VirusTotal:main

Conversation

@pull

@pull pull Bot commented Jun 4, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

The `WasmModuleBuilder` initially includes all functions marked with `#[wasm_export]` or `#[module_export]`. However, not all of these functions are necessarily used in the final compiled rules (e.g., when YARA modules are not imported).

This change adds a `walrus::passes::gc` pass to the build process, which removes any functions that are not actually referenced, thereby reducing the size of the compiled WASM rules.
@pull pull Bot locked and limited conversation to collaborators Jun 4, 2026
@pull pull Bot added the ⤵️ pull label Jun 4, 2026
@pull pull Bot merged commit b72f986 into threatcode:main Jun 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant