SearchQuery in binaryninja::binary_view::search - Rust

pub struct SearchQuery { /* private fields */ }

Implementations§

Source§

impl SearchQuery

Source

pub fn new(pattern: impl Into<String>) -> Self

Source

pub fn start(self, addr: u64) -> Self

Set the starting address for the search

Source

pub fn end(self, addr: u64) -> Self

Set the ending address for the search (inclusive)

Source

pub fn raw(self, raw: bool) -> Self

Set whether to interpret the pattern as a raw string

Source

pub fn ignore_case(self, ignore_case: bool) -> Self

Set whether to perform case-insensitive matching

Source

pub fn overlap(self, overlap: bool) -> Self

Set whether to allow matches to overlap

Source

pub fn align(self, align: u64) -> Self

Set the alignment of matches (must be a power of 2)

Source§

impl SearchQuery

Source

pub fn to_json(&self) -> String

Serialize the query to a JSON string

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for SearchQuery

§

impl RefUnwindSafe for SearchQuery

§

impl Send for SearchQuery

§

impl Sync for SearchQuery

§

impl Unpin for SearchQuery

§

impl UnwindSafe for SearchQuery

Blanket Implementations§