vds7

summary: dump statement blocks

description:

Using a ida_hexrays.ctree_visitor_t, search for ida_hexrays.cit_block instances and dump them.

author: EiNSTeiN_ (einstein@g3nius.org)

level: beginner

Attributes

vds7_hooks

Classes

cblock_visitor_t

vds7_hooks_t

Module Contents

class vds7.cblock_visitor_t

Bases: ida_hexrays.ctree_visitor_t

visit_insn(ins)

Visit a statement. This is a visitor function which should be overridden by a derived class to do some useful work. This visitor performs pre-order traserval, i.e. an item is visited before its children.

Returns:

0 to continue the traversal, nonzero to stop.

dump_block(ea, b)
class vds7.vds7_hooks_t(_flags: int = 0, _hkcb_flags: int = 1)

Bases: ida_hexrays.Hexrays_Hooks

maturity(cfunc, maturity)

Ctree maturity level is being changed.

Parameters:
  • cfunc – (cfunc_t *)

  • new_maturity – (ctree_maturity_t)

vds7.vds7_hooks