Jon Ringle
6431b1c969
Add '-D destdir' option for generated files
2017-11-17 20:54:02 -08:00
Jon Ringle
7871abf7ef
Rename ASN_MODULE_{SOURCES,HEADERS} => ASN_MODULE_{SRCS,HDRS}
2017-11-17 20:54:02 -08:00
Lev Walkin
07f8c3eaf5
add asn_encode* and other encoders
2017-11-15 00:21:51 -08:00
Lev Walkin
686f38bf94
constness fix
2017-11-14 22:05:45 -08:00
Lev Walkin
37b579919d
updated doc
2017-11-14 21:13:21 -08:00
Lev Walkin
d0ee2b1436
rename a bit for consistency
2017-11-14 00:07:05 -08:00
Lev Walkin
304a70e9ac
remove warnings
2017-11-13 23:28:54 -08:00
Bi-Ruei, Chiu
288e95d5b1
Fix crash when processing S1AP
...
Ref :
https://github.com/vlm/asn1c/pull/237#issuecomment-342356046
2017-11-13 23:24:40 -08:00
Lev Walkin
f9a94dfa1d
update dependencies
2017-11-13 23:23:19 -08:00
Lev Walkin
f09cf4888d
update dependencies
2017-11-13 23:16:06 -08:00
Lev Walkin
d3fd7a4bdf
update dependencies
2017-11-13 23:13:11 -08:00
Lev Walkin
e7bd48aa5e
better cleanup
2017-11-13 23:12:49 -08:00
Lev Walkin
076bbbc7ab
invert -gen-xxx to -no-gen-yyy
2017-11-13 22:29:46 -08:00
Lev Walkin
2a923864b9
invert -gen-PER as -no-gen-OER
2017-11-13 22:24:32 -08:00
Bi-Ruei, Chiu
0299037ed8
Fix memory leakeage
2017-11-13 22:23:29 -08:00
Bi-Ruei, Chiu
8ae074ce79
Fix 'make check' error under sample.source.RRC
2017-11-13 22:23:29 -08:00
Lev Walkin
7d5d930393
more precise OER and PER code bundling
2017-11-13 22:17:20 -08:00
Lev Walkin
30566d1310
add asn1c compile smoke test
2017-11-12 15:28:17 -08:00
Lev Walkin
227b944558
changelog order fix
2017-11-11 18:08:33 -08:00
Lev Walkin
d1c28aa809
generate OER and PER by default. add -no-gen-example
2017-11-11 18:05:13 -08:00
Lev Walkin
d5f6647fc5
remove superfluous -pdu
2017-11-11 17:08:26 -08:00
Lev Walkin
3be4919d01
make -pdu=auto a default
2017-11-11 16:13:32 -08:00
Lev Walkin
5f4dbb751a
earlier detection of unknown -pdu=Type
2017-11-11 14:52:11 -08:00
Lev Walkin
9ce64c13c7
API reference
2017-11-07 06:22:14 -08:00
Lev Walkin
933b950a80
moved decl around to maintain comments continuity
2017-11-07 05:55:29 -08:00
Lev Walkin
cf573ec13c
constness
2017-11-07 04:20:52 -08:00
Lev Walkin
ec4b7af9ef
doc
2017-11-07 04:20:36 -08:00
Lev Walkin
d5627a1f11
more logical structure
2017-11-07 01:04:40 -08:00
Lev Walkin
f3334585a7
update doc
2017-11-07 00:02:24 -08:00
Lev Walkin
08661a6508
use ptrdiff_t
2017-11-06 02:08:47 -08:00
Lev Walkin
1fc5edb22d
asn_encode_to_new_buffer()
2017-11-06 01:58:49 -08:00
Lev Walkin
cd8f1e0377
uper_encode() with NULL callback to ignore output and return the number of bits
2017-11-06 00:13:32 -08:00
Lev Walkin
1a49ced90e
use hash for name lookup
2017-11-06 00:07:53 -08:00
Lev Walkin
a67d11061e
name clashes using generic hashing
2017-11-06 00:07:53 -08:00
Lev Walkin
adfcde29cd
generic hashing mechanism
2017-11-06 00:07:53 -08:00
Jon Ringle
3bcab4ebfa
Add test case for issue #178
2017-11-05 21:55:15 -08:00
Lev Walkin
8baaf6b0d2
fix randomized failures on fast enough systems
2017-11-05 21:39:58 -08:00
Lev Walkin
ce2068a507
fix builddir
2017-11-05 21:08:57 -08:00
Lev Walkin
c9b2f28b98
replace incompatible awk with C
2017-11-05 20:32:15 -08:00
Lev Walkin
3f52df00df
removed autotools intermediate files from source code
2017-10-31 19:35:50 -07:00
Lev Walkin
ee8482a55d
avoid complaints about _BSD_SOURCE on ubuntu
2017-10-31 18:26:15 -07:00
Lev Walkin
a53bdf16a0
removed autotools intermediate files from source code
2017-10-31 17:21:37 -07:00
Lev Walkin
f22184d31c
force recompile T object
2017-10-27 18:40:32 -07:00
Lev Walkin
5e73c5058b
add missing member
2017-10-26 00:38:43 -07:00
Lev Walkin
1351752f8d
fixed non-trivial SIZE constraints for SET OF and SEQUENCE OF, fuzz-tested
2017-10-26 00:38:43 -07:00
Vasil Velichkov
24354e1cd0
fix UPER decoding of SET OF with more then 16K elements
2017-10-25 22:22:54 -07:00
Vasil Velichkov
b623e8d701
Fix an undefined behaviour error in constr_SET_OF.c
...
constr_SET_OF.c:315:13: runtime error: null pointer passed as argument 1, which is declared to never be null
Also move some asserts into dedicated function because b->buf could be
NULL while a->length is greater then zero
2017-10-25 22:22:54 -07:00
Vasil Velichkov
abb7133c23
Fix UPER encoding of empty SEQUENCE OF
...
A length determinant was not added when the SEQUENCE OF was empty
according to the X.691 #20.6 and #11.9.4.1.
This fixes a failure in 16-SEQUENCE-bundle
Decoding 1 bytes of T yielded RC_WMORE after byte 0
Original random structure:
T ::= {
list: list ::= {
}
guard: 01
}
2017-10-25 22:22:54 -07:00
Vasil Velichkov
5fcbb2868d
Do not build 32bit skeletons lib and check-converter
...
when the 32bit build is dislabed.
On MacOS with Xcode 9.0 the make check fails because the ar
cannot build empty static libraries
Fixes #228
2017-10-25 22:22:54 -07:00
Lev Walkin
6fd84337a5
avoid failing on something that is considered compression bomb
2017-10-24 03:54:23 -07:00