Use the same rules as cmake submodule to reformat Zeek

This commit is contained in:
Tim Wojtulewicz 2023-05-08 10:19:26 -07:00
parent fd72d81bad
commit 84e3f414a7
125 changed files with 1423 additions and 1670 deletions

View file

@ -1,16 +1,17 @@
zeek_add_subdir_library(
file_analysis
INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
SOURCES
Manager.cc
File.cc
FileTimer.cc
FileReassembler.cc
Analyzer.cc
AnalyzerSet.cc
Component.cc
Manager.cc
File.cc
FileTimer.cc
FileReassembler.cc
Analyzer.cc
AnalyzerSet.cc
Component.cc
BIFS
file_analysis.bif
)
file_analysis.bif)
add_subdirectory(analyzer)

View file

@ -2,8 +2,7 @@ zeek_add_plugin(
Zeek
FileDataEvent
SOURCES
DataEvent.cc
Plugin.cc
DataEvent.cc
Plugin.cc
INCLUDE_DIRS
"${CMAKE_CURRENT_SOURCE_DIR}"
)
"${CMAKE_CURRENT_SOURCE_DIR}")

View file

@ -2,8 +2,7 @@ zeek_add_plugin(
Zeek
FileEntropy
SOURCES
Entropy.cc
Plugin.cc
Entropy.cc
Plugin.cc
BIFS
events.bif
)
events.bif)

View file

@ -2,9 +2,8 @@ zeek_add_plugin(
Zeek
FileExtract
SOURCES
Extract.cc
Plugin.cc
Extract.cc
Plugin.cc
BIFS
events.bif
functions.bif
)
events.bif
functions.bif)

View file

@ -2,8 +2,7 @@ zeek_add_plugin(
Zeek
FileHash
SOURCES
Hash.cc
Plugin.cc
Hash.cc
Plugin.cc
BIFS
events.bif
)
events.bif)

View file

@ -2,15 +2,14 @@ zeek_add_plugin(
Zeek
PE
SOURCES
PE.cc
Plugin.cc
PE.cc
Plugin.cc
BIFS
events.bif
events.bif
PAC
pe.pac
pe-analyzer.pac
pe-file-headers.pac
pe-file-idata.pac
pe-file.pac
pe-file-types.pac
)
pe.pac
pe-analyzer.pac
pe-file-headers.pac
pe-file-idata.pac
pe-file.pac
pe-file-types.pac)

View file

@ -2,16 +2,15 @@ zeek_add_plugin(
Zeek
X509
SOURCES
X509Common.cc
X509.cc
OCSP.cc
Plugin.cc
X509Common.cc
X509.cc
OCSP.cc
Plugin.cc
BIFS
events.bif
types.bif
functions.bif
ocsp_events.bif
events.bif
types.bif
functions.bif
ocsp_events.bif
PAC
x509-extension.pac
x509-signed_certificate_timestamp.pac
)
x509-extension.pac
x509-signed_certificate_timestamp.pac)