[Bro-Dev] #248: Attribute propagation

Bro Tracker bro at tracker.bro-ids.org
Tue Dec 11 12:03:56 PST 2012


#248: Attribute propagation
-----------------------+-------------------
  Reporter:  matthias  |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  Bro       |    Version:  1.5.1
Resolution:            |   Keywords:
-----------------------+-------------------

Comment (by jsiwek):

 In [784adf3f6ba781f0ade427d8f7177c540d8f7100/bro]:
 {{{
 #!CommitTicketReference repository="bro"
 revision="784adf3f6ba781f0ade427d8f7177c540d8f7100"
 Fixes to attribute propagation issues for variables and types.

 - A type declarations w/ attributes will propogate them to local
   and global variable declarations that use the type.  Addresses #248.

 - A local or global variable declared with attributes will propogate
   them values that are later assigned to it.  Addresses #151, #67, #474.

 Addresses #327 in that it should be a more consistent approach to
 attribute propagation than before: the rules are that they can migrate
 in one direction: type -> variable -> value.   It also clears up the
 most common usage issue: the expectation that attributes in a local or
 global variable declaration apply to the identifier in that declaration
 such that later values assigned to it are subjected to those attributes.
 }}}

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/248#comment:3>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list