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

Commits on Dec 28, 2022

  1. Make module list dynamic

    The module list is still initialized at yr_initialize() time, but
    modules can be added later.
    hillu committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    792fa7c View commit details
    Browse the repository at this point in the history
  2. Expose object-related, utility functions to client code

    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.
    hillu committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    88fae88 View commit details
    Browse the repository at this point in the history
  3. Make module implementations self-contained

    Individual modules' YR_MODULE structs are now defined alongside the
    rest of the module code.
    hillu committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    5002314 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    239524d View commit details
    Browse the repository at this point in the history