[−][src]Crate dynasmrt
Re-exports
pub use crate::mmap::ExecutableBuffer; |
Modules
aarch64 | |
components | |
mmap | |
relocations | |
x64 | |
x86 |
Macros
MutPointer | Preforms the same action as the |
Pointer | This macro takes a *const pointer from the source operand, and then casts it to the desired return type. this allows it to be used as an easy shorthand for passing pointers as dynasm immediate arguments. |
Structs
Assembler | A full assembler implementation. Supports labels, all types of relocations, incremental compilation and multithreaded execution with simultaneous compiltion. Its implementation guarantees no memory is executable and writable at the same time. |
AssemblyOffset | A struct representing an offset into the assembling buffer of a |
DynamicLabel | A dynamic label |
Executor | A read-only shared reference to the executable buffer inside an Assembler. By
locking it the internal |
Modifier | Allows modification of already committed assembly code. Contains an internal cursor
into the emitted assembly, initialized to the start, that can be moved around either with the
|
UncommittedModifier | This struct is a wrapper around an |
VecAssembler | An assembler that is purely a |
Enums
DynasmError | The various error types generated by dynasm functions. |
LabelKind | A description of a label. Used for error reporting. |
TargetKind | A description of a relocation target. Used for error reporting. |
Traits
DynasmApi | This trait represents the interface that must be implemented to allow the dynasm preprocessor to assemble into a datastructure. |
DynasmLabelApi | This trait extends DynasmApi to not only allow assembling, but also labels and various directives |