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>
34 <li><a name="TOC19" href="#SEC19">DEBUGGING WITH VALGRIND SUPPORT</a>
46 the library in Unix-like environments using the applications known as
55 <a href="NON-AUTOTOOLS-BUILD.txt"><b>NON-AUTOTOOLS-BUILD</b>.</a>
58 file if you are building in a non-Unix-like environment.
60 <br><a name="SEC2" href="#TOC1">PCRE2 BUILD-TIME OPTIONS</a><br>
66 same options can be selected in both Unix-like and non-Unix-like environments
73 <a href="NON-AUTOTOOLS-BUILD.txt"><b>NON-AUTOTOOLS-BUILD</b>.</a>
80 ./configure --help
83 begin with --enable or --disable. Because of the way that <b>configure</b>
84 works, --enable and --disable always come in pairs, so the complementary option
86 Options that specify values have names that start with --with. At the end of a
89 <br><a name="SEC3" href="#TOC1">BUILDING 8-BIT, 16-BIT AND 32-BIT LIBRARIES</a><br>
91 By default, a library called <b>libpcre2-8</b> is built, containing functions
93 single-byte characters, or UTF-8 strings. You can also build two other
94 libraries, called <b>libpcre2-16</b> and <b>libpcre2-32</b>, which process
95 strings that are contained in arrays of 16-bit and 32-bit code units,
96 respectively. These can be interpreted either as single-unit characters or
97 UTF-16/UTF-32 strings. To build these additional libraries, add one or both of
100 --enable-pcre2-16
101 --enable-pcre2-32
103 If you do not want the 8-bit library, add
105 --disable-pcre2-8
108 wrapper is for the 8-bit library only, and that <b>pcre2grep</b> is an 8-bit
109 program. Neither of these are built if you select only the 16-bit or 32-bit
118 --disable-shared
119 --disable-static
128 --disable-unicode
135 Of itself, Unicode support does not make PCRE2 treat strings as UTF-8, UTF-16
136 or UTF-32. To do that, applications that use the library can set the PCRE2_UTF
146 script names, and some bi-directional properties are supported. Details are
161 point in the middle of a multi-code-unit character. The application can lock it
163 <b>pcre2_compile()</b>. There is also a build-time option
165 --enable-never-backslash-C
169 <br><a name="SEC7" href="#TOC1">JUST-IN-TIME COMPILER SUPPORT</a><br>
171 Just-in-time (JIT) compiler support is included in the build by specifying
173 --enable-jit
179 --enable-jit=auto
186 --enable-jit-sealloc
194 --disable-pcre2grep-jit
201 of a line. This is the normal newline character on Unix-like systems. You can
204 --enable-newline-is-cr
206 to the <b>configure</b> command. There is also an --enable-newline-is-lf option,
211 two-character sequence CRLF (CR immediately followed by LF). If you want this,
214 --enable-newline-is-crlf
218 --enable-newline-is-anycrlf
223 --enable-newline-is-any
230 --enable-newline-is-nul
232 which causes NUL (binary zero) to be set as the default line-ending character.
245 --enable-bsr-anycrlf
255 metacharacter). By default, in the 8-bit and 16-bit libraries, two-byte values
259 patterns, so it is possible to compile PCRE2 to use three-byte or four-byte
262 --with-link-size=3
265 16-bit library, a value of 3 is rounded up to 4. In these libraries, using
267 additional data when handling them. For the 32-bit library the value is always
268 4 and cannot be overridden; the value of --with-link-size is ignored.
280 --with-match-limit=500000
297 --with-heap-limit=500
308 for --with-match-limit. You can set a lower default limit by adding, for
311 --with-match-limit-depth=10000
333 --enable-rebuild-chartables
338 C run-time system. This method of replacing the tables does not work if you are
349 cc src/pcre2_dftables.c -o pcre2_dftables
353 specify a locale, you must use the -L option:
355 LC_ALL=fr_FR ./pcre2_dftables -L src/pcre2_chartables.c
357 You can also specify -b (with or without -L). This causes the tables to be
370 8-bit EBCDIC environment by adding
372 --enable-ebcdic --disable-unicode
375 --enable-rebuild-chartables. You should only use it if you know that you are in
379 It is not possible to support both EBCDIC and UTF-8 codes in the same version
380 of the library. Consequently, --enable-unicode and --enable-ebcdic are mutually
388 --enable-ebcdic-nl25
390 as well as, or instead of, --enable-ebcdic. The EBCDIC character for CR has the
396 The options that select newline behaviour, such as --enable-newline-is-cr,
397 and equivalent run-time options, refer to these character values in an EBCDIC
405 If --disable-pcre2grep-callout-fork is added to the <b>configure</b> command,
406 only the first kind of callout is supported; if --disable-pcre2grep-callout is
418 --enable-pcre2grep-libz
419 --enable-pcre2grep-libbz2
437 --with-pcre2grep-bufsize=51200
438 --with-pcre2grep-max-bufsize=2097152
441 these values by using --buffer-size and --max-buffer-size on the command line.
447 --enable-pcre2test-libreadline
448 --enable-pcre2test-libedit
453 line-editing and history facilities. Note that <b>libreadline</b> is
454 GPL-licensed, so if you distribute a binary of <b>pcre2test</b> linked in this
459 Setting --enable-pcre2test-libreadline causes the <b>-lreadline</b> option to be
461 sytem-installed readline library this is sufficient. However, in some
473 LIBS="-ncurses"
481 --enable-debug
486 <br><a name="SEC19" href="#TOC1">DEBUGGING WITH VALGRIND SUPPORT</a><br>
490 --enable-valgrind
492 to the <b>configure</b> command, PCRE2 will use valgrind annotations to mark
499 code coverage report for its test suite. To enable this, you must install
502 --enable-coverage
516 When --enable-coverage is used, the following addition targets are added to the
521 This creates a fresh coverage report for the PCRE2 test suite. It is equivalent
522 to running "make coverage-reset", "make coverage-baseline", "make check", and
523 then "make coverage-report".
525 make coverage-reset
529 make coverage-baseline
533 make coverage-report
537 make coverage-clean-report
542 make coverage-clean-data
547 make coverage-clean
563 --disable-percent-zt
573 --enable-fuzz-support
575 At present this applies only to the 8-bit library. If set, it causes an extra
576 library called libpcre2-fuzzsupport.a to be built, but not installed. This
584 Setting --enable-fuzz-support also causes a binary called <b>pcre2fuzzcheck</b>
585 to be created. This is normally run under valgrind or used when PCRE2 is
590 file are the test string.
598 --disable-stack-for-recursion
606 <b>pcre2api</b>(3), <b>pcre2-config</b>(3).
621 Copyright © 1997-2021 University of Cambridge.