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

Enable libyara user code to define its own modules #1772

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hillu
Copy link
Contributor

@hillu hillu commented Aug 21, 2022

Add API for user code to register its own module code with to be accessed in YARA rules.

A plugin system that could be used by yarac and yara can be built upon this. (I am working on that.) Another enhancement that could be built upon this is bridge code to enable building modules in scripting languages.

The module list is still initialized at yr_initialize() time, but
modules can be added later.
These functions are required or useful for module code. Library client
code that brings along its own ad-hoc module definition should have
the same access to those functions.
Individual modules' YR_MODULE structs are now defined alongside the
rest of the module code.
@hillu
Copy link
Contributor Author

hillu commented Dec 29, 2022

I have rebased my branch upon master. Is there any interest in this?

@plusvic
Copy link
Member

plusvic commented Dec 30, 2022

As all my efforts are currently going to https://github.com/VirusTotal/yara-x, I prefer to keep these changes out, release YARA 4.3 and then put this repo in maintenance mode for a while (only bug-fixes and overall maintenance, no new features), until future of yara-x is clear enough.

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.

None yet

2 participants