1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 06:04:47 +03:00
fq/format/asn1/testdata/tc42.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

21 lines
1.8 KiB
Plaintext

$ fq -d asn1_ber d tc42.ber
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc42.ber (asn1_ber)
| | | error: asn1_ber: BitBufRange: failed at position 0 (read size 104 seek pos 0): outside buffer
0x0|24 |$ | class: "universal" (0)
0x0|24 |$ | form: "constructed" (1)
0x0|24 |$ | tag: "octet_string" (0x4)
0x0| 80 | . | length: "indefinite" (0)
| | | constructed[0:2]:
| | | [0]{}: object
0x0| 04 | . | class: "universal" (0)
0x0| 04 | . | form: "primitive" (0)
0x0| 04 | . | tag: "octet_string" (0x4)
0x0| 03 | . | length: 3
0x0| 00 04 05 | ... | value: raw bits
| | | [1]{}: object
0x0| 04 | . | class: "universal" (0)
0x0| 04 | . | form: "primitive" (0)
0x0| 04 | . | tag: "octet_string" (0x4)
0x0| 5f | _ | length: 95
0x0| 29 1c d0 00 00| | )....| | gap0: raw bits