1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 14:23:18 +03:00
fq/format/asn1/testdata/tc47.ber.fqtest
Mattias Wadman e77f776999 decode,interp: Rename unknown gap fields from "unknown#" to "gap#"
Think it makes it clearer and also less likely to collide with a field
name a deocder wants to use.
2022-12-01 20:43:30 +01:00

22 lines
1.9 KiB
Plaintext

$ fq -d asn1_ber d tc47.ber
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc47.ber (asn1_ber)
| | | error: asn1_ber: error at position 0x8: primitive with indefinite length
0x00|23 |# | class: "universal" (0)
0x00|23 |# | form: "constructed" (1)
0x00|23 |# | tag: "bit_string" (0x3)
0x00| 0e | . | length: 14
| | | constructed[0:2]:
| | | [0]{}: object
0x00| 03 | . | class: "universal" (0)
0x00| 03 | . | form: "primitive" (0)
0x00| 03 | . | tag: "bit_string" (0x3)
0x00| 02 | . | length: 2
0x00| 00 | . | unused_bits_count: 0
0x00| 01 | . | value: raw bits
| | | [1]{}: object
0x00| 00 | . | class: "universal" (0)
0x00| 00 | . | form: "primitive" (0)
0x00| 00 | . | tag: "end_of_content" (0x0)
0x00| 00 | . | length: "indefinite" (0)
0x00| 03 02 00 01 03 02 04 0f| ........| gap0: raw bits