summaryrefslogtreecommitdiff
path: root/src/pcre2_jit_test.c
diff options
context:
space:
mode:
authorzherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069>2019-11-19 12:25:32 +0000
committerzherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069>2019-11-19 12:25:32 +0000
commit3255e7c4bb6f7317e9e119718b254a13567909ba (patch)
treefb2278dfc79030875c7178c7faaed7b7867fb748 /src/pcre2_jit_test.c
parentcaea50f5361df91b5420a12d53bde45730d18998 (diff)
downloadpcre2-3255e7c4bb6f7317e9e119718b254a13567909ba.tar.gz
Fixed the incorrect computation of jump sizes on x86 CPUs in JIT.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1187 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_jit_test.c')
-rw-r--r--src/pcre2_jit_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pcre2_jit_test.c b/src/pcre2_jit_test.c
index 65f40bd..a9b3880 100644
--- a/src/pcre2_jit_test.c
+++ b/src/pcre2_jit_test.c
@@ -196,6 +196,8 @@ static struct regression_test_case regression_test_cases[] = {
{ CMUP, A, 0, 0, "\xf0\x90\x90\xa8{2}", "\xf0\x90\x90\x80#\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
{ CMUP, A, 0, 0, "\xe1\xbd\xb8\xe1\xbf\xb8", "\xe1\xbf\xb8\xe1\xbd\xb8" },
{ M, A, 0, 0, "[3-57-9]", "5" },
+ { PCRE2_AUTO_CALLOUT, A, 0, 0, "12345678901234567890123456789012345678901234567890123456789012345678901234567890",
+ "12345678901234567890123456789012345678901234567890123456789012345678901234567890" },
/* Assertions. */
{ MU, A, 0, 0, "\\b[^A]", "A_B#" },