1311 Commits

Author SHA1 Message Date
Chang, Harry
c37166d52b Merge branch 'github_develop' into github_master v5.4.1 2023-02-21 23:03:50 +00:00
Chang, Harry
f815639830 Bump version number for release 2023-02-21 22:57:45 +00:00
Chang, Harry
a775768988 changelog: updates for 5.4.1 release 2023-02-21 22:52:57 +00:00
Hong, Yang A
2fbef65905 fix nfa dump error 2023-02-15 05:51:00 +00:00
Hong, Yang A
277fc40089 scratch: add quick validity check
fix github issue #350
2023-02-15 05:51:00 +00:00
Hong, Yang A
5aa4bd565f stream close: free stream to avoid memory leak
fix github issue #303
2023-02-15 05:51:00 +00:00
Hong, Yang A
f47b69a01d Silence clang-14 warnings 2023-02-15 05:51:00 +00:00
Hong, Yang A
9e254af71f Fix cmake CMP0115 warning for CMake 3.20 and above 2023-02-15 05:51:00 +00:00
Hong, Yang A
c81293c696 update year 2022 2023-02-15 05:51:00 +00:00
Hong, Yang A
c1539d32df UTF-8 validation: fix one cotec check corner issue
fix github issue #362
2023-02-15 05:51:00 +00:00
Hong, Yang A
44b5955ecd chimera: fix SKIP flag issue
fix github issue #360
2023-02-15 05:51:00 +00:00
Hong, Yang A
e1f4542e65 stringop-overflow compatible fix 2023-02-15 05:51:00 +00:00
Hong, Yang A
a3ba1ad369 gcc-10(and above): fix compile issue caused by stringop-overflow 2023-02-15 05:49:59 +00:00
Liu Zixian
676490427c Add comment for stack size
Linux kernel default stack size should be enough for hscollider.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/include/uapi/asm/signal.h
2023-02-15 05:49:59 +00:00
Liu Zixian
838a04e66f fix build with glibc-2.34
SIGTSKSZ is no long a constant after glibc 2.34
https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
2023-02-15 05:49:59 +00:00
Hong, Yang A
f194a85d51 klocwork: fix risk issues 2023-02-15 05:49:59 +00:00
Chang, Harry
7bf5a9f5cd Corpus editor: fix random char value of UTF-8. 2023-02-15 05:49:04 +00:00
Chang, Harry
811f909d41 Corpus generator: fix random char value of UTF-8.
fixes github issue #184
2023-02-15 05:49:04 +00:00
Hong, Yang A
47bc68339f bugfix: fix overflow risk of strlen function 2023-02-15 05:48:20 +00:00
Hong, Yang A
1baf340d1c sanitiser bugfix 2023-02-15 05:47:58 +00:00
hongyang7
9b4ba34c68 Fix segfaults on allocation failure (#4)
Throw std::bad_alloc instead of returning nullptr from
ue2::AlignedAllocator. Allocators for STL containers are expected never
to return with an invalid pointer, and instead must throw on failure.
Violating this expectation can lead to invalid pointer dereferences.

Co-authored-by: johanngan <johanngan.us@gmail.com>
2023-02-15 05:47:36 +00:00
Hong, Yang A
85019432f4 bugfix: add vbmi case for test in database.cpp 2023-02-15 05:47:19 +00:00
Hong, Yang A
b386cbd20d bugfix: add vbmi platform parameter for tests in single.cpp 2023-02-15 05:47:19 +00:00
Chang, Harry
b254a88c43 Logical Combination: bypass combination flag in hs_expression_info.
Fixes github issue #291
2023-02-15 05:46:27 +00:00
Hong, Yang A
819da8df17 update year for bugfix #302-#305 2023-02-15 05:46:27 +00:00
Hong, Yang A
7f4a806118 mcclellan: improve wide-state checking in Sherman optimization
fixes github issue #305
2023-02-15 05:46:27 +00:00
Hong, Yang A
0b246c801a literal API: add instruction support
fixes github issue #303
2023-02-15 05:46:27 +00:00
Hong, Yang A
9e17e8520f literal API: add empty string check.
fixes github issue #302, #304
2023-02-15 05:46:27 +00:00
Wang Xiang W
1ecb3aef8b simd_utils: fix undefined instruction issue for 32-bit system
fixes github issue #292
2023-02-15 05:46:27 +00:00
Wang Xiang W
62e35c910b fat runtime: fix libc symbol parsing
fixes github issue #292
2023-02-15 05:46:27 +00:00
Hong, Yang A
95cd19c6f0 Example code: update header position 2023-02-15 05:46:27 +00:00
Hong, Yang A
98daf283b1 Example code: update year 2023-02-15 05:46:27 +00:00
Hong, Yang A
e0c489f98f Example code: bugfix of KW scan. 2023-02-15 05:46:27 +00:00
Hong, Yang A
64a995bf44 Merge branch 'github_develop' into github_master v5.4.0 2021-01-13 14:39:34 +00:00
Wang Xiang W
433d2f386a Bump version number for release 2021-01-13 12:26:47 +00:00
Wang Xiang W
76066b9ef2 changelog: updates for 5.4.0 release 2021-01-13 12:26:47 +00:00
Chang, Harry
66dc649197 Fix Klocwork scan issues. 2021-01-13 12:26:47 +00:00
Wang Xiang W
d1ea4c762a chimera: fix return value handling
Fixes github issue #270
2021-01-13 12:26:47 +00:00
Wang Xiang W
2945c9bd20 Limex: exception handling with AVX512 2021-01-13 12:26:47 +00:00
Chang, Harry
20e69f6ad8 Logical Combination: use hs_misc_free instead of free.
fixes github issue #284
2021-01-13 12:26:47 +00:00
Hong, Yang A
845ea5c9e3 examples: add cmake enabling option BUILD_EXAMPLES. 2021-01-13 12:26:47 +00:00
Piotr Skamruk
b16c6200ee [dev-reference] Fix minor typo in docs 2021-01-13 12:26:47 +00:00
Walt Stoneburner
1a43a63218 Fixed several typos
Fixed spellings of regular, interpretation, and grammar to improve readability.

Fixes github issue #242
2021-01-13 12:26:47 +00:00
Wang Xiang W
04d3be487d Adjust sensitive terms 2021-01-13 12:26:47 +00:00
Wang Xiang W
5eab583df5 limex: add fast NFA check 2021-01-13 12:26:47 +00:00
Chang, Harry
ddc247516c Discard HAVE_AVX512VBMI checks at Sheng/McSheng compile time. 2021-01-13 12:26:47 +00:00
Chang, Harry
5326b3e688 Add cpu feature / target info "AVX512VBMI". 2021-01-13 12:26:47 +00:00
Zhu,Wenjun
0102f03c9c MCSHENG64: extend to 64-state based on mcsheng 2021-01-13 12:26:47 +00:00
Hong, Yang A
f06e19e6cb lookaround:
add 64x8 and 64x16 shufti models
add mask64 model
expand entry quantity
2021-01-13 12:26:47 +00:00
Chang, Harry
00b697bb3b AVX512VBMI Fat Teddy. 2021-01-13 12:26:47 +00:00