Struct owl::Gadget [] [src]

pub struct Gadget { /* fields omitted */ }

A ROP gadget

Methods

impl Gadget
[src]

[src]

Create a new ROP gadget. This is the result of GadgetFinder::find.

  • offset - Offset into buffer which was searched for gadgets where this gadget was found.
  • length - The length of this gadget in bytes.
  • instructions - The human-readable text representation of the instructions in this ROP gadget.
  • bytes - The bytes of the instructions in this gadget.

[src]

Get the bytes for this gadget.

[src]

Get the human-readable strings of the instructions for this gadget.

[src]

Get the length of this gadget in bytes.

[src]

Get the offset into the searched buffer where this gadget was found.

[src]

Set the bytes for this gadget.

[src]

Set the instruction strings for this gadget.

[src]

Set offset for this gadget

Trait Implementations

impl Clone for Gadget
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Gadget
[src]

[src]

Formats the value using the given formatter.