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]

[src]

Sets the current modification offset to the given value

[src]

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

[src]

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]

[src]

Report the current offset into the assembling target

[src]

Push a byte into the assembling target

[src]

Push a signed byte into the assembling target

[src]

Push a signed word into the assembling target

[src]

Push a signed doubleword into the assembling target

[src]

Push a signed quadword into the assembling target

[src]

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

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

[src]

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

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

[src]

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