Renata Hodovan 33367bbfc6 Avoid excessive backtracking in regex engine during fuzzing
The regex engine is prone to excessive backtracking, leading to
timeouts, especially while fuzzing.
This commit introduces a backtracking counter and a limit of 1000
backtracking steps. When this limit is exceeded during fuzzing, the
regex engine aborts to prevent excessive backtracking. For this, the
FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION macro is used, as per
suggested by the documentation of libFuzzer.
2024-07-23 14:28:38 +02:00
2024-05-10 01:57:55 +02:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-05-09 12:36:12 +02:00
2024-02-19 01:13:07 +01:00
2024-01-19 10:18:32 +01:00
2024-03-22 00:47:17 +01:00
2024-03-22 11:23:33 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2020-09-06 18:53:08 +02:00
2024-02-10 16:19:17 +01:00
2024-03-02 14:36:44 +01:00
2024-02-18 15:00:04 +01:00
2024-02-10 16:19:17 +01:00
2020-09-06 18:53:08 +02:00
2024-02-10 20:54:29 +01:00
2024-01-27 13:12:37 +01:00
2024-02-10 16:19:17 +01:00
2023-12-05 16:51:16 +01:00
2024-02-15 10:30:04 +01:00

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.
Description
Public repository of the QuickJS Javascript Engine.
Readme MIT 28 MiB
Languages
C 94.1%
JavaScript 5.3%
Makefile 0.5%
Shell 0.1%