Revision control

Copy as Markdown

Other Tools

use super::arch::ArchX86_64;
use crate::instruction_analysis::InstructionAnalysis;
mod epilogue;
mod prologue;
use epilogue::unwind_rule_from_detected_epilogue;
use prologue::unwind_rule_from_detected_prologue;
impl InstructionAnalysis for ArchX86_64 {
fn rule_from_prologue_analysis(
text_bytes: &[u8],
pc_offset: usize,
) -> Option<Self::UnwindRule> {
unwind_rule_from_detected_prologue(text_bytes, pc_offset)
}
fn rule_from_epilogue_analysis(
text_bytes: &[u8],
pc_offset: usize,
) -> Option<Self::UnwindRule> {
unwind_rule_from_detected_epilogue(text_bytes, pc_offset)
}
}