Skip to content
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

Report block-level verification progress, port Prusti Assistant changes #57

Draft
wants to merge 54 commits into
base: rewrite-2023
Choose a base branch
from

Commits on Jun 3, 2024

  1. Fix domain function name garbling when running over prusti-server

    Also comment out a line that crashes when not run from the same
    directory. This was problematic for working with Prusti Assistant.
    trktby committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    30beba6 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. Use new VerificationResult type

    Ported change from PR viperproject#1334
    trktby committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    ec4035e View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Change prusti-server workflow

    Port basic functionality for the new prusti-server work flow according
    to PR viperproject#1334 .
    trktby committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    4e6cc8a View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Port show_ide_info and skip_verification flags

    Querying signatures, spans of call contract collection and call finding
    does not work yet.
    PR: viperproject#1334
    trktby committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    0849d35 View commit details
    Browse the repository at this point in the history
  2. Port verify_only_defpath and report_viper_messages flags

    Defpath only verification does not work since test_entrypoint currently
    just puts the entire program into the request regardless of the
    verification tasks at hand.
    Update the flags in the documentation.
    PR: viperproject#1334
    trktby committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    5270e09 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Add support for block level messaging and bump version

    Requires the viperserver backend to support these messages too.
    trktby committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    39bfc55 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Attempt to fix the only defpath flag and fix not emitting fake error

    Every body owner function that is not passed to be verified explicitly
    acts as though it were pure and trusted to skip the encoding of their
    bodies.
    Additionally, VERIFY_ONLY_DEFPATH now takes a vector of String instead
    of just a string.
    trktby committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    99c3b2c View commit details
    Browse the repository at this point in the history
  2. Port call finder

    trktby committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    e607cc0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d472c60 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Improve contract span emission

    `SpanOfCallContracts` now has a vector as it's `call_spans` field so
    only one object is created per function definition rather than one per
    call.
    `CallSpanFinder` now also collects local functions for call contract
    span emission. Functions that are never called need not be emitted.
    trktby committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    1443c24 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Configuration menu
    Copy the full SHA
    cd45907 View commit details
    Browse the repository at this point in the history
  2. WIP: Restructure how verification requests are handled

    A main goal here is that the vir-viper translation happens on the same
    thread that encodes the program in the local verification case. This
    should happen so the allocated arena, which is thread local, can be
    used.
    Additionally, the JVM reliant bits are a bit more hidden from the
    general procedure.
    trktby committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    9f58eef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1de40ff View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Configuration menu
    Copy the full SHA
    aaecb18 View commit details
    Browse the repository at this point in the history
  2. Impure Generics (Aurel300#45)

    * Impure generics
    
    * Fixed bug due to type parameters not being encoded
    
    * Remove fractional perm
    
    * mk_bool doesn't need extra typarams
    zgrannan authored and trktby committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    bc26f7b View commit details
    Browse the repository at this point in the history
  3. Support cycles in encoders (Aurel300#47)

    * domain fields don't need a full encoding of their type yet
    
    * type alias for do_encode_full result
    
    * parameterise TaskEncoderDependencies by the owning encoder
    
    * remove some dependency unwraps
    
    * remove 'tcx lifetime, use 'vir
    
    * check for cycles when requesting dependencies or emitting output ref
    
    * add try operators for some emit output refs
    Aurel300 authored and trktby committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    ca5edb3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8527cc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c513772 View commit details
    Browse the repository at this point in the history
  6. fix VIR translation errors

    Aurel300 authored and trktby committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    e977267 View commit details
    Browse the repository at this point in the history
  7. cast tuple components in pure contexts

    Aurel300 authored and trktby committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    0408617 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9a99465 View commit details
    Browse the repository at this point in the history
  9. small generic fixes

    Aurel300 authored and trktby committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    f3cf4ef View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f53725a View commit details
    Browse the repository at this point in the history
  11. Post-rebase fixes

    Move backtranslation to where server messages are processed.
    Move `EncodingInfo` to encoder crate.
    trktby committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    846c447 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    14025ce View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Fix typo

    trktby committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    70b9855 View commit details
    Browse the repository at this point in the history
  2. Fix viper program passing and factor out cache

    - The viper program is now sent using a `GlobalRef`, so it actually
    compiles.
    - Cache usage no longer involves the `VerificationRequestProcessing`
    object.
    - The cache is now lazy, therefore only loads if the `ENABLE_CACHE` flag
      is set.
    - The `VerificationRequestProcessing` object is no longer constructed
      when all the requests are cache hits. The thread it holds is also not
    spawned as a result.
    trktby committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    d195424 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Configuration menu
    Copy the full SHA
    0b30959 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62d2a08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9daeac6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c8a7399 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Add back stopwatch calls

    trktby committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    1b64b36 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    a9e5021 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    b5722f3 View commit details
    Browse the repository at this point in the history
  2. More server refactoring

    trktby committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    2f8c64f View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    f06740f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b2bf78 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    47591c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    ee1747c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    174aef5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8c37ed View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Report results per method, backtranslate block labels

    Also change backtranslation of viper identifiers.
    Note that caching may not work properly for now if the
    `GENERATE_VIPER_MESSAGES` flag is set. Fixing this is a WIP.
    trktby committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    1ebf520 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Merge branch 'assistant-features/request-processing-restructure' into…

    … rewrite-2023-assistant-features
    
    Also clean up some imports.
    trktby committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    3e78249 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Fix error hashes colliding

    The same error with different positions used to produce the same hashes
    (generated using java's `hashCode` function).
    trktby committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    81230b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1063d9d View commit details
    Browse the repository at this point in the history
  3. Fix single files not being recognized as primary package

    This previously made it impossible to selectively verify in single file
    programs. It still does not work when running through x.py.
    trktby committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    110e633 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    35fc6a1 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Revert "small generic fixes"

    This reverts commit f3cf4ef.
    trktby committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    b708b7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd951ed View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. improve support for closures/quantifiers

    Aurel300 authored and trktby committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    19de80e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da102cc View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    e5a323b View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    ef98dc6 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Configuration menu
    Copy the full SHA
    a614769 View commit details
    Browse the repository at this point in the history