Expand description
Common types and traits shared across all target architectures.
Modules§
- jit
- JIT execution functionality (std-only)
Structs§
- Instruction
Collection - A collection of instructions with convenient methods for byte manipulation
Enums§
- AbiClass
- ABI classification for registers based on preservation requirements.
- Build
Error - Errors that can occur during instruction building
Traits§
- Architecture
Encoder - Architecture-specific encoding functions
- Instruction
- A machine instruction that can be encoded to bytes
- Instruction
Builder - An instruction builder for a specific architecture
- Instruction
Collection Ext - Trait extension for instruction collections
This allows you to call
.to_bytes()
and.total_size()
directly on slices and vectors - Register
- A register identifier for a target architecture
Functions§
- instructions_
to_ bytes - Convenience functions for instruction collections These functions work with any collection of instructions
- instructions_
total_ size - Get the total size in bytes of a collection of instructions
Type Aliases§
- Build
Result - Common result type for instruction building