Commit Graph

28 Commits

Author SHA1 Message Date
Lev Walkin 4dcf8367d9 refactor constraint matrix handling 2017-08-07 20:10:05 -07:00
Lev Walkin 62d95d2ef4 rm warnings 2017-08-06 23:41:11 -07:00
Lev Walkin ea6635bdae better parsing information object class sets 2017-08-06 23:23:04 -07:00
Bi-Ruei, Chiu 80fd3065f4 Merge PR99 and its fixes to support parsing Information Object and Information Object Set
This is a collection of works :

1. Based on @zhanglei002's pull request 99.

2. A fix by @AuthenticEshkinKot and merged by @mouse07410 at
   commit 2c8d366bbe1fc4e4c041e9b0eb9779f8a42d754b of https://github.com/mouse07410/asn1c
   to support parsing of Information Object and Information Object Set

3. A fix by @Uri Blumenthal in asn1fix_derefv.c at :
   commit ec0ade4f87c807e763e3f35fc5466adb6dda3473 of https://github.com/mouse07410/asn1c
   to solve crash on asn1p_value_free().

4. My pull request 18 to @mouse07410's https://github.com/mouse07410/asn1c to solve
   problems found during parsing ASN.1 modules of S1AP, RANAP and J2735-201603.

5. My pull request 22 to @mouse07410's https://github.com/mouse07410/asn1c to solve issue 147
   and to solve the problem during parsing ASN.1 module of NBAP.

6. My pull request 23 to @mouse07410's https://github.com/mouse07410/asn1c to fix memory leakage
   introduced in aforementioned commits.
   Most code changes are the same as pull request 153 to this repository.

7. A fix of my bug in item 6 which result asn1c crash, fixed by @mouse07410.
2017-05-07 22:20:30 +08:00
Bi-Ruei, Chiu b9adfc5f91 Free memory allocated in various functions
1. Add 'ref_cnt' field to asn1p_expr_t.
2. Initialize 'ref_cnt' field to zero when asn1p_expr_t is allocated.
3. Increase 'ref_cnt' field when asn1p_expr_t is cloned by asn1p_value_fromtype().
4. If 'ref_cnt' field of asn1p_expr_t is larger than zero, then asn1p_expr_free() only decrease its value.
5. Free memory pointed by fields of asn1p_expr_t and itself when 'ref_cnt' is zero and asn1p_expr_free() called.
6. Call asn1p_delete(asn) in main().
2016-11-09 00:17:25 +08:00
Lev Walkin 0e90aa040c parsing-level support for [[ extension brackets ]] 2013-03-19 16:17:13 -07:00
Lev Walkin 725883b28d more PER support 2006-10-09 12:07:58 +00:00
Lev Walkin a9532f4d2b moved -DASN_PDU_COLLECTION into compiler 2006-09-17 04:52:50 +00:00
Lev Walkin a00d6b3714 refactored parameterization support 2006-03-21 03:40:38 +00:00
Lev Walkin d370e9f57e parsing WITH SYNTAX clauses 2006-03-16 10:03:35 +00:00
Lev Walkin 9c2285abf3 parsing object classes more properly 2006-03-09 08:49:26 +00:00
Lev Walkin 708530582f upgrade 2005-11-26 11:21:55 +00:00
Lev Walkin b85a8135da automatic dependency tracking 2005-08-18 13:38:19 +00:00
Lev Walkin 4cd58bd245 typo 2005-06-02 17:40:32 +00:00
Lev Walkin 7116096839 Compiler support for tagged parametrized members. 2005-06-02 05:21:53 +00:00
Lev Walkin 81c5fc5bc7 new flag 2005-03-18 05:26:15 +00:00
Lev Walkin c8285715f6 support for a class of circular references 2005-03-04 22:18:20 +00:00
Lev Walkin 21d0000937 -fcompound-names 2005-03-04 08:48:53 +00:00
Lev Walkin c8092cb260 ContainedSubtype parsing 2005-02-18 16:34:21 +00:00
Lev Walkin d21c5058fc different type name for the big integer 2004-09-29 13:18:09 +00:00
Lev Walkin 5498f2d63a extended marker 2004-09-15 11:59:30 +00:00
Lev Walkin 6e8da2ba9c different marker semantics 2004-09-10 08:21:27 +00:00
Lev Walkin 1004aa9462 maintaining parent expression 2004-09-08 00:28:11 +00:00
Lev Walkin 609ccbb318 ANY type renamed 2004-09-04 04:49:21 +00:00
Lev Walkin e422e68bf5 separated known multiplier (X.691) strings 2004-08-25 01:58:59 +00:00
Lev Walkin 070a52d8ce COMPONENTS OF support and other enhancements 2004-08-22 03:19:54 +00:00
Lev Walkin f59d075dad new style constraints implementation support 2004-08-18 04:59:12 +00:00
Lev Walkin f15320bf6b Initial revision 2004-06-03 03:38:44 +00:00