diff options
| author | Mason Reed <mason@vector35.com> | 2025-01-31 13:02:22 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-01-31 16:17:30 -0500 |
| commit | f5b7f5b2779b1b29e14856efd2a2e56a7c3b0113 (patch) | |
| tree | b1722f62166390c0d4b245a6695e359652ec6cf5 /rust/src/architecture.rs | |
| parent | c00727ed11624018b286f57215a677b1140de2ff (diff) | |
Add LLIL_REG_STACK_POP and LLIL_REG_STACK_PUSH to Rust API
These were unhandled and x87 register stack LLIL would emit a bunch of warnings
Diffstat (limited to 'rust/src/architecture.rs')
| -rw-r--r-- | rust/src/architecture.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/architecture.rs b/rust/src/architecture.rs index 857a6e88..997089f8 100644 --- a/rust/src/architecture.rs +++ b/rust/src/architecture.rs @@ -305,7 +305,7 @@ pub trait RegisterStackInfo: Sized { fn stack_top_reg(&self) -> Self::RegType; } -pub trait RegisterStack: Sized + Clone + Copy { +pub trait RegisterStack: Debug + Sized + Clone + Copy { type InfoType: RegisterStackInfo< RegType = Self::RegType, RegInfoType = Self::RegInfoType, @@ -641,7 +641,7 @@ pub struct UnusedRegisterStackInfo<R: Register> { _reg: std::marker::PhantomData<R>, } -#[derive(Clone, Copy, PartialEq, Eq, Hash)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct UnusedRegisterStack<R: Register> { _reg: std::marker::PhantomData<R>, } |
