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: p...@hermes.cam.ac.uk
          Reporter: jmb...@gmail.com
                CC: pcre-dev@exim.org

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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to