Digging through Source Code


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?

- Gary

Does this help?