You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to produce parsers and serializers for NDN TLV coding scheme, the bitcoin_varint is very similar to the variable length number used in NDN TLV, so I wrote a rfc file as follows:
* Error 19 at Interest.fst(77,141-77,165):
- Subtyping check failed
- Expected type
s2': LowParse.SLow.Base.serializer32 Interest_iv.interest_iv_serializer { LowParse.SLow.Combinators.serialize32_kind_precond LowParse.Spec.BCVLI.parse_bcvli_kind Interest_iv.interest_iv_parser_kind } got type LowParse.SLow.Base.serializer32 Interest_iv.interest_iv_serializer - The SMT solver could not prove the query.
I think that's where the problem is: the two parser_kind_high above is 5 and 4294967300, 5+4294967300 exceeds 4294967296.
Any suggestions on how I should fix my rfc file or change something in LowParse code to make it right? Thanks a lot for helping! The QD log is attached below:
Writing parsers for type <mustBeFresh> to <./MustBeFresh.fst>...
LINFO<mustBeFresh@tlv_type>: vl=yes lenLen=0 minLen=1 maxLen=5 minCount=0 maxCount=0 meta=default
LINFO<mustBeFresh@tlv_value>: vl=yes lenLen=1 minLen=1 maxLen=4294967300 minCount=0 maxCount=0 meta=default
LINFO<mustBeFresh>: vl=no lenLen=0 minLen=2 maxLen=4294967305 minCount=0 maxCount=0 meta=default
Writing parsers for type <mustBeFresh_tlv_value> to <./MustBeFresh_tlv_value.fst>...
Writing parsers for type <nonce> to <./Nonce.fst>...
LINFO<nonce@tlv_type>: vl=yes lenLen=0 minLen=1 maxLen=5 minCount=0 maxCount=0 meta=default
LINFO<nonce@tlv_value>: vl=yes lenLen=1 minLen=1 maxLen=4294967300 minCount=0 maxCount=0 meta=default
LINFO<nonce>: vl=no lenLen=0 minLen=2 maxLen=4294967305 minCount=0 maxCount=0 meta=default
Writing parsers for type <nonce_tlv_value> to <./Nonce_tlv_value.fst>...
Writing parsers for type <interestLifeTime> to <./InterestLifeTime.fst>...
LINFO<interestLifeTime@tlv_type>: vl=yes lenLen=0 minLen=1 maxLen=5 minCount=0 maxCount=0 meta=default
LINFO<interestLifeTime@tlv_value>: vl=yes lenLen=1 minLen=1 maxLen=4294967300 minCount=0 maxCount=0 meta=default
LINFO<interestLifeTime>: vl=no lenLen=0 minLen=2 maxLen=4294967305 minCount=0 maxCount=0 meta=default
Writing parsers for type <interestLifeTime_tlv_value> to <./InterestLifeTime_tlv_value.fst>...
Writing parsers for type <nameComponent> to <./NameComponent.fst>...
LINFO<nameComponent@tlv_type>: vl=yes lenLen=0 minLen=1 maxLen=5 minCount=0 maxCount=0 meta=default
LINFO<nameComponent@tlv_value>: vl=yes lenLen=1 minLen=1 maxLen=4294967300 minCount=0 maxCount=0 meta=default
LINFO<nameComponent>: vl=no lenLen=0 minLen=2 maxLen=4294967305 minCount=0 maxCount=0 meta=default
Writing parsers for type <nameComponent_tlv_value> to <./NameComponent_tlv_value.fst>...
Writing parsers for type <name> to <./Name.fst>...
LINFO<name@tlv_type>: vl=yes lenLen=0 minLen=1 maxLen=5 minCount=0 maxCount=0 meta=default
LINFO<name@nc>: vl=yes lenLen=3 minLen=1 maxLen=258 minCount=0 maxCount=127 meta=default
LINFO<name>: vl=no lenLen=0 minLen=2 maxLen=263 minCount=0 maxCount=0 meta=default
Writing parsers for type <name_nc> to <./Name_nc.fst>...
Writing parsers for type <interestValue> to <./InterestValue.fst>...
LINFO<interestValue@name>: vl=no lenLen=0 minLen=2 maxLen=263 minCount=0 maxCount=0 meta=default
LINFO<interestValue@mbf>: vl=no lenLen=0 minLen=2 maxLen=4294967305 minCount=0 maxCount=0 meta=default
LINFO<interestValue@nonce>: vl=no lenLen=0 minLen=2 maxLen=4294967305 minCount=0 maxCount=0 meta=default
LINFO<interestValue@ilt>: vl=no lenLen=0 minLen=2 maxLen=4294967305 minCount=0 maxCount=0 meta=default
LINFO<interestValue>: vl=no lenLen=0 minLen=8 maxLen=12884902178 minCount=0 maxCount=0 meta=default
Writing parsers for type <interest> to <./Interest.fst>...
LINFO<interest@tlv_type>: vl=yes lenLen=0 minLen=1 maxLen=5 minCount=0 maxCount=0 meta=default
LINFO<interest@iv>: vl=yes lenLen=1 minLen=9 maxLen=4294967300 minCount=0 maxCount=0 meta=default
LINFO<interest>: vl=no lenLen=0 minLen=10 maxLen=4294967305 minCount=0 maxCount=0 meta=default
Writing parsers for type <interest_iv> to <./Interest_iv.fst>...
The text was updated successfully, but these errors were encountered:
I tried to produce parsers and serializers for NDN TLV coding scheme, the bitcoin_varint is very similar to the variable length number used in NDN TLV, so I wrote a rfc file as follows:
An error occured while verifying Interest.fst
The code where error appeared is as follows:
I read about the code of
serialize32_nondep_then
, it requires the two serializers in its params should satisfyserialize32_kind_precond
So I investigated the parser_kind of
serialize32_bcvli
andinterest_iv_serializer32
, as follows:I think that's where the problem is: the two parser_kind_high above is 5 and 4294967300, 5+4294967300 exceeds 4294967296.
Any suggestions on how I should fix my rfc file or change something in LowParse code to make it right? Thanks a lot for helping! The QD log is attached below:
The text was updated successfully, but these errors were encountered: