Skip to content

search ¤

Functions:

Attributes:

saved module-attribute ¤

saved: set[int] = set()

auto_save module-attribute ¤

auto_save = add_param(
    "auto-save-search", False, 'automatically pass --save to "search" command'
)

parser module-attribute ¤

parser = ArgumentParser(
    description="Search memory for byte sequences, strings, pointers, and integer values.\n\nBy default search results are cached. If you want to cache all results, but only print a subset, use --trunc-out. If you want to cache only a subset of results, and print the results immediately, use --limit. The latter is specially useful if you're searching a huge section of memory.\n\n"
)

print_search_hit ¤

print_search_hit(address: int) -> None

Prints out a single search hit.

Parameters:

  • address (int) –

    Address to print

search ¤

search(
    type,
    arch,
    asmbp,
    hex,
    executable,
    writable,
    step,
    limit,
    aligned,
    value,
    mapping_name,
    save,
    next,
    trunc_out,
) -> None