Skip to main content

Module instr

Module instr 

Expand description

InstructionFilters are used to reason over instruction space. An encoding can return a set of filters representing the instruction space it covers.

The various types in this module can be used to manipulate and query sets of InstructionFilters.

Structs§

ByteFilter
A filter that matches a single byte.
FilterList
A list of filters.
FilterMap
A map of filters, with faster lookup.
FilterTree
A tree-structure that can efficiently determine whether an instruction is covered by a large set of filters.
Instruction
An instruction bitstring. Can contain instructions up to 15 bytes long.
InstructionCounter
A counter for iteration over instruction space.
InstructionFilter
A filter that can match groups of instructions.

Enums§

FilterBit
A bit in a filter.

Traits§

WithFilters
Types that represent groups of instructions. The group of instructions can be described using a set of filters.

Functions§

merge_filters
Attempts to merge all filters in the provided filters.