Closed zheli-1 closed 4 years ago
I'm not familiar with the nmap scripting environment, but the following things need to be supported:
require
to load Lua modulesdebug
library from Lua to add line counting hooksio
library from Lua to save the coverage dataIf all three are true, then it should be possible to run require"luacov"
and enable collecting of coverage data.
Hope this answers the question!
Can I use luacov to collect coverage for .nse script? nse script is interpreted by an integrated Lua interpreter with nmap.