[Bro] Digging through Source Code

Weasel, Gary W Jr CIV DISA RE (US) gary.w.weasel2.civ at mail.mil
Tue Jun 20 12:14:03 PDT 2017


All,

I've been digging through the Bro source code, and there's been something that's mystifying me for a while now.

type Array = record {
        array_meta: ASN1EncodingMeta;
        data:       ASN1Encoding[];
};

As from https://github.com/bro/bro/blob/57da2d091b30aad52d52fce8018feeb2cdf8ff1f/src/analyzer/protocol/asn1/asn1.pac

I have no clue what "record" is in this context.  I suspect it has other attributes that are being inherited, but I haven't found anything to indicate what this is.  Does anyone have any insight into this?

Thanks,
- Gary



More information about the Bro mailing list