forked from rust-lang/rust
    
        
        - 
                Notifications
    You must be signed in to change notification settings 
- Fork 58
Loop invariants and harnesses for memchr functions #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Draft
      
      
            thanhnguyen-aws
  wants to merge
  31
  commits into
  model-checking:main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
thanhnguyen-aws:memchrinvariant
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
  
     Draft
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            31 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      e10a8f6
              
                add loop-invariants and harnesses
              
              
                thanhnguyen-aws 8f02ac9
              
                format fix
              
              
                thanhnguyen-aws 617804e
              
                fix harness name
              
              
                thanhnguyen-aws dcf1882
              
                add crate::kani
              
              
                thanhnguyen-aws 5ccddc7
              
                fix format
              
              
                thanhnguyen-aws 4844377
              
                fix format
              
              
                thanhnguyen-aws ce54852
              
                fix invariant
              
              
                thanhnguyen-aws 9bd7cc2
              
                fix invariant
              
              
                thanhnguyen-aws da0761a
              
                add quantifiers to loop invariant
              
              
                thanhnguyen-aws 67098c5
              
                add im port kani
              
              
                thanhnguyen-aws abda27a
              
                add cfg kani
              
              
                thanhnguyen-aws 55e641f
              
                Merge branch 'main' into memchrinvariant
              
              
                thanhnguyen-aws 864098f
              
                add -Z quantifiers
              
              
                thanhnguyen-aws 98e10c4
              
                Merge branch 'memchrinvariant' of https://github.com/thanhnguyen-aws/…
              
              
                thanhnguyen-aws ab64f85
              
                Make forall compile
              
              
                tautschnig b701f3a
              
                Fix formatting, make flux happy
              
              
                tautschnig e5515d6
              
                change unwind to solver(cvc5)
              
              
                thanhnguyen-aws b4a38b9
              
                Merge branch 'main' into memchrinvariant
              
              
                thanhnguyen-aws a96b095
              
                change unwind to solver(cvc5)
              
              
                thanhnguyen-aws fac264f
              
                Merge branch 'memchrinvariant' of https://github.com/thanhnguyen-aws/…
              
              
                thanhnguyen-aws e411051
              
                add target_arch cfg
              
              
                thanhnguyen-aws 1780de6
              
                Merge branch 'main' into memchrinvariant
              
              
                thanhnguyen-aws c357e47
              
                using quantifiers in CStr
              
              
                thanhnguyen-aws be834b0
              
                Merge branch 'memchrinvariant' of https://github.com/thanhnguyen-aws/…
              
              
                thanhnguyen-aws b24e668
              
                add import forall
              
              
                thanhnguyen-aws 797b38e
              
                fix typo
              
              
                thanhnguyen-aws 7fda174
              
                fix format
              
              
                thanhnguyen-aws c753437
              
                temporarily disable is_safe check for CStr
              
              
                thanhnguyen-aws f2db5e4
              
                temporarily disable is_safe check for CStr
              
              
                thanhnguyen-aws 5ea263a
              
                temporarily disable is_safe check for CStr
              
              
                thanhnguyen-aws 92d5e64
              
                Merge branch 'main' into memchrinvariant
              
              
                tautschnig File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to use an SMT solver for any function that eventually invokes this function.