Lines Matching +full:valgrind +full:- +full:fuzz +full:- +full:test
17 <li><a name="TOC2" href="#SEC2">PCRE2 BUILD-TIME OPTIONS</a>
18 <li><a name="TOC3" href="#SEC3">BUILDING 8-BIT, 16-BIT AND 32-BIT LIBRARIES</a>
22 <li><a name="TOC7" href="#SEC7">JUST-IN-TIME COMPILER SUPPORT</a>
27 <li><a name="TOC12" href="#SEC12">LIMITING VARIABLE-LENGTH LOOKBEHIND ASSERTIONS</a>
35 <li><a name="TOC20" href="#SEC20">DEBUGGING WITH VALGRIND SUPPORT</a>
47 the library in Unix-like environments using the applications known as
57 <a href="NON-AUTOTOOLS-BUILD.txt"><b>NON-AUTOTOOLS-BUILD</b>.</a>
60 file if you are building in a non-Unix-like environment.
62 <br><a name="SEC2" href="#TOC1">PCRE2 BUILD-TIME OPTIONS</a><br>
68 same options can be selected in both Unix-like and non-Unix-like environments
75 <a href="NON-AUTOTOOLS-BUILD.txt"><b>NON-AUTOTOOLS-BUILD</b>.</a>
82 ./configure --help
85 begin with --enable or --disable. Because of the way that <b>configure</b>
86 works, --enable and --disable always come in pairs, so the complementary option
88 Options that specify values have names that start with --with. At the end of a
91 <br><a name="SEC3" href="#TOC1">BUILDING 8-BIT, 16-BIT AND 32-BIT LIBRARIES</a><br>
93 By default, a library called <b>libpcre2-8</b> is built, containing functions
95 single-byte characters, or UTF-8 strings. You can also build two other
96 libraries, called <b>libpcre2-16</b> and <b>libpcre2-32</b>, which process
97 strings that are contained in arrays of 16-bit and 32-bit code units,
98 respectively. These can be interpreted either as single-unit characters or
99 UTF-16/UTF-32 strings. To build these additional libraries, add one or both of
102 --enable-pcre2-16
103 --enable-pcre2-32
105 If you do not want the 8-bit library, add
107 --disable-pcre2-8
110 wrapper is for the 8-bit library only, and that <b>pcre2grep</b> is an 8-bit
111 program. Neither of these are built if you select only the 16-bit or 32-bit
120 --disable-shared
121 --disable-static
123 to the <b>configure</b> command. Setting --disable-shared ensures that PCRE2
131 LDFLAGS=--static ./configure --disable-shared
134 Note the two hyphens in --static. Of course, this works only if static versions
142 --disable-unicode
149 Of itself, Unicode support does not make PCRE2 treat strings as UTF-8, UTF-16
150 or UTF-32. To do that, applications that use the library can set the PCRE2_UTF
160 script names, and some bi-directional properties are supported. Details are
175 point in the middle of a multi-code-unit character. The application can lock it
177 <b>pcre2_compile()</b>. There is also a build-time option
179 --enable-never-backslash-C
183 <br><a name="SEC7" href="#TOC1">JUST-IN-TIME COMPILER SUPPORT</a><br>
185 Just-in-time (JIT) compiler support is included in the build by specifying
187 --enable-jit
193 --enable-jit=auto
200 --enable-jit-sealloc
208 --disable-pcre2grep-jit
215 of a line. This is the normal newline character on Unix-like systems. You can
218 --enable-newline-is-cr
220 to the <b>configure</b> command. There is also an --enable-newline-is-lf option,
225 two-character sequence CRLF (CR immediately followed by LF). If you want this,
228 --enable-newline-is-crlf
232 --enable-newline-is-anycrlf
237 --enable-newline-is-any
244 --enable-newline-is-nul
246 which causes NUL (binary zero) to be set as the default line-ending character.
259 --enable-bsr-anycrlf
269 metacharacter). By default, in the 8-bit and 16-bit libraries, two-byte values
273 patterns, so it is possible to compile PCRE2 to use three-byte or four-byte
276 --with-link-size=3
279 16-bit library, a value of 3 is rounded up to 4. In these libraries, using
281 additional data when handling them. For the 32-bit library the value is always
282 4 and cannot be overridden; the value of --with-link-size is ignored.
294 --with-match-limit=500000
310 --with-heap-limit=500
321 for --with-match-limit. You can set a lower default limit by adding, for
324 --with-match-limit-depth=10000
339 <br><a name="SEC12" href="#TOC1">LIMITING VARIABLE-LENGTH LOOKBEHIND ASSERTIONS</a><br>
343 top-level branch. There is a limit to this maximum that defaults to 255
346 --with-max-varlookbehind=100
360 --enable-rebuild-chartables
365 C run-time system. This method of replacing the tables does not work if you are
376 cc src/pcre2_dftables.c -o pcre2_dftables
380 specify a locale, you must use the -L option:
382 LC_ALL=fr_FR ./pcre2_dftables -L src/pcre2_chartables.c
384 You can also specify -b (with or without -L). This causes the tables to be
397 8-bit EBCDIC environment by adding
399 --enable-ebcdic --disable-unicode
402 --enable-rebuild-chartables. You should only use it if you know that you are in
406 It is not possible to support both EBCDIC and UTF-8 codes in the same version
407 of the library. Consequently, --enable-unicode and --enable-ebcdic are mutually
415 --enable-ebcdic-nl25
417 as well as, or instead of, --enable-ebcdic. The EBCDIC character for CR has the
423 The options that select newline behaviour, such as --enable-newline-is-cr,
424 and equivalent run-time options, refer to these character values in an EBCDIC
432 If --disable-pcre2grep-callout-fork is added to the <b>configure</b> command,
433 only the first kind of callout is supported; if --disable-pcre2grep-callout is
445 --enable-pcre2grep-libz
446 --enable-pcre2grep-libbz2
464 --with-pcre2grep-bufsize=51200
465 --with-pcre2grep-max-bufsize=2097152
468 these values by using --buffer-size and --max-buffer-size on the command line.
474 --enable-pcre2test-libreadline
475 --enable-pcre2test-libedit
480 line-editing and history facilities. Note that <b>libreadline</b> is
481 GPL-licensed, so if you distribute a binary of <b>pcre2test</b> linked in this
486 Setting --enable-pcre2test-libreadline causes the <b>-lreadline</b> option to be
488 system-installed readline library this is sufficient. However, in some
500 LIBS="-ncurses"
508 --enable-debug
513 <br><a name="SEC20" href="#TOC1">DEBUGGING WITH VALGRIND SUPPORT</a><br>
517 --enable-valgrind
519 to the <b>configure</b> command, PCRE2 will use valgrind annotations to mark
526 code coverage report for its test suite. To enable this, you must install
529 --enable-coverage
543 When --enable-coverage is used, the following addition targets are added to the
548 This creates a fresh coverage report for the PCRE2 test suite. It is equivalent
549 to running "make coverage-reset", "make coverage-baseline", "make check", and
550 then "make coverage-report".
552 make coverage-reset
556 make coverage-baseline
560 make coverage-report
564 make coverage-clean-report
569 make coverage-clean-data
574 make coverage-clean
590 --disable-percent-zt
600 --enable-fuzz-support
602 At present this applies only to the 8-bit library. If set, it causes an extra
603 library called libpcre2-fuzzsupport.a to be built, but not installed. This
611 Setting --enable-fuzz-support also causes a binary called <b>pcre2fuzzcheck</b>
612 to be created. This is normally run under valgrind or used when PCRE2 is
617 file are the test string.
625 --disable-stack-for-recursion
633 <b>pcre2api</b>(3), <b>pcre2-config</b>(3).
648 Copyright © 1997-2024 University of Cambridge.