mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 10:29:03 +00:00
e4ce527a389c6d7015b3c79e63d4c8d12eb81ea5
Using offsetof instead of actually dereferencing a 0 pointer is still standards compliant (works under gcc -ansi, clang -ansi), and is more in line with how Linux kernel defines this macro (kernel.h). Can't exactly lift the kernel implementation because it uses gnu-extension typeof. Not really a necessary change, but it was causing clang's address sanitizer to complain.
…
…
…
Here is some documentation for Nmap, but these files are much less comprehensive than what you'll find at the actual Nmap documentation site ( http://nmap.org ).
Description
Languages
C
37.8%
Lua
28.1%
C++
16.7%
Shell
5.8%
Python
4.2%
Other
7.2%