Module xgadget::gadget[][src]

Structs

DisplayString

String wrapper that tracks count of visible terminal characters for Display's fmt function.

Gadget

Gadget instructions (data) coupled with occurrence addresses for full and partial matches (metadata). Gadgets sortable by lowest occurrence address. Hash and equality consider only gadget instructions, not occurrence addresses (fast de-duplication via sets).

GadgetAnalysis

Determines gadget register usage properties.

Traits

DisplayLen

Implementors track count of visible terminal characters for Display's fmt function (for colored strings).

Functions

fmt_gadget_str_list

Format list of gadgets in parallel, return alphabetically sorted Strings

get_formatter

Get instruction formatter (ATT or Intel syntax).