[Bro] Digging through Source Code

Azoff, Justin S jazoff at illinois.edu
Tue Jun 20 12:28:22 PDT 2017


> On Jun 20, 2017, at 3:14 PM, Weasel, Gary W Jr CIV DISA RE (US) <gary.w.weasel2.civ at mail.mil> wrote:
> 
> 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

Does this help?

https://www.bro.org/sphinx/script-reference/types.html#type-record


-- 
- Justin Azoff




More information about the Bro mailing list