1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

New C backend for datafiles.lua; avoid copies of large data sets

This commit is contained in:
dmiller
2022-09-29 22:19:28 +00:00
parent 9d0e5ac2b9
commit d81ead72dc
6 changed files with 169 additions and 31 deletions

View File

@@ -11,6 +11,7 @@
#include "nse_main.h"
#include "nse_utility.h"
#include "nse_db.h"
#include "nse_fs.h"
#include "nse_nsock.h"
#include "nse_nmaplib.h"
@@ -559,6 +560,7 @@ static void set_nmap_libraries (lua_State *L)
static const luaL_Reg libs[] = {
{NSE_PCRELIBNAME, luaopen_pcrelib},
{NSE_NMAPLIBNAME, luaopen_nmap},
{NSE_DBLIBNAME, luaopen_db},
{LFSLIBNAME, luaopen_lfs},
{LPEGLIBNAME, luaopen_lpeg},
#ifdef HAVE_LIBSSH2