Go to the source code of this file.
|
Definition at line 119 of file asn1.h. Referenced by asn1_decode_len(). |
|
Definition at line 121 of file asn1.h. Referenced by asn1_decode_type(), and asn1_init_mem(). |
|
Definition at line 117 of file asn1.h. Referenced by asn1_decode_ident(). |
|
Definition at line 120 of file asn1.h. Referenced by asn1_decode_type(). |
|
Definition at line 118 of file asn1.h. Referenced by asn1_decode_type(), and asn1_init_mem(). |
|
|
|
Definition at line 116 of file asn1.h. Referenced by asn1_decode(), asn1_decode_ident(), asn1_decode_len(), asn1_decode_len_ext(), and asn1_decode_tag_num_ext(). |
|
Definition at line 110 of file asn1.h. Referenced by asn1_decode_ident(), asn1_decode_len(), asn1_decode_len_ext(), asn1_decode_tag_num_ext(), and asn1_decode_type(). |
|
Definition at line 112 of file asn1.h. Referenced by asn1_decode(), asn1_decode_len_ext(), asn1_decode_tag_num_ext(), and Asn1DetectFuncs(). |
|
Definition at line 122 of file asn1.h. Referenced by asn1_decode(). |
|
Definition at line 114 of file asn1.h. Referenced by asn1_decode(), asn1_decode_ident(), asn1_decode_len(), asn1_decode_len_ext(), asn1_decode_tag_num_ext(), asn1_decode_type(), and asn1_init_mem(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 18 of file asn1.h. Referenced by asn1_decode(), asn1_decode_type(), and asn1_traverse(). |
|
|
|
|
|
Definition at line 28 of file asn1.h. Referenced by BitStringOverflow(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 57 of file asn1.h. Referenced by asn1_decode_ident(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 34 of file asn1.h. Referenced by DoubleOverflow(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 64 of file asn1.h. Referenced by asn1_decode_len(), and asn1_decode_len_type(). |
|
Definition at line 63 of file asn1.h. Referenced by asn1_decode_len(), asn1_decode_len_type(), and asn1_is_eoc(). |
|
Definition at line 65 of file asn1.h. Referenced by asn1_decode(), asn1_decode_len(), asn1_decode_len_type(), and asn1_decode_type(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
This function initializes the number of nodes that we want to track in an ASN.1 decode. Pass in the max number of nodes for an ASN.1 decode and we will track that many.
Definition at line 105 of file asn1.c. References ASN1_ERR_INVALID_ARG, ASN1_ERR_MEM_ALLOC, ASN1_OK, and g_asn1_max_nodes. Referenced by ParseConfig(), and SnortMain(). |
|
Print out the ASN.1 type.
Definition at line 929 of file asn1.c. References s_ASN1_IDENT::class, s_ASN1_TYPE::data, s_ASN1_TYPE::data_len, s_ASN1_IDENT::flag, s_ASN1_TYPE::ident, s_ASN1_TYPE::len, s_ASN1_LEN::size, s_ASN1_IDENT::tag, s_ASN1_IDENT::tag_type, and s_ASN1_LEN::type. Referenced by Asn1DetectFuncs(). |
|
This function traverses a decoded ASN1 structure, applying a detection function for the different types. This is just to make this user stack generic AND easy.
Definition at line 868 of file asn1.c. References ASN1_MAX_STACK, s_ASN1_TYPE::cnext, s_ASN1_IDENT::flag, s_ASN1_TYPE::ident, index, s_ASN1_TYPE::next, and SF_ASN1_FLAG_CONSTRUCT. Referenced by Asn1DetectFuncs(), DetectBitStringOverflow(), DetectDoubleOverflow(), and DetectOversizeLength(). |