Skip to content

Loop detection too strict? #1030

@weaversa

Description

@weaversa

This is pretty strange. At first glance it seems like hitting ctrl-c in the middle of a long running computation make the loop detector get into a bad state.

$ cryptol cryptol-specs/Primitive/Keyless/Hash/SHA1.cry 
┏━╸┏━┓╻ ╻┏━┓╺┳╸┏━┓╻  
┃  ┣┳┛┗┳┛┣━┛ ┃ ┃ ┃┃  
┗━╸╹┗╸ ╹ ╹   ╹ ┗━┛┗━╸
version 2.10.0.99
https://cryptol.net  :? for help

Loading module Cryptol
Loading module Primitive::Keyless::Hash::SHA1
Primitive::Keyless::Hash::SHA1> t3
^CCtrl-C
Primitive::Keyless::Hash::SHA1> t3

<<loop>> (at cryptol-specs/Primitive/Keyless/Hash/SHA1.cry:89:1--89:3, Primitive::Keyless::Hash::SHA1::t3)
Primitive::Keyless::Hash::SHA1> 

Metadata

Metadata

Assignees

Labels

semanticsIssues related to the dynamic semantics of Cryptol.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions