Expand description
Architecture-specific compiled implementations for HashX
This module provides a consistent interface across configurations and
targets via the Executable
struct and the Architecture
trait.
When the compiler is unavailable, an Executable
is empty and the
Architecture
is defined here as a stub implementation. Otherwise, the
Executable
wraps a mmap buffer from the dynasmrt
crate and the
Architecture
is implemented in a CPU-specific way.
Modules§
- util 🔒
compiler
and (x86-64 or AArch64) - Shared utility layer for all architecture-specific compilers
- x86_64 🔒
compiler
and x86-64 - Dynamically emitted HashX assembly code for x86_64 targets
Structs§
- Executable 🔒
- Wrapper for a compiled program, empty when compiler support is disabled
Traits§
- Architecture 🔒
- Trait that adds architecture-specific functionality to Executable