list_function_items
summary: showcase (some of) the iterators available on a function
- description:
This demonstrates how to use some of the iterators available on the func_t type.
This example will focus on:
func_t[.__iter__]: the default iterator; iterates on instructions
func_t.data_items: iterate on data items contained within a function
- func_t.head_items: iterate on ‘heads’ (i.e., addresses containing
the start of an instruction, or a data item.
- func_t.addresses: iterate on all addresses within function (code
and data, beginning of an item or not)
Type help(ida_funcs.func_t) for a full list of iterators.
In addition, one can use:
- func_tail_iterator_t: iterate on all the chunks (including
the main one) of the function
- func_parent_iterator_t: iterate on all the parent functions,
that include this chunk
keywords: funcs iterator
level: intermediate
Classes
Functions
|
Module Contents
- list_function_items.main()