Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: intel/hyperscan
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: G-Core/linux-regex-module
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: linux-rex
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on May 19, 2022

  1. Copy the full SHA
    1b57124 View commit details

Commits on Jun 14, 2022

  1. Copy the full SHA
    ab4e1fe View commit details

Commits on Jun 16, 2022

  1. Copy the full SHA
    a61f820 View commit details
  2. Copy the full SHA
    b06424b View commit details
  3. Copy the full SHA
    ffd32e6 View commit details
  4. Copy the full SHA
    ffe20d4 View commit details
  5. Copy the full SHA
    53b6f89 View commit details
  6. Copy the full SHA
    deb6332 View commit details
  7. Copy the full SHA
    ea0beb7 View commit details
  8. Copy the full SHA
    b01a5b6 View commit details
  9. Copy the full SHA
    ba30e38 View commit details
  10. Copy the full SHA
    525b0f7 View commit details
  11. Copy the full SHA
    82dc466 View commit details
  12. Copy the full SHA
    fa327c5 View commit details

Commits on Jun 17, 2022

  1. Copy the full SHA
    377a8d5 View commit details
  2. Copy the full SHA
    115eef3 View commit details

Commits on Jul 19, 2022

  1. Copy the full SHA
    1a749bc View commit details
  2. Copy the full SHA
    8801bcf View commit details

Commits on Oct 20, 2022

  1. Copy the full SHA
    eafcf1b View commit details
  2. Copy the full SHA
    557fa24 View commit details
  3. Copy the full SHA
    152a7ec View commit details
  4. GCORE: patch: relax rose assertions to fix crash

    Rose engine triggers assertion when HS_FLAG_QUIET is used. Since
    assertions are removed in Release builds it couldn't be catched on
    official CI builds.
    snizovtsev authored and vankoven committed Oct 20, 2022
    Copy the full SHA
    91cd1bd View commit details
  5. Copy the full SHA
    6daad39 View commit details
  6. Copy the full SHA
    0ec8bf9 View commit details
  7. Copy the full SHA
    165add8 View commit details
  8. Copy the full SHA
    ac0854f View commit details
  9. GCORE: change the maintainer

    vankoven committed Oct 20, 2022
    Copy the full SHA
    82c029a View commit details
  10. Copy the full SHA
    98493dd View commit details

Commits on Oct 24, 2022

  1. Copy the full SHA
    fd01671 View commit details
  2. Copy the full SHA
    071dae5 View commit details
  3. Merge pull request #3 from G-Core/gcore-linux-rex

    Gcore linux rex
    vankoven authored Oct 24, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2b1bdae View commit details
Showing with 26,955 additions and 28,050 deletions.
  1. +9 −0 .gitignore
  2. +6 −4 CMakeLists.txt
  3. +372 −0 LICENSE
  4. +22 −31 README.md
  5. +35 −0 cmake/FindLibBpf.cmake
  6. +1 −1 cmake/build_wrapper.sh
  7. +1 −0 debian.dkms/README.Debian
  8. +17 −0 debian.dkms/build.sh
  9. +5 −0 debian.dkms/changelog
  10. +7 −0 debian.dkms/clean
  11. +17 −0 debian.dkms/control
  12. +9 −0 debian.dkms/dkms
  13. 0 debian.dkms/docs
  14. +140 −0 debian.dkms/rex-dkms.install
  15. +25 −0 debian.dkms/rules
  16. +1 −0 debian.dkms/source/format
  17. +4 −0 debian.dkms/upstream/metadata
  18. +1 −0 debian.dkms/watch
  19. +39 −0 linux-patches/0001-GCORE-fpu-disable-bottom-halves-in-FPU-context.patch
  20. +41 −0 linux-patches/0002-GCORE-bpf-allow-dynamic-kfuncs-in-XDP-programs.patch
  21. +237 −0 linux-patches/0003-bpf-Introduce-mem-size-argument-pair-support-for-kfu.patch
  22. +1 −0 linux-patches/linux-version
  23. +81 −0 src/Kbuild
  24. +22 −0 src/alloc.c
  25. +12 −0 src/crc32.h
  26. +20 −8 src/database.c
  27. +4 −0 src/hs_common.h
  28. +19 −0 src/hs_runtime.h
  29. +4 −0 src/hwlm/hwlm.c
  30. +5 −0 src/hwlm/noodle_engine.c
  31. +683 −0 src/kmod/.clang-format
  32. +109 −0 src/kmod/config.h
  33. +39 −0 src/kmod/hs_version.h
  34. +541 −0 src/kmod/rex.c
  35. +75 −0 src/kmod/rex.h
  36. +37 −0 src/kmod/rex_trace.h
  37. +106 −0 src/kmod/ue2common_kern.h
  38. +4 −0 src/nfa/gough.c
  39. +12 −8 src/nfa/limex_runtime_impl.h
  40. +4 −0 src/nfa/limex_state_impl.h
  41. +13 −7 src/nfa/mcsheng.c
  42. +4 −0 src/nfa/mpv.c
  43. +7 −0 src/nfa/repeat.c
  44. +4 −0 src/rose/init.c
  45. +7 −8 src/rose/match.c
  46. +4 −4 src/rose/program_runtime.c
  47. +15 −9 src/runtime.c
  48. +34 −11 src/scratch.c
  49. +4 −0 src/stream_compress.c
  50. +4 −0 src/stream_compress.h
  51. +14 −0 src/ue2common.h
  52. +4 −2 src/util/arch.h
  53. +3 −0 src/util/intrinsics.h
  54. +4 −0 src/util/multibit.h
  55. +4 −0 src/util/simd_utils.h
  56. +4 −0 src/util/state_compress.c
  57. +3 −5 tools/hscollider/sig.cpp
  58. +39 −0 unit/CMakeLists.txt
  59. +10 −9,554 unit/gtest/gtest-all.cc
  60. +1,644 −0 unit/gtest/gtest-death-test.cc
  61. +346 −0 unit/gtest/gtest-death-test.h
  62. +369 −0 unit/gtest/gtest-filepath.cc
  63. +1,221 −0 unit/gtest/gtest-internal-inl.h
  64. +97 −0 unit/gtest/gtest-matchers.cc
  65. +930 −0 unit/gtest/gtest-matchers.h
  66. +219 −0 unit/gtest/gtest-message.h
  67. +507 −0 unit/gtest/gtest-param-test.h
  68. +1,433 −0 unit/gtest/gtest-port.cc
  69. +533 −0 unit/gtest/gtest-printers.cc
  70. +1,029 −0 unit/gtest/gtest-printers.h
  71. +238 −0 unit/gtest/gtest-spi.h
  72. +108 −0 unit/gtest/gtest-test-part.cc
  73. +184 −0 unit/gtest/gtest-test-part.h
  74. +107 −0 unit/gtest/gtest-typed-test.cc
  75. +329 −0 unit/gtest/gtest-typed-test.h
  76. +6,746 −0 unit/gtest/gtest.cc
  77. +736 −18,302 unit/gtest/gtest.h
  78. +54 −0 unit/gtest/gtest_main.cc
  79. +359 −0 unit/gtest/gtest_pred_impl.h
  80. +61 −0 unit/gtest/gtest_prod.h
  81. +56 −0 unit/gtest/internal/custom/README.md
  82. +37 −0 unit/gtest/internal/custom/gtest-port.h
  83. +42 −0 unit/gtest/internal/custom/gtest-printers.h
  84. +37 −0 unit/gtest/internal/custom/gtest.h
  85. +304 −0 unit/gtest/internal/gtest-death-test-internal.h
  86. +211 −0 unit/gtest/internal/gtest-filepath.h
  87. +1,560 −0 unit/gtest/internal/gtest-internal.h
  88. +947 −0 unit/gtest/internal/gtest-param-util.h
  89. +114 −0 unit/gtest/internal/gtest-port-arch.h
  90. +2,389 −0 unit/gtest/internal/gtest-port.h
  91. +175 −0 unit/gtest/internal/gtest-string.h
  92. +183 −0 unit/gtest/internal/gtest-type-util.h
  93. +38 −59 unit/hyperscan/behaviour.cpp
  94. +0 −8 unit/hyperscan/literals.cpp
  95. +6 −24 unit/hyperscan/single.cpp
  96. +20 −0 unit/hyperscan/test_util.cpp
  97. +9 −5 unit/hyperscan/test_util.h
  98. +454 −0 unit/hyperscan/xdp_runner.c
  99. +23 −0 unit/hyperscan/xdp_runner.h
  100. +152 −0 unit/hyperscan/xdp_scan.cpp
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -25,6 +25,15 @@ autojunk
.libs
bin

# kernel binaries
*.o.d
*.cmd
*.ko
*.mod
*.mod.c
modules.order
Module.symvers

# Merge files created by git.
*.orig

10 changes: 6 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.11)
cmake_minimum_required (VERSION 3.12)
project (hyperscan C CXX)

set (HS_MAJOR_VERSION 5)
@@ -505,7 +505,7 @@ if (NOT WIN32)
endforeach()

configure_file(libhs.pc.in libhs.pc @ONLY) # only replace @ quoted vars
install(FILES ${CMAKE_BINARY_DIR}/libhs.pc
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libhs.pc
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
endif()

@@ -579,7 +579,7 @@ set (hs_exec_common_SRCS

set (hs_exec_SRCS
${hs_HEADERS}
src/hs_version.h
${PROJECT_BINARY_DIR}/hs_version.h
src/ue2common.h
src/allocator.h
src/crc32.c
@@ -730,13 +730,13 @@ set (hs_exec_avx2_SRCS

SET (hs_compile_SRCS
${hs_HEADERS}
${PROJECT_BINARY_DIR}/hs_version.h
src/crc32.h
src/database.h
src/grey.cpp
src/grey.h
src/hs.cpp
src/hs_internal.h
src/hs_version.h
src/scratch.h
src/state.h
src/ue2common.h
@@ -1412,3 +1412,5 @@ option(BUILD_EXAMPLES "Build Hyperscan example code (default TRUE)" TRUE)
if(NOT WIN32 AND BUILD_EXAMPLES)
add_subdirectory(examples)
endif()

option(TEST_XDPSCAN "Build Hyperscan unit tests for XDP module" FALSE)
Loading