blob: b921955a3d36d1042b351e381dc2823e2e69cea9 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
20. ASN.1 grammar parser is written mostly with respect to constructing a tree,
3so a tree destruction is not fully supported and certain memory leaks are
4known. Not a huge problem for run-once programs like a compiler.
5NOTE: This statement does not apply to the target code _produced_
6 by the compiler.
7
Lev Walkin91313792004-09-14 14:29:47 +000081. For purposes of compilation, INTEGER type is modelled using a large
Lev Walkinf15320b2004-06-03 03:38:44 +00009static type (asn_integer_t), but defined as any positive or negative value
10by ASN.1. Not a problem as most specifications use very small values anyway.
11NOTE: This statement does not apply to the target code _produced_
12 by the compiler.
13
Lev Walkin91313792004-09-14 14:29:47 +0000142. ASN Macros are prohibited by the current ASN.1 standard,
Lev Walkinf15320b2004-06-03 03:38:44 +000015and are not supported.
16
Lev Walkin91313792004-09-14 14:29:47 +0000173. Multiple tags applied at the same level are not supported:
Lev Walkinf15320b2004-06-03 03:38:44 +000018 BadTags ::= [0] EXPLICIT [2] IMPLICIT OtherType
19 The same thing could be achieved by using the indirection:
20 GoodTags ::= [0] EXPLICIT OtherTypePtr
21 OtherTypePtr ::= [2] IMPLICIT OtherType
22
Lev Walkin91313792004-09-14 14:29:47 +0000234. Mixed definite/indefinite length in a _single_ BER tags sequence is not
Lev Walkinf15320b2004-06-03 03:38:44 +000024supported. Should not be a problem in the real world. Please note that it
25is still possible, for example, to encode a wrapper structure using definite
26length, and encode its substructure member using indefinite length. The BER
27decoder is perfectly capable of decoding such sequences.
28
Lev Walkin91313792004-09-14 14:29:47 +0000295. Encoding or decoding of structures with combined length greater than 16MB
Lev Walkin770f8cf2004-10-20 15:48:09 +000030is not tested.
Lev Walkinf15320b2004-06-03 03:38:44 +000031