Skip to content

Commit

Permalink
move patronus dse to separate crate
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Dec 11, 2024
1 parent b786140 commit faab7c8
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
members = ["patronus", "patronus-egraphs", "tools/bmc", "tools/egraphs-cond-synth", "tools/sim"]
members = ["patronus", "patronus-egraphs", "patronus-dse", "tools/bmc", "tools/egraphs-cond-synth", "tools/sim"]

[workspace.package]
edition = "2021"
Expand Down
15 changes: 15 additions & 0 deletions patronus-dse/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "patronus-dse"
version = "0.1.0"
description = "dynamic symbolic execution with patronus"
edition.workspace = true
authors.workspace = true
repository.workspace = true
readme.workspace = true
license.workspace = true
rust-version.workspace = true

[dependencies]
patronus = { path = "../patronus" }
boolean_expression.workspace = true
rustc-hash.workspace = true
4 changes: 2 additions & 2 deletions patronus/src/dse/engine.rs → patronus-dse/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// released under BSD 3-Clause License
// author: Kevin Laeufer <[email protected]>

use crate::expr::Context;
use crate::system::TransitionSystem;
use patronus::expr::Context;
use patronus::system::TransitionSystem;

/// Symbolic execution engine.
pub struct SymEngine {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// released under BSD 3-Clause License
// author: Kevin Laeufer <[email protected]>

use crate::expr::*;
use boolean_expression::{BDDFunc, BDD};
use patronus::expr::*;
use rustc_hash::{FxBuildHasher, FxHashMap, FxHashSet};
use std::hash::Hash;

Expand Down
1 change: 0 additions & 1 deletion patronus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ extern crate lazy_static;
extern crate core;

pub mod btor2;
pub mod dse;
pub mod expr;
pub mod mc;
pub mod sim;
Expand Down

0 comments on commit faab7c8

Please sign in to comment.