rizin/subprojects/packagefiles
Rot127 5afc51f0e2
Replace current regex engine with PCRE2 (#4185)
* Replace OpenBSD regex library with PCRE2.

PCRE2 has way better performance than the OpenBSD
library (something around 20 times faster).

The following flags are enabled for every pattern:

- PCRE2_UTF
- PCRE2_MATCH_INVALID_UTF
- PCRE2_NO_UTF_CHECK

All the others are optional.

Changes made:

- Adds PCRE2 as subproject.
- Changes the API away from POSIX to PCRE2.
- Edits many regex patterns because:
 - ' ' is skipped in patterns, if the EXTENDED flag is set for matching. '\s' must be set now.
 - '.' doesn't match newlines by default.
- Changes the API so matches and their groups are bundled into PVectors.
- Moves the regex component to rz_util.

* Fix cross build - add copy of PCRE2 dependecy

Meson currently doesn't support subprojects to be native and non-native at the same time.
See: https://github.com/mesonbuild/meson/issues/10947
Unfortunately, sdb depends on rz_util which in turn depends on PCRE2.
Excluding PCRE2 from the native build makes linking of rz_util not possible anymore.
Adding it, will make Meson complain that the dependencies cannot be mixed.

Hence, we compile a copy of PCRE2 for the native build if required.
2024-02-05 12:51:16 +08:00
..
blake3 Fix blake3 build with incompatible assemblers (#3764) 2023-08-17 09:51:57 +08:00
capstone-4.0.2 Disable GPL code and Add RISC-V support via Capstone 5 (#2087) 2021-12-11 13:30:01 +01:00
capstone-5.0.1 Update capstone-v5 to 5.0.1 (#3777) 2023-08-23 16:00:11 +08:00
capstone-auto-sync-aarch64 Make AArch64/ARM analysis and asm plugins Capstone v6 compatible. (#4011) 2023-12-20 01:00:31 +08:00
capstone-next Drop -fno-strict-aliasing flag from capstone next build (#4149) 2024-01-24 23:24:46 +08:00
libmspack Updated libmspack to latest commit (#3349) 2023-02-05 13:23:02 +08:00
libzip-1.9.2 build: fix compilation with meson 1.3.0 2023-12-01 23:32:17 +08:00
lz4-1.9.4 Update liblz4 to 1.9.4 2023-02-02 13:50:52 +08:00
pcre2 Replace current regex engine with PCRE2 (#4185) 2024-02-05 12:51:16 +08:00
pcre2_cross_native Replace current regex engine with PCRE2 (#4185) 2024-02-05 12:51:16 +08:00
tree-sitter-0.20.7 Update tree-sitter to 0.20.7 2023-01-31 19:06:55 +08:00
tree-sitter-c Update tree-sitter to 0.20 for rzshell and C parsers 2022-03-18 17:29:39 +01:00
xz-5.4.3 subprojects/xz: update to 5.4.3 2023-05-09 09:31:56 +08:00
zlib-1.3 subprojects/zlib: Improve meson.build, emulating configure script (#3759) 2023-08-24 12:32:38 +08:00
zstd-1.5.5 Remove C++ compiler dependency for ZSTD (#3888) 2023-09-25 17:42:28 +08:00