IDA custom viewer sample. More...
Classes | |
struct | simpleline_t |
Maintain basic information for a line in a custom view. More... | |
class | simpleline_place_t |
A location in a view populated by a strvec_t. More... | |
Typedefs | |
typedef qvector< simpleline_t > | strvec_t |
A collection of simple lines to populate a custom view. More... | |
Detailed Description
IDA custom viewer sample.
It is enough to create an object of strvec_t class, put all lines into it and create a custom ida viewer (create_custom_viewer).
strvec_t lines;
// fill it with lines...
simpleline_place_t s2(lines.size()-1);
Definition: kernwin.hpp:4667
size_t size(void) const
Get the number of elements in the qvector.
Definition: pro.h:2348
TWidget * create_custom_viewer(const char *title, const place_t *minplace, const place_t *maxplace, const place_t *curplace, const renderer_info_t *rinfo, void *ud, const custom_viewer_handlers_t *cvhandlers, void *cvhandlers_ud, TWidget *parent=nullptr)
Create new ida viewer based on place_t (ui_create_custom_viewer).
Definition: kernwin.hpp:5323
This will produce a nice colored text view. Also see the SDK's 'custview' and 'hexview' plugins for more complete examples.
Typedef Documentation
◆ strvec_t
typedef qvector<simpleline_t> strvec_t |
A collection of simple lines to populate a custom view.
This is an example of what you would pass as the 'ud' argument to create_custom_viewer()
Generated by 1.9.3