Bi-Ruei, Chiu
1fa31c9e3e
Simplify the logic of accessing codec function for specific TYPE
2017-08-02 14:06:07 -07:00
Lev Walkin
6bc7a11d9e
follow internal convention
2017-08-02 13:32:24 -07:00
Lev Walkin
b9e98cbaed
avoid compile warning/error
2017-08-02 13:32:24 -07:00
Lev Walkin
322e35e6ec
removed unused function
2017-08-02 13:32:24 -07:00
Lev Walkin
4118ccf997
simplify numeric constraints checking in runtime
2017-08-02 13:32:24 -07:00
Lev Walkin
a28cbb9f66
add constraint debug
2017-08-02 13:32:23 -07:00
Lev Walkin
01582a7184
generate constraints on type
2017-08-02 13:32:23 -07:00
Lev Walkin
3c5d94164c
generate Root elements and Additions elements counters for OER
2017-08-02 13:32:20 -07:00
Lev Walkin
98eabc1c82
a pass over OER constraints
2017-08-02 13:32:18 -07:00
Lev Walkin
b33425f16b
fix OER stubs order
2017-08-02 13:32:18 -07:00
Lev Walkin
ba68c91b71
empty OER stub generator
2017-08-02 13:32:16 -07:00
Lev Walkin
46ef3f339e
retain constness of maps
2017-07-06 08:47:53 -07:00
Lev Walkin
4087683d67
Merge pull request #158 from johvik/duplicate_const
...
Fix duplicate 'const' warnings
2017-06-27 08:28:49 -07:00
johvik
e70c40724c
Fix duplicate 'const' warnings
...
Since the typedef of asn_INTEGER_specifics_t also contains a const the
compiler complained about:
"warning: duplicate ‘const’ [-Wpedantic]"
2017-05-09 11:06:12 +02: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
johvik
792216e97f
Skip last comma when there are no extensions
...
This is to get rid of the GCC warning:
"warning: comma at end of enumerator list [-Wpedantic]"
2017-04-11 10:42:21 +02:00
Lev Walkin
fbbe4edc8e
Merge pull request #126 from brchiu/fix_some_leak_reported_by_valgrind
...
Fix many memory leaks reported by valgrind
2017-03-26 05:55:00 -07:00
Bi-Ruei, Chiu
9b87e5b095
Fix 'declaration inside parameter list' warning
...
1. Add forward definition section.
2. Move type definition inside A_SEQUENCE_OF() to forward definition section.
3. Modify asn1c_lang_C_type_CHOICE() ...etc functions to achieve it.
4. Modify test cases used during 'make check'.
2017-03-15 16:18:46 +08:00
Bi-Ruei, Chiu
9b78083824
Free memory allocated in asn1c_compiled_output() and asn1c_lang_C_type_SEx_OF_def()
2016-11-07 22:19:10 +08:00
Bi-Ruei, Chiu
12021b53b8
Free memory pointed by tag2el, tag2el_cxer and source_file_name
2016-11-04 11:59:45 +08:00
Lev Walkin
d8b8364c8a
removed unneeded check before free()
2016-03-14 02:00:27 -07:00
Lev Walkin
0f2624523b
bit strings also can haz members
2016-01-10 13:33:08 -08:00
Lev Walkin
1b3a135184
fix compiler warnings
2016-01-10 13:15:02 -08:00
Wim Lewis
fb6344ef75
Declare most internal, constant tables as const, particularly the
...
"specifics" structures and the tables they point to.
2014-07-28 12:16:01 -07:00
Lev Walkin
6169b8d565
fix default constraint checking
2013-12-07 11:02:44 -08:00
Lev Walkin
4062b01cd5
add -fline-refs
2013-10-11 14:29:38 -07:00
Lev Walkin
1715b32c87
format and signedness mismatch fixes
2013-03-28 04:02:13 -07:00
Lev Walkin
8bb57a29c1
unsigned integer of 32-bit widtth support for per
2007-12-03 13:41:36 +00:00
Lev Walkin
63b4126c09
C90-compliant negative LONG_MIN
2007-11-06 01:48:46 +00:00
Lev Walkin
8032f7ab44
optionality handling
2007-06-27 01:54:57 +00:00
Lev Walkin
33af5c3ef1
extensibility fix
2007-06-23 20:05:49 +00:00
Lev Walkin
3a4689a7da
BMPString and UniversalString support
2006-11-24 11:20:27 +00:00
Lev Walkin
9ab21b8984
Fixed explicit tagging of an in-lined constructed type.
2006-10-19 02:46:01 +00:00
Lev Walkin
07aaa34e7d
choice constraint generation duplication dropped
2006-10-09 12:52:15 +00:00
Lev Walkin
4b5dae3d64
diffs
2006-10-09 12:27:44 +00:00
Lev Walkin
725883b28d
more PER support
2006-10-09 12:07:58 +00:00
Lev Walkin
729eb86bb0
generate PER code tables for known-multiplier strings
2006-09-21 01:50:13 +00:00
Lev Walkin
8c2ca0b088
XER reference types encoding error
2006-09-17 06:31:08 +00:00
Lev Walkin
22b5ed4142
*** empty log message ***
2006-09-13 02:51:20 +00:00
Lev Walkin
0f8d4a4145
tolerate bit string extensibility
2006-08-26 03:29:15 +00:00
Lev Walkin
c46b7cb500
*** empty log message ***
2006-08-18 02:27:55 +00:00
Lev Walkin
11380fba0c
*** empty log message ***
2006-08-18 01:38:40 +00:00
Lev Walkin
1dc8529923
*** empty log message ***
2006-08-18 01:32:26 +00:00
Lev Walkin
1eded3544e
*** empty log message ***
2006-07-13 11:19:01 +00:00
Lev Walkin
171487e6ed
some more parameterization
2006-03-21 07:25:18 +00:00
Lev Walkin
a00d6b3714
refactored parameterization support
2006-03-21 03:40:38 +00:00
Lev Walkin
59b176ee35
upgrade: PER related changes
2005-11-26 11:25:14 +00:00
Lev Walkin
d1bfea65a0
SET OF/SEQUENCE OF interaction with named and unnamed CHOICE
2005-11-08 03:06:16 +00:00
Lev Walkin
ac760bf5b9
SET mandatory map generation
2005-10-05 08:59:03 +00:00
Lev Walkin
ae7bf3fbe8
YuanMeng was very helpful in finding these
2005-08-29 10:31:14 +00:00