Commit Graph

51 Commits

Author SHA1 Message Date
Lev Walkin 48e82d1f1f removed gcc-7 warnings 2017-10-19 03:07:27 -07:00
Bi-Ruei, Chiu 3ed43b2539 Fix issue 211 2017-10-06 18:46:25 +08:00
Lev Walkin 4329272a64 for OER use IEEE754 binary32 and binary64 format over the wire 2017-10-05 00:33:32 -07:00
Lev Walkin b5450704fe generate float instead of double if constraints suggest this 2017-10-04 02:54:16 -07:00
Lev Walkin b46156d9be naming abstraction 2017-09-05 02:53:05 -07:00
Lev Walkin e0f2a5b46b 0..MAX is unsigned in constraints 2017-08-30 20:21:52 -07:00
Lev Walkin cf3f6ebb9f constness fix 2017-08-23 04:35:34 -07:00
Lev Walkin c0e03b946e introduce namespaces 2017-08-22 01:48:23 -07:00
Lev Walkin 92fc0130ac Merge pull request #168 from brchiu/fix_compile_J2735_issue
Fix compile SAE J2735_201603DA.ASN issue
2017-08-05 18:10:08 -07:00
Lev Walkin a28cbb9f66 add constraint debug 2017-08-02 13:32:23 -07:00
Bi-Ruei, Chiu 94f0b645d4 Fix compile SAE J2735_201603DA.ASN issue
These are unmerged lines of code that I forgot adding in pull request #154.
2017-06-29 02:32:14 +08:00
Lev Walkin f4cbbe70e8 safety fix 2017-06-27 08:19:11 -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 e0a303922e Merge pull request #118 from gareins/master
Refreshing reserved keywords
2017-03-26 05:08:58 -07:00
Ozbolt Menegatti 11a3d68be5 Refreshing reserved keywords 2016-10-24 15:22:57 +02:00
Vasil Velichkov febd3d5a02 Fix segmentation fault in asn1c_make_identifier
See also http://stackoverflow.com/questions/25390720/va-arg-gives-something-strange-in-cygwin-x64

  Program received signal SIGSEGV, Segmentation fault.
  (gdb) bt
  #0  0x00007ffff7b7c8f1 in __strlen_sse2_pminub () from /lib64/libc.so.6
  #1  0x0000000000425d29 in asn1c_make_identifier (flags=flags@entry=(AMI_MASK_ONLY_SPACES | AMI_NODELIMITER), expr=expr@entry=0x0) at asn1c_misc.c:73
  #2  0x00000000004263ec in asn1c_type_name (arg=arg@entry=0x7fffffffe000, expr=expr@entry=0x6757c0, _format=<optimized out>,
      _format@entry=TNF_INCLUDE) at asn1c_misc.c:268
  #3  0x00000000004226fc in asn1c_lang_C_type_SIMPLE_TYPE (arg=arg@entry=0x7fffffffe000) at asn1c_C.c:1119
  #4  0x00000000004232c1 in asn1c_lang_C_type_common_INTEGER (arg=0x7fffffffe000) at asn1c_C.c:251
  #5  0x0000000000419c75 in asn1c_compile_expr (arg=arg@entry=0x7fffffffe000) at asn1compiler.c:100
  #6  0x0000000000419f33 in asn1_compile (asn=asn@entry=0x671e10, datadir=datadir@entry=0x426730 "/home/vasko/usr/share/asn1c",
      flags=flags@entry=A1C_NO_C99, argc=2, optc=0, argv=0x7fffffffe268) at asn1compiler.c:44
  #7  0x0000000000401f13 in main (ac=1, av=0x7fffffffe270) at asn1c.c:328
2016-07-18 20:24:49 +03:00
Lev Walkin d8b8364c8a removed unneeded check before free() 2016-03-14 02:00:27 -07:00
Lev Walkin 1b3a135184 fix compiler warnings 2016-01-10 13:15:02 -08:00
Lev Walkin 334d5cc7fb change type width detection logic 2014-02-10 11:06:56 -08:00
Lev Walkin e5086e3f92 extensibility shall not change the type from wide to narrow 2014-02-10 11:00:51 -08:00
Lev Walkin 5b63acf7aa remove errors with ./configure --enable-Werror 2014-01-14 01:48:37 -08:00
Lev Walkin 2a744a7470 Behavior of -fnative-types made default; old behavior saved under -fwide-types 2013-03-27 01:56:23 -07:00
Lev Walkin 30ae27b6b1 C++ keywords added to a no-no list 2013-03-19 17:15:28 -07:00
Lev Walkin ffd035e9e0 react to -fincludes-quoted 2010-10-16 01:26:57 -07:00
Lev Walkin 8bb57a29c1 unsigned integer of 32-bit widtth support for per 2007-12-03 13:41:36 +00:00
Lev Walkin 725883b28d more PER support 2006-10-09 12:07:58 +00:00
Lev Walkin 22b5ed4142 *** empty log message *** 2006-09-13 02:51:20 +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 c2a75094b5 class field access problem 2006-03-14 11:52:12 +00:00
Lev Walkin b85a8135da automatic dependency tracking 2005-08-18 13:38:19 +00:00
Lev Walkin c08c3cf13b oops 2005-08-15 01:04:48 +00:00
Lev Walkin 4c97bd6100 some platforms don't have INTxx_MIN 2005-08-15 01:01:24 +00:00
Lev Walkin 4b55341c7b extensions of conditional native-typing to -fbless-SIZE constraints 2005-08-14 14:45:44 +00:00
Lev Walkin 082cadcaaa PER visible constraints are used to select the native representation for INTEGER types 2005-08-14 02:18:27 +00:00
Lev Walkin c8285715f6 support for a class of circular references 2005-03-04 22:18:20 +00:00
Lev Walkin 3fe2e12bb5 more complete list of C keywords 2005-03-03 21:29:27 +00:00
Lev Walkin 4efbfb7e55 portability fixes 2005-02-25 14:20:30 +00:00
Lev Walkin 475d91f0d2 int -> long 2005-02-25 12:09:55 +00:00
Lev Walkin 801fabc3e1 checking reserved keywords and double identifiers 2005-01-28 12:18:50 +00:00
Lev Walkin e4d6ab83d7 libasn1fix api change 2004-09-22 16:05:13 +00:00
Lev Walkin 8dd0eedc2d better type naming 2004-09-17 06:32:12 +00:00
Lev Walkin c78cbfbd7a REAL support 2004-09-14 12:47:45 +00:00
Lev Walkin 5a8219a11e better handling of recursive definitions 2004-09-08 00:28:57 +00:00
Lev Walkin 0e22b981aa slightly different semantics 2004-08-25 02:03:26 +00:00
Lev Walkin 14d7099eed api change reflection 2004-08-22 03:23:46 +00:00
Lev Walkin 065a74bc56 api change reflection 2004-08-22 03:23:15 +00:00
Lev Walkin 59004fad9c new constraints generation method 2004-08-20 13:37:01 +00:00
Lev Walkin 4b102255b5 moved around 2004-08-19 13:29:18 +00:00
Lev Walkin d9bd775af1 enforsed compilation with -W -Werror 2004-06-05 08:17:50 +00:00