Skip to content

[pull] main from VirusTotal:main#222

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

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

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 18, 2026

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 : )

Adds a first-class API for registering YARA-X modules from external crates, including support for callable functions accessible from YARA-X rules.

# Why

Currently, adding a YARA-X module requires forking the repository and modifying internal code. This change exposes a stable external API so third-party crates can ship their own modules.

# Changes

The module registration mechanism has been refactored, the `#[module_main]` attribute has been removed
in favor of a new `register_module!` macro. 

---------

Co-authored-by: Victor M. Alvarez <vmalvarez@virustotal.com>
@pull pull Bot locked and limited conversation to collaborators May 18, 2026
@pull pull Bot added the ⤵️ pull label May 18, 2026
@pull pull Bot merged commit 8893b1a into threatcode:main May 18, 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