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

Hyperscan MPM integration v6 #1965

Closed
wants to merge 3 commits into from
Closed

Commits on Mar 28, 2016

  1. util-hash-lookup3: Add hashlittle_safe() variant

    By default, hashlittle() will read off the end of the key, up to the
    next four-byte boundary, although the data beyond the end of the key
    doesn't affect the hash. This read causes uninitialized read warnings
    from Valgrind and Address Sanitizer.
    
    Here we add hashlittle_safe(), which avoids reading off the end of the
    buffer (using the code inside the VALGRIND-guarded block in the original
    hashlittle() implementation).
    Justin Viiret committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    c0b7bd6 View commit details
    Browse the repository at this point in the history
  2. mpm: pass offset, depth args to add functions

    MpmAddPatternCI and MpmAddPatternCS had arguments for offset and depth,
    but these were not being passed in by the caller.
    Justin Viiret committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    a179045 View commit details
    Browse the repository at this point in the history
  3. mpm: add Hyperscan integration

    This adds an MPM implementation that uses the Hyperscan regex engine
    library from Intel, accessible as the "hs" mpm-algo.
    Justin Viiret committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    4a0c2fe View commit details
    Browse the repository at this point in the history