29struct lochist_entry_t;
132#define SETMENU_POSMASK 0x3
133#define SETMENU_INS 0x0
134#define SETMENU_APP 0x1
135#define SETMENU_FIRST 0x2
136#define SETMENU_ENSURE_SEP 0x8
142#define CREATETB_ADV 0x1
149#define HIF_IDENTIFIER 0x1
150#define HIF_REGISTER 0x2
151#define HIF_LOCKED 0x4
152#define HIF_NOCASE 0x8
155#define HIF_USE_SLOT (1 << 27)
156#define HIF_SLOT_SHIFT 28
157#define HIF_GET_SLOT(flags) (((flags) >> HIF_SLOT_SHIFT) & 0x7)
161#define HIF_SLOT_0 (HIF_USE_SLOT | (0 << HIF_SLOT_SHIFT))
162#define HIF_SLOT_1 (HIF_USE_SLOT | (1 << HIF_SLOT_SHIFT))
163#define HIF_SLOT_2 (HIF_USE_SLOT | (2 << HIF_SLOT_SHIFT))
164#define HIF_SLOT_3 (HIF_USE_SLOT | (3 << HIF_SLOT_SHIFT))
165#define HIF_SLOT_4 (HIF_USE_SLOT | (4 << HIF_SLOT_SHIFT))
166#define HIF_SLOT_5 (HIF_USE_SLOT | (5 << HIF_SLOT_SHIFT))
167#define HIF_SLOT_6 (HIF_USE_SLOT | (6 << HIF_SLOT_SHIFT))
168#define HIF_SLOT_7 (HIF_USE_SLOT | (7 << HIF_SLOT_SHIFT))
171#define REG_HINTS_MARKER SCOLOR_ON "\x7F"
172#define REG_HINTS_MARKER_LEN 2
173#define SRCDBG_HINTS_MARKER SCOLOR_ON "\x7E"
174#define SRCDBG_HINTS_MARKER_LEN 2
180#define CDVF_NOLINES 0x0001
181#define CDVF_LINEICONS 0x0002
182#define CDVF_STATUSBAR 0x0004
198#define WCLS_NO_CONTEXT 0x2
199#define WCLS_DONT_SAVE_SIZE 0x4
200#define WCLS_DELETE_LATER 0x8
201#define WCLS_CLOSE_LATER WCLS_DELETE_LATER
207#define DP_LEFT 0x0001
209#define DP_RIGHT 0x0004
210#define DP_BOTTOM 0x0008
211#define DP_INSIDE 0x0010
215#define DP_BEFORE 0x0020
217#define DP_FLOATING 0x0080
218#define DP_SZHINT 0x0100
226#define CDVF_NOLINES 0x0001
227#define CDVF_LINEICONS 0x0002
228#define CDVF_STATUSBAR 0x0004
234#define SVF_COPY_LINES 0x0000
235#define SVF_LINES_BYPTR 0x0001
241#define CVNF_LAZY (1 << 0)
244#define CVNF_JUMP (1 << 1)
246#define CVNF_ACT (1 << 2)
257#define WOPN_RESTORE 0x00000004u
260#define WOPN_PERSIST 0x00000040u
261#define WOPN_CLOSED_BY_ESC 0x00000080u
262#define WOPN_NOT_CLOSED_BY_ESC 0x00000100u
263#define WOPN_DP_MASK 0x0FFF0000u
264#define WOPN_DP_SHIFT 16
265#define WOPN_DP_LEFT (DP_LEFT << WOPN_DP_SHIFT)
267#define WOPN_DP_TOP (DP_TOP << WOPN_DP_SHIFT)
269#define WOPN_DP_RIGHT (DP_RIGHT << WOPN_DP_SHIFT)
271#define WOPN_DP_BOTTOM (DP_BOTTOM << WOPN_DP_SHIFT)
273#define WOPN_DP_INSIDE (DP_INSIDE << WOPN_DP_SHIFT)
275#define WOPN_DP_TAB (DP_TAB << WOPN_DP_SHIFT)
279#define WOPN_DP_BEFORE (DP_BEFORE << WOPN_DP_SHIFT)
282#define WOPN_DP_FLOATING (DP_FLOATING << WOPN_DP_SHIFT)
284#define WOPN_DP_SZHINT (DP_SZHINT << WOPN_DP_SHIFT)
288#define WOPN_DP_INSIDE_BEFORE (WOPN_DP_INSIDE | WOPN_DP_BEFORE)
289#define WOPN_DP_TAB_BEFORE (WOPN_DP_TAB | WOPN_DP_BEFORE)
290#define WOPN_GET_DP(v) (((v) & WOPN_DP_MASK) >> WOPN_DP_SHIFT)
305#define CVLF_USE_MOUSE 0x1
1329idaman
int ida_export
init_database(
int argc,
const char *
const *argv,
int *newfile);
1346 const
void *dataptr,
1373inline bool is_ida_library(
char *path =
nullptr,
size_t pathsize = 0,
void** handle =
nullptr)
1454 virtual
void idaapi
adjust(
void *ud) = 0;
1459 virtual
bool idaapi
prev(
void *ud) = 0;
1464 virtual
bool idaapi
next(
void *ud) = 0;
1491 int maxsize)
const = 0;
1509 virtual
int idaapi
id()
const = 0;
1521 virtual
ea_t idaapi
toea()
const {
return BADADDR; }
1569 virtual bool idaapi
equals(
const place_t *t2,
void *ud)
const
1575#define DEFAULT_PLACE_LNNUM -1
1576#define MAX_PLACE_LNNUM INT_MAX
1587#define define_place_exported_functions(classname) \
1589idaman void ida_export classname ## __print(const classname *, qstring *, void*); \
1590idaman uval_t ida_export classname ## __touval(const classname *, void*); \
1591idaman place_t * ida_export classname ## __clone(const classname *); \
1592idaman void ida_export classname ## __copyfrom(classname *, const place_t*); \
1593idaman place_t * ida_export classname ## __makeplace(const classname *, void*, uval_t, int); \
1594idaman int ida_export classname ## __compare(const classname *, const place_t*); \
1595idaman int ida_export classname ## __compare2(const classname *, const place_t*, void*); \
1596idaman bool ida_export classname ## __equals(const classname *, const place_t*, void*); \
1597idaman void ida_export classname ## __adjust(classname *, void*); \
1598idaman bool ida_export classname ## __prev(classname *, void*); \
1599idaman bool ida_export classname ## __next(classname *, void*); \
1600idaman bool ida_export classname ## __beginning(const classname *, void*); \
1601idaman bool ida_export classname ## __ending(const classname *, void*); \
1602idaman int ida_export classname ## __generate( \
1603 const classname *, \
1610idaman void ida_export classname ## __serialize(const classname *, bytevec_t *out); \
1611idaman bool ida_export classname ## __deserialize(classname *, const uchar **, const uchar *); \
1612idaman int ida_export classname ## __id(const classname *); \
1613idaman const char *ida_export classname ## __name(const classname *); \
1614idaman ea_t ida_export classname ## __toea(const classname *); \
1615idaman place_t * ida_export classname ## __enter(const classname *, uint32 *); \
1616idaman void ida_export classname ## __leave(const classname *, uint32); \
1617idaman bool ida_export classname ## __rebase(classname *, const segm_move_infos_t &);
1621#define define_place_virtual_functions(class) \
1622 virtual void idaapi print(qstring *buf, void *ud) const override \
1623 { class ## __print(this, buf, ud); } \
1624 virtual uval_t idaapi touval(void *ud) const override \
1625 { return class ## __touval(this, ud); } \
1626 virtual place_t *idaapi clone() const override \
1627 { return class ## __clone(this); } \
1628 virtual void idaapi copyfrom(const place_t *from) override \
1629 { class ## __copyfrom(this, from); } \
1630 virtual place_t *idaapi makeplace( \
1633 int _lnnum) const override \
1634 { return class ## __makeplace(this,ud,x,_lnnum); } \
1635 virtual int idaapi compare(const place_t *t2) const override \
1636 { return class ## __compare(this, t2); } \
1637 virtual void idaapi adjust(void *ud) override \
1638 { class ## __adjust(this,ud); } \
1639 virtual bool idaapi prev(void *ud) override \
1640 { return class ## __prev(this,ud); } \
1641 virtual bool idaapi next(void *ud) override \
1642 { return class ## __next(this,ud); } \
1643 virtual bool idaapi beginning(void *ud) const override \
1644 { return class ## __beginning(this,ud); } \
1645 virtual bool idaapi ending(void *ud) const override \
1646 { return class ## __ending(this,ud); } \
1647 virtual int idaapi generate( \
1650 color_t *_out_pfx_color, \
1651 bgcolor_t *_out_bg_color, \
1653 int _max) const override \
1655 return class ## __generate( \
1656 this, _out, _out_lnnum, _out_pfx_color, \
1657 _out_bg_color, _ud, _max); \
1659 virtual void idaapi serialize(bytevec_t *out) const override \
1660 { class ## __serialize(this, out); } \
1661 virtual bool idaapi deserialize( \
1662 const uchar **pptr, \
1663 const uchar *end) override \
1664 { return class ## __deserialize(this, pptr, end); } \
1665 virtual int idaapi id() const override \
1666 { return class ## __id(this); } \
1667 virtual const char * idaapi name() const override \
1668 { return class ## __name(this); } \
1669 virtual ea_t idaapi toea() const override \
1670 { return class ## __toea(this); } \
1671 virtual place_t *idaapi enter(uint32 *out_flags) const override \
1672 { return class ## __enter(this, out_flags); } \
1673 virtual void idaapi leave(uint32 flags) const override \
1674 { return class ## __leave(this, flags); } \
1675 virtual bool idaapi rebase(const segm_move_infos_t &infos) override \
1676 { return class ## __rebase(this, infos); } \
1677 virtual int idaapi compare2(const place_t *t2, void *ud) const override \
1678 { return class ## __compare2(this, t2, ud); } \
1679 virtual bool idaapi equals(const place_t *t2, void *ud) const override \
1680 { return class ## __equals(this, t2, ud); }
1715 simpleline_t(
color_t c,
const char *str) : line(str), color(c) {}
1716 simpleline_t(
const char *str) : line(str) {}
1717 simpleline_t(
const qstring &str) : line(str) {}
1718 DEFINE_MEMORY_ALLOCATION_FUNCS()
1742class idaplace_t : public place_t
1747 idaplace_t(
ea_t x,
int ln) :
place_t(ln), ea(x) {}
1772#define HEXPLACE_COLOR_EDITED COLOR_SYMBOL
1773#define HEXPLACE_COLOR_PATCHED COLOR_VOIDOP
1774#define HEXPLACE_COLOR_SHOWSPACES COLOR_RESERVED1
1809 bool *out_edited)
const = 0;
1875#define TIF_CURSOR_HEADER tif_cursor_t(-2)
1876#define TIF_CURSOR_FOOTER tif_cursor_t(-1)
1933#define PCF_EA_CAPABLE 0x00000001
1934#define PCF_MAKEPLACE_ALLOCATES 0x00000002
1979 int *out_sdk_version,
1996 return (flags & PCF_EA_CAPABLE) != 0;
2027 const TWidget **get_widget_ptr_storage()
const
2029 return (
const TWidget **) &storage[
sizeof(storage) -
sizeof(
TWidget *)];
2036 memset(storage, 0,
sizeof(storage));
2037 *get_widget_ptr_storage() = _view;
2042 QASSERT(1716, _regname[0] !=
'\0');
2043 memset(storage, 0,
sizeof(storage));
2044 ::qstrncpy((
char *) storage, _regname,
sizeof(storage));
2049 return memcmp(storage, _o.storage,
sizeof(storage)) == 0;
2053 return !((*this) == _o);
2057 bool is_widget()
const {
return !is_register(); }
2058 const TWidget *get_widget()
const
2061 return *get_widget_ptr_storage();
2063 const char *get_register()
const
2066 return (
const char *) storage;
2070CASSERT(
sizeof(sync_source_t) == 16);
2076 bool has_register(
const char *r)
const {
return has(
sync_source_t(r)); }
2094#define LECVT_WITHIN_LISTING 0x1
2096 lochist_entry_t *dst,
2097 const lochist_entry_t &src,
2150 DEFINE_MEMORY_ALLOCATION_FUNCS()
2161 bool is_default =
false;
2164 DEFINE_MEMORY_ALLOCATION_FUNCS()
2174#define DECLARE_LINEARRAY_HELPERS(decl) \
2175decl void ida_export linearray_t_ctr(linearray_t *, void *ud); \
2176decl void ida_export linearray_t_dtr(linearray_t *); \
2177decl int ida_export linearray_t_set_place(linearray_t *, const place_t *new_at); \
2178decl void ida_export linearray_t_copy_from(linearray_t *, const linearray_t *src); \
2179decl bool ida_export linearray_t_beginning(const linearray_t *); \
2180decl bool ida_export linearray_t_ending(const linearray_t *); \
2181decl const qstring *ida_export linearray_t_down(linearray_t *); \
2182decl const qstring *ida_export linearray_t_up(linearray_t *);
2187# define DECLARE_LINEARRAY_HELPERS(decl)
2207 int _set_place(const
place_t *new_at);
2210 void _copy_from(const linearray_t *src);
2214 linearray_t(
void *_ud) { linearray_t_ctr(
this, _ud); }
2215 ~linearray_t() { linearray_t_dtr(
this); }
2216 DEFINE_MEMORY_ALLOCATION_FUNCS()
2225 int set_place(const place_t *new_at) {
return linearray_t_set_place(
this, new_at); }
2229 void copy_from(
const linearray_t *src) { linearray_t_copy_from(
this, src); }
2234 place_t *get_place()
const {
return at; }
2238 bgcolor_t get_bg_color()
const {
return bg_color; }
2242 bgcolor_t get_pfx_color()
const {
return prefix_color; }
2246 int get_dlnnum()
const {
return dlnnum; }
2250 int get_linecnt()
const {
return int(lines.size()); }
2253 void *userdata()
const {
return ud; }
2256 void set_userdata(
void *userd) { ud = userd; }
2259 bool beginning()
const {
return linearray_t_beginning(
this); }
2262 bool ending()
const {
return linearray_t_ending(
this); }
2266 const qstring *down() {
return linearray_t_down(
this); }
2270 const qstring *up() {
return linearray_t_up(
this); }
2274 void set_max_lines(
int n) { max_lines =
n; }
2284struct lines_rendering_input_t
2286 int cb =
sizeof(*this);
2302#define CK_TRACE_OVL 81
2312#define CK_EXTRA10 91
2313#define CK_EXTRA11 92
2314#define CK_EXTRA12 93
2315#define CK_EXTRA13 94
2316#define CK_EXTRA14 95
2317#define CK_EXTRA15 96
2318#define CK_EXTRA16 97
2325#define LROEF_MASK 0x00FFFFFF
2326#define LROEF_FULL_LINE 0x00000000
2327#define LROEF_CPS_RANGE 0x00000001
2362 bool is_bg_color_direct()
const {
return (bg_color & 0xFF000000) != 0; }
2375 {
return !(*
this == r); }
2381struct lines_rendering_output_t
2399 if ( flags != r.
flags )
2404 for (
size_t i = 0; i <
n; ++i )
2411 {
return !(*
this == r); }
2413 void swap(lines_rendering_output_t &r)
2436 return x >= start && x < start + length;
2441 bool valid()
const {
return is_closed(); }
2444 bool operator!=(
const line_section_t &r)
const {
return !(*
this == r); }
2462 int text_start = -1;
2503 if (
end !=
nullptr &&
end->byte_offsets.text_start <
e )
2504 e =
end->byte_offsets.text_start;
2519 const tagged_line_section_t *first(
color_t tag)
const
2521 for (
const auto &one : *
this )
2522 if ( one.tag == tag )
2532 for (
const auto &one : *
this )
2533 if ( one.contains(x) && (tag == 0 || one.tag == tag) )
2547 for (
const auto &one : *
this )
2549 if ( one.contains(x)
2550 && (tag == 0 || one.tag == tag)
2551 && (nearest ==
nullptr || one.start > nearest->
start) )
2569 const tagged_line_section_t *nearest_before(
2570 const tagged_line_section_t &range,
2574 const tagged_line_section_t *nearest =
nullptr;
2575 for (
const auto &one : *
this )
2578 && one.start <= start
2579 && (tag == 0 || one.tag == tag)
2580 && (nearest ==
nullptr || one.start > nearest->
start) )
2587 const tagged_line_section_t *nearest_after(
2588 const tagged_line_section_t &range,
2592 const tagged_line_section_t *nearest =
nullptr;
2593 for (
const auto &one : *
this )
2596 && one.start > start
2597 && (tag == 0 || one.tag == tag)
2598 && (nearest ==
nullptr || one.start < nearest->
start) )
2612struct listing_location_t
2614 int cb =
sizeof(*this);
2616 const lochist_entry_t *loc =
nullptr;
2617 const qstring *text =
nullptr;
2618 const tagged_line_sections_t *tagged_sections =
nullptr;
2648#define BWN_UNKNOWN -1
2649#define BWN_EXPORTS 0
2650#define BWN_IMPORTS 1
2653#define BWN_STRINGS 4
2655#define BWN_SEGREGS 6
2663#define BWN_THREADS 14
2664#define BWN_MODULES 15
2666#define BWN_CALL_STACK 17
2668#define BWN_SEARCH 19
2670#define BWN_NAVBAND 26
2671#define BWN_DISASM 27
2672#define BWN_HEXVIEW 28
2673#define BWN_NOTEPAD 29
2674#define BWN_OUTPUT 30
2677#define BWN_LOCALS 33
2678#define BWN_STKVIEW 34
2679#define BWN_CHOOSER 35
2680#define BWN_SHORTCUTCSR 36
2681#define BWN_SHORTCUTWIN 37
2682#define BWN_CPUREGS 38
2683#define BWN_SO_STRUCTS 39
2684#define BWN_SO_OFFSETS 40
2685#define BWN_CMDPALCSR 41
2686#define BWN_CMDPALWIN 42
2687#define BWN_SNIPPETS 43
2688#define BWN_CUSTVIEW 44
2689#define BWN_ADDRWATCH 45
2690#define BWN_PSEUDOCODE 46
2691#define BWN_CALLS_CALLERS 47
2692#define BWN_CALLS_CALLEES 48
2693#define BWN_MDVIEWCSR 49
2694#define BWN_DISASM_ARROWS 50
2695#define BWN_CV_LINE_INFOS 51
2696#define BWN_SRCPTHMAP_CSR 52
2697#define BWN_SRCPTHUND_CSR 53
2698#define BWN_UNDOHIST 54
2699#define BWN_SNIPPETS_CSR 55
2700#define BWN_SCRIPTS_CSR 56
2701#define BWN_BOOKMARKS 57
2702#define BWN_TILIST 58
2703#define BWN_TIL_VIEW 59
2704#define BWN_TYPE_EDITOR 60
2705#define BWN_MICROCODE 61
2706#define BWN_XREF_TREE 62
2713#define IWID_EXPORTS (1ULL << BWN_EXPORTS )
2714#define IWID_IMPORTS (1ULL << BWN_IMPORTS )
2715#define IWID_NAMES (1ULL << BWN_NAMES )
2716#define IWID_FUNCS (1ULL << BWN_FUNCS )
2717#define IWID_STRINGS (1ULL << BWN_STRINGS )
2718#define IWID_SEGS (1ULL << BWN_SEGS )
2719#define IWID_SEGREGS (1ULL << BWN_SEGREGS )
2720#define IWID_SELS (1ULL << BWN_SELS )
2721#define IWID_SIGNS (1ULL << BWN_SIGNS )
2722#define IWID_TILS (1ULL << BWN_TILS )
2723#define IWID_TICSR (1ULL << BWN_TICSR )
2724#define IWID_CALLS (1ULL << BWN_CALLS )
2725#define IWID_PROBS (1ULL << BWN_PROBS )
2726#define IWID_BPTS (1ULL << BWN_BPTS )
2727#define IWID_THREADS (1ULL << BWN_THREADS )
2728#define IWID_MODULES (1ULL << BWN_MODULES )
2729#define IWID_TRACE (1ULL << BWN_TRACE )
2730#define IWID_CALL_STACK (1ULL << BWN_CALL_STACK )
2731#define IWID_XREFS (1ULL << BWN_XREFS )
2732#define IWID_SEARCH (1ULL << BWN_SEARCH )
2733#define IWID_FRAME (1ULL << BWN_FRAME )
2734#define IWID_NAVBAND (1ULL << BWN_NAVBAND )
2735#define IWID_DISASM (1ULL << BWN_DISASM )
2736#define IWID_HEXVIEW (1ULL << BWN_HEXVIEW )
2737#define IWID_NOTEPAD (1ULL << BWN_NOTEPAD )
2738#define IWID_OUTPUT (1ULL << BWN_OUTPUT )
2739#define IWID_CLI (1ULL << BWN_CLI )
2740#define IWID_WATCH (1ULL << BWN_WATCH )
2741#define IWID_LOCALS (1ULL << BWN_LOCALS )
2742#define IWID_STKVIEW (1ULL << BWN_STKVIEW )
2743#define IWID_CHOOSER (1ULL << BWN_CHOOSER )
2744#define IWID_SHORTCUTCSR (1ULL << BWN_SHORTCUTCSR )
2745#define IWID_SHORTCUTWIN (1ULL << BWN_SHORTCUTWIN )
2746#define IWID_CPUREGS (1ULL << BWN_CPUREGS )
2747#define IWID_SO_STRUCTS (1ULL << BWN_SO_STRUCTS )
2748#define IWID_SO_OFFSETS (1ULL << BWN_SO_OFFSETS )
2749#define IWID_CMDPALCSR (1ULL << BWN_CMDPALCSR )
2750#define IWID_CMDPALWIN (1ULL << BWN_CMDPALWIN )
2751#define IWID_SNIPPETS (1ULL << BWN_SNIPPETS )
2752#define IWID_CUSTVIEW (1ULL << BWN_CUSTVIEW )
2753#define IWID_ADDRWATCH (1ULL << BWN_ADDRWATCH )
2754#define IWID_PSEUDOCODE (1ULL << BWN_PSEUDOCODE )
2755#define IWID_CALLS_CALLERS (1ULL << BWN_CALLS_CALLERS)
2756#define IWID_CALLS_CALLEES (1ULL << BWN_CALLS_CALLEES)
2757#define IWID_MDVIEWCSR (1ULL << BWN_MDVIEWCSR )
2758#define IWID_DISASM_ARROWS (1ULL << BWN_DISASM_ARROWS)
2759#define IWID_CV_LINE_INFOS (1ULL << BWN_CV_LINE_INFOS)
2760#define IWID_SRCPTHMAP_CSR (1ULL << BWN_SRCPTHMAP_CSR)
2761#define IWID_SRCPTHUND_CSR (1ULL << BWN_SRCPTHUND_CSR)
2762#define IWID_UNDOHIST (1ULL << BWN_UNDOHIST )
2763#define IWID_SNIPPETS_CSR (1ULL << BWN_SNIPPETS_CSR )
2764#define IWID_SCRIPTS_CSR (1ULL << BWN_SCRIPTS_CSR )
2765#define IWID_BOOKMARKS (1ULL << BWN_BOOKMARKS )
2766#define IWID_TILIST (1ULL << BWN_TILIST )
2767#define IWID_TIL_VIEW (1ULL << BWN_TIL_VIEW )
2768#define IWID_TYPE_EDITOR (1ULL << BWN_TYPE_EDITOR )
2769#define IWID_XREF_TREE (1ULL << BWN_XREF_TREE )
2771#define IWID_ANY_LISTING (IWID_DISASM|IWID_HEXVIEW|IWID_TILIST|IWID_FRAME|IWID_PSEUDOCODE|IWID_CUSTVIEW)
2772#define IWID_EA_LISTING (IWID_DISASM|IWID_HEXVIEW|IWID_PSEUDOCODE)
2773#define IWID_ALL 0xFFFFFFFFFFFFFFFFULL
2781 return t == BWN_CHOOSER
2782 || (
t >= BWN_EXPORTS &&
t <= BWN_SEARCH &&
t != BWN_CALLS)
2783 ||
t == BWN_SHORTCUTCSR
2784 ||
t == BWN_CMDPALCSR
2785 ||
t == BWN_CALLS_CALLERS
2786 ||
t == BWN_CALLS_CALLEES
2787 ||
t == BWN_MDVIEWCSR
2788 ||
t == BWN_SRCPTHMAP_CSR
2789 ||
t == BWN_SRCPTHUND_CSR
2790 ||
t == BWN_UNDOHIST
2791 ||
t == BWN_SNIPPETS_CSR
2792 ||
t == BWN_SCRIPTS_CSR
2793 ||
t == BWN_BOOKMARKS;
2807#define IDA_DEBUG_DREFS 0x00000001
2808#define IDA_DEBUG_OFFSET 0x00000002
2809#define IDA_DEBUG_FLIRT 0x00000004
2810#define IDA_DEBUG_IDP 0x00000008
2811#define IDA_DEBUG_LDR 0x00000010
2812#define IDA_DEBUG_PLUGIN 0x00000020
2813#define IDA_DEBUG_IDS 0x00000040
2814#define IDA_DEBUG_CONFIG 0x00000080
2815#define IDA_DEBUG_CHECKMEM 0x00000100
2816#define IDA_DEBUG_LICENSE 0x00000200
2817#define IDA_DEBUG_DEMANGLE 0x00000400
2818#define IDA_DEBUG_QUEUE 0x00000800
2819#define IDA_DEBUG_ROLLBACK 0x00001000
2820#define IDA_DEBUG_ALREADY 0x00002000
2821#define IDA_DEBUG_TIL 0x00004000
2822#define IDA_DEBUG_NOTIFY 0x00008000
2823#define IDA_DEBUG_DEBUGGER 0x00010000
2824#define IDA_DEBUG_APPCALL 0x00020000
2825#define IDA_DEBUG_SRCDBG 0x00040000
2826#define IDA_DEBUG_ACCESSIBILITY 0x00080000
2827#define IDA_DEBUG_NETWORK 0x00100000
2828#define IDA_DEBUG_INTERNET IDA_DEBUG_NETWORK
2829#define IDA_DEBUG_SIMPLEX 0x00200000
2830#define IDA_DEBUG_DBGINFO 0x00400000
2831#define IDA_DEBUG_LUMINA 0x00800000
2832#define IDA_DEBUG_THEMES 0x01000000
2833#define IDA_DEBUG_REGEX 0x02000000
2834#define IDA_DEBUG_SUBPROC 0x04000000
2835#define IDA_DEBUG_RANGECB 0x08000000
2836#define IDA_DEBUG_ALWAYS 0xFFFFFFFF
2857#define deb(ida_debug_bits, ...) \
2860 if ( (debug & (ida_debug_bits)) != 0 ) \
2861 ida_deb(__VA_ARGS__); \
2867 const void *dataptr,
2881AS_PRINTF(4, 5) inline
void show_hex_file(
2932#define CH_MODAL 0x00000001
2938#define CH_KEEP 0x00000002
2941#define CH_MULTI 0x00000004
2943#define CH_MULTI_EDIT 0x00000008
2947#define CH_NOBTNS 0x00000010
2949#define CH_ATTRS 0x00000020
2950#define CH_UNUSED 0x00000040
2953#define CH_FORCE_DEFAULT 0x00000080
2955#define CH_CAN_INS 0x00000100
2957#define CH_CAN_DEL 0x00000200
2959#define CH_CAN_EDIT 0x00000400
2961#define CH_CAN_REFRESH 0x00000800
2964#define CH_QFLT 0x00001000
2965#define CH_QFTYP_SHIFT 13
2966#define CH_QFTYP_DEFAULT 0
2967#define CH_QFTYP_NORMAL (1 << CH_QFTYP_SHIFT)
2968#define CH_QFTYP_WHOLE_WORDS (2 << CH_QFTYP_SHIFT)
2969#define CH_QFTYP_REGEX (3 << CH_QFTYP_SHIFT)
2970#define CH_QFTYP_FUZZY (4 << CH_QFTYP_SHIFT)
2971#define CH_QFTYP_MASK (0x7 << CH_QFTYP_SHIFT)
2974#define CH_NO_STATUS_BAR 0x00010000
2977#define CH_RESTORE 0x00020000
2981#define CH_RENAME_IS_EDIT 0x00040000
2983#define CH_BUILTIN_SHIFT 19
2984#define CH_BUILTIN(id) ((id+1) << CH_BUILTIN_SHIFT)
2986#define CH_BUILTIN_MASK (0x3F << CH_BUILTIN_SHIFT)
2990#define CH_HAS_DIRTREE 0x02000000
2992#define CH_TM_NO_TREE 0x00000000
2993#define CH_TM_FOLDERS_ONLY 0x04000000
2994#define CH_TM_FULL_TREE 0x08000000
2995#define CH_TM_SHIFT 26
2996#define CH_TM_MASK (0x3 << CH_TM_SHIFT)
2999#define CH_HAS_DIFF 0x10000000
3002#define CH_NO_SORT 0x20000000
3005#define CH_NO_FILTER 0x40000000
3009#define CH_NON_PERSISTED_TREE 0x80000000
3018#define CH2_LAZY_LOADED 0x0001
3020#define CH2_HAS_INODE2INDEX 0x0002
3025#define CHCOL_PLAIN 0x00000000
3026#define CHCOL_PATH 0x00010000
3031#define CHCOL_HEX 0x00020000
3032#define CHCOL_DEC 0x00030000
3033#define CHCOL_EA 0x00040000
3034#define CHCOL_FNAME 0x00050000
3041#define CHCOL_FORMAT 0x00070000
3043#define CHCOL_DEFHIDDEN 0x00100000
3044#define CHCOL_DRAGHINT 0x00200000
3048#define CHCOL_INODENAME 0x00400000
3059#define CHITEM_BOLD 0x0001
3060#define CHITEM_ITALIC 0x0002
3061#define CHITEM_UNDER 0x0004
3062#define CHITEM_STRIKE 0x0008
3063#define CHITEM_GRAY 0x0010
3069#define CHOOSER_NOMAINMENU "NOMAINMENU\n"
3070#define CHOOSER_NOSTATUSBAR "NOSTATUSBAR\n"
3095 return cb == other.
cb
3118 return !(*
this == other);
3126#define GCRF_HIGH_BIT (0x8000000000000000ULL)
3129#define GCRF_HEADER (GCRF_HIGH_BIT | 0)
3130#define GCRF_SELECTION (GCRF_HIGH_BIT | 1)
3131#define GCRF_CURRENT (GCRF_HIGH_BIT | 2)
3132#define GCRF_ALL (GCRF_HIGH_BIT | 3)
3145 const char *tooltip;
3149 const char *_label =
nullptr,
3150 const char *_tooltip =
nullptr,
3166struct chooser_base_t
3242 const int *widths_ =
nullptr,
3243 const char *
const *header_ =
nullptr,
3244 const char *title_ =
nullptr,
3253 DEFINE_MEMORY_ALLOCATION_FUNCS()
3263 void call_destructor()
3280 virtual const void *get_obj_id(
size_t *
len)
const
3294 return len1 == len2 && len1 != 0 && memcmp(id1, id2, len1) == 0;
3298 bool can_ins()
const {
return (
flags & CH_CAN_INS ) != 0; }
3299 bool can_del()
const {
return (flags & CH_CAN_DEL ) != 0; }
3300 bool can_edit()
const {
return (flags & CH_CAN_EDIT ) != 0; }
3301 bool can_refresh()
const {
return (flags & CH_CAN_REFRESH) != 0; }
3304 bool popup_allowed(
int stdact_idx)
const
3306 switch ( stdact_idx )
3312 default:
return false;
3315 bool is_status_bar_hidden()
const {
return (flags & CH_NO_STATUS_BAR) != 0; }
3316 bool should_restore_geometry()
const {
return (flags & CH_RESTORE) != 0; }
3318 bool is_modal()
const {
return (flags & CH_MODAL) != 0; }
3320 bool has_widget_lifecycle()
const {
return (flags & CH_KEEP) == 0; }
3322 bool is_multi()
const {
return (flags & CH_MULTI) != 0; }
3330 return ((
flags & CH_BUILTIN_MASK) >> CH_BUILTIN_SHIFT) - 1;
3341 void check_version(
uint32 ver)
const { QASSERT(40217, version >= ver); }
3345 int get_quick_filter_initial_mode()
const {
return flags & CH_QFTYP_MASK; }
3347 bool has_dirtree()
const {
return (flags & CH_HAS_DIRTREE) != 0; }
3349 bool has_diff_capability()
const {
return (flags & CH_HAS_DIFF) != 0; }
3365 virtual bool idaapi
init() {
return true; }
3380 size_t n)
const = 0;
3394 virtual ea_t idaapi
get_ea(
size_t )
const {
return BADADDR; }
3414 virtual void idaapi closed() {}
3442 : idx(idx_), changed(changed_) {}
3447 const int *widths_ =
nullptr,
3448 const char *
const *header_ =
nullptr,
3449 const char *title_ =
nullptr,
3452 (flags_ & ~CH_MULTI),
3453 columns_, widths_, header_,
3469 virtual ssize_t idaapi get_item_index(
const void *item_data)
const newapi
3472 return *(
const ssize_t *)item_data;
3476 typedef cbret_t (idaapi chooser_t::*cb_t)(
size_t n);
3517 virtual void idaapi select(
ssize_t )
const newapi {}
3576 ssize_t new_sel_after_del(
size_t n)
const
3578 size_t cnt = get_count();
3584 ssize_t adjust_last_item(
size_t n)
const
3590 return n < cnt ?
n : cnt - 1;
3600 const int *widths_ =
nullptr,
3601 const char *
const *header_ =
nullptr,
3602 const char *title_ =
nullptr,
3606 columns_, widths_, header_,
3621 virtual void idaapi get_item_index(
3623 const void *item_data)
const newapi
3649 virtual cbres_t idaapi edit(
sizevec_t * ) newapi
3657 virtual cbres_t idaapi enter(
sizevec_t *sel) newapi
3674 virtual void idaapi select(
const sizevec_t &)
const newapi {}
3734 static bool next_item_to_del(
sizevec_t *sel);
3736 void adjust_last_item(
sizevec_t *sel,
size_t n)
const;
3749#define TXTF_AUTOINDENT 0x0001
3750#define TXTF_ACCEPTTABS 0x0002
3751#define TXTF_READONLY 0x0004
3752#define TXTF_SELECTED 0x0008
3753#define TXTF_MODIFIED 0x0010
3754#define TXTF_FIXEDFONT 0x0020
3755#define TXTF_LINENUMBERS 0x0040
3756#define TXTF_HTML 0x0080
3800 return ::choose(
this, &
deflt);
3807 return ::choose(
this, &
deflt);
3892#define VES_SHIFT (1 << 0)
3893#define VES_ALT (1 << 1)
3894#define VES_CTRL (1 << 2)
3895#define VES_MOUSE_LEFT (1 << 3)
3896#define VES_MOUSE_RIGHT (1 << 4)
3897#define VES_MOUSE_MIDDLE (1 << 5)
3898#define VES_META (1 << 7)
3963 {
return !(*
this == r); }
3989 location_t location;
4177#define LCMD_SYNC (1 << 0)
4188 :
cb(sizeof(*this)),
r(
uchar(_reason)),
f(_sync ? LCMD_SYNC : 0),
reserved(0) {}
4213 const lochist_entry_t *now,
4222 const lochist_entry_t *was,
4223 const lochist_entry_t *now,
4281 struct input_event_shortcut_data_t
4283 const char *action_name;
4306 memset(
this, 0,
sizeof(*
this));
4323#define CLIF_QT_AWARE 1
4346 bool (idaapi *keydown)(
4370 bool (idaapi *find_completions)(
4384#define MFF_FAST 0x0000
4388#define MFF_READ 0x0001
4396#define MFF_WRITE 0x0002
4403#define MFF_NOWAIT 0x0004
4419 enum { MFF_MAGIC = 0x12345678 };
4424 return (
code & ~7) == MFF_MAGIC && (sem !=
nullptr || (
code & MFF_NOWAIT) != 0);
4449 virtual bool idaapi run() = 0;
4464 for ( iterator p=begin(); p !=
end(); ++p )
4475#define UIJMP_ACTIVATE 0x0001
4476#define UIJMP_DONTPUSH 0x0002
4478#define UIJMP_VIEWMASK 0x000C
4479#define UIJMP_ANYVIEW 0x0000
4480#define UIJMP_IDAVIEW 0x0004
4481#define UIJMP_IDAVIEW_NEW 0x0008
4519#define ACF_HAS_SELECTION (1 << 0)
4520#define ACF_XTRN_EA (1 << 1)
4521#define ACF_HAS_FIELD_DIRTREE_SELECTION (1 << 2)
4522#define ACF_HAS_SOURCE (1 << 3)
4523#define ACF_HAS_TYPE_REF (1 << 4)
4537 cur_flags = ACF_HAS_FIELD_DIRTREE_SELECTION | ACF_HAS_SOURCE | ACF_HAS_TYPE_REF;
4600#define AHF_VERSION 1
4601#define AHF_VERSION_MASK 0xFF
4636 DEFINE_MEMORY_ALLOCATION_FUNCS();
4664#define ADF_OWN_HANDLER 0x01
4667#define ADF_NO_UNDO 0x02
4669#define ADF_OT_MASK 0x0C
4670#define ADF_OT_PLUGIN 0x00
4671#define ADF_OT_PLUGMOD 0x04
4672#define ADF_OT_PROCMOD 0x08
4673#define ADF_GLOBAL 0x10
4675#define ADF_NO_HIGHLIGHT 0x20
4677#define ADF_CHECKABLE 0x40
4678#define ADF_CHECKED 0x80
4685#define ACTION_DESC_LITERAL_PLUGMOD(name, label, handler, plgmod, shortcut, tooltip, icon) \
4686 { sizeof(action_desc_t), name, label, handler, plgmod, shortcut, tooltip, icon, ADF_OT_PLUGMOD }
4690#define ACTION_DESC_LITERAL_PROCMOD(name, label, handler, prcmod, shortcut, tooltip, icon) \
4691 { sizeof(action_desc_t), name, label, handler, prcmod, shortcut, tooltip, icon, ADF_OT_PROCMOD }
4694#define ACTION_DESC_LITERAL_OWNER(name, label, handler, owner, shortcut, tooltip, icon, flags) \
4695 { sizeof(action_desc_t), name, label, handler, owner, shortcut, tooltip, icon, flags }
4698#define DYNACTION_DESC_LITERAL(label, handler, shortcut, tooltip, icon) \
4699 { sizeof(action_desc_t), nullptr, label, handler, nullptr, shortcut, tooltip, icon, ADF_OWN_HANDLER }
4734 : cb(sizeof(*this)),
4854inline bool jumpto(
ea_t ea,
int opnum=-1,
int uijmp_flags=UIJMP_ACTIVATE)
5009inline bool set_dock_pos(
const char *src_ctrl,
const char *dest_ctrl,
int orient,
int left = 0,
int top = 0,
int right = 0,
int bottom = 0)
5100 int (idaapi *callback)(
void *ud),
5165 const char *before =
nullptr,
5209 const char *menupath=
nullptr)
5241 const char *menupath,
5255 const char *menupath,
5268 const char *toolbar_name,
5281 const char *toolbar_name,
5297 const char *menupath,
5300 const char *shortcut,
5304 int action_desc_t_flags)
5306 action_desc_t desc = ACTION_DESC_LITERAL_OWNER(
name, label, handler, owner, shortcut,
nullptr, -1, action_desc_t_flags);
5408 void *cvhandlers_ud,
5413 maxplace, curplace, rinfo, ud, cvhandlers, cvhandlers_ud, parent).vptr;
5426 const lochist_entry_t &loc,
5515 lochist_entry_t *out,
5561 TPopupMenu *popup_handle,
5563 const char *popuppath =
nullptr,
5597 TPopupMenu *popup_handle,
5599 const char *popuppath =
nullptr,
5604 popup_handle, &desc, popuppath, flags, buf).cnd;
5819 void *handler_or_data)
5822 handler_or_data).vptr;
6129 void *handler_or_data)
6132 handler_or_data).vptr;
6172 popup_handler, dblclick_handler, drawicon_handler, linenum_handler);
6266 const char *dbgopts,
6267 const char *exename,
6269 const char *
const *argv)
6283 linput_t *li=
nullptr,
6296inline int add_idc_hotkey(
const char *hotkey,
const char *idcfunc)
6339 if ( ptr !=
nullptr )
6340 range_marker =
reinterpret_cast<void (idaapi*)(
ea_t,
asize_t)
>(ptr);
6347 if ( range_marker !=
nullptr )
6348 range_marker(ea,
size);
6356 if ( range_marker !=
nullptr )
6357 range_marker(0, BADADDR);
6367 backup = range_marker;
6368 range_marker =
nullptr;
6372 range_marker = backup;
6823 offset, delta, appzero, path).i;
6833inline ssize_t choose(chooser_base_t *ch,
const void *def_item)
6861 const char *chooser_caption,
6875 const char *chooser_caption,
7477inline int ask_form(
const char *form, ...)
7530 virtual bool idaapi _get_field_value(
int field_id,
void *buf) = 0;
7547 virtual bool idaapi
move_field(
int field_id,
int x,
int y,
int w,
int h) = 0;
7561 virtual void idaapi
close(
int close_normally) = 0;
7564 virtual void *idaapi
get_ud() = 0;
7572#define DEF_SET_METHOD(NAME, TYPE) \
7573 bool idaapi set_ ## NAME ## _value(int field_id, const TYPE *val) \
7575 return _set_field_value(field_id, val); \
7578#define DEF_FIELD_METHOD(NAME, TYPE) \
7579 bool idaapi get_ ## NAME ## _value(int field_id, TYPE *val) \
7581 return _get_field_value(field_id, val); \
7583 DEF_SET_METHOD(NAME, TYPE)
7585#define DEF_STR_FIELD_METHOD(NAME ) \
7586 bool idaapi get_ ## NAME ## _value(int field_id, char *buf, const size_t bufsize) \
7588 return _get_str_field_value(field_id, buf, bufsize); \
7590 DEF_SET_METHOD(NAME, char)
7637#undef DEF_FIELD_METHOD
7638#undef DEF_SET_METHOD
7639#undef DEF_STR_FIELD_METHOD
7673 virtual bool idaapi set_tab_attribute(
int fid,
int tab, tab_attr_t attr,
const void *in) = 0;
7674 virtual bool idaapi get_tab_attribute(
void *out,
int fid,
int tab, tab_attr_t attr) = 0;
7728#define ASKBTN_CANCEL -1
7729#define ASKBTN_BTN1 1
7730#define ASKBTN_BTN2 0
7731#define ASKBTN_BTN3 -1
7735THREAD_SAFE
AS_PRINTF(5, 0) inline
int vask_buttons(
7749 return vask_buttons(
nullptr,
nullptr,
nullptr,
deflt,
format,
va);
7898#define HIST_IDENT2 9
8031 const char *producer;
8032 const char *version;
8123idaman THREAD_SAFE
char *ida_export
trim(
char *str);
8129idaman THREAD_SAFE
const char *ida_export
skip_spaces(
const char *ptr);
8144#define CLNL_RTRIM (1 << 0)
8145#define CLNL_LTRIM (1 << 1)
8146#define CLNL_FINDCMT (1 << 2)
8148#define CLNL_TRIM (CLNL_RTRIM|CLNL_LTRIM)
8165 uint32 flags=CLNL_TRIM|CLNL_FINDCMT);
8190 if (
ea2str(tmp,
sizeof(tmp), ea) <= 0 )
8213idaman
bool ida_export
str2ea(
ea_t *out,
const char *str,
ea_t screen_ea=BADADDR);
8223idaman
bool ida_export
str2ea_ex(
ea_t *out,
const char *str,
ea_t screen_ea=BADADDR,
int flags=0);
8228#define S2EAOPT_NOCALC 0x00000001
8239idaman
bool ida_export
atoea(
ea_t *out,
const char *str);
8252idaman
int ida_export
atos(
sel_t *seg,
const char *str);
8255#define MAX_NUMBUF (128+8)
8337idaman
bool ida_export
atob32(
uint32 *x,
const char *str);
8342idaman
bool ida_export
atob64(
uint64 *x,
const char *str);
8384idaman THREAD_SAFE
int ida_export
r50_to_asc(
char *p,
const ushort *r,
int k);
8397#define IS_BUTTONCB_T(v) (std::is_same<decltype(v), buttoncb_t>::value)
8398#define IS_FORMCHGCB_T(v) (std::is_same<decltype(v), formchgcb_t>::value)
8399#define IS_TEXTCTRL_INFO_T(v) (std::is_base_of<textctrl_info_t, std::remove_reference<decltype(v)>::type>::value)
8400#define IS_CHOOSER_BASE_T(v) (std::is_base_of<chooser_base_t, std::remove_reference<decltype(v)>::type>::value)
8412#define IK_CANCEL 0x03
8415#define IK_CLEAR 0x0C
8416#define IK_RETURN 0x0D
8417#define IK_SHIFT 0x10
8418#define IK_CONTROL 0x11
8420#define IK_PAUSE 0x13
8421#define IK_CAPITAL 0x14
8423#define IK_ESCAPE 0x1B
8424#define IK_MODECHANGE 0x1F
8425#define IK_SPACE 0x20
8426#define IK_PRIOR 0x21
8432#define IK_RIGHT 0x27
8434#define IK_SELECT 0x29
8435#define IK_PRINT 0x2A
8436#define IK_EXECUTE 0x2B
8437#define IK_SNAPSHOT 0x2C
8438#define IK_INSERT 0x2D
8439#define IK_DELETE 0x2E
8444#define IK_SLEEP 0x5F
8445#define IK_NUMPAD0 0x60
8446#define IK_NUMPAD1 0x61
8447#define IK_NUMPAD2 0x62
8448#define IK_NUMPAD3 0x63
8449#define IK_NUMPAD4 0x64
8450#define IK_NUMPAD5 0x65
8451#define IK_NUMPAD6 0x66
8452#define IK_NUMPAD7 0x67
8453#define IK_NUMPAD8 0x68
8454#define IK_NUMPAD9 0x69
8455#define IK_MULTIPLY 0x6A
8457#define IK_SEPARATOR 0x6C
8458#define IK_SUBTRACT 0x6D
8459#define IK_DECIMAL 0x6E
8460#define IK_DIVIDE 0x6F
8485#define IK_NUMLOCK 0x90
8486#define IK_SCROLL 0x91
8487#define IK_OEM_FJ_MASSHOU 0x93
8488#define IK_OEM_FJ_TOUROKU 0x94
8489#define IK_LSHIFT 0xA0
8490#define IK_RSHIFT 0xA1
8491#define IK_LCONTROL 0xA2
8492#define IK_RCONTROL 0xA3
8493#define IK_LMENU 0xA4
8494#define IK_RMENU 0xA5
8495#define IK_BROWSER_BACK 0xA6
8496#define IK_BROWSER_FORWARD 0xA7
8497#define IK_BROWSER_REFRESH 0xA8
8498#define IK_BROWSER_STOP 0xA9
8499#define IK_BROWSER_SEARCH 0xAA
8500#define IK_BROWSER_FAVORITES 0xAB
8501#define IK_BROWSER_HOME 0xAC
8502#define IK_VOLUME_MUTE 0xAD
8503#define IK_VOLUME_DOWN 0xAE
8504#define IK_VOLUME_UP 0xAF
8505#define IK_MEDIA_NEXT_TRACK 0xB0
8506#define IK_MEDIA_PREV_TRACK 0xB1
8507#define IK_MEDIA_STOP 0xB2
8508#define IK_MEDIA_PLAY_PAUSE 0xB3
8509#define IK_LAUNCH_MAIL 0xB4
8510#define IK_LAUNCH_MEDIA_SELECT 0xB5
8511#define IK_LAUNCH_APP1 0xB6
8512#define IK_LAUNCH_APP2 0xB7
8513#define IK_OEM_1 0xBA
8514#define IK_OEM_PLUS 0xBB
8515#define IK_OEM_COMMA 0xBC
8516#define IK_OEM_MINUS 0xBD
8517#define IK_OEM_PERIOD 0xBE
8518#define IK_OEM_2 0xBF
8519#define IK_OEM_3 0xC0
8520#define IK_OEM_4 0xDB
8521#define IK_OEM_5 0xDC
8522#define IK_OEM_6 0xDD
8523#define IK_OEM_7 0xDE
8524#define IK_OEM_102 0xE2
8527#define IK_OEM_CLEAR 0xFE
8562#ifndef NO_OBSOLETE_FUNCS
8564#define ACTION_DESC_LITERAL(name, label, handler, shortcut, tooltip, icon)\
8565 { sizeof(action_desc_t), name, label, handler, &PLUGIN, shortcut, tooltip, icon, ADF_OT_PLUGIN }
void qclear(void)
Clear qstring but do not free memory yet.
Definition pro.h:3167
size_t length(void) const
Get number of chars in this qstring (not including terminating zero)
Definition pro.h:3123
_qstring & append(qchar c)
Append c to the end of the qstring.
Definition pro.h:3493
const qchar * c_str(void) const
Convert the qstring to a char *.
Definition pro.h:3170
Vector of bytes (use for dynamic memory)
Definition pro.h:3773
void pack_dd(uint32 x)
Pack a dword and append the result to the bytevec.
Definition pro.h:3805
Definition kernwin.hpp:4727
custom_viewer_mouse_moved_t * mouse_moved
Definition kernwin.hpp:4760
custom_viewer_keydown_t * keyboard
Definition kernwin.hpp:4758
custom_viewer_click_t * click
Definition kernwin.hpp:4761
custom_viewer_location_changed_t * location_changed
Definition kernwin.hpp:4768
custom_viewer_get_place_xcoord_t * get_place_xcoord
Definition kernwin.hpp:4767
custom_viewer_popup_t * popup
Definition kernwin.hpp:4759
custom_viewer_dblclick_t * dblclick
Definition kernwin.hpp:4762
custom_viewer_can_navigate_t * can_navigate
Definition kernwin.hpp:4769
custom_viewer_adjust_place_t * adjust_place
Definition kernwin.hpp:4766
custom_viewer_close_t * close
Definition kernwin.hpp:4764
custom_viewer_curpos_t * curpos
Definition kernwin.hpp:4763
obsolete_custom_viewer_help_t * obsolete_help
Definition kernwin.hpp:4765
custom_viewer_help_t * help
Definition kernwin.hpp:4770
Directory tree.
Definition dirtree.hpp:276
A function is a set of continuous ranges of addresses with characteristics.
Definition funcs.hpp:85
Definition kernwin.hpp:1846
hexplace_t(ea_t _ea, int ln)
Definition kernwin.hpp:1850
void out_one_item(outctx_base_t &ctx, const hexplace_gen_t *hg, int itemno, color_t *color, color_t patch_or_edit) const
Definition kernwin.hpp:1853
define_place_virtual_functions(hexplace_t)
static size_t ea2str(char *buf, size_t bufsize, const hexplace_gen_t *hg, ea_t ea)
Definition kernwin.hpp:1866
ea_t sol
Definition kernwin.hpp:1848
Class to hold idc values.
Definition expr.hpp:315
The base class used to display graphs in IDA.
Definition graph.hpp:877
Definition kernwin.hpp:4188
uchar reserved
Definition kernwin.hpp:4193
locchange_md_t(locchange_reason_t _reason, bool _sync)
Definition kernwin.hpp:4196
uchar r
Definition kernwin.hpp:4191
uchar f
Definition kernwin.hpp:4192
bool is_sync() const
Definition kernwin.hpp:4199
uchar cb
Definition kernwin.hpp:4190
Microinstruction class insn.
Definition hexrays.hpp:3604
Denotes a displayed line.
Definition kernwin.hpp:1418
virtual bool idaapi beginning(void *ud) const =0
Are we at the first displayable object?
int lnnum
Number of line within the current object.
Definition kernwin.hpp:1420
virtual int idaapi compare2(const place_t *t2, void *) const
Compare two locations except line numbers (lnnum).
Definition kernwin.hpp:1565
virtual void idaapi adjust(void *ud)=0
Adjust the current location to point to a displayable object.
virtual bool idaapi rebase(const segm_move_infos_t &)
Rebase the place instance.
Definition kernwin.hpp:1535
virtual ea_t idaapi toea() const
Map the location to an ea_t.
Definition kernwin.hpp:1530
DEFINE_MEMORY_ALLOCATION_FUNCS() virtual void idaapi print(qstring *vout
Generate a short description of the location.
virtual void idaapi serialize(bytevec_t *out) const =0
Serialize this instance.
virtual place_t *idaapi enter(uint32 *) const
Visit this place, possibly 'unhiding' a section of text.
Definition kernwin.hpp:1548
virtual bool idaapi prev(void *ud)=0
Move to the previous displayable location.
virtual uval_t idaapi touval(void *ud) const =0
Map the location to a number.
virtual void idaapi copyfrom(const place_t *from)=0
Copy the specified location object to the current object.
virtual place_t *idaapi clone() const =0
Clone the location.
virtual int idaapi generate(qstrvec_t *out, int *out_deflnnum, color_t *out_pfx_color, bgcolor_t *out_bgcolor, void *ud, int maxsize) const =0
Generate text lines for the current location.
virtual const char *idaapi name() const =0
Get this place type name.
virtual bool idaapi equals(const place_t *t2, void *ud) const
Compare two places for equality, ignoring line numbers (lnnum).
Definition kernwin.hpp:1578
place_t()
Constructor.
Definition kernwin.hpp:1421
virtual int idaapi compare(const place_t *t2) const =0
Deprecated. Please consider compare2(const place_t *, void *) instead.
virtual void idaapi leave(uint32) const
Leave this place, possibly 'hiding' a section of text that was previously expanded (at enter()-time....
Definition kernwin.hpp:1552
virtual place_t *idaapi makeplace(void *ud, uval_t x, int lnnum) const =0
Map a number to a location.
virtual bool idaapi next(void *ud)=0
Move to the next displayable location.
virtual bool idaapi deserialize(const uchar **pptr, const uchar *end)=0
De-serialize into this instance.
virtual bool idaapi ending(void *ud) const =0
Are we at the last displayable object?
void *ud const
Definition kernwin.hpp:1429
A plugin is a module in the plugins subdirectory that can perform an action asked by the user.
Definition loader.hpp:578
Linked list Note: linked list is not movable!
Definition pro.h:4038
Reimplementation of vector class from STL.
Definition pro.h:2250
void swap(qvector< T > &r) noexcept
Replace all attributes of this qvector with that of 'r', and vice versa.
Definition pro.h:2560
void push_back(T &&x)
Append a new element to the end the qvector with a move semantics.
Definition pro.h:2361
size_t size(void) const
Get the number of elements in the qvector.
Definition pro.h:2423
Describes a program segment.
Definition segment.hpp:69
A location in a view populated by a strvec_t.
Definition kernwin.hpp:1736
uint32 n
line number
Definition kernwin.hpp:1738
simpleline_place_t()
Constructor.
Definition kernwin.hpp:1739
define_place_virtual_functions(simpleline_place_t)
Snapshot attributes.
Definition loader.hpp:897
Definition kernwin.hpp:2033
bool is_widget() const
Definition kernwin.hpp:2066
bool is_register() const
Definition kernwin.hpp:2065
Primary mechanism for managing type information.
Definition typeinf.hpp:3046
Definition kernwin.hpp:1893
virtual void set_index_by_offset(void *ud, uint64 offset) new api
for structs: calculate the index that corresponds to the offset and set it.
virtual bool fill_type_ref(til_type_ref_t *out, const void *ud) const newapi
fill the type information for use in actions
virtual type_t get_kind(const void *ud) const newapi
get the kind of type this place represents
uint32 ordinal
Definition kernwin.hpp:1895
tiplace_t()
Definition kernwin.hpp:1898
bool is_footer() const
Definition kernwin.hpp:1907
bool is_header() const
Definition kernwin.hpp:1906
bool is_index() const
Definition kernwin.hpp:1908
void reset()
Definition kernwin.hpp:1904
virtual uint64 calc_udm_offset(const void *ud, ssize_t *p_udmidx=nullptr, int *p_bitoff=nullptr) const newapi
for structs: calculate the offset that corresponds to the tiplace.
tif_cursor_t cursor
Definition kernwin.hpp:1896
define_place_virtual_functions(tiplace_t)
void set_header()
Definition kernwin.hpp:1910
bool valid_ord() const
Definition kernwin.hpp:1903
void set_footer()
Definition kernwin.hpp:1911
A line in a text window.
Definition kernwin.hpp:2164
color_t prefix_color
line prefix color
Definition kernwin.hpp:2168
twinline_t(place_t *t=nullptr, color_t pc=1, bgcolor_t bc=DEFCOLOR)
Definition kernwin.hpp:2171
bgcolor_t bg_color
line background color
Definition kernwin.hpp:2169
place_t * at
location in view
Definition kernwin.hpp:2166
A position in a text window.
Definition kernwin.hpp:2154
place_t * at
location in view
Definition kernwin.hpp:2156
Base class for defining UI requests.
Definition kernwin.hpp:4453
List of UI requests.
Definition kernwin.hpp:4467
cb_id
Definition kernwin.hpp:8541
@ CB_INIT
Definition kernwin.hpp:8542
@ CB_DESTROYING
Definition kernwin.hpp:8547
@ CB_NO
Definition kernwin.hpp:8548
@ CB_CANCEL
Definition kernwin.hpp:8549
@ CB_INVISIBLE
Definition kernwin.hpp:8546
@ CB_CLOSE
Definition kernwin.hpp:8544
@ CB_YES
Definition kernwin.hpp:8543
int vask_form(const char *format, va_list va)
See ask_form()
Definition kernwin.hpp:7468
int ask_form(const char *form,...)
Display a dialog box and wait for the user.
Definition kernwin.hpp:7485
TWidget * vopen_form(const char *format, uint32 flags, va_list va)
Create and/or activate dockable modeless form (ui_open_form).
Definition kernwin.hpp:7501
TWidget * open_form(const char *form, uint32 flags,...)
Display a dockable modeless dialog box and return a handle to it.
Definition kernwin.hpp:7520
static constexpr ssize_t EMPTY_CHOOSER
the chooser has no data and cannot be displayed
Definition kernwin.hpp:3228
static constexpr ssize_t ALREADY_EXISTS
the non-modal chooser with the same data is already open
Definition kernwin.hpp:3230
static constexpr ssize_t NO_ATTR
reserved for IDAPython
Definition kernwin.hpp:3233
static constexpr ssize_t NO_SELECTION
there is no selected item
Definition kernwin.hpp:3227
ssize_t choose(ssize_t deflt=0)
Display a generic list chooser and allow the user to select an item.
Definition kernwin.hpp:3805
ssize_t choose(chooser_base_t *ch, const void *def_item)
Display a generic list chooser (n-column) and allow the user to select an item.
Definition kernwin.hpp:6841
ssize_t choose(const sizevec_t &deflt=sizevec_t())
Display a generic list chooser and allow the user to select an item.
Definition kernwin.hpp:3812
uchar color_t
see <lines.hpp>
Definition kernwin.hpp:26
idaman bool ida_export str2ea(ea_t *out, const char *str, ea_t screen_ea=BADADDR)
Convert string to linear address.
idaman size_t ida_export btoa128(char *buf, size_t bufsize, uint128 x, int radix=0)
128-bit equivalent of btoa32()
idaman THREAD_SAFE int ida_export r50_to_asc(char *p, const ushort *r, int k)
Convert RADIX50 -> UTF-8.
idaman size_t ida_export btoa_width(int nbytes, flags64_t flag, int n)
Get max number of UTF-8 characters required to represent a given type of value, with a given size (wi...
idaman size_t ida_export b2a64(char *buf, size_t bufsize, uint64 x, int nbytes, int radix)
Same as b2a32(), but can handle 'nbytes' = 8.
idaman int ida_export atos(sel_t *seg, const char *str)
Convert UTF-8 string to segment selector.
idaman size_t ida_export btoa32(char *buf, size_t bufsize, uint32 x, int radix=0)
Same as b2a32(), but will generate a string without any leading zeroes.
idaman size_t ida_export numop2str(char *buf, size_t bufsize, ea_t ea, int n, uint64 x, int nbytes, int radix=0)
Convert instruction operand immediate number to UTF-8.
int THREAD_SAFE asc_to_r50(ushort *r, const char *p, int k)
Convert UTF-8 -> RADIX50 (see r50_to_asc())
idaman size_t ida_export b2a_width(int nbytes, int radix)
Get the number of UTF-8 characters required to represent a number with the specified number of bytes ...
idaman size_t ida_export btoa64(char *buf, size_t bufsize, uint64 x, int radix=0)
64-bit equivalent of btoa32()
idaman size_t ida_export pretty_print_size(char *buf, size_t bufsize, uint64 value)
Pretty-print a size.
idaman size_t ida_export stoa(qstring *out, ea_t from, sel_t seg)
Convert segment selector to UTF-8 string.
idaman void ida_export append_disp(qstring *buf, adiff_t disp, bool tag=true)
Auxiliary function.
idaman bool ida_export atob32(uint32 *x, const char *str)
Convert UTF-8 to a number using the current assembler formats.
idaman bool ida_export atob64(uint64 *x, const char *str)
64-bit equivalent of atob32()
idaman bool ida_export atoea(ea_t *out, const char *str)
Convert a number in C notation to an address.
idaman bool ida_export parse_pretty_size(uint64 *out, const char *in)
Parse a pretty-printed size.
idaman bool ida_export str2ea_ex(ea_t *out, const char *str, ea_t screen_ea=BADADDR, int flags=0)
Same as str2ea() but possibly with some steps skipped.
idaman size_t ida_export b2a32(char *buf, size_t bufsize, uint32 x, int nbytes, int radix)
Convert number to UTF-8 string (includes leading zeroes).
idaman THREAD_SAFE va_list va
See qsscanf()
Definition err.h:21
idaman THREAD_SAFE const char * format
Definition fpro.h:78
idaman THREAD_SAFE AS_PRINTF(1, 0) void ida_export vqperror(const char *format
Print error message to stderr (analog of perror)
idaman const char * end
Definition pro.h:1001
int code
Definition fpro.h:88
idaman size_t n
Definition pro.h:997
idaman THREAD_SAFE ssize_t ida_export qcleanline(qstring *buf, char cmt_char='\0', uint32 flags=CLNL_TRIM|CLNL_FINDCMT)
Performs some cleanup operations to a line.
idaman THREAD_SAFE char *ida_export trim(char *str)
Remove trailing space characters from a string.
idaman THREAD_SAFE char *ida_export add_spaces(char *str, size_t bufsize, ssize_t len)
Add space characters to the colored string so that its length will be at least 'len' characters.
idaman THREAD_SAFE const char *ida_export strarray(const strarray_t *array, size_t array_size, int code)
Find a line with the specified code in the strarray_t array.
idaman THREAD_SAFE const char *ida_export skip_spaces(const char *ptr)
Skip whitespaces in the string.
idaman size_t ida_export ea2str(char *buf, size_t bufsize, ea_t ea)
Convert linear address to UTF-8 string.
bool get_addon_info_idx(int index, addon_info_t *info)
Get info about a registered addon with specific index.
Definition kernwin.hpp:8101
int register_addon(const addon_info_t *info)
Register an add-on.
Definition kernwin.hpp:8071
bool get_addon_info(const char *id, addon_info_t *info)
Get info about a registered addon with a given product code.
Definition kernwin.hpp:8090
int addon_count()
Get number of installed addons.
Definition kernwin.hpp:8079
ea_t choose_stkvar_xref(func_t *pfn, tid_t srkvar_tid)
Choose an xref to a stack variable (ui_choose, chtype_name).
Definition kernwin.hpp:6717
func_t * choose_func(const char *title, ea_t default_ea)
Choose a function (ui_choose, chtype_func).
Definition kernwin.hpp:6778
ea_t choose_name(const char *title)
Choose a name (ui_choose, chtype_name).
Definition kernwin.hpp:6704
bool choose_enum_by_value(tinfo_t *out, const char *title, uint32 default_ord, uint64 value, int nbytes, uchar *serial)
Choose an enum, restricted by value & size (ui_choose, chtype_enum_by_value_and_size).
Definition kernwin.hpp:6762
bool choose_struct(tinfo_t *out, const char *title)
Choose a structure (ui_choose, chtype_struct).
Definition kernwin.hpp:6801
sreg_range_t * choose_srcp(const char *title)
Choose a segment register change point (ui_choose, chtype_srcp).
Definition kernwin.hpp:6811
bool choose_til(qstring *buf)
Choose a type library (ui_choose, chtype_idatil).
Definition kernwin.hpp:6682
char * choose_idasgn()
Choose a signature (ui_choose, chtype_idasgn).
Definition kernwin.hpp:6671
ea_t choose_xref(ea_t to)
Choose an xref to an address (ui_choose, chtype_xref).
Definition kernwin.hpp:6729
ea_t choose_entry(const char *title)
Choose an entry point (ui_choose, chtype_entry).
Definition kernwin.hpp:6692
segment_t * choose_segm(const char *title, ea_t default_ea)
Choose a segment (ui_choose, chtype_segm).
Definition kernwin.hpp:6789
bool choose_enum(tinfo_t *out, const char *title, uint32 default_ord)
Choose an enum (ui_choose, chtype_enum).
Definition kernwin.hpp:6744
TWidget * open_threads_window()
Open the threads window (ui_open_builtin).
Definition kernwin.hpp:6540
TWidget * open_imports_window(ea_t ea)
Open the exports window (ui_open_builtin).
Definition kernwin.hpp:6405
TWidget * open_segments_window(ea_t ea)
Open the segments window (ui_open_builtin).
Definition kernwin.hpp:6446
TWidget * open_strings_window(ea_t ea, ea_t selstart=BADADDR, ea_t selend=BADADDR)
Open the 'Strings' window (ui_open_builtin).
Definition kernwin.hpp:6436
TWidget * open_tils_window()
Open the type libraries window (ui_open_builtin).
Definition kernwin.hpp:6483
TWidget * open_hexdump_window(const char *window_title)
Open a hexdump view (ui_open_builtin).
Definition kernwin.hpp:6621
TWidget * open_exports_window(ea_t ea)
Open the exports window (ui_open_builtin).
Definition kernwin.hpp:6395
TWidget * open_problems_window(ea_t ea)
Open the problems window (ui_open_builtin).
Definition kernwin.hpp:6521
TWidget * open_xrefs_window(ea_t ea)
Open the cross references window (ui_open_builtin).
Definition kernwin.hpp:6577
TWidget * open_bpts_window(ea_t ea)
Open the breakpoints window (ui_open_builtin).
Definition kernwin.hpp:6531
TWidget * open_navband_window(ea_t ea, int zoom)
Open the navigation band window (ui_open_builtin).
Definition kernwin.hpp:6600
TWidget * open_names_window(ea_t ea)
Open the names window (ui_open_builtin).
Definition kernwin.hpp:6415
TWidget * open_til_view_window(tinfo_t *tif, const tif_cursor_t *cursor=nullptr)
Open the sub-til window (ui_open_builtin2).
Definition kernwin.hpp:6504
TWidget * open_calls_window(ea_t ea)
Open the function calls window (ui_open_builtin).
Definition kernwin.hpp:6512
TWidget * open_signatures_window()
Open the signatures window (ui_open_builtin).
Definition kernwin.hpp:6474
TWidget * open_frame_window(func_t *pfn, uval_t offset)
Open the frame window for the given function (ui_open_builtin).
Definition kernwin.hpp:6589
TWidget * open_funcs_window(ea_t ea)
Open the 'Functions' window (ui_open_builtin).
Definition kernwin.hpp:6425
TWidget * open_bookmarks_window(TWidget *w)
Open the bookmarks window (ui_open_builtin).
Definition kernwin.hpp:6641
TWidget * open_stack_window()
Open the call stack window (ui_open_builtin).
Definition kernwin.hpp:6567
TWidget * open_selectors_window()
Open the selectors window (ui_open_builtin).
Definition kernwin.hpp:6465
TWidget * open_notepad_window()
Open the notepad window (ui_open_builtin).
Definition kernwin.hpp:6630
TWidget * open_modules_window()
Open the modules window (ui_open_builtin).
Definition kernwin.hpp:6549
TWidget * open_loctypes_window(int ordinal, const tif_cursor_t *cursor=nullptr)
Open the local types window (ui_open_builtin2).
Definition kernwin.hpp:6494
TWidget * open_segregs_window(ea_t ea)
Open the segment registers window (ui_open_builtin).
Definition kernwin.hpp:6456
TWidget * open_trace_window()
Open the tracing window (ui_open_builtin).
Definition kernwin.hpp:6558
TWidget * open_disasm_window(const char *window_title, const rangevec_t *ranges=nullptr)
Open a disassembly view (ui_open_builtin).
Definition kernwin.hpp:6611
bool set_custom_viewer_qt_aware(TWidget *custom_viewer)
Allow the given viewer to interpret Qt events (ui_set_custom_viewer_handler)
Definition kernwin.hpp:5836
void * set_custom_viewer_handler(TWidget *custom_viewer, custom_viewer_handler_id_t handler_id, void *handler_or_data)
Set a handler for a custom viewer event (ui_set_custom_viewer_handler).
Definition kernwin.hpp:5824
void * set_code_viewer_handler(TWidget *code_viewer, custom_viewer_handler_id_t handler_id, void *handler_or_data)
Set a handler for a code viewer event (ui_set_custom_viewer_handler).
Definition kernwin.hpp:6134
bool set_code_viewer_user_data(TWidget *code_viewer, void *ud)
Set the user data on a code viewer (ui_set_custom_viewer_handler).
Definition kernwin.hpp:6146
bool set_code_viewer_lines_icon_margin(TWidget *code_viewer, int margin)
Set space allowed for icons in the margin of a code viewer (ui_set_custom_viewer_handler).
Definition kernwin.hpp:6186
bool set_code_viewer_lines_alignment(TWidget *code_viewer, int align)
Set alignment for lines in a code viewer (ui_set_custom_viewer_handler).
Definition kernwin.hpp:6194
void set_custom_viewer_handlers(TWidget *custom_viewer, const custom_viewer_handlers_t *cvh, void *cvh_ud)
Set handlers for custom viewer events Any of these handlers may be nullptr.
Definition kernwin.hpp:5808
bool set_code_viewer_is_source(TWidget *code_viewer)
Specify that the given code viewer is used to display source code (ui_set_custom_viewer_handler).
Definition kernwin.hpp:6210
bool set_code_viewer_lines_radix(TWidget *code_viewer, int radix)
Set radix for values displayed in a code viewer (ui_set_custom_viewer_handler).
Definition kernwin.hpp:6202
bool update_action_shortcut(const char *name, const char *shortcut)
Update an action's shortcut (ui_update_action_attr).
Definition kernwin.hpp:5635
bool update_action_icon(const char *name, int icon)
Update an action's icon (ui_update_action_attr).
Definition kernwin.hpp:5657
bool update_action_visibility(const char *name, bool visible)
Update an action's visibility (ui_update_action_attr).
Definition kernwin.hpp:5701
bool update_action_state(const char *name, action_state_t state)
Update an action's state (ui_update_action_attr).
Definition kernwin.hpp:5668
bool update_action_tooltip(const char *name, const char *tooltip)
Update an action's tooltip (ui_update_action_attr).
Definition kernwin.hpp:5646
bool update_action_checked(const char *name, bool checked)
Update an action's checked state (ui_update_action_attr).
Definition kernwin.hpp:5690
bool update_action_checkable(const char *name, bool checkable)
Update an action's checkability (ui_update_action_attr).
Definition kernwin.hpp:5679
bool update_action_label(const char *name, const char *label)
Update an action's label (ui_update_action_attr).
Definition kernwin.hpp:5624
int vask_yn(int deflt, help_t format, va_list va)
Definition help.h:54
int ask_yn(int deflt, help_t format,...)
Definition help.h:59
cexpr_t * e
Definition hexrays.hpp:7308
bool get_action_label(qstring *label, const char *name)
Get an action's label (ui_get_action_attr).
Definition kernwin.hpp:5717
void activate_widget(TWidget *widget, bool take_focus)
Activate widget (only gui version) (ui_activate_widget).
Definition kernwin.hpp:5356
idaman int64 size_t count
Definition kernwin.hpp:1366
char * answer
Definition kernwin.hpp:8023
int nbytes
Definition kernwin.hpp:2861
idaman int ida_export internal_register_place_class(const place_t *tmplate, int flags, const plugin_t *owner, int sdk_version)
qvector< tagged_line_section_t > tagged_line_section_vec_t
Definition kernwin.hpp:2522
execute_sync_availability_t
Definition kernwin.hpp:342
@ esa_app_unavailable
Definition kernwin.hpp:347
@ esa_available
Definition kernwin.hpp:344
@ esa_release
Definition kernwin.hpp:346
@ esa_unavailable
Definition kernwin.hpp:345
@ esa_unknown
Definition kernwin.hpp:343
bool ok
Definition kernwin.hpp:7006
place_t * get_custom_viewer_place(TWidget *custom_viewer, bool mouse, int *x, int *y)
Get current place in a custom viewer (ui_get_curplace).
Definition kernwin.hpp:5513
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:5408
uval_t uval_t
Definition kernwin.hpp:1878
bool idaapi code_viewer_lines_linenum_t(TWidget *cv, const place_t *p, uval_t *num, void *ud)
Calculate the line number. Return false to not print any number.
Definition kernwin.hpp:4262
TWidget * get_current_viewer()
Get current ida viewer (idaview or custom viewer) (ui_get_current_viewer)
Definition kernwin.hpp:5913
ea_t get_screen_ea()
Get the address at the screen cursor (ui_screenea)
Definition kernwin.hpp:4900
void msg_get_lines(qstrvec_t *out, int count=-1)
Retrieve the last 'count' lines from the output window, in reverse order (from most recent,...
Definition kernwin.hpp:6022
void set_custom_viewer_range(TWidget *custom_viewer, const place_t *minplace, const place_t *maxplace)
Set position range for custom viewer (ui_set_custom_viewer_range)
Definition kernwin.hpp:5976
bool get_action_checkable(const char *name, bool *checkable)
Get an action's checkability (ui_get_action_attr).
Definition kernwin.hpp:5772
int idaapi custom_viewer_can_navigate_t(TWidget *v, const lochist_entry_t *now, const locchange_md_t &md, void *ud)
The user asked to navigate to the given location.
Definition kernwin.hpp:4220
bool process_ui_action(const char *name, int flags=0, void *param=nullptr)
Processes a UI action by name.
Definition kernwin.hpp:5056
void unmark_selection()
Unmark selection (ui_unmarksel)
Definition kernwin.hpp:6106
bool delete_menu(const char *name)
Delete an existing menu.
Definition kernwin.hpp:5226
bool load_dbg_dbginfo(const char *path, linput_t *li=nullptr, ea_t base=BADADDR, bool verbose=false)
Load debugging information from a file.
Definition kernwin.hpp:6289
bool get_action_tooltip(qstring *tooltip, const char *name)
Get an action's tooltip (ui_get_action_attr).
Definition kernwin.hpp:5739
bool read_range_selection(TWidget *v, ea_t *ea1, ea_t *ea2)
Get the address range for the selected range boundaries, this is the convenient function for read_sel...
Definition kernwin.hpp:6098
lecvt_code_t
Converts from an entry with a given place type, to another entry, with another place type,...
Definition kernwin.hpp:2097
@ LECVT_OK
Definition kernwin.hpp:2100
@ LECVT_ERROR
Definition kernwin.hpp:2099
@ LECVT_CANCELED
Definition kernwin.hpp:2098
void repaint_custom_viewer(TWidget *custom_viewer)
Repaint the given widget immediately (ui_repaint_qwidget)
Definition kernwin.hpp:5477
bool is_tif_cursor_header(tif_cursor_t c)
Definition kernwin.hpp:1887
THREAD_SAFE bool unregister_timer(qtimer_t t)
Unregister a timer (ui_unregister_timer).
Definition kernwin.hpp:5120
void place_t__serialize(const place_t *_this, bytevec_t *out)
Definition kernwin.hpp:8555
vshow_hex(dataptr, len, format, va)
bool prompt_function_prototype(qstring *errbuf, tinfo_t *out_tif, func_t *pfn, tinfo_t *tif, const char *name)
Open function prototype editor to edit function type and create new type.
Definition kernwin.hpp:5940
bool ea_viewer_history_push_and_jump(TWidget *v, ea_t ea, int x, int y, int lnnum)
Push current location in the history and jump to the given location (ui_ea_viewer_history_push_and_ju...
Definition kernwin.hpp:5448
int register_place_class(const place_t *tmplate, int flags, const plugin_t *owner)
Register information about a place_t class.
Definition kernwin.hpp:1971
ea_t get_hexdump_ea(int hexdump_num)
Get the current address in a hex view.
Definition kernwin.hpp:4944
void idaapi custom_viewer_curpos_t(TWidget *cv, void *ud)
Deprecated.
Definition kernwin.hpp:4096
void * get_window_id(const char *name=nullptr)
Get the system-specific window ID (GUI version only)
Definition kernwin.hpp:6062
qvector< cpidx_t > cpidxvec_t
Definition kernwin.hpp:2436
int cplen_t
Definition kernwin.hpp:2435
ssize_t rc
Definition kernwin.hpp:7101
idaman bool ida_export is_refresh_requested(uint64 mask)
Get a refresh request state.
const char * get_custom_viewer_curline(TWidget *custom_viewer, bool mouse)
Get current line of custom viewer (ui_get_custom_viewer_curline).
Definition kernwin.hpp:5853
THREAD_SAFE void set_cancelled()
Set "Cancelled" flag (ui_set_cancelled)
Definition kernwin.hpp:6233
bool refresh_chooser(const char *title)
Mark a non-modal custom chooser for a refresh (ui_refresh_chooser).
Definition kernwin.hpp:4970
bool attach_action_to_menu(const char *menupath, const char *name, int flags=0)
Attach a previously-registered action to the menu (ui_attach_action_to_menu).
Definition kernwin.hpp:5248
bool attach_action_to_toolbar(const char *toolbar_name, const char *name)
Attach an action to an existing toolbar (ui_attach_action_to_toolbar).
Definition kernwin.hpp:5275
void remove_command_interpreter(const cli_t *cp)
Remove command line interpreter (ui_install_cli)
Definition kernwin.hpp:4987
bool get_chooser_data(qstrvec_t *out, const char *chooser_caption, int n)
Get the text corresponding to the index N in the chooser data.
Definition kernwin.hpp:6867
input_event_kind_t
Definition kernwin.hpp:4268
@ iek_mouse_wheel
Definition kernwin.hpp:4275
@ iek_key_release
Definition kernwin.hpp:4272
@ iek_shortcut
Definition kernwin.hpp:4270
@ iek_mouse_button_press
Definition kernwin.hpp:4273
@ iek_key_press
Definition kernwin.hpp:4271
@ iek_mouse_button_release
Definition kernwin.hpp:4274
@ iek_unknown
Definition kernwin.hpp:4269
idaman uint32 ida_export_data debug
Controls debug messages - combination of IDA debug bits.
Definition kernwin.hpp:2811
lecvt_code_t idaapi lochist_entry_cvt2_t(lochist_entry_t *dst, const lochist_entry_t &src, TWidget *view, uint32 flags)
Definition kernwin.hpp:2104
int get_navband_pixel(bool *out_is_vertical, ea_t ea)
Translate the provided ea_t, into its pixel position (plus pixel ranges) on the navigation band.
Definition kernwin.hpp:6042
idaman void ida_export term_database()
The database termination function.
tcc_renderer_type_t
TWidget renderer type.
Definition kernwin.hpp:99
@ TCCRT_GRAPH
graph view
Definition kernwin.hpp:102
@ TCCRT_INVALID
invalid
Definition kernwin.hpp:100
@ TCCRT_FLAT
flat view
Definition kernwin.hpp:101
@ TCCRT_PROXIMITY
proximity view
Definition kernwin.hpp:103
THREAD_SAFE bool user_cancelled()
Test the cancellation flag (ui_test_cancelled).
Definition kernwin.hpp:6240
void get_registered_actions(qstrvec_t *out)
Get a list of all currently-registered actions.
Definition kernwin.hpp:5159
qvector< line_rendering_output_entry_t * > line_rendering_output_entries_refs_t
Definition kernwin.hpp:2387
TWidget * create_code_viewer(TWidget *custview, int flags=0, TWidget *parent=nullptr)
Create a code viewer (ui_create_code_viewer).
Definition kernwin.hpp:6119
beep_t
< Beep types
Definition kernwin.hpp:75
@ beep_default
Definition kernwin.hpp:76
int idaapi code_viewer_lines_icon_t(TWidget *cv, const place_t *p, int *pos, void *ud)
Retrieve an icon for a code viewer line.
Definition kernwin.hpp:4257
callui(ui_mbox, mbox_replace, format, va)
int get_custom_viewer_place_xcoord(TWidget *custom_viewer, const place_t *pline, const place_t *pitem)
Get the X position of the item, in the line.
Definition kernwin.hpp:5867
THREAD_SAFE void clr_cancelled()
Clear "Cancelled" flag (ui_clr_cancelled)
Definition kernwin.hpp:6228
void display_widget(TWidget *widget, uint32 options, const char *dest_ctrl=nullptr)
Display a widget, dock it if not done before.
Definition kernwin.hpp:5336
bool read_selection(TWidget *v, twinpos_t *p1, twinpos_t *p2)
Get the selected range boundaries (ui_read_selection).
Definition kernwin.hpp:6083
int idaapi formchgcb_t(int field_id, form_actions_t &fa)
Callback.
Definition kernwin.hpp:7714
const int64 IDALIB_API_MAGIC
Definition kernwin.hpp:1381
THREAD_SAFE const char * No
Definition kernwin.hpp:7745
bool ui_run_debugger(const char *dbgopts, const char *exename, int argc, const char *const *argv)
Load a debugger plugin and run the specified program (ui_run_dbg).
Definition kernwin.hpp:6273
msg_notification_t
Notification codes for events in the message window.
Definition kernwin.hpp:3914
@ msg_closed
View closed.
Definition kernwin.hpp:3937
@ msg_click
Click event.
Definition kernwin.hpp:3923
@ msg_activated
The message window is activated.
Definition kernwin.hpp:3915
@ msg_keydown
Key down event.
Definition kernwin.hpp:3941
@ msg_deactivated
The message window is deactivated.
Definition kernwin.hpp:3919
@ msg_dblclick
Double click event.
Definition kernwin.hpp:3930
int add_idc_hotkey(const char *hotkey, const char *idcfunc)
Add hotkey for IDC function (ui_add_idckey).
Definition kernwin.hpp:6304
ui_notification_t
Events marked as 'ui:' should be used as a parameter to callui().
Definition kernwin.hpp:365
@ debug_obsolete_assert_thread_waitready
Definition kernwin.hpp:1318
@ ui_dbg_get_trace_file_desc
Definition kernwin.hpp:1217
@ ui_unlock_range_refresh
ui: Unlock the ui_range refreshes.
Definition kernwin.hpp:517
@ ui_debugger_menu_change
cb: debugger menu modification detected
Definition kernwin.hpp:547
@ ui_close_chooser
ui: see close_chooser()
Definition kernwin.hpp:438
@ ui_msg_get_lines
ui: see msg_get_lines()
Definition kernwin.hpp:951
@ ui_enable_chooser_item_attrs
ui: see enable_chooser_item_attrs()
Definition kernwin.hpp:702
@ ui_get_chooser_rows
ui: see get_chooser_rows()
Definition kernwin.hpp:1060
@ ui_set_renderer_type
ui: see set_view_renderer_type()
Definition kernwin.hpp:814
@ ui_dbg_request_add_bpt
Definition kernwin.hpp:1229
@ ui_dbg_request_enable_bpt
Definition kernwin.hpp:1200
@ ui_display_widget
ui: see display_widget()
Definition kernwin.hpp:984
@ ui_dbg_get_reg_val
Definition kernwin.hpp:1174
@ ui_choose
ui: Allow the user to choose an object.
Definition kernwin.hpp:431
@ ui_execute_sync_ctl
ui: see cancel_thread_exec_requests(), cancel_exec_request(), set_execute_sync_availability()
Definition kernwin.hpp:698
@ ui_dbg_request_step_over
Definition kernwin.hpp:1102
@ ui_destroying_plugmod
cb: The plugin object is about to be destroyed
Definition kernwin.hpp:1021
@ ui_dbg_get_bptloc_string
Definition kernwin.hpp:1187
@ ui_updated_actions
cb: IDA is done updating actions.
Definition kernwin.hpp:862
@ ui_dbg_get_local_var
Definition kernwin.hpp:1274
@ ui_destroy_custom_viewer
ui: see destroy_custom_viewer()
Definition kernwin.hpp:600
@ ui_updating_actions
cb: IDA is about to update all actions.
Definition kernwin.hpp:855
@ ui_dbg_set_trace_platform
Definition kernwin.hpp:1249
@ ui_install_custom_optype_menu
ui: install/remove custom operand type menu item.
Definition kernwin.hpp:723
@ ui_get_tab_size
ui: see get_tab_size()
Definition kernwin.hpp:784
@ ui_dbg_del_vmod
Definition kernwin.hpp:1183
@ ui_dbg_get_insn_tev_reg_val_i
Definition kernwin.hpp:1290
@ ui_current_widget_changed
cb: The currently-active TWidget changed.
Definition kernwin.hpp:909
@ ui_get_registered_actions
ui: see get_registered_actions()
Definition kernwin.hpp:932
@ ui_get_active_modal_widget
ui: see get_active_modal_widget()
Definition kernwin.hpp:967
@ ui_banner
ui: see banner()
Definition kernwin.hpp:440
@ ui_dbg_add_tev
Definition kernwin.hpp:1238
@ ui_is_idaview
ui: see is_idaview()
Definition kernwin.hpp:611
@ ui_prompt_function_prototype
ui: open Function Prototype Editor and return new type for function
Definition kernwin.hpp:1074
@ ui_saving
cb: The kernel is flushing its buffers to the disk.
Definition kernwin.hpp:413
@ ui_dbg_set_insn_trace_options
Definition kernwin.hpp:1127
@ ui_lock_range_refresh
ui: Lock the ui_range refreshes.
Definition kernwin.hpp:511
@ ui_dbg_wait_for_next_event
Definition kernwin.hpp:1150
@ ui_dbg_get_reg_val_i
Definition kernwin.hpp:1292
@ ui_finish_populating_widget_popup
cb: IDA is about to be done populating the context menu for a widget.
Definition kernwin.hpp:884
@ ui_dbg_get_tev_event
Definition kernwin.hpp:1222
@ ui_dbg_set_trace_file_desc
Definition kernwin.hpp:1216
@ ui_unregister_action
ui: see unregister_action()
Definition kernwin.hpp:831
@ ui_dbg_edit_manual_regions
Definition kernwin.hpp:1171
@ ui_dbg_retrieve_exceptions
Definition kernwin.hpp:1155
@ ui_dbg_add_call_tev
Definition kernwin.hpp:1240
@ ui_dbg_add_path_mapping
Definition kernwin.hpp:1276
@ ui_execute_sync
ui: see execute_sync()
Definition kernwin.hpp:696
@ ui_ea_viewer_history_info
ui: see get_ea_viewer_history_info()
Definition kernwin.hpp:825
@ ui_dbg_request_del_bpt
Definition kernwin.hpp:1202
@ ui_dbg_save_trace_file
Definition kernwin.hpp:1214
@ ui_dbg_register_provider
Definition kernwin.hpp:1179
@ ui_dbg_begin
debugger callgates. should not be used directly, see dbg.hpp for details
Definition kernwin.hpp:1081
@ ui_beep
ui: see beep()
Definition kernwin.hpp:453
@ ui_dbg_read_memory
Definition kernwin.hpp:1192
@ ui_get_ea_hint
cb: ui wants to display a simple hint for an address.
Definition kernwin.hpp:582
@ ui_dbg_getn_thread
Definition kernwin.hpp:1096
@ ui_get_widget_config
cb: retrieve the widget configuration (it will be passed back at ui_create_desktop_widget-,...
Definition kernwin.hpp:1000
@ ui_dbg_request_attach_process
Definition kernwin.hpp:1143
@ ui_dbg_step_until_ret
Definition kernwin.hpp:1105
@ ui_dbg_compare_bpt_locs
Definition kernwin.hpp:1184
@ ui_addons
ui: see Functions: add-ons
Definition kernwin.hpp:749
@ ui_get_custom_viewer_curline
ui: see get_custom_viewer_curline()
Definition kernwin.hpp:606
@ ui_obsolete_get_highlight
now ui_get_highlight_2
Definition kernwin.hpp:941
@ ui_obsolete_del_idckey
ui: see ui_del_idckey()
Definition kernwin.hpp:492
@ ui_get_cursor
ui: see get_cursor()
Definition kernwin.hpp:501
@ ui_restore_database_snapshot
ui: see restore_database_snapshot()
Definition kernwin.hpp:764
@ ui_dbg_update_bpt
Definition kernwin.hpp:1230
@ ui_refresh_navband
ui: see refresh_navband()
Definition kernwin.hpp:545
@ ui_dbg_request_continue_process
Definition kernwin.hpp:1092
@ ui_dbg_write_register
Definition kernwin.hpp:1195
@ ui_set_mappings
ui: Show current memory mappings and allow the user to change them.
Definition kernwin.hpp:944
@ ui_dbg_get_running_notification
Definition kernwin.hpp:1084
@ ui_register_timer
ui: see register_timer()
Definition kernwin.hpp:757
@ ui_dbg_add_insn_tev
Definition kernwin.hpp:1239
@ ui_dbg_suspend_thread
Definition kernwin.hpp:1158
@ ui_dbg_is_valid_trace_file
Definition kernwin.hpp:1215
@ ui_dbg_set_reg_val_i
Definition kernwin.hpp:1293
@ ui_dbg_request_del_oldbpt
Definition kernwin.hpp:1111
@ ui_dbg_add_bpt
Definition kernwin.hpp:1228
@ ui_set_nav_colorizer
ui: see set_nav_colorizer()
Definition kernwin.hpp:983
@ ui_dbg_load_dbg_dbginfo
Definition kernwin.hpp:1256
@ ui_genfile_callback
cb: handle html generation.
Definition kernwin.hpp:522
@ ui_msg_save
ui: see msg_save()
Definition kernwin.hpp:950
@ ui_suspend
cb: Suspend graphical interface.
Definition kernwin.hpp:386
@ ui_lookup_key_code
ui: see lookup_key_code()
Definition kernwin.hpp:736
@ ui_dbg_srcdbg_step_into
Definition kernwin.hpp:1280
@ ui_dbg_set_bptloc_string
Definition kernwin.hpp:1186
@ ui_dbg_request_run_to
Definition kernwin.hpp:1104
@ ui_dbg_request_suspend_process
Definition kernwin.hpp:1090
@ ui_dbg_set_func_trace_options
Definition kernwin.hpp:1133
@ ui_gen_disasm_text
ui: see gen_disasm_text()
Definition kernwin.hpp:681
@ ui_obsolete_set_nav_colorizer
Definition kernwin.hpp:939
@ ui_ask_addr
ui: see ask_addr()
Definition kernwin.hpp:484
@ ui_set_code_viewer_line_handlers
ui: see set_code_viewer_line_handlers()
Definition kernwin.hpp:767
@ ui_dbg_clear_trace
Definition kernwin.hpp:1115
@ ui_dbg_set_manual_regions
Definition kernwin.hpp:1166
@ ui_get_user_input_event
ui: see get_user_input_event()
Definition kernwin.hpp:1049
@ ui_get_output_curline
ui: see get_output_curline()
Definition kernwin.hpp:807
@ ui_dbg_get_reg_value_type
Definition kernwin.hpp:1140
@ ui_widget_closing
TWidget is about to close.
Definition kernwin.hpp:570
@ ui_dbg_set_process_state
Definition kernwin.hpp:1164
@ ui_dbg_suspend_process
Definition kernwin.hpp:1089
@ ui_dbg_get_local_vars
Definition kernwin.hpp:1275
@ ui_read_range_selection
ui: see read_range_selection()
Definition kernwin.hpp:407
@ ui_dbg_request_select_thread
Definition kernwin.hpp:1098
@ ui_dbg_define_exception
Definition kernwin.hpp:1157
@ ui_last
the last notification code
Definition kernwin.hpp:1079
@ ui_create_empty_widget
ui: see create_empty_widget()
Definition kernwin.hpp:946
@ ui_refresh_choosers
cb: The list (chooser) window contents have been changed (names, signatures, etc).
Definition kernwin.hpp:373
@ ui_dbg_is_insn_trace_enabled
Definition kernwin.hpp:1123
@ ui_dbg_set_event_cond
Definition kernwin.hpp:1198
@ ui_create_desktop_widget
cb: create a widget, to be placed in the widget tree (at desktop-creation time.)
Definition kernwin.hpp:974
@ ui_activate_widget
ui: see activate_widget()
Definition kernwin.hpp:558
@ ui_dbg_run_requests
Definition kernwin.hpp:1082
@ ui_dbg_get_ip_val
Definition kernwin.hpp:1173
@ ui_get_current_viewer
ui: see get_current_viewer()
Definition kernwin.hpp:609
@ ui_set_custom_viewer_mode
ui: switch between graph/text modes.
Definition kernwin.hpp:674
@ ui_dbg_step_into
Definition kernwin.hpp:1099
@ ui_dbg_get_bpt
Definition kernwin.hpp:1226
@ ui_dbg_add_bpt_tev
Definition kernwin.hpp:1242
@ ui_dbg_enable_manual_regions
Definition kernwin.hpp:1167
@ ui_get_window_id
ui: set get_window_id (GUI only)
Definition kernwin.hpp:972
@ ui_dbg_set_suspend_on_event
Definition kernwin.hpp:1312
@ ui_get_range_marker
ui: Get pointer to function.
Definition kernwin.hpp:729
@ ui_get_key_code
ui: see get_key_code()
Definition kernwin.hpp:535
@ ui_dbg_get_tev_type
Definition kernwin.hpp:1233
@ ui_get_current_widget
ui: see get_current_widget()
Definition kernwin.hpp:562
@ ui_setidle
ui: Set a function to call at idle times.
Definition kernwin.hpp:442
@ ui_populating_widget_popup
cb: IDA is populating the context menu for a widget.
Definition kernwin.hpp:866
@ ui_unrecognized_config_directive
ui: Possibly handle an extra config directive, passed through '-d' or '-D'.
Definition kernwin.hpp:798
@ ui_dbg_get_first_module
Definition kernwin.hpp:1146
@ ui_dbg_find_bpt
Definition kernwin.hpp:1227
@ ui_screen_ea_changed
cb: The "current address" changed
Definition kernwin.hpp:961
@ ui_resume
cb: Resume the suspended graphical interface.
Definition kernwin.hpp:392
@ ui_take_database_snapshot
ui: see take_database_snapshot()
Definition kernwin.hpp:761
@ ui_dbg_set_remote_debugger
Definition kernwin.hpp:1153
@ ui_dbg_add_vmod
Definition kernwin.hpp:1182
@ ui_dbg_add_debug_event
Definition kernwin.hpp:1243
@ ui_dbg_request_detach_process
Definition kernwin.hpp:1145
@ ui_dbg_set_resume_mode
Definition kernwin.hpp:1257
@ ui_dbg_request_set_step_trace_options
Definition kernwin.hpp:1122
@ ui_dbg_internal_appcall
Definition kernwin.hpp:1188
@ ui_dbg_select_thread
Definition kernwin.hpp:1097
@ ui_dbg_get_tev_info
Definition kernwin.hpp:1136
@ ui_execute_ui_requests
ui: see execute_ui_requests(ui_request_t, ...)
Definition kernwin.hpp:751
@ ui_dbg_enable_func_trace
Definition kernwin.hpp:1130
@ ui_dbg_get_process_options
Definition kernwin.hpp:1162
@ ui_dbg_get_tev_tid
Definition kernwin.hpp:1234
@ ui_execute_ui_requests_list
ui: see execute_ui_requests(ui_requests_t)
Definition kernwin.hpp:754
@ ui_set_custom_viewer_handler
ui: see set_custom_viewer_handler().
Definition kernwin.hpp:658
@ ui_custom_viewer_jump
ui: set the current location, and have the viewer display it
Definition kernwin.hpp:923
@ ui_dbg_get_insn_tev_reg_result_i
Definition kernwin.hpp:1291
@ ui_dbg_del_bpt
Definition kernwin.hpp:1201
@ ui_detach_action_from_toolbar
ui: see detach_action_from_toolbar()
Definition kernwin.hpp:852
@ ui_dbg_get_thread_qty
Definition kernwin.hpp:1095
@ ui_dbg_srcdbg_step_until_ret
Definition kernwin.hpp:1284
@ ui_ea_viewer_history_push_and_jump
ui: see ea_viewer_history_push_and_jump()
Definition kernwin.hpp:822
@ ui_idcstop
cb: Stop of IDC engine work.
Definition kernwin.hpp:382
@ ui_dbg_set_process_options
Definition kernwin.hpp:1168
@ ui_dbg_request_add_oldbpt
Definition kernwin.hpp:1109
@ ui_attach_action_to_toolbar
ui: see attach_action_to_toolbar()
Definition kernwin.hpp:849
@ ui_open_builtin2
ui: open a window of a built-in type.
Definition kernwin.hpp:1067
@ ui_dbg_get_memory_info
Definition kernwin.hpp:1196
@ ui_dbg_request_enable_oldbpt
Definition kernwin.hpp:1113
@ ui_jump_in_custom_viewer
ui: see jumpto()
Definition kernwin.hpp:603
@ ui_dbg_request_enable_bblk_trace
Definition kernwin.hpp:1208
@ ui_get_curline
ui: see get_curline()
Definition kernwin.hpp:503
@ ui_idcstart
cb: Start of IDC engine work.
Definition kernwin.hpp:378
@ ui_set_highlight
ui: see set_highlight()
Definition kernwin.hpp:942
@ ui_run_dbg
ui: see ui_run_debugger()
Definition kernwin.hpp:499
@ ui_dbg_graph_trace
Definition kernwin.hpp:1220
@ ui_dbg_store_exceptions
Definition kernwin.hpp:1156
@ ui_dbg_is_func_trace_enabled
Definition kernwin.hpp:1129
@ ui_dbg_attach_process
Definition kernwin.hpp:1142
@ ui_mbox
ui: Show a message box.
Definition kernwin.hpp:462
@ ui_read_selection
ui: see read_selection()
Definition kernwin.hpp:405
@ ui_obsolete_get_custom_viewer_location
Definition kernwin.hpp:1011
@ ui_delete_menu
ui: see delete_menu()
Definition kernwin.hpp:938
@ ui_dbg_del_thread
Definition kernwin.hpp:1245
@ ui_dbg_internal_get_sreg_base
Definition kernwin.hpp:1190
@ ui_sync_sources
ui: [un]synchronize sources
Definition kernwin.hpp:993
@ ui_dbg_srcdbg_request_step_until_ret
Definition kernwin.hpp:1285
@ ui_dbg_run_to_backwards
Definition kernwin.hpp:1310
@ ui_dbg_request_step_over_backwards
Definition kernwin.hpp:1309
@ ui_dbg_step_into_backwards
Definition kernwin.hpp:1306
@ ui_dbg_exit_process
Definition kernwin.hpp:1093
@ ui_dbg_get_call_tev_callee
Definition kernwin.hpp:1137
@ ui_get_synced_group
ui: see get_synced_group()
Definition kernwin.hpp:1029
@ ui_broadcast
cb: broadcast call
Definition kernwin.hpp:398
@ ui_dbg_get_sp_val
Definition kernwin.hpp:1172
@ ui_is_idaq
ui: see is_idaq()
Definition kernwin.hpp:543
@ ui_open_builtin
ui: open a window of a built-in type. see Functions: open built-in windows
Definition kernwin.hpp:664
@ ui_dbg_diff_trace_file
Definition kernwin.hpp:1219
@ ui_plugin_loaded
cb: The plugin was loaded in memory.
Definition kernwin.hpp:901
@ ui_dbg_enable_step_trace
Definition kernwin.hpp:1118
@ ui_dbg_request_exit_process
Definition kernwin.hpp:1094
@ ui_get_highlight_2
ui: see get_highlight()
Definition kernwin.hpp:1052
@ ui_dbg_get_tev_qty
Definition kernwin.hpp:1135
@ ui_dbg_request_set_insn_trace_options
Definition kernwin.hpp:1128
@ ui_obsolete_display_widget
Definition kernwin.hpp:555
@ ui_get_action_attr
ui: see Functions: get action attributes
Definition kernwin.hpp:899
@ ui_dbg_is_bblk_trace_enabled
Definition kernwin.hpp:1206
@ ui_dbg_get_module_info
Definition kernwin.hpp:1269
@ ui_copywarn
ui: see display_copyright_warning()
Definition kernwin.hpp:505
@ ui_create_source_viewer
ui: Create new source viewer.
Definition kernwin.hpp:772
@ ui_dbg_internal_set_elang
Definition kernwin.hpp:1253
@ ui_dbg_change_bptlocs
Definition kernwin.hpp:1265
@ ui_parse_tagged_line_sections
ui: see parse_tagged_line_sections()
Definition kernwin.hpp:1077
@ ui_dbg_step_over_backwards
Definition kernwin.hpp:1308
@ ui_dbg_get_reg_info
Definition kernwin.hpp:1295
@ ui_dbg_enable_oldbpt
Definition kernwin.hpp:1112
@ ui_dbg_unregister_provider
Definition kernwin.hpp:1180
@ ui_null
Definition kernwin.hpp:366
@ ui_dbg_map_source_path
Definition kernwin.hpp:1203
@ ui_attach_action_to_menu
ui: see attach_action_to_menu()
Definition kernwin.hpp:834
@ ui_dbg_get_process_state
Definition kernwin.hpp:1086
@ ui_saved
cb: The kernel has saved the database.
Definition kernwin.hpp:418
@ ui_delete_toolbar
ui: see delete_toolbar()
Definition kernwin.hpp:936
@ ui_dbg_continue_process
Definition kernwin.hpp:1091
@ ui_dbg_get_bpt_group
Definition kernwin.hpp:1264
@ ui_analyzer_options
ui: see analyzer_options()
Definition kernwin.hpp:495
@ ui_create_code_viewer
ui: see create_code_viewer()
Definition kernwin.hpp:747
@ ui_refresh_custom_viewer
ui: see refresh_custom_viewer()
Definition kernwin.hpp:597
@ ui_load_file
ui: see ui_load_new_file()
Definition kernwin.hpp:497
@ ui_dbg_write_memory
Definition kernwin.hpp:1193
@ ui_dbg_collect_stack_trace
Definition kernwin.hpp:1268
@ ui_dbg_del_oldbpt
Definition kernwin.hpp:1110
@ ui_dbg_get_insn_tev_reg_mem
Definition kernwin.hpp:1223
@ ui_unregister_timer
ui: see unregister_timer()
Definition kernwin.hpp:759
@ ui_dbg_set_trace_size
Definition kernwin.hpp:1114
@ ui_dbg_start_process
Definition kernwin.hpp:1087
@ ui_install_custom_datatype_menu
ui: install/remove custom data type menu item.
Definition kernwin.hpp:717
@ ui_open_url
ui: see open_url()
Definition kernwin.hpp:528
@ ui_dbg_get_trace_dynamic_register_set
Definition kernwin.hpp:1298
@ ui_ask_form
ui: see ask_form()/open_form()
Definition kernwin.hpp:478
@ ui_widget_invisible
TWidget is being closed.
Definition kernwin.hpp:577
@ ui_dbg_get_trace_platform
Definition kernwin.hpp:1250
@ ui_dbg_bring_to_front
Definition kernwin.hpp:1148
@ ui_dbg_set_bptloc_group
Definition kernwin.hpp:1259
@ ui_hexdumpea
ui: Return the current address in a hex view.
Definition kernwin.hpp:530
@ ui_dbg_request_clear_trace
Definition kernwin.hpp:1116
@ ui_dbg_srcdbg_request_step_over
Definition kernwin.hpp:1283
@ ui_get_renderer_type
ui: see get_view_renderer_type()
Definition kernwin.hpp:812
@ ui_dbg_modify_source_paths
Definition kernwin.hpp:1205
@ ui_get_item_hint
cb: ui wants to display multiline hint for an item.
Definition kernwin.hpp:589
@ ui_dbg_get_bpt_tev_ea
Definition kernwin.hpp:1139
@ ui_dbg_get_trace_base_address
Definition kernwin.hpp:1235
@ ui_get_chooser_item_attrs
cb: get item-specific attributes for a chooser.
Definition kernwin.hpp:705
@ ui_dbg_continue_backwards
Definition kernwin.hpp:1304
@ ui_dbg_get_grp_bpts
Definition kernwin.hpp:1263
@ ui_update_action_attr
ui: see Functions: update actions
Definition kernwin.hpp:896
@ ui_dbg_internal_get_elang
Definition kernwin.hpp:1252
@ ui_dbg_request_resume_thread
Definition kernwin.hpp:1161
@ ui_dbg_request_step_into
Definition kernwin.hpp:1100
@ ui_get_widget_title
ui: see get_widget_title()
Definition kernwin.hpp:915
@ ui_dbg_get_current_source_line
Definition kernwin.hpp:1278
@ ui_dbg_map_source_file_path
Definition kernwin.hpp:1204
@ ui_dbg_get_srcinfo_provider
Definition kernwin.hpp:1272
@ ui_dbg_request_set_func_trace_options
Definition kernwin.hpp:1134
@ ui_dbg_getn_bpt
Definition kernwin.hpp:1225
@ ui_dbg_resume_thread
Definition kernwin.hpp:1160
@ ui_dbg_request_set_resume_mode
Definition kernwin.hpp:1258
@ ui_update_file_history
ui: manipulate the file history
Definition kernwin.hpp:1025
@ ui_dbg_get_insn_tev_reg_val
Definition kernwin.hpp:1177
@ ui_dbg_get_tev_ea
Definition kernwin.hpp:1232
@ ui_dbg_check_bpt
Definition kernwin.hpp:1163
@ ui_dbg_get_ret_tev_return
Definition kernwin.hpp:1138
@ ui_dbg_request_suspend_thread
Definition kernwin.hpp:1159
@ ui_close_widget
ui: see close_widget()
Definition kernwin.hpp:556
@ ui_jumpto
ui: see jumpto(ea_t, int, int)
Definition kernwin.hpp:794
@ ui_dbg_get_tev_memory_info
Definition kernwin.hpp:1221
@ ui_chooser_default_enter
ui: jump to the address returned by get_ea() callback in the case of the non-modal choosers
Definition kernwin.hpp:953
@ ui_set_widget_config
cb: set the widget configuration
Definition kernwin.hpp:1006
@ ui_dbg_add_ret_tev
Definition kernwin.hpp:1241
@ ui_test_cancelled
ui: see user_cancelled()
Definition kernwin.hpp:472
@ ui_dbg_add_thread
Definition kernwin.hpp:1244
@ ui_dbg_end
Definition kernwin.hpp:1314
@ ui_register_action
ui: see register_action()
Definition kernwin.hpp:828
@ ui_dbg_hide_all_bpts
Definition kernwin.hpp:1170
@ ui_dbg_read_registers
Definition kernwin.hpp:1194
@ ui_add_idckey
ui: see add_idc_hotkey()
Definition kernwin.hpp:490
@ ui_ask_file
ui: see ask_file()
Definition kernwin.hpp:476
@ ui_refresh_chooser
ui: see refresh_chooser()
Definition kernwin.hpp:662
@ ui_obsolete_dbg_save_bpts
Definition kernwin.hpp:1185
@ ui_dbg_enable_bptgrp
Definition kernwin.hpp:1301
@ ui_dbg_enable_bpt
Definition kernwin.hpp:1199
@ ui_detach_action_from_menu
ui: see detach_action_from_menu()
Definition kernwin.hpp:837
@ ui_dbg_add_oldbpt
Definition kernwin.hpp:1108
@ ui_set_dock_pos
ui: see set_dock_pos()
Definition kernwin.hpp:713
@ ui_range
cb: The disassembly range has been changed ( idainfo::min_ea ... idainfo::max_ea).
Definition kernwin.hpp:368
@ ui_dbg_list_bptgrps
Definition kernwin.hpp:1260
@ ui_set_cancelled
ui: see set_cancelled()
Definition kernwin.hpp:470
@ ui_dbg_request_enable_step_trace
Definition kernwin.hpp:1119
@ ui_open_form
ui: see vopen_form()
Definition kernwin.hpp:796
@ ui_dbg_enable_insn_trace
Definition kernwin.hpp:1124
@ ui_get_viewer_place_type
ui: see get_viewer_place_type()
Definition kernwin.hpp:819
@ ui_dbg_get_insn_tev_reg_result
Definition kernwin.hpp:1178
@ ui_dbg_set_trace_dynamic_register_set
Definition kernwin.hpp:1297
@ ui_attach_dynamic_action_to_popup
ui: see create attach_dynamic_action_to_popup()
Definition kernwin.hpp:846
@ ui_get_widget_type
ui: see get_widget_type()
Definition kernwin.hpp:907
@ ui_postprocess_action
cb: an ida ui action has been handled
Definition kernwin.hpp:672
@ ui_ready_to_run
cb: all UI elements have been initialized.
Definition kernwin.hpp:652
@ ui_dbg_getn_thread_name
Definition kernwin.hpp:1287
@ ui_repaint_qwidget
ui: see repaint_custom_viewer()
Definition kernwin.hpp:786
@ ui_ask_text
ui: see ask_text()
Definition kernwin.hpp:480
@ ui_dbg_get_step_trace_options
Definition kernwin.hpp:1120
@ ui_refresh
ui: see refresh_idaview_anyway()
Definition kernwin.hpp:429
@ ui_plugin_unloading
cb: The plugin is about to be unloaded
Definition kernwin.hpp:904
@ ui_refreshmarked
ui: see refresh_idaview()
Definition kernwin.hpp:427
@ ui_dbg_get_event_cond
Definition kernwin.hpp:1197
@ ui_obsolete_get_user_strlist_options
ui: see get_user_strlist_options()
Definition kernwin.hpp:917
@ ui_create_custom_viewer
ui: see create_custom_viewer()
Definition kernwin.hpp:920
@ ui_get_output_selected_text
ui: see get_output_selected_text()
Definition kernwin.hpp:809
@ ui_process_action
ui: see process_ui_action()
Definition kernwin.hpp:745
@ ui_dbg_load_debugger
Definition kernwin.hpp:1154
@ ui_database_closed
cb: The database has been closed.
Definition kernwin.hpp:446
@ ui_dbg_request_step_into_backwards
Definition kernwin.hpp:1307
@ ui_msg_clear
ui: see msg_clear()
Definition kernwin.hpp:949
@ ui_dbg_get_next_module
Definition kernwin.hpp:1147
@ ui_dbg_set_reg_val
Definition kernwin.hpp:1175
@ ui_navband_ea
ui: see get_navband_ea
Definition kernwin.hpp:971
@ ui_widget_visible
TWidget is displayed on the screen.
Definition kernwin.hpp:565
@ ui_clr_cancelled
ui: see clr_cancelled()
Definition kernwin.hpp:468
@ ui_noabort
ui: Disable 'abort' menu item - the database was not compressed.
Definition kernwin.hpp:507
@ ui_dbg_get_func_trace_options
Definition kernwin.hpp:1132
@ ui_dbg_get_current_source_file
Definition kernwin.hpp:1277
@ ui_obsolete_refresh_custom_code_viewer
Definition kernwin.hpp:770
@ ui_dbg_get_debug_event
Definition kernwin.hpp:1151
@ ui_dbg_request_continue_backwards
Definition kernwin.hpp:1305
@ ui_create_menu
ui: see create_menu()
Definition kernwin.hpp:937
@ ui_dbg_internal_cleanup_appcall
Definition kernwin.hpp:1189
@ ui_dbg_load_trace_file
Definition kernwin.hpp:1213
@ ui_dbg_request_set_reg_val
Definition kernwin.hpp:1176
@ ui_create_toolbar
ui: see create_toolbar()
Definition kernwin.hpp:935
@ ui_dbg_enable_bblk_trace
Definition kernwin.hpp:1207
@ ui_get_icon_id_by_name
ui: see get_icon_id_by_name()
Definition kernwin.hpp:1064
@ ui_dbg_request_start_process
Definition kernwin.hpp:1088
@ ui_get_chooser_data
ui: see get_chooser_data()
Definition kernwin.hpp:940
@ ui_ask_str
ui: see ask_str()
Definition kernwin.hpp:482
@ ui_choose_bookmark
ui: modal chooser (legacy)
Definition kernwin.hpp:1040
@ ui_dbg_add_many_tevs
Definition kernwin.hpp:1246
@ ui_dbg_set_trace_base_address
Definition kernwin.hpp:1237
@ ui_preprocess_action
cb: ida ui is about to handle a user action.
Definition kernwin.hpp:666
@ ui_database_inited
cb: database initialization has completed.
Definition kernwin.hpp:644
@ ui_dbg_srcdbg_request_step_into
Definition kernwin.hpp:1281
@ ui_detach_action_from_popup
ui: see detach_action_from_popup()
Definition kernwin.hpp:843
@ ui_load_custom_icon
ui: see load_custom_icon(const void *, unsigned int, const char *)
Definition kernwin.hpp:741
@ ui_custom_viewer_set_userdata
ui: Change place_t user data for a custom view.
Definition kernwin.hpp:788
@ ui_get_output_cursor
ui: see get_output_cursor()
Definition kernwin.hpp:805
@ ui_dbg_srcdbg_step_over
Definition kernwin.hpp:1282
@ ui_dbg_clear_requests_queue
Definition kernwin.hpp:1085
@ ui_load_custom_icon_file
ui: see load_custom_icon(const char *)
Definition kernwin.hpp:738
@ ui_desktop_applied
cb: a desktop has been applied
Definition kernwin.hpp:1035
@ ui_initing_database
cb: database initialization has started.
Definition kernwin.hpp:1013
@ ui_msg
ui: Show a message in the message window.
Definition kernwin.hpp:457
@ ui_get_opnum
ui: see get_opnum()
Definition kernwin.hpp:715
@ ui_dbg_is_step_trace_enabled
Definition kernwin.hpp:1117
@ ui_navband_pixel
ui: see get_navband_pixel
Definition kernwin.hpp:970
@ ui_get_custom_viewer_hint
cb: ui wants to display a hint for a viewer (idaview or custom).
Definition kernwin.hpp:613
@ ui_ask_long
ui: see ask_long()
Definition kernwin.hpp:488
@ ui_dbg_get_manual_regions
Definition kernwin.hpp:1165
@ ui_dbg_handle_debug_event
Definition kernwin.hpp:1181
@ ui_ask_buttons
ui: see ask_yn() and ask_buttons()
Definition kernwin.hpp:474
@ ui_dbg_run_to
Definition kernwin.hpp:1103
@ ui_find_widget
ui: see find_widget()
Definition kernwin.hpp:560
@ ui_dbg_for_all_bpts
Definition kernwin.hpp:1231
@ ui_dbg_request_enable_func_trace
Definition kernwin.hpp:1131
@ ui_dbg_detach_process
Definition kernwin.hpp:1144
@ ui_show_rename_dialog
ui: undocumented
Definition kernwin.hpp:1032
@ ui_dbg_request_run_to_backwards
Definition kernwin.hpp:1311
@ ui_dbg_request_set_bblk_trace_options
Definition kernwin.hpp:1211
@ ui_dbg_set_step_trace_options
Definition kernwin.hpp:1121
@ ui_get_lines_rendering_info
cb: get lines rendering information
Definition kernwin.hpp:986
@ ui_setup_plugins_menu
ui: setup plugins submenu
Definition kernwin.hpp:537
@ ui_screenea
ui: see get_screen_ea()
Definition kernwin.hpp:411
@ ui_get_viewer_user_data
ui: see get_viewer_user_data()
Definition kernwin.hpp:816
@ ui_dbg_set_highlight_trace_options
Definition kernwin.hpp:1248
@ ui_dbg_del_bptgrp
Definition kernwin.hpp:1262
@ ui_dbg_rename_bptgrp
Definition kernwin.hpp:1261
@ ui_destroying_procmod
cb: The processor module is about to be destroyed
Definition kernwin.hpp:1018
@ ui_ask_seg
ui: see ask_seg()
Definition kernwin.hpp:486
@ ui_get_chooser_obj
ui: see get_chooser_obj()
Definition kernwin.hpp:700
@ ui_get_custom_viewer_place_xcoord
ui: see get_custom_viewer_place_xcoord()
Definition kernwin.hpp:1046
@ ui_set_custom_viewer_range
ui: set_custom_viewer_range()
Definition kernwin.hpp:641
@ ui_dbg_get_bpt_qty
Definition kernwin.hpp:1107
@ ui_dbg_set_debugger_options
Definition kernwin.hpp:1152
@ ui_attach_action_to_popup
ui: see attach_action_to_popup()
Definition kernwin.hpp:840
@ ui_dbg_get_current_thread
Definition kernwin.hpp:1149
@ ui_unmarksel
ui: see unmark_selection()
Definition kernwin.hpp:409
@ ui_dbg_set_bblk_trace_options
Definition kernwin.hpp:1210
@ ui_dbg_internal_ioctl
Definition kernwin.hpp:1191
@ ui_dbg_get_insn_trace_options
Definition kernwin.hpp:1126
@ ui_get_last_widget
ui: see get_last_widget()
Definition kernwin.hpp:1072
@ ui_dbg_bin_search
Definition kernwin.hpp:1288
@ ui_free_custom_icon
ui: see free_custom_icon()
Definition kernwin.hpp:743
@ ui_is_msg_inited
ui: see is_msg_inited()
Definition kernwin.hpp:455
@ ui_set_custom_viewer_handlers
ui: see set_custom_viewer_handlers()
Definition kernwin.hpp:929
@ ui_dbg_request_step_until_ret
Definition kernwin.hpp:1106
@ ui_dbg_choose_trace_file
Definition kernwin.hpp:1218
@ ui_dbg_get_processes
Definition kernwin.hpp:1141
@ ui_dbg_request_enable_insn_trace
Definition kernwin.hpp:1125
@ ui_dbg_set_bpt_group
Definition kernwin.hpp:1247
@ ui_dbg_get_running_request
Definition kernwin.hpp:1083
@ ui_get_curplace
ui: see get_custom_viewer_place(). See also ui_get_custom_viewer_location
Definition kernwin.hpp:553
@ ui_get_custom_viewer_location_2
ui: see get_custom_viewer_location()
Definition kernwin.hpp:1054
@ ui_install_cli
ui: see: install_command_interpreter(), remove_command_interpreter()
Definition kernwin.hpp:692
@ ui_get_kernel_version
ui: see get_kernel_version()
Definition kernwin.hpp:541
@ ui_strchoose
ui: undocumented
Definition kernwin.hpp:980
@ ui_dbg_get_global_var
Definition kernwin.hpp:1273
@ ui_dbg_get_bblk_trace_options
Definition kernwin.hpp:1209
@ ui_dbg_step_over
Definition kernwin.hpp:1101
@ ui_gen_idanode_text
cb: generate disassembly text for a node.
Definition kernwin.hpp:683
@ ui_dbg_is_busy
Definition kernwin.hpp:1169
bool unregister_action(const char *name)
Delete a previously-registered action (ui_unregister_action).
Definition kernwin.hpp:5151
bool is_chooser_widget(twidget_type_t t)
Does the given widget type specify a chooser widget?
Definition kernwin.hpp:2788
bool get_output_selected_text(qstring *buf)
Returns selected text from output window (ui_get_output_selected_text).
Definition kernwin.hpp:5905
THREAD_SAFE ssize_t execute_sync(exec_request_t &req, int reqf)
Execute code in the main thread.
Definition kernwin.hpp:5005
idaman void ida_export request_refresh(uint64 mask, bool cnd=true)
Request a refresh of a builtin window.
bool idaapi custom_viewer_keydown_t(TWidget *cv, int vk_key, int shift, void *ud)
The user has pressed a key.
Definition kernwin.hpp:4068
THREAD_SAFE qtimer_t register_timer(int interval_ms, int(idaapi *callback)(void *ud), void *ud)
Register a timer (ui_register_timer).
Definition kernwin.hpp:5107
int get_opnum()
Get current operand number, -1 means no operand (ui_get_opnum)
Definition kernwin.hpp:4905
idaman int64 pos
Definition kernwin.hpp:1365
idaman void ida_export hexplace_t__out_one_item(const hexplace_t *_this, outctx_base_t &ctx, const hexplace_gen_t *hg, int itemno, color_t *color, color_t patch_or_edit)
qvector< section_lines_refs_t > sections_lines_refs_t
Definition kernwin.hpp:2288
input_event_modifiers_t view_event_state_t
Definition kernwin.hpp:3909
vme_button_t
Represents mouse button for view_mouse_event_t objects.
Definition kernwin.hpp:118
@ VME_LEFT_BUTTON
left mouse button
Definition kernwin.hpp:120
@ VME_UNKNOWN
unknown mouse button
Definition kernwin.hpp:119
@ VME_RIGHT_BUTTON
right mouse button
Definition kernwin.hpp:121
@ VME_MID_BUTTON
middle mouse button
Definition kernwin.hpp:122
int idaapi custom_viewer_get_place_xcoord_t(TWidget *v, const place_t *pline, const place_t *pitem, void *ud)
Does the line pointed to by pline include pitem, and if so at what X coordinate?
Definition kernwin.hpp:4171
bool jumpto(ea_t ea, int opnum=-1, int uijmp_flags=UIJMP_ACTIVATE)
Jump to the specified address (ui_jumpto).
Definition kernwin.hpp:4863
int get_tab_size(const char *path)
Get the size of a tab in spaces (ui_get_tab_size).
Definition kernwin.hpp:6220
show_wait_box_v(format, va)
execute_sync_ctl_t
Definition kernwin.hpp:352
@ esctl_cancel_thread_requests
Definition kernwin.hpp:355
@ esctl_none
Definition kernwin.hpp:353
@ esctl_set_availability
Definition kernwin.hpp:356
@ esctl_cancel_request
Definition kernwin.hpp:354
void set_code_viewer_line_handlers(TWidget *code_viewer, code_viewer_lines_click_t *click_handler, code_viewer_lines_click_t *popup_handler, code_viewer_lines_click_t *dblclick_handler, code_viewer_lines_icon_t *drawicon_handler, code_viewer_lines_linenum_t *linenum_handler)
Set handlers for code viewer line events.
Definition kernwin.hpp:6171
bool idaapi custom_viewer_dblclick_t(TWidget *cv, int shift, void *ud)
The user double clicked.
Definition kernwin.hpp:4088
bool take_database_snapshot(snapshot_t *ss, qstring *err_msg)
Take a database snapshot (ui_take_database_snapshot).
Definition kernwin.hpp:5069
bool create_menu(const char *name, const char *label, const char *menupath=nullptr)
Create a menu with the given name, label and optional position, either in the menubar,...
Definition kernwin.hpp:5214
idaman uint64 ida_export get_dirty_infos()
Bitmask of builtin window types to be refreshed:
TWidget * find_widget(const char *caption)
Find widget with the specified caption (only gui version) (ui_find_widget).
Definition kernwin.hpp:5367
int idaapi obsolete_custom_viewer_help_t(TWidget *cv, void *ud)
Definition kernwin.hpp:4106
idaman callui_t idaman int ida_export init_database(int argc, const char *const *argv, int *newfile)
After calling init_kernel() the ui must call this function.
bool get_cursor(int *x, int *y)
Get the cursor position on the screen (ui_get_cursor).
Definition kernwin.hpp:4915
bool ui_load_new_file(qstring *temp_file, qstring *filename, linput_t **pli, ushort neflags, load_info_t **ploaders)
Display a load file dialog and load file (ui_load_file).
Definition kernwin.hpp:6255
void refresh_custom_viewer(TWidget *custom_viewer)
Refresh custom ida viewer (ui_refresh_custom_viewer)
Definition kernwin.hpp:5469
void refresh_navband(bool force)
Refresh navigation band if changed (ui_refresh_navband).
Definition kernwin.hpp:4963
ea_t get_navband_ea(int pixel)
Translate the pixel position on the navigation band, into an address.
Definition kernwin.hpp:6050
idaman lochist_entry_cvt2_t *ida_export lookup_loc_converter2(const char *p1, const char *p2)
Search for a place converter from lochist_entry_t's with places of type 'p1' to lochist_entry_t's wit...
void idaapi code_viewer_lines_click_t(TWidget *c, const place_t *p, int pos, int shift, void *ud)
The user clicked, right clicked or double clicked.
Definition kernwin.hpp:4242
CASSERT(sizeof(sync_source_t)==16)
idaman callui_t ida_export_data(idaapi *callui)(ui_notification_t what
Pointer to the user-interface dispatcher function.
bool set_dock_pos(const char *src_ctrl, const char *dest_ctrl, int orient, int left=0, int top=0, int right=0, int bottom=0)
Set the docking position of a widget (ui_set_dock_pos).
Definition kernwin.hpp:5018
bool create_toolbar(const char *name, const char *label, const char *before=nullptr, int flags=0)
Create a toolbar with the given name, label and optional position.
Definition kernwin.hpp:5171
void * get_viewer_user_data(TWidget *viewer)
Get the user data from a custom viewer (ui_get_viewer_user_data)
Definition kernwin.hpp:6154
void setup_range_marker()
Initialize pointer to idaview marker.
Definition kernwin.hpp:6344
bool restore_database_snapshot(const snapshot_t *ss, ss_restore_cb_t *cb, void *ud)
Restore a database snapshot.
Definition kernwin.hpp:5086
idaman size_t len
Definition kernwin.hpp:1356
THREAD_SAFE int execute_ui_requests(ui_requests_t *reqs)
Execute a list of UI requests (ui_execute_ui_requests_list).
Definition kernwin.hpp:4784
size_t const char * defval
Definition kernwin.hpp:7959
void install_command_interpreter(const cli_t *cp)
Install command line interpreter (ui_install_cli)
Definition kernwin.hpp:4982
action_ctx_base_t action_activation_ctx_t
Instances of this class will be filled with information that is commonly used by actions when they ne...
Definition kernwin.hpp:4600
bool msg_save(qstring &path)
Save the "Output" window contents into a file.
Definition kernwin.hpp:6011
void idaapi ss_restore_cb_t(const char *errmsg, void *ud)
Snapshot restoration completion callback. see restore_database_snapshot()
Definition kernwin.hpp:4479
idaman bool ida_export l_equals(const place_t *t1, const place_t *t2, void *ud)
void idaapi custom_viewer_adjust_place_t(TWidget *v, lochist_entry_t *loc, void *ud)
Fine-tune 'loc->place()' according to the X position (i.e., 'loc->renderer_info()....
Definition kernwin.hpp:4143
idaman int ida_export l_compare2(const place_t *t1, const place_t *t2, void *ud)
void clear_refresh_request(uint64 mask)
Definition kernwin.hpp:2641
idaman int ida_export_data errorexit
Exiting because of a a fatal error?
Definition kernwin.hpp:7065
idaman int ida_export get_place_class_id(const char *name)
Get the place class ID for the place that has been registered as 'name'.
void set_nav_colorizer(nav_colorizer_t **out_was_func, void **out_was_ud, nav_colorizer_t *func, void *ud)
Install new navigation band colorizer (ui_set_nav_colorizer).
Definition kernwin.hpp:3858
TWidget * get_last_widget(uint64 mask=uint64(-1))
Get last ida viewer (idaview or custom viewer) (ui_get_last_widget)
Definition kernwin.hpp:5923
bool delete_toolbar(const char *name)
Delete an existing toolbar.
Definition kernwin.hpp:5184
view_notification_t
Notification codes sent by the UI for IDAView or custom viewer events.
Definition kernwin.hpp:4015
@ view_switched
A view's renderer has changed.
Definition kernwin.hpp:4044
@ view_mouse_moved
The mouse moved on the view.
Definition kernwin.hpp:4059
@ view_mouse_over
The user moved the mouse over (or out of) a node or an edge.
Definition kernwin.hpp:4048
@ view_activated
A view is activated.
Definition kernwin.hpp:4016
@ view_dblclick
Double click event.
Definition kernwin.hpp:4031
@ view_deactivated
A view is deactivated.
Definition kernwin.hpp:4019
@ view_created
A view is being created.
Definition kernwin.hpp:4038
@ view_close
View closed.
Definition kernwin.hpp:4041
@ view_loc_changed
The location for the view has changed (can be either the place_t, the renderer_info_t,...
Definition kernwin.hpp:4053
@ view_click
Click event.
Definition kernwin.hpp:4027
@ view_curpos
Cursor position changed.
Definition kernwin.hpp:4035
@ view_keydown
Key down event.
Definition kernwin.hpp:4022
bool is_tif_cursor_index(tif_cursor_t c)
Definition kernwin.hpp:1889
bool detach_action_from_toolbar(const char *toolbar_name, const char *name)
Detach an action from the toolbar (ui_detach_action_from_toolbar).
Definition kernwin.hpp:5288
TWidget * get_active_modal_widget()
Get the current, active modal TWidget instance.
Definition kernwin.hpp:6033
THREAD_SAFE const char const char * Cancel
Definition kernwin.hpp:7746
THREAD_SAFE bool cancel_exec_request(int req_id)
Try to cancel an asynchronous exec request (ui_cancel_exec_request).
Definition kernwin.hpp:4810
twidget_type_t get_widget_type(TWidget *widget)
Get the type of the TWidget * (ui_get_widget_type).
Definition kernwin.hpp:5383
asize_t size
Definition kernwin.hpp:6339
int load_custom_icon(const char *file_name)
Load an icon from a file (ui_load_custom_icon_file).
Definition kernwin.hpp:5034
bool custom_viewer_jump(TWidget *v, const lochist_entry_t &loc, uint32 flags=0)
Append 'loc' to the viewer's history, and cause the viewer to display it.
Definition kernwin.hpp:5432
void mark_all_eaviews_for_refresh()
Tell UI to refresh all idaviews and hexviews.
Definition kernwin.hpp:6362
action_attr_t
Codes for getting/setting action attributes.
Definition kernwin.hpp:4712
@ AA_VISIBILITY
see update_action_visibility()
Definition kernwin.hpp:4721
@ AA_NONE
no effect
Definition kernwin.hpp:4713
@ AA_CHECKED
see update_action_checked()
Definition kernwin.hpp:4720
@ AA_ICON
see update_action_icon()
Definition kernwin.hpp:4717
@ AA_CHECKABLE
see update_action_checkable()
Definition kernwin.hpp:4719
@ AA_TOOLTIP
see update_action_tooltip()
Definition kernwin.hpp:4716
@ AA_LABEL
see update_action_label()
Definition kernwin.hpp:4714
@ AA_SHORTCUT
see update_action_shortcut()
Definition kernwin.hpp:4715
@ AA_STATE
see update_action_state()
Definition kernwin.hpp:4718
qvector< sync_source_t > sync_source_vec_t
Definition kernwin.hpp:2080
idaman const place_t *ida_export get_place_class(int *out_flags, int *out_sdk_version, int id)
Get information about a previously-registered place_t class.
bool get_widget_title(qstring *buf, TWidget *widget)
Get the TWidget's title (ui_get_widget_title).
Definition kernwin.hpp:5391
qvector< line_section_t > line_sections_t
Definition kernwin.hpp:2456
bool idaapi custom_viewer_help_t(qstring *out, TWidget *cv, void *ud)
Custom viewer: the user pressed F1 If true and out is filled, it will be considered either an absolut...
Definition kernwin.hpp:4113
DECLARE_TYPE_AS_MOVABLE(sync_source_t)
ssize_t get_kernel_version(char *buf, size_t bufsize)
Get IDA kernel version (in a string like "5.1").
Definition kernwin.hpp:1375
void idaapi custom_viewer_mouse_moved_t(TWidget *cv, int shift, view_mouse_event_t *e, void *ud)
The user moved the mouse.
Definition kernwin.hpp:4078
bool is_tif_cursor_footer(tif_cursor_t c)
Definition kernwin.hpp:1888
int choose_struc_path(const char *title, tid_t strid, uval_t offset, adiff_t delta, bool appzero, tid_t *path)
Get path to a structure offset (for nested structures/enums) (ui_choose, chtype_strpath).
Definition kernwin.hpp:6822
QT::QWidget TWidget
Definition kernwin.hpp:2024
ushort get_key_code(const char *keyname)
Get keyboard key code by its name (ui_get_key_code)
Definition kernwin.hpp:4949
idaman bool ida_export_data batch
If this variable is set, then dialog boxes will not appear on the screen.
Definition kernwin.hpp:7059
vshow_hex_file(li, pos, count, format, va)
bool get_action_shortcut(qstring *shortcut, const char *name)
Get an action's shortcut (ui_get_action_attr).
Definition kernwin.hpp:5728
bool parse_tagged_line_sections(tagged_line_sections_t *out, const char *line)
Collect tagged sections in a color-tagged line (produced by place_t::generate)
Definition kernwin.hpp:5951
tcc_place_type_t
TWidget place_t type.
Definition kernwin.hpp:108
@ TCCPT_PLACE
place_t
Definition kernwin.hpp:110
@ TCCPT_INVALID
invalid
Definition kernwin.hpp:109
@ TCCPT_SIMPLELINE_PLACE
simpleline_place_t
Definition kernwin.hpp:111
@ TCCPT_TIPLACE
tiplace_t
Definition kernwin.hpp:113
@ TCCPT_IDAPLACE
idaplace_t
Definition kernwin.hpp:112
TWidget * get_current_widget()
Get a pointer to the current widget (ui_get_current_widget).
Definition kernwin.hpp:5375
bool banner(int wait)
Show a banner dialog box (ui_banner).
Definition kernwin.hpp:4874
bool is_idaview(TWidget *v)
Is the given custom view an idaview? (ui_is_idaview)
Definition kernwin.hpp:6070
bool detach_action_from_menu(const char *menupath, const char *name)
Detach an action from the menu (ui_detach_action_from_menu).
Definition kernwin.hpp:5262
bool get_action_visibility(const char *name, bool *visibility)
Get an action's visibility (ui_get_action_attr).
Definition kernwin.hpp:5794
void set_view_renderer_type(TWidget *v, tcc_renderer_type_t rt)
Set the type of renderer to use in a view (ui_set_renderer_type)
Definition kernwin.hpp:5968
locchange_reason_t
Definition kernwin.hpp:4175
@ lcr_jump
Definition kernwin.hpp:4180
@ lcr_unknown
Definition kernwin.hpp:4176
@ lcr_internal
Definition kernwin.hpp:4183
@ lcr_auto_switch
Definition kernwin.hpp:4179
@ lcr_scroll
Definition kernwin.hpp:4182
@ lcr_user_switch
Definition kernwin.hpp:4178
@ lcr_goto
Definition kernwin.hpp:4177
@ lcr_navigate
Definition kernwin.hpp:4181
void open_url(const char *url)
Open the given url (ui_open_url)
Definition kernwin.hpp:4938
void mark_range_for_refresh(ea_t ea, asize_t size)
Inform the UI about any modifications of [ea, ea+size)
Definition kernwin.hpp:6353
THREAD_SAFE int cancel_thread_exec_requests(qthread_t tid)
Try to cancel asynchronous exec requests created by the specified thread.
Definition kernwin.hpp:4820
THREAD_SAFE const char const char int deflt
Definition kernwin.hpp:7747
bool is_ida_library(char *path=nullptr, size_t pathsize=0, void **handle=nullptr)
Definition kernwin.hpp:1382
TWidget * create_empty_widget(const char *title, int icon=-1)
Create an empty widget, serving as a container for custom user widgets.
Definition kernwin.hpp:5988
idaman DEPRECATED void ida_export ida_checkmem(const char *file, int line)
bool display_copyright_warning()
Display copyright warning (ui_copywarn).
Definition kernwin.hpp:6976
uint64 tif_cursor_t
A location in a tinfo_t.
Definition kernwin.hpp:1882
tcc_renderer_type_t get_view_renderer_type(TWidget *v)
Get the type of renderer currently in use in the given view (ui_get_renderer_type)
Definition kernwin.hpp:5960
struct __qtimer_t * qtimer_t
Timer opaque handle.
bool get_user_input_event(input_event_t *out)
Get the current user input event (mouse button press, key press, ...) It is sometimes desirable to be...
Definition kernwin.hpp:5884
bool detach_action_from_popup(TWidget *widget, const char *name)
Remove a previously-registered action, from the list of 'permanent' context menu actions for this wid...
Definition kernwin.hpp:5586
mbox_kind_t
see <loader.hpp>
Definition kernwin.hpp:38
@ mbox_warning
Definition kernwin.hpp:41
@ mbox_wait
Definition kernwin.hpp:48
@ mbox_info
Definition kernwin.hpp:40
@ mbox_internal
internal error
Definition kernwin.hpp:39
@ mbox_error
Definition kernwin.hpp:42
@ mbox_readerror
Definition kernwin.hpp:45
@ mbox_filestruct
Definition kernwin.hpp:47
@ mbox_hide
Definition kernwin.hpp:49
@ mbox_writeerror
Definition kernwin.hpp:46
@ mbox_replace
Definition kernwin.hpp:50
@ mbox_feedback
Definition kernwin.hpp:44
@ mbox_nomem
Definition kernwin.hpp:43
bool get_action_checked(const char *name, bool *checked)
Get an action's checked state (ui_get_action_attr).
Definition kernwin.hpp:5783
choose_type_t
List chooser types.
Definition kernwin.hpp:56
@ chtype_generic
the generic choose() function
Definition kernwin.hpp:57
@ chtype_func
see choose_func()
Definition kernwin.hpp:63
@ chtype_enum
see choose_enum()
Definition kernwin.hpp:69
@ chtype_idatil
see choose_til()
Definition kernwin.hpp:66
@ chtype_srcp
see choose_srcp()
Definition kernwin.hpp:67
@ chtype_name
see choose_name()
Definition kernwin.hpp:60
@ chtype_struct
see choose_struct()
Definition kernwin.hpp:68
@ chtype_enum_by_value_and_size
see choose_enum_by_value()
Definition kernwin.hpp:70
@ chtype_stkvar_xref
see choose_stkvar_xref()
Definition kernwin.hpp:61
@ chtype_xref
see choose_xref()
Definition kernwin.hpp:62
@ chtype_entry
see choose_entry()
Definition kernwin.hpp:59
@ chtype_segm
see choose_segm()
Definition kernwin.hpp:64
@ chtype_strpath
see choose_struc_path()
Definition kernwin.hpp:65
@ chtype_idasgn
see choose_idasgn()
Definition kernwin.hpp:58
DEPRECATED bool del_idc_hotkey(const char *hotkey)
Definition kernwin.hpp:8579
const synced_group_t * get_synced_group(const TWidget *w)
Get the group of widgets/registers this view is synchronized with.
Definition kernwin.hpp:4852
tcc_place_type_t get_viewer_place_type(TWidget *viewer)
Get the type of place_t instances a viewer uses & creates (ui_get_viewer_place_type).
Definition kernwin.hpp:6162
int hist
Definition kernwin.hpp:7879
bool get_highlight(qstring *out_str, TWidget *viewer, uint32 *out_flags, uint32 flags=0)
Get the highlighted identifier in the viewer (ui_get_highlight_2).
Definition kernwin.hpp:6317
bool sync_sources(const sync_source_t &what, const sync_source_t &with, bool sync)
[Un]synchronize sources
Definition kernwin.hpp:6654
bool is_action_enabled(action_state_t s)
Check if the given action state is one of AST_ENABLE*.
Definition kernwin.hpp:2930
void analyzer_options()
Allow the user to set analyzer options. (show a dialog box) (ui_analyzer_options)
Definition kernwin.hpp:4895
bool attach_action_to_popup(TWidget *widget, TPopupMenu *popup_handle, const char *name, const char *popuppath=nullptr, int flags=0)
Insert a previously-registered action into the widget's popup menu (ui_attach_action_to_popup).
Definition kernwin.hpp:5567
int idaapi buttoncb_t(int button_code, form_actions_t &fa)
Callback.
Definition kernwin.hpp:7722
action_state_t
Action states - returned by action_handler_t::update()
Definition kernwin.hpp:2910
@ AST_ENABLE_ALWAYS
enable action and do not call action_handler_t::update() anymore
Definition kernwin.hpp:2911
@ AST_ENABLE_FOR_WIDGET
enable action for the current widget.
Definition kernwin.hpp:2916
@ AST_DISABLE
analog of AST_ENABLE
Definition kernwin.hpp:2924
@ AST_DISABLE_FOR_IDB
analog of AST_ENABLE_FOR_IDB
Definition kernwin.hpp:2922
@ AST_DISABLE_ALWAYS
disable action and do not call action_handler_t::action() anymore
Definition kernwin.hpp:2921
@ AST_DISABLE_FOR_WIDGET
analog of AST_ENABLE_FOR_WIDGET
Definition kernwin.hpp:2923
@ AST_ENABLE
enable action - call action_handler_t::update() when anything changes
Definition kernwin.hpp:2919
@ AST_ENABLE_FOR_IDB
enable action for the current idb.
Definition kernwin.hpp:2913
THREAD_SAFE execute_sync_availability_t set_execute_sync_availability(qthread_t tid, execute_sync_availability_t availability)
Set the availability of the execute_sync functionality for the given thread.
Definition kernwin.hpp:4838
const char * get_curline()
Get current line from the disassemble window (ui_get_curline).
Definition kernwin.hpp:4933
action_ctx_base_t action_update_ctx_t
Instances of this class will be filled with information that is commonly used by actions when they ne...
Definition kernwin.hpp:3149
void idaapi custom_viewer_location_changed_t(TWidget *v, const lochist_entry_t *was, const lochist_entry_t *now, const locchange_md_t &md, void *ud)
The viewer's location (i.e., place, or cursor) changed.
Definition kernwin.hpp:4229
DEPRECATED void get_user_strlist_options(strwinsetup_t *out)
Definition kernwin.hpp:8575
bool register_action(const action_desc_t &desc)
Create a new action (ui_register_action).
Definition kernwin.hpp:5141
void refresh_idaview_anyway()
Refresh all disassembly views (ui_refresh), forces an immediate refresh.
Definition kernwin.hpp:4890
bool get_output_cursor(int *x, int *y)
Get coordinates of the output window's cursor (ui_get_output_cursor).
Definition kernwin.hpp:4926
qvector< simpleline_t > strvec_t
A collection of simple lines to populate a custom view.
Definition kernwin.hpp:1732
bool idaapi enable_chooser_item_attrs(const char *chooser_caption, bool enable)
Enable item-specific attributes for chooser items (ui_enable_chooser_item_attrs).
Definition kernwin.hpp:6898
bool get_action_state(const char *name, action_state_t *state)
Get an action's state (ui_get_action_attr).
Definition kernwin.hpp:5761
bool register_and_attach_to_menu(const char *menupath, const char *name, const char *label, const char *shortcut, int flags, action_handler_t *handler, void *owner, int action_desc_t_flags)
Helper.
Definition kernwin.hpp:5304
qvector< chooser_row_info_t > chooser_row_info_vec_t
Definition kernwin.hpp:3131
void msg_clear()
Clear the "Output" window.
Definition kernwin.hpp:5996
idaman NORETURN AS_PRINTF(1, 0) void ida_export verror(const char *format
See error()
idaman size_t ida_export hexplace_t__ea2str(char *buf, size_t bufsize, const hexplace_gen_t *hg, ea_t ea)
int twidget_type_t
Window types
Definition kernwin.hpp:2652
idaman void ida_export register_loc_converter2(const char *p1, const char *p2, lochist_entry_cvt2_t *cvt)
Register a converter, that will be used for the following reasons:
void close_widget(TWidget *widget, int options)
Close widget (ui_close_widget, only gui version).
Definition kernwin.hpp:5346
qvector< const twinline_t * > section_lines_refs_t
Definition kernwin.hpp:2287
ushort lookup_key_code(int key, int shift, bool is_qt)
Get shortcut code previously created by ui_get_key_code.
Definition kernwin.hpp:4957
void(idaapi *range_marker)(ea_t ea
Pointer to range marker function (for idaviews and hexviews) This pointer is initialized by setup_ran...
void gen_disasm_text(text_t &text, ea_t ea1, ea_t ea2, bool truncate_lines)
Generate disassembly text for a range.
Definition kernwin.hpp:4996
bool get_custom_viewer_location(lochist_entry_t *out, TWidget *custom_viewer, bool mouse=false)
Definition kernwin.hpp:5522
THREAD_SAFE void hide_wait_box()
Hide the "Please wait dialog box".
Definition kernwin.hpp:6946
navaddr_type_t
Definition kernwin.hpp:3825
@ nat_cod
Definition kernwin.hpp:3828
@ nat_err
Definition kernwin.hpp:3832
@ nat_last
Definition kernwin.hpp:3838
@ nat_hlo
Definition kernwin.hpp:3837
@ nat_cur
Definition kernwin.hpp:3834
@ nat_ext
Definition kernwin.hpp:3831
@ nat_gap
Definition kernwin.hpp:3833
@ nat_lum
Definition kernwin.hpp:3836
@ nat_und
Definition kernwin.hpp:3830
@ nat_auto
Definition kernwin.hpp:3835
@ nat_dat
Definition kernwin.hpp:3829
@ nat_lib
Definition kernwin.hpp:3826
@ nat_fun
Definition kernwin.hpp:3827
bool get_chooser_rows(chooser_row_info_vec_t *out, const char *chooser_caption, size_t what)
Get the chooser contents corresponding to the rows indicated by "what".
Definition kernwin.hpp:6881
qvector< twinline_t > text_t
A group of lines in a text window.
Definition kernwin.hpp:2178
void idaapi custom_viewer_close_t(TWidget *cv, void *ud)
Custom viewer is being destroyed.
Definition kernwin.hpp:4101
bool get_output_curline(qstring *buf, bool mouse)
Get current line of output window (ui_get_output_curline).
Definition kernwin.hpp:5895
custom_viewer_handler_id_t
Custom viewer & code viewer handler types.
Definition kernwin.hpp:3869
@ CDVH_LINES_ALIGNMENT
see set_code_viewer_lines_alignment()
Definition kernwin.hpp:3890
@ CDVH_LINES_CLICK
see code_viewer_lines_click_t
Definition kernwin.hpp:3883
@ CVH_KEYDOWN
see custom_viewer_keydown_t
Definition kernwin.hpp:3871
@ CDVH_USERDATA
see set_code_viewer_user_data()
Definition kernwin.hpp:3881
@ CDVH_LINES_POPUP
see code_viewer_lines_click_t
Definition kernwin.hpp:3885
@ CDVH_LINES_DRAWICON
see code_viewer_lines_icon_t
Definition kernwin.hpp:3886
@ CDVH_SRCVIEW
see set_code_viewer_is_source()
Definition kernwin.hpp:3882
@ CVH_CLICK
see custom_viewer_click_t
Definition kernwin.hpp:3876
@ CVH_DBLCLICK
see custom_viewer_dblclick_t
Definition kernwin.hpp:3873
@ CDVH_LINES_RADIX
see set_code_viewer_lines_radix()
Definition kernwin.hpp:3889
@ CVH_USERDATA
Definition kernwin.hpp:3870
@ CDVH_LINES_LINENUM
see code_viewer_lines_linenum_t
Definition kernwin.hpp:3887
@ CDVH_LINES_ICONMARGIN
see set_code_viewer_lines_icon_margin()
Definition kernwin.hpp:3888
@ CDVH_LINES_DBLCLICK
see code_viewer_lines_click_t
Definition kernwin.hpp:3884
@ CVH_POPUP
see custom_viewer_popup_t
Definition kernwin.hpp:3872
@ CVH_CURPOS
see custom_viewer_curpos_t
Definition kernwin.hpp:3874
@ CVH_MOUSEMOVE
see custom_viewer_mouse_moved_t
Definition kernwin.hpp:3879
@ CVH_HELP
see custom_viewer_help_t
Definition kernwin.hpp:3878
@ CVH_CLOSE
see custom_viewer_close_t
Definition kernwin.hpp:3875
@ CVH_QT_AWARE
see set_custom_viewer_qt_aware()
Definition kernwin.hpp:3877
void free_custom_icon(int icon_id)
Free an icon loaded with load_custom_icon() (ui_free_custom_icon).
Definition kernwin.hpp:5048
idaman int ida_export l_compare(const place_t *t1, const place_t *t2)
compare places and their lnnums
bool result
Definition kernwin.hpp:7890
bool attach_dynamic_action_to_popup(TWidget *unused, TPopupMenu *popup_handle, const action_desc_t &desc, const char *popuppath=nullptr, int flags=0, qstring *buf=nullptr)
Create & insert an action into the widget's popup menu (ui_attach_dynamic_action_to_popup).
Definition kernwin.hpp:5603
bool idaapi custom_viewer_click_t(TWidget *cv, int shift, void *ud)
The user clicked.
Definition kernwin.hpp:4083
const place_t * get_place_class_template(int id)
See get_place_class()
Definition kernwin.hpp:1993
void destroy_custom_viewer(TWidget *custom_viewer)
Destroy custom ida viewer.
Definition kernwin.hpp:5485
int code
Definition kernwin.hpp:7770
void refresh_idaview()
Refresh marked windows (ui_refreshmarked)
Definition kernwin.hpp:4884
bool close_chooser(const char *title)
Close a non-modal chooser (ui_close_chooser).
Definition kernwin.hpp:4977
idaman size_t const char * format
Definition kernwin.hpp:1357
DECLARE_LINEARRAY_HELPERS(idaman) class linearray_t
The group of lines corresponding to a single place within a view.
Definition kernwin.hpp:2194
int input_event_modifiers_t
Definition kernwin.hpp:3908
int cpidx_t
Definition kernwin.hpp:2434
bool get_action_icon(const char *name, int *icon)
Get an action's icon (ui_get_action_attr).
Definition kernwin.hpp:5750
define_place_exported_functions(idaplace_t) class idaplace_t define_place_exported_functions(hexplace_t) struct outctx_base_t
A location in a disassembly view.
void beep(beep_t beep_type=beep_default)
Issue a beeping sound (ui_beep).
Definition kernwin.hpp:6967
uint32 idaapi nav_colorizer_t(ea_t ea, asize_t nbytes, void *ud)
Navigation band colorizer function.
Definition kernwin.hpp:3853
bool place_t__deserialize(place_t *_this, const uchar **pptr, const uchar *end)
Definition kernwin.hpp:8561
bool get_ea_viewer_history_info(int *nback, int *nfwd, TWidget *v)
Get information about what's in the history (ui_ea_viewer_history_info).
Definition kernwin.hpp:5461
size_t max_size
Definition kernwin.hpp:7958
idaman NORETURN va_list va
Definition kernwin.hpp:1349
void idaapi custom_viewer_popup_t(TWidget *cv, void *ud)
The user right clicked. See ui_populating_widget_popup, too.
Definition kernwin.hpp:4073
int get_icon_id_by_name(const char *icon_name)
Retrieve the id of the icon by name (ui_get_icon_id_by_name).
Definition kernwin.hpp:5027
void * get_chooser_obj(const char *chooser_caption)
Get the underlying object of the specified chooser (ui_get_chooser_obj).
Definition kernwin.hpp:6857
bool is_place_class_ea_capable(int id)
See get_place_class()
Definition kernwin.hpp:2000
THREAD_SAFE bool is_msg_inited()
Can we use msg() functions?
Definition kernwin.hpp:4879
bool set_highlight(TWidget *viewer, const char *str, int flags)
Set the highlighted identifier in the viewer (ui_set_highlight).
Definition kernwin.hpp:6329
bool is_idaq()
Are we running inside IDA Qt?
Definition kernwin.hpp:5547
unsigned __int64 uint64
Definition llong.hpp:13
__int64 int64
Definition llong.hpp:14
uchar type_t
In serialized form, a type is represented by a byte sequence.
Definition nalt.hpp:1317
Definition kernwin.hpp:2021
idaman size_t const char time_t t
Definition pro.h:602
unsigned short uint16
unsigned 16 bit value
Definition pro.h:346
int bool
Definition pro.h:329
unsigned int uint32
unsigned 32 bit value
Definition pro.h:348
uint64 asize_t
Definition pro.h:423
uint32 bgcolor_t
background color in RGB
Definition pro.h:5012
qvector< size_t > sizevec_t
vector of sizes
Definition pro.h:2767
adiff_t sval_t
signed value used by the processor.
Definition pro.h:446
idaman THREAD_SAFE char *ida_export qstrncpy(char *dst, const char *src, size_t dstsize)
A safer strncpy - makes sure that there is a terminating zero.
int64 adiff_t
Definition pro.h:424
uint64 ea_t
Definition pro.h:421
int int32
signed 32 bit value
Definition pro.h:347
idaman THREAD_SAFE bool ida_export qsem_free(qsemaphore_t sem)
Free a semaphore.
unsigned char uchar
unsigned 8 bit value
Definition pro.h:337
THREAD_SAFE void qswap(T &a, T &b)
Swap 2 objects of the same type using memory copies.
Definition pro.h:1715
idaman size_t bufsize
Definition pro.h:600
uint64 sel_t
Definition pro.h:422
idaman THREAD_SAFE uint32 ida_export unpack_dd(const uchar **pptr, const uchar *end)
unpack a double word, see unpack_db()
unsigned int uint
unsigned 32 bit value
Definition pro.h:339
size_t diffpos_t
Definition pro.h:479
uval_t inode_t
The inode_t type is the specialization specific inode number.
Definition pro.h:464
uint64 flags64_t
64-bit flags for each address
Definition pro.h:5009
ptrdiff_t ssize_t
Signed size_t - used to check for size overflows when the counter becomes negative.
Definition pro.h:381
unsigned short ushort
unsigned 16 bit value
Definition pro.h:338
ea_t tid_t
type id (for enums, structs, etc)
Definition pro.h:5010
unsigned char uint8
unsigned 8 bit value
Definition pro.h:344
_qstring< char > qstring
regular string
Definition pro.h:3694
qvector< qstring > qstrvec_t
vector of strings
Definition pro.h:3697
Timer opaque handle.
Definition kernwin.hpp:5095
Definition kernwin.hpp:4500
twinpos_t to
end of selection
Definition kernwin.hpp:4502
void reset()
Definition kernwin.hpp:4505
twinpos_t from
start of selection
Definition kernwin.hpp:4501
Maintain information about the current state of the UI.
Definition kernwin.hpp:4518
ea_t cur_ea
the current EA of the position in the view
Definition kernwin.hpp:4572
const char * regname
register name (if widget_type == BWN_CPUREGS and context menu opened on register)
Definition kernwin.hpp:4582
bool has_flag(uint32 flag) const
Check if the given flag is set.
Definition kernwin.hpp:4570
const char * action
action name
Definition kernwin.hpp:4565
til_type_ref_t * type_ref
a reference to the current type (if 'widget' is a type listing widget; nullptr otherwise)
Definition kernwin.hpp:4592
TWidget * focus
The focused widget in case it is not the 'form' itself (e.g., the 'quick filter' input in choosers....
Definition kernwin.hpp:4584
interactive_graph_t * graph
the current graph (if in a graph view)
Definition kernwin.hpp:4586
uval_t cur_value
the possible address, or value the cursor is positioned on
Definition kernwin.hpp:4573
qstring widget_title
title of current widget
Definition kernwin.hpp:4561
func_t * cur_fchunk
the current function chunk
Definition kernwin.hpp:4576
action_ctx_base_cur_sel_t cur_sel
the currently selected range. also see ACF_HAS_SELECTION
Definition kernwin.hpp:4580
segment_t * cur_seg
the current segment
Definition kernwin.hpp:4578
uint32 cur_flags
Current address information. see Action context property bits.
Definition kernwin.hpp:4567
screen_graph_selection_t * graph_selection
the current graph selection (if in a graph view)
Definition kernwin.hpp:4587
const selection_item_t * hovered
the current item being hovered (if in a graph view)
Definition kernwin.hpp:4588
action_ctx_base_t()
Constructor.
Definition kernwin.hpp:4520
chooser_base_t * chooser
the underlying chooser_base_t (if 'widget' is a chooser widget)
Definition kernwin.hpp:4562
twidget_type_t widget_type
type of current widget
Definition kernwin.hpp:4560
TWidget * widget
Definition kernwin.hpp:4559
sizevec_t chooser_selection
current chooser selection (0-based)
Definition kernwin.hpp:4563
dirtree_selection_t * dirtree_selection
the current dirtree_t selection (if applicable)
Definition kernwin.hpp:4590
func_t * cur_func
the current function
Definition kernwin.hpp:4575
void reset()
Invalidate all context info.
Definition kernwin.hpp:4536
Describe an action to be registered (see register_action())
Definition kernwin.hpp:4650
const char * tooltip
an optional tooltip for the action
Definition kernwin.hpp:4667
action_handler_t * handler
the action handler, for activating/updating.
Definition kernwin.hpp:4659
const char * shortcut
an optional shortcut definition. E.g., "Ctrl+Enter"
Definition kernwin.hpp:4666
const void * owner
either the plugin_t, or plugmod_t responsible for registering the action.
Definition kernwin.hpp:4662
int icon
an optional icon ID to use
Definition kernwin.hpp:4668
int flags
See Action flags.
Definition kernwin.hpp:4689
Manages the behavior of a registered action.
Definition kernwin.hpp:4615
virtual action_state_t idaapi update(action_update_ctx_t *ctx)=0
Update an action.
virtual int idaapi activate(action_activation_ctx_t *ctx)=0
Activate an action.
action_handler_t(int _f=0)
Constructor.
Definition kernwin.hpp:4619
Information about an installed add-on (e.g. a plugin)
Definition kernwin.hpp:8035
addon_info_t()
Constructor.
Definition kernwin.hpp:8047
const char * name
Definition kernwin.hpp:8038
const char * id
Definition kernwin.hpp:8037
size_t cb
Definition kernwin.hpp:8036
size_t custom_size
Definition kernwin.hpp:8044
const char * url
Definition kernwin.hpp:8041
const char * producer
Definition kernwin.hpp:8039
const char * freeform
Definition kernwin.hpp:8042
const char * version
Definition kernwin.hpp:8040
const void * custom_data
Definition kernwin.hpp:8043
Chooser object. chooser.
Definition kernwin.hpp:3176
int icon
default icon
Definition kernwin.hpp:3211
bool can_sort() const
Definition kernwin.hpp:3360
bool can_edit() const
Definition kernwin.hpp:3309
int width
(in chars)
Definition kernwin.hpp:3195
void init_popup_names(const char *const default_popup_names[NSTDPOPUPS])
Definition kernwin.hpp:3428
void set_ask_item_attrs(bool enable)
enable or disable generation of ui_get_chooser_item_attrs events
Definition kernwin.hpp:3342
int x1
Definition kernwin.hpp:3193
virtual size_t idaapi get_count() const =0
get the number of elements in the chooser
uint16 flags2
Extended chooser flags
Definition kernwin.hpp:3183
bool ask_item_attrs() const
should chooser generate ui_get_chooser_item_attrs events?
Definition kernwin.hpp:3333
bool can_del() const
Definition kernwin.hpp:3308
bool can_refresh() const
Definition kernwin.hpp:3310
int columns
number of columns
Definition kernwin.hpp:3201
uint8 version
version of the class
Definition kernwin.hpp:3181
bool can_ins() const
is an operation allowed?
Definition kernwin.hpp:3307
int y1
Definition kernwin.hpp:3194
bool should_rename_trigger_edit() const
Definition kernwin.hpp:3364
uint get_builtin_number() const
get number of the built-in chooser
Definition kernwin.hpp:3337
int y0
Definition kernwin.hpp:3192
cbres_t
return value of ins(), del(), edit(), enter(), refresh() callbacks
Definition kernwin.hpp:3416
@ NOTHING_CHANGED
Definition kernwin.hpp:3417
@ SELECTION_CHANGED
Definition kernwin.hpp:3419
@ ALL_CHANGED
Definition kernwin.hpp:3418
bool is_quick_filter_visible_initially() const
Definition kernwin.hpp:3352
virtual const void * get_obj_id(size_t *len) const
get the id of the chooser data.
Definition kernwin.hpp:3289
uint32 flags
Generic chooser flags
Definition kernwin.hpp:3184
bool has_widget_lifecycle() const
should chooser object be deleted when the widget gets destroyed?
Definition kernwin.hpp:3329
virtual bool idaapi init()
initialize the chooser and populate it.
Definition kernwin.hpp:3374
virtual void idaapi get_row(qstrvec_t *out, int *out_icon, chooser_item_attrs_t *out_attrs, size_t n) const =0
get a description of an element.
bool has_inode_to_index() const
Definition kernwin.hpp:3370
bool is_lazy_loaded() const
Definition kernwin.hpp:3368
int deflt_col
Column that will have focus.
Definition kernwin.hpp:3246
int height
(in chars)
Definition kernwin.hpp:3196
virtual ea_t idaapi get_ea(size_t) const
get the address of an element.
Definition kernwin.hpp:3403
bool is_force_default() const
should selection of the already opened non-modal chooser be changed?
Definition kernwin.hpp:3335
bool can_filter() const
Definition kernwin.hpp:3362
@ POPUP_INS
Definition kernwin.hpp:3236
@ POPUP_REFRESH
Definition kernwin.hpp:3236
@ NSTDPOPUPS
Definition kernwin.hpp:3236
@ POPUP_EDIT
Definition kernwin.hpp:3236
@ POPUP_DEL
Definition kernwin.hpp:3236
bool is_dirtree_persisted() const
Definition kernwin.hpp:3366
qstring popup_names[NSTDPOPUPS]
array of custom labels of the standard actions.
Definition kernwin.hpp:3244
chooser_base_t(uint32 flags_=0, int columns_=0, const int *widths_=nullptr, const char *const *header_=nullptr, const char *title_=nullptr, uint16 flags2_=0)
Definition kernwin.hpp:3248
const char *const * header
header line; contains the tooltips, and column name for each of 'columns' columns.
Definition kernwin.hpp:3205
int x0
screen position, Functions: generic list choosers
Definition kernwin.hpp:3191
const int * widths
column widths
Definition kernwin.hpp:3202
const char * title
menu title (includes ptr to help).
Definition kernwin.hpp:3198
Chooser item attributes.
Definition kernwin.hpp:3086
bgcolor_t color
item color
Definition kernwin.hpp:3091
void reset()
Definition kernwin.hpp:3096
int flags
Chooser item property bits
Definition kernwin.hpp:3090
int cb
size of this structure.
Definition kernwin.hpp:3087
chooser_item_attrs_t()
Definition kernwin.hpp:3092
The chooser object with multi-selection.
Definition kernwin.hpp:3605
virtual size_t idaapi inode_to_index(inode_t) const newapi
Map an a dirtree_t inode to the index This will be used only if CH_HAS_DIRTREE and CH2_HAS_INODE2INDE...
Definition kernwin.hpp:3739
virtual cbres_t idaapi del(sizevec_t *) new api
User deleted elements.
Definition kernwin.hpp:3650
virtual cbres_t idaapi ins(sizevec_t *) new api
User asked to insert an element.
Definition kernwin.hpp:3642
virtual inode_t idaapi index_to_inode(size_t) const newapi
Map an item index to a dirtree_t inode This is necessary only if CH_HAS_DIRTREE is specified.
Definition kernwin.hpp:3694
virtual cbres_t idaapi refresh(sizevec_t *) new api
The chooser needs to be refreshed.
Definition kernwin.hpp:3675
chooser_multi_t(uint32 flags_=0, int columns_=0, const int *widths_=nullptr, const char *const *header_=nullptr, const char *title_=nullptr, uint16 flags2_=0)
Definition kernwin.hpp:3606
typedef cbres_t(idaapi chooser_multi_t::*cb_t)(sizevec_t *sel)
Type of ins(), del(), edit(), enter(), refresh() callbacks.
virtual diffpos_t idaapi index_to_diffpos(size_t) const newapi
Map an item index to a diffpos_t This is necessary only if CH_HAS_DIFF is specified.
Definition kernwin.hpp:3700
virtual bool idaapi get_stdact_descs(chooser_stdact_desc_t *[NSTDPOPUPS]) new api
Get the description of the standard chooser actions.
Definition kernwin.hpp:3711
virtual dirtree_t *idaapi get_dirtree() new api
get the dirtree_t that will be used to present a tree-like structure to the user (see CH_HAS_DIRTREE)
Definition kernwin.hpp:3688
virtual bool idaapi do_lazy_load_dir(dirtree_t *, const qstring &) new api
Callback for lazy-loaded, dirtree-based choosers; the function will be called when a folder is expand...
Definition kernwin.hpp:3726
Row data returned by get_chooser_rows().
Definition kernwin.hpp:3113
chooser_item_attrs_t attrs
styling attributes
Definition kernwin.hpp:3115
bool operator!=(const chooser_row_info_t &other) const
Definition kernwin.hpp:3125
int icon
icon number
Definition kernwin.hpp:3116
qstrvec_t texts
texts, one per chooser column
Definition kernwin.hpp:3114
Definition kernwin.hpp:3151
virtual action_state_t idaapi ucb(action_update_ctx_t *)
the update callback, see action_handler_t::update() When the update callback is called from the choos...
Definition kernwin.hpp:3168
int icon
Definition kernwin.hpp:3155
const char * label
see action_desc_t
Definition kernwin.hpp:3153
int version
to support the backward compatibility
Definition kernwin.hpp:3152
chooser_stdact_desc_t(const char *_label=nullptr, const char *_tooltip=nullptr, int _icon=-1)
Definition kernwin.hpp:3157
const char * tooltip
Definition kernwin.hpp:3154
Return value of ins(), del(), edit(), enter(), refresh() callbacks.
Definition kernwin.hpp:3446
The chooser object without multi-selection.
Definition kernwin.hpp:3443
virtual inode_t idaapi index_to_inode(size_t) const newapi
Map an item index to a dirtree_t inode This is necessary only if CH_HAS_DIRTREE is specified.
Definition kernwin.hpp:3537
virtual cbret_t idaapi refresh(ssize_t n) new api
The chooser needs to be refreshed.
Definition kernwin.hpp:3518
virtual diffpos_t idaapi index_to_diffpos(size_t) const newapi
Map an item index to a diffpos_t This is necessary only if CH_HAS_DIFF is specified.
Definition kernwin.hpp:3543
virtual cbret_t idaapi del(size_t) new api
User deleted an element.
Definition kernwin.hpp:3494
virtual cbret_t idaapi ins(ssize_t) new api
User asked to insert an element.
Definition kernwin.hpp:3488
chooser_t(uint32 flags_=0, int columns_=0, const int *widths_=nullptr, const char *const *header_=nullptr, const char *title_=nullptr, uint16 flags2_=0)
Definition kernwin.hpp:3454
virtual size_t idaapi inode_to_index(inode_t) const newapi
Map an a dirtree_t inode to the index This will be used only if CH_HAS_DIRTREE and CH2_HAS_INODE2INDE...
Definition kernwin.hpp:3582
virtual cbret_t idaapi enter(size_t n) new api
User pressed the enter key.
Definition kernwin.hpp:3507
virtual dirtree_t *idaapi get_dirtree() new api
get the dirtree_t that will be used to present a tree-like structure to the user (see CH_HAS_DIRTREE)
Definition kernwin.hpp:3531
virtual bool idaapi get_stdact_descs(chooser_stdact_desc_t *[NSTDPOPUPS]) new api
Get the description of the standard chooser actions.
Definition kernwin.hpp:3554
virtual bool idaapi do_lazy_load_dir(dirtree_t *, const qstring &) new api
Callback for lazy-loaded, dirtree-based choosers; the function will be called when a folder is expand...
Definition kernwin.hpp:3569
typedef cbret_t(idaapi chooser_t::*cb_t)(size_t n)
Type of ins(), del(), edit(), enter(), refresh() callbacks.
virtual cbret_t idaapi edit(size_t) new api
User asked to edit an element.
Definition kernwin.hpp:3500
Command line interpreter.
Definition kernwin.hpp:4326
qstrvec_t qstrvec_t * out_docs
Definition kernwin.hpp:4382
int * p_x
Definition kernwin.hpp:4357
const char * lname
long name (displayed in the menu)
Definition kernwin.hpp:4335
const char * sname
short name (displayed on the button)
Definition kernwin.hpp:4334
qstrvec_t * out_hints
Definition kernwin.hpp:4381
qstrvec_t qstrvec_t int int const char int x
Definition kernwin.hpp:4386
int int * p_sellen
Definition kernwin.hpp:4358
const char * hint
hint for the input line
Definition kernwin.hpp:4336
int int int int shift
Definition kernwin.hpp:4360
int int int * p_vk_key
Definition kernwin.hpp:4359
qstrvec_t qstrvec_t int int * out_match_end
Definition kernwin.hpp:4384
qstrvec_t qstrvec_t int * out_match_start
Definition kernwin.hpp:4383
qstrvec_t qstrvec_t int int const char * line
Definition kernwin.hpp:4385
Definition dirtree.hpp:177
Execute code in the main thread - to be used with execute_sync().
Definition kernwin.hpp:4426
qsemaphore_t sem
semaphore to communicate with the main thread.
Definition kernwin.hpp:4437
ssize_t code
temporary location, used internally
Definition kernwin.hpp:4436
virtual ssize_t idaapi execute()=0
Callback to be executed.
Definition kernwin.hpp:1788
virtual void get_encoding(qstring *out) const =0
virtual data_kind_t get_data_kind() const =0
virtual int get_bytes_per_item() const =0
virtual bool is_edited_byte(ea_t ea, uint64 *out_value=nullptr) const =0
virtual ea_t get_cur_item_ea() const =0
virtual byte_kind_t get_byte_value(ea_t ea, uint64 *out_value, bool *out_edited) const =0
virtual int get_item_width(ea_t ea) const =0
virtual int get_line_len(ea_t ea) const =0
virtual bool is_editing_text() const =0
virtual void get_cur_item_text(qstring *out) const =0
virtual bool has_central_separator() const =0
data_kind_t
Definition kernwin.hpp:1791
@ dk_float
Definition kernwin.hpp:1792
@ dk_addr_text
Definition kernwin.hpp:1795
@ dk_addr_names
Definition kernwin.hpp:1794
@ dk_int
Definition kernwin.hpp:1793
virtual bool show_text() const =0
bool is_addr_kind() const
Definition kernwin.hpp:1834
virtual bool is_curitem_changed() const =0
int_format_t
Definition kernwin.hpp:1798
@ if_hex
Definition kernwin.hpp:1799
@ if_signed
Definition kernwin.hpp:1800
@ if_unsigned
Definition kernwin.hpp:1801
virtual int get_alignment() const =0
virtual int get_bitness() const =0
byte_kind_t
Definition kernwin.hpp:1805
@ BK_VALID
Definition kernwin.hpp:1806
@ BK_NOVALUE
Definition kernwin.hpp:1808
@ BK_INVALIDADDR
Definition kernwin.hpp:1807
virtual bool show_segaddr() const =0
virtual int_format_t get_int_format() const =0
virtual bool is_editing() const =0
virtual int get_items_per_line() const =0
Definition kernwin.hpp:2340
line_rendering_output_entry_t(const twinline_t *_line, uint32 _flags=0, bgcolor_t _bg_color=0)
Definition kernwin.hpp:2363
const twinline_t * line
Definition kernwin.hpp:2341
bool operator==(const line_rendering_output_entry_t &r) const
Definition kernwin.hpp:2373
bool is_bg_color_key() const
Definition kernwin.hpp:2370
uint32 flags
line_rendering_output_entry_t flags
Definition kernwin.hpp:2342
bool is_bg_color_empty() const
Definition kernwin.hpp:2369
bool operator!=(const line_rendering_output_entry_t &r) const
Definition kernwin.hpp:2383
bgcolor_t bg_color
Definition kernwin.hpp:2358
int cpx
number of char to start from, valid if LROEF_CPS_RANGE
Definition kernwin.hpp:2360
int nchars
chars count, valid if LROEF_CPS_RANGE
Definition kernwin.hpp:2361
Definition kernwin.hpp:2438
bool is_closed() const
Definition kernwin.hpp:2449
cplen_t length
Definition kernwin.hpp:2440
bool is_open() const
Definition kernwin.hpp:2448
bool contains(cpidx_t x) const
Definition kernwin.hpp:2443
bool operator==(const line_section_t &r) const
Definition kernwin.hpp:2452
cpidx_t start
Definition kernwin.hpp:2439
bool valid() const
Definition kernwin.hpp:2450
Definition kernwin.hpp:2391
void clear()
Definition kernwin.hpp:2400
uint32 flags
Definition kernwin.hpp:2393
line_rendering_output_entries_refs_t entries
Definition kernwin.hpp:2392
Holds (live) data about a location being displayed in a listing.
Definition kernwin.hpp:2622
List of loaders.
Definition loader.hpp:226
Ignores range_marker during the lifetime of the object.
Definition kernwin.hpp:6371
range_marker_suspender_t()
Definition kernwin.hpp:6373
Vector of range_t instances.
Definition range.hpp:93
Information about a position relative to the renderer.
Definition kernwin.hpp:3951
short sx
the number of chars that are scrolled (flat mode only)
Definition kernwin.hpp:3967
short cy
the Y coords of the character.
Definition kernwin.hpp:3963
short cx
the X coords of the character in the current line.
Definition kernwin.hpp:3958
int node
the node, or -1 if the current renderer is not a graph renderer.
Definition kernwin.hpp:3955
renderer_pos_info_t()
Constructor.
Definition kernwin.hpp:3953
Element of a graph selection - could be a node or edge layout point.
Definition graph.hpp:424
The values of the segment registers are kept as address ranges.
Definition segregs.hpp:40
Map strings to integer values - see strarray()
Definition kernwin.hpp:8143
Structure to keep string list parameters.
Definition strlist.hpp:27
Definition kernwin.hpp:2083
Definition kernwin.hpp:2468
color_t tag
Definition kernwin.hpp:2474
struct tagged_line_section_t::@234363117142122123010107076233017075243326343142 byte_offsets
bool operator!=(const tagged_line_section_t &r) const
Definition kernwin.hpp:2485
int text_end
Definition kernwin.hpp:2472
bool valid_in(const qstring &in) const
Definition kernwin.hpp:2495
int text_start
Definition kernwin.hpp:2471
tagged_line_section_t()
Definition kernwin.hpp:2476
bool valid() const
Definition kernwin.hpp:2487
Definition kernwin.hpp:2527
const tagged_line_section_t * nearest_at(cpidx_t x, color_t tag=0) const
Definition kernwin.hpp:2551
void sections_at(tagged_line_sections_t *out, cpidx_t x, color_t tag=0) const
Definition kernwin.hpp:2536
Multi line text control, used to embed a text control in a form.
Definition kernwin.hpp:3751
uint16 flags
Text control property bits
Definition kernwin.hpp:3754
uint16 tabsize
how many spaces a single tab will indent
Definition kernwin.hpp:3768
size_t cb
size of this structure
Definition kernwin.hpp:3752
textctrl_info_t()
Constructor.
Definition kernwin.hpp:3769
Type Information Library.
Definition typeinf.hpp:725
Definition typeinf.hpp:6710
Information about a mouse action within a view.
Definition kernwin.hpp:3991
view_event_state_t state
contains information about what buttons are CURRENTLY pressed on the keyboard and mouse.
Definition kernwin.hpp:4000
renderer_pos_info_t renderer_pos
position where event was generated, relative to the renderer
Definition kernwin.hpp:4008
vme_button_t button
represents which mouse button was responsible for generating the event.
Definition kernwin.hpp:4005
Callui return codes.
Definition kernwin.hpp:322
char i8
Definition kernwin.hpp:324
ushort u16
Definition kernwin.hpp:329
uchar u8
Definition kernwin.hpp:328
bool cnd
Definition kernwin.hpp:323
plugin_t * pluginptr
Definition kernwin.hpp:336
char * cptr
Definition kernwin.hpp:331
short i16
Definition kernwin.hpp:326
void * vptr
Definition kernwin.hpp:332
uint32 u32
Definition kernwin.hpp:330
sreg_range_t * sraptr
Definition kernwin.hpp:337
int32 i32
Definition kernwin.hpp:327
func_t * fptr
Definition kernwin.hpp:334
int i
Definition kernwin.hpp:325
segment_t * segptr
Definition kernwin.hpp:335
ssize_t ssize
Definition kernwin.hpp:333
Abstraction of location in flat view/graph views (out of 'view_mouse_event_t' to make it easy for SWi...
Definition kernwin.hpp:3982