pub struct AssemblyModifier<'a: 'b, 'b> { /* fields omitted */ }
This struct is a wrapper around an Assembler
normally created using the
Assembler.alter
method. Instead of writing to a temporary assembling buffer,
this struct assembles directly into an executable buffer. The goto
method can
be used to set the assembling offset in the ExecutableBuffer
of the assembler
(this offset is initialized to 0) after which the data at this location can be
overwritten by assembling into this struct.
Sets the current modification offset to the given value
Checks that the current modification offset is not larger than the specified offset.
Checks that the current modification offset is exactly the specified offset.
Report the current offset into the assembling target
Push a byte into the assembling target
Push a signed byte into the assembling target
Push a signed word into the assembling target
Push a signed doubleword into the assembling target
Push a signed quadword into the assembling target
Push an usigned word into the assembling target
Push an usigned doubleword into the assembling target
Push an usigned quadword into the assembling target
This function is called in when a runtime error has to be generated. It panics.
Push nops until the assembling target end is aligned to the given alignment
Record the definition of a global label
Record a relocation spot for a reference to a global label
Record the definition of a dynamic label
Record a relocation spot for a reference to a dynamic label
Record the definition of a local label
Record a relocation spot for a forward reference to a local label
Record a relocation spot for a backward reference to a local label
Record a relocation spot to an arbitrary target
Extends a collection with the contents of an iterator. Read more
Extends a collection with the contents of an iterator. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)