Module common

Module common 

Source
Expand description

Common types and traits shared across all target architectures.

Modules§

jit
JIT execution functionality (std-only)

Structs§

InstructionCollection
A collection of instructions with convenient methods for byte manipulation

Enums§

AbiClass
ABI classification for registers based on preservation requirements.
BuildError
Errors that can occur during instruction building

Traits§

ArchitectureEncoder
Architecture-specific encoding functions
Instruction
A machine instruction that can be encoded to bytes
InstructionBuilder
An instruction builder for a specific architecture
InstructionCollectionExt
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§

BuildResult
Common result type for instruction building