diff options
| author | Mason Reed <mason@vector35.com> | 2025-04-29 16:05:54 -0400 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-05-12 17:45:24 -0400 |
| commit | c3f344a38ca4b027b4e69b0f82d3184622d6da79 (patch) | |
| tree | 058fae7b8c1a517354ca041b1ae6fc78ec9c961c /rust/src/architecture.rs | |
| parent | ccd416cb1f05d701942a7870fe9ed763bb8d4db6 (diff) | |
[Rust] Pretty print LLIL sub expressions
Diffstat (limited to 'rust/src/architecture.rs')
| -rw-r--r-- | rust/src/architecture.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/src/architecture.rs b/rust/src/architecture.rs index 3573f1fb..7ad10dfb 100644 --- a/rust/src/architecture.rs +++ b/rust/src/architecture.rs @@ -418,7 +418,7 @@ pub trait Intrinsic: Debug + Sized + Clone + Copy { fn outputs(&self) -> Vec<Conf<Ref<Type>>>; } -pub trait Architecture: 'static + Sized + AsRef<CoreArchitecture> { +pub trait Architecture: 'static + Sized + AsRef<CoreArchitecture> + Debug { type Handle: Borrow<Self> + Clone; type RegisterInfo: RegisterInfo<RegType = Self::Register>; @@ -3234,6 +3234,7 @@ where } } +#[derive(Debug)] pub struct CustomArchitectureHandle<A> where A: 'static + Architecture<Handle = CustomArchitectureHandle<A>> + Send + Sync, |
