vds12

summary: list instruction registers

description:

Shows a list of direct references to a register from the current instruction.

level: advanced

Attributes

ea

Classes

xref_chooser_t

Chooser wrapper class.

Functions

collect_block_xrefs(out, mlist, blk, ins, find_uses)

collect_xrefs(out, ctx, mop, mlist, du, find_uses)

show_xrefs(ea, gco, xrefs, ndefs)

Module Contents

vds12.collect_block_xrefs(out, mlist, blk, ins, find_uses)
vds12.collect_xrefs(out, ctx, mop, mlist, du, find_uses)
class vds12.xref_chooser_t(xrefs, t, n, ea, gco)

Bases: ida_kernwin.Choose

Chooser wrapper class.

Some constants are defined in this class. Please refer to kernwin.hpp for more information.

xrefs
ndefs
curr_ea
gco
items
OnGetSize()

Get the number of elements in the chooser.

This callback is mandatory

Returns:

the number of elements

OnGetLine(n)

Get data for an element

This callback is mandatory

Parameters:

n – the index to fetch data for

Returns:

a list of strings

vds12.show_xrefs(ea, gco, xrefs, ndefs)
vds12.ea