Make CompHash computation/recovery for functions deterministic

Functions are now assigned a unique integer on construction which
CompositeHash can base hashes on.  Recovery then just involves
looking up the function pointer associated with that unique number.
This commit is contained in:
Jon Siwek 2011-10-06 14:29:03 -05:00
parent 3ecd872291
commit 1cc675e30f
6 changed files with 64 additions and 27 deletions

View file

@ -0,0 +1,4 @@
# This test checks that the default notice policy ordering is the same
# as a known baseline.
# @TEST-EXEC: bro -e ''
# @TEST-EXEC: btest-diff notice_policy.log