Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pcre2 support #2668

Closed
wants to merge 1 commit into from
Closed

add pcre2 support #2668

wants to merge 1 commit into from

Conversation

XWwalker
Copy link

add pcre2 support to fix #1335

@XWwalker
Copy link
Author

XWwalker commented Jun 19, 2023

Currently, pcre upstream is no longer maintained, and this PR adds support for pcre2
This PR fixes the following:

  1. modify the nmap.cc file to display pcre2 version information
  2. modify the service_scan.cc file to use pcre2 for matching
  3. add pcre2 version of lua library for nse_pcrelib.cc, the code comes from Lrexlib (https://github.com/rrthomas/lrexlib, thanks to Lrexlib's contribution)
  4. add HAVE_PCRE2 macro and configure option with_pcre2 to support pcre2 compilation

@XWwalker
Copy link
Author

XWwalker commented Jul 5, 2023

/close

@XWwalker XWwalker closed this Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Nmap's PCRE library (libpcre) to pcre2
1 participant