Skip to content

Update concrete values parser to use serde structs #1477

Closed

Description

@sanjit-bhat

The current deterministic values parser in kani-driver/src/exe_trace.rs works on arbitrary serde::Value types. This means that if we expect certain Value blobs to be arrays, we have to test for that and handle errors. With this change, we would complete the serde struct for traces in kani-driver/src/cbmc_output_parser.rs and use those objects directly. We would still have to walk down this structure to extract deterministic values, but we wouldn't need as much error handling since the blob would be automatically serialized into the right type.

Activity

  1. self-assigned this
    on Aug 11, 2022
  2. changed the title [-]Update det vals parser once new overall CBMC output parser is merged in[/-] [+]Det playback: Update det vals parser to use serde structs[/+] on Aug 11, 2022
  3. changed the title [-]Det playback: Update det vals parser to use serde structs[/-] [+]Update concrete values parser to use serde structs[/+] on Aug 19, 2022
  4. moved this to Done in Kani v0.9on Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions