bif files declared with bif_target() are now automatically compiled

in.

No more manual includes to pull them in.

(It doesn't quite work fully automatically yet for some bifs that need
script-level types defined, like the input and logging frameworks.
They still do a manual "@load foo.bif" in their main.bro to get the
order right. It's a bit tricky to fix that and would probably need
splitting main.bro into two parts; not sure that's worth it.)
This commit is contained in:
Robin Sommer 2013-07-25 09:45:10 -07:00
parent febb7e8395
commit 4a7046848c
11 changed files with 42 additions and 10 deletions

View file

@ -3,7 +3,7 @@
#empty_field (empty)
#unset_field -
#path loaded_scripts
#open 2013-07-05-05-20-50
#open 2013-07-25-17-10-49
#fields name
#types string
scripts/base/init-bare.bro
@ -87,6 +87,7 @@ scripts/base/init-bare.bro
scripts/base/frameworks/file-analysis/__load__.bro
scripts/base/frameworks/file-analysis/main.bro
build/scripts/base/bif/file_analysis.bif.bro
build/scripts/base/bif/__load__.bro
scripts/policy/misc/loaded-scripts.bro
scripts/base/utils/paths.bro
#close 2013-07-05-05-20-50
#close 2013-07-25-17-10-49

View file

@ -3,7 +3,7 @@
#empty_field (empty)
#unset_field -
#path loaded_scripts
#open 2013-07-10-21-18-31
#open 2013-07-25-17-10-50
#fields name
#types string
scripts/base/init-bare.bro
@ -87,6 +87,7 @@ scripts/base/init-bare.bro
scripts/base/frameworks/file-analysis/__load__.bro
scripts/base/frameworks/file-analysis/main.bro
build/scripts/base/bif/file_analysis.bif.bro
build/scripts/base/bif/__load__.bro
scripts/base/init-default.bro
scripts/base/utils/site.bro
scripts/base/utils/patterns.bro
@ -195,4 +196,4 @@ scripts/base/init-default.bro
scripts/base/protocols/tunnels/__load__.bro
scripts/base/misc/find-checksum-offloading.bro
scripts/policy/misc/loaded-scripts.bro
#close 2013-07-10-21-18-31
#close 2013-07-25-17-10-50