Commit Graph

55 Commits

Author SHA1 Message Date
Lev Walkin e24bad1a56 fix under-replacement 2017-10-09 23:58:15 -07:00
Lev Walkin 40b8a7ae99 simpler makefile generation 2017-10-08 22:56:13 -07:00
Lev Walkin a4f8e94bc1 get rid of alloca() in compiler 2017-10-08 19:28:56 -07:00
Lev Walkin b458fc0afd BSD compat 2017-10-02 08:18:36 +00:00
Lev Walkin 8a85b36d93 split Makefile.am.sample into Makefile.am.example and Makefile.am.libasncodecs 2017-09-26 22:54:44 -07:00
Lev Walkin 5230c64b7c pdu types leak fix 2017-09-26 18:10:06 -07:00
Lev Walkin 2d0effcac2 -lm for REAL 2017-09-07 02:06:55 -07:00
Lev Walkin b46156d9be naming abstraction 2017-09-05 02:53:05 -07:00
Lev Walkin 8c44dffec9 do not use parameterized types as PDUs 2017-08-26 23:31:09 -07:00
Lev Walkin 9de6cd89ca using ioc constraints in run time 2017-08-10 05:51:56 -07:00
Lev Walkin 09ba88d58a use CFLAGS as well 2017-08-05 22:53:34 -07:00
Lev Walkin a4f3d4670d avoid generating some OER object code if not -gen-OER 2017-08-05 22:40:14 -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
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 6f34894ca3 Free memory allocated in asn1c_read_file_dependencies() and asn1c_deps_makelist() 2016-11-08 22:35:16 +08:00
Lev Walkin f2b2f37660 error values check from printf, fprintf, fwrite 2016-03-14 02:23:48 -07:00
Lev Walkin 4cc4599a7c more diagnostics if memory fails 2016-03-14 02:08:12 -07:00
Frank Morgner 8a759ad3db try to link symlink and use a define on error
fixes compiling with Minimalist GNU win32 (cross) compiler 4.2.1, which
defines symlink, but doesn't implement it.
2013-05-16 15:02:59 +02:00
Lev Walkin 2655eb3f05 deprecate -fskeletons-copy; this option is now a default; use -flink-skeletons for old behavior 2013-03-25 19:09:04 -07:00
Lev Walkin 936595643a WIN32 -> _WIN32; see http://predef.sourceforge.net/preos.html#sec25 2010-11-20 09:47:13 -08:00
Lev Walkin 34944f2afb Added -fincludes-quoted to generate #includes in double instead of <angle> quotes. 2010-10-07 08:25:37 +00:00
Lev Walkin 725883b28d more PER support 2006-10-09 12:07:58 +00:00
Lev Walkin 66adab4823 -pdu=* changes 2006-09-23 02:52:12 +00:00
Lev Walkin a9532f4d2b moved -DASN_PDU_COLLECTION into compiler 2006-09-17 04:52:50 +00:00
Lev Walkin f218e78596 CONVERTER is now in dependencies 2006-09-12 06:21:18 +00:00
Lev Walkin c46b7cb500 *** empty log message *** 2006-08-18 02:27:55 +00:00
Lev Walkin a00d6b3714 refactored parameterization support 2006-03-21 03:40:38 +00:00
Lev Walkin 8253ea93aa command line in preamble 2006-03-17 01:47:57 +00:00
Lev Walkin 4737039b8d includes are outside of extern C {} clause 2006-02-19 04:30:15 +00:00
Lev Walkin ae5540f5ea includes are outside of extern C {} clause 2006-02-19 04:26:37 +00:00
Lev Walkin 59b176ee35 upgrade: PER related changes 2005-11-26 11:25:14 +00:00
Lev Walkin a895afba67 -fskeletons-copy 2005-10-06 10:09:34 +00:00
Lev Walkin c0e7071cd4 asn1c code for windows platform fixed, thanks to rmeub@users.sourceforge.net 2005-10-05 09:01:51 +00:00
Lev Walkin b85a8135da automatic dependency tracking 2005-08-18 13:38:19 +00:00
Lev Walkin b36317c2a8 restructured member variable names 2005-08-12 10:09:10 +00:00
Lev Walkin 3d551c06be #includes moved out of __cplusplus 2005-07-15 18:49:41 +00:00
Lev Walkin e8318b8db1 fixed name clash in constraint checking code; also changed braces to double quote in #includes 2005-03-06 09:29:03 +00:00
Lev Walkin 866cff1a11 support for regen target 2005-03-05 00:50:53 +00:00
Lev Walkin b9b8b9594f -fno-include-deps 2005-03-05 00:33:27 +00:00
Lev Walkin c8285715f6 support for a class of circular references 2005-03-04 22:18:20 +00:00
Lev Walkin 4604d03d98 retaining old file if contents are the same 2005-03-04 08:52:50 +00:00
Lev Walkin 4efbfb7e55 portability fixes 2005-02-25 14:20:30 +00:00
Lev Walkin 11c3e1704f reheaderization 2004-09-24 21:00:50 +00:00
Lev Walkin d29bbce66d versatile Makefile creation 2004-09-23 22:19:14 +00:00
Lev Walkin 0ffabe28b7 added asn_internal.h 2004-09-22 16:02:03 +00:00
Lev Walkin 59004fad9c new constraints generation method 2004-08-20 13:37:01 +00:00
Lev Walkin acd9f8b366 file dependencies 2004-08-19 13:29:03 +00:00
Lev Walkin 79f5495aaa custom basename(3) and dirname(3) 2004-08-13 16:58:19 +00:00
Lev Walkin 64399727b7 Win32 portability fixes 2004-08-11 07:17:22 +00:00