[pcre-dev] [Bug 2412] New: Want function to get size of mall…

Página Principal
Apagar esta mensagem
Autor: admin
Data:  
Para: pcre-dev
Assunto: [pcre-dev] [Bug 2412] New: Want function to get size of malloc data inside pcre2_match_data_create_from_pattern
https://bugs.exim.org/show_bug.cgi?id=2412

            Bug ID: 2412
           Summary: Want function to get size of malloc data inside
                    pcre2_match_data_create_from_pattern
           Product: PCRE
           Version: 10.33 (PCRE2)
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: jmbnyc@???
                CC: pcre-dev@???


It is possible to get PCRE2_INFO_SIZE and PCRE2_INFO_JITSIZE but it is not
possible to get access to the bytes allocated for the match data structure.
When attempting to build an lru regex cache it would be helpful to understand
the byte counts from all parts of a regex. For completeness it would be nice to
have a function that returned the size of the allocated data for a given match
data structure.

--
You are receiving this mail because:
You are on the CC list for the bug.