Struct pelite::pe32::scanner::Matches [−][src]
pub struct Matches<'u, P> { /* fields omitted */ }
An iterator over the matches of a pattern.
Created with the method matches
.
Methods
impl<'a, 'u, P: Pe<'a> + Copy> Matches<'u, P>
[src]
impl<'a, 'u, P: Pe<'a> + Copy> Matches<'u, P>
pub fn scanner(&self) -> Scanner<P>
[src]
pub fn scanner(&self) -> Scanner<P>
Gets the scanner instance.
pub fn pattern(&self) -> &'u [Atom]
[src]
pub fn pattern(&self) -> &'u [Atom]
Gets the pattern.
pub fn range(&self) -> Range<Rva>
[src]
pub fn range(&self) -> Range<Rva>
Gets the remaining RVA range to scan.
pub fn cursor(&self) -> Rva
[src]
pub fn cursor(&self) -> Rva
The RVA where the last match was found.
pub fn hits(&self) -> u32
[src]
pub fn hits(&self) -> u32
Performance.
Number of times the slow exec
was invoked.
pub fn next(&mut self, save: &mut [Rva]) -> bool
[src]
pub fn next(&mut self, save: &mut [Rva]) -> bool
Finds the next match with the given save array.