pub struct BytecodeAnalyzer;Expand description
Bytecode disassembler and analyzer.
Implementations§
Source§impl BytecodeAnalyzer
impl BytecodeAnalyzer
Sourcepub fn disassemble(bytecode: &str) -> AnalysisResult<Vec<Instruction>>
pub fn disassemble(bytecode: &str) -> AnalysisResult<Vec<Instruction>>
Disassemble bytecode (hex string) to instructions.
Sourcepub fn analyze(bytecode: &str) -> AnalysisResult<BytecodeAnalysis>
pub fn analyze(bytecode: &str) -> AnalysisResult<BytecodeAnalysis>
Analyze bytecode for vulnerabilities.
Auto Trait Implementations§
impl Freeze for BytecodeAnalyzer
impl RefUnwindSafe for BytecodeAnalyzer
impl Send for BytecodeAnalyzer
impl Sync for BytecodeAnalyzer
impl Unpin for BytecodeAnalyzer
impl UnsafeUnpin for BytecodeAnalyzer
impl UnwindSafe for BytecodeAnalyzer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more