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

Callback on include #727

Closed
wants to merge 14 commits into from
Closed

Commits on Aug 24, 2017

  1. Full structure implemented, callback available. TODO: actually use th…

    …e callback's result to import rules files.
    edhoedt committed Aug 24, 2017
    Configuration menu
    Copy the full SHA
    23be010 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2017

  1. Configuration menu
    Copy the full SHA
    c985465 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45513f0 View commit details
    Browse the repository at this point in the history
  3. Removing useless comments

    edhoedt committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    4a3c839 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2017

  1. Adding documentation

    edhoedt committed Aug 28, 2017
    Configuration menu
    Copy the full SHA
    99391a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df2c1df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc2d3fa View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2017

  1. Fixing issues according to @plusvic 's advice

     * Limited lines to 80 chars
     * include callback is now using its own user_data and does not conflict with other callbacks
     * Copying include callback result to the stack before pushing it into the flex scanner
     * yara's memory management functions are now exposed through the API
     * Making the lexer reponsible for freeing the memory allocated by the include callback
     * Updating docs accordingly
    edhoedt committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    e98f434 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2017

  1. * fixing memory management issues in callbacks

    * adding a callback to allow external code to free the memory used to return the include callback's result
    * API: un-exposing yara's memory management functions
    * making include callbacks the only way ton include files
    * adding a default include callback to open files from the disk (mimicking original behavior)
    * updating docs accordingly
    edhoedt committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    92877db View commit details
    Browse the repository at this point in the history
  2. fixing missing pointer cast

    edhoedt committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    aeaf59a View commit details
    Browse the repository at this point in the history
  3. re-generating lexer.c

    edhoedt committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    3fd1434 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2017

  1. Configuration menu
    Copy the full SHA
    b8fe347 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2017

  1. Configuration menu
    Copy the full SHA
    d084696 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2017

  1. Fixing line numbers in errors

    edhoedt committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    0b86464 View commit details
    Browse the repository at this point in the history