Struct dynasmrt::x64::UncommittedModifier [] [src]

pub struct UncommittedModifier<'a> { /* fields omitted */ }

This struct is a wrapper around an Assembler normally created using the Assembler.alter_uncommitted method. It allows the user to edit parts of the assembling buffer that cannot be determined easily or efficiently in advance. Due to limitations of the label resolution algorithms, this assembler does not allow labels to be used.

Methods

impl<'a> UncommittedModifier<'a>
[src]

Sets the current modification offset to the given value

Checks that the current modification offset is not larger than the specified offset. If this is violated, it panics.

Checks that the current modification offset is exactly the specified offset. If this is violated, it panics.

Trait Implementations

impl<'a, 'b> DynasmApi<'b> for UncommittedModifier<'a>
[src]

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

This function is called in when a runtime error has to be generated. It panics.

impl<'a> Extend<u8> for UncommittedModifier<'a>
[src]

Extends a collection with the contents of an iterator. Read more

impl<'a, 'b> Extend<&'b u8> for UncommittedModifier<'a>
[src]

Extends a collection with the contents of an iterator. Read more