pub struct IDB { /* private fields */ }
Implementations§
Source§impl IDB
impl IDB
pub fn open(path: impl AsRef<Path>) -> Result<Self, IDAError>
pub fn open_with( path: impl AsRef<Path>, auto_analyse: bool, save: bool, ) -> Result<Self, IDAError>
pub fn path(&self) -> &Path
pub fn save_on_close(&mut self, status: bool)
pub fn auto_wait(&mut self) -> bool
pub fn set_screen_address(&mut self, ea: Address)
pub fn make_signatures(&mut self, only_pat: bool) -> Result<(), IDAError>
pub fn decompiler_available(&self) -> bool
pub fn meta(&self) -> Metadata<'_>
pub fn meta_mut(&mut self) -> MetadataMut<'_>
pub fn processor(&self) -> Processor<'_>
pub fn entries(&self) -> EntryPointIter<'_> ⓘ
pub fn function_at(&self, ea: Address) -> Option<Function<'_>>
pub fn next_head(&self, ea: Address) -> Option<Address>
pub fn next_head_with(&self, ea: Address, max_ea: Address) -> Option<Address>
pub fn prev_head(&self, ea: Address) -> Option<Address>
pub fn prev_head_with(&self, ea: Address, min_ea: Address) -> Option<Address>
pub fn insn_at(&self, ea: Address) -> Option<Insn>
pub fn decompile<'a>( &'a self, f: &Function<'a>, ) -> Result<CFunction<'a>, IDAError>
pub fn decompile_with<'a>( &'a self, f: &Function<'a>, all_blocks: bool, ) -> Result<CFunction<'a>, IDAError>
pub fn function_by_id(&self, id: FunctionId) -> Option<Function<'_>>
pub fn functions<'a>( &'a self, ) -> impl Iterator<Item = (FunctionId, Function<'a>)> + 'a
pub fn function_count(&self) -> usize
pub fn segment_at(&self, ea: Address) -> Option<Segment<'_>>
pub fn segment_by_id(&self, id: SegmentId) -> Option<Segment<'_>>
pub fn segments<'a>( &'a self, ) -> impl Iterator<Item = (SegmentId, Segment<'a>)> + 'a
pub fn segment_count(&self) -> usize
pub fn register_by_name(&self, name: impl AsRef<str>) -> Option<Register>
pub fn insn_alignment_at(&self, ea: Address) -> Option<usize>
pub fn first_xref_from(&self, ea: Address, flags: XRefQuery) -> Option<XRef<'_>>
pub fn first_xref_to(&self, ea: Address, flags: XRefQuery) -> Option<XRef<'_>>
pub fn get_cmt(&self, ea: Address) -> Option<String>
pub fn get_cmt_with(&self, ea: Address, rptble: bool) -> Option<String>
pub fn set_cmt( &self, ea: Address, comm: impl AsRef<str>, ) -> Result<(), IDAError>
pub fn set_cmt_with( &self, ea: Address, comm: impl AsRef<str>, rptble: bool, ) -> Result<(), IDAError>
pub fn append_cmt( &self, ea: Address, comm: impl AsRef<str>, ) -> Result<(), IDAError>
pub fn append_cmt_with( &self, ea: Address, comm: impl AsRef<str>, rptble: bool, ) -> Result<(), IDAError>
pub fn remove_cmt(&self, ea: Address) -> Result<(), IDAError>
pub fn remove_cmt_with(&self, ea: Address, rptble: bool) -> Result<(), IDAError>
pub fn bookmarks(&self) -> Bookmarks<'_>
pub fn find_text( &self, start_ea: Address, text: impl AsRef<str>, ) -> Option<Address>
pub fn find_text_iter<'a, T>( &'a self, text: T, ) -> impl Iterator<Item = Address> + 'a
pub fn find_imm(&self, start_ea: Address, imm: u32) -> Option<Address>
pub fn find_imm_iter<'a>( &'a self, imm: u32, ) -> impl Iterator<Item = Address> + 'a
pub fn find_defined(&self, start_ea: Address) -> Option<Address>
pub fn strings(&self) -> StringList<'_>
pub fn address_to_string(&self, ea: Address) -> Option<String>
pub fn get_byte(&self, ea: Address) -> u8
pub fn get_word(&self, ea: Address) -> u16
pub fn get_dword(&self, ea: Address) -> u32
pub fn get_qword(&self, ea: Address) -> u64
pub fn get_bytes(&self, ea: Address, size: usize) -> Vec<u8>
pub fn find_plugin( &self, name: impl AsRef<str>, load_if_needed: bool, ) -> Result<Plugin<'_>, IDAError>
pub fn load_plugin(&self, name: impl AsRef<str>) -> Result<Plugin<'_>, IDAError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IDB
impl RefUnwindSafe for IDB
impl !Send for IDB
impl !Sync for IDB
impl Unpin for IDB
impl UnwindSafe for IDB
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