IDA C++ SDK 9.2
Loading...
Searching...
No Matches
entry.hpp
Go to the documentation of this file.
1/*
2 * Interactive disassembler (IDA).
3 * Copyright (c) 1990-2025 Hex-Rays
4 * ALL RIGHTS RESERVED.
5 *
6 */
7
8#ifndef _ENTRY_HPP
9#define _ENTRY_HPP
10
23
25
26idaman size_t ida_export get_entry_qty(void);
27
31#define AEF_UTF8 0x0
32#define AEF_IDBENC 0x1
35#define AEF_NODUMMY 0x2
37#define AEF_WEAK 0x4
38#define AEF_NOFORCE 0x8
42
43
50// This behaviour can be overwritten by AEF_NOFORCE.
51// If name == nullptr, then the old name will be retained.
56
57idaman bool ida_export add_entry(uval_t ord, ea_t ea, const char *name, bool makecode, int flags=AEF_UTF8);
58
59
64
65idaman uval_t ida_export get_entry_ordinal(size_t idx);
66
67
71
72idaman ea_t ida_export get_entry(uval_t ord);
73
74
79
80idaman ssize_t ida_export get_entry_name(qstring *buf, uval_t ord);
81
82
90
91idaman bool ida_export rename_entry(uval_t ord, const char *name, int flags=AEF_UTF8);
92
93
99
100idaman bool ida_export set_entry_forwarder(uval_t ord, const char *name, int flags=AEF_UTF8);
101
102
107
108idaman ssize_t ida_export get_entry_forwarder(qstring *buf, uval_t ord);
109
110
111#endif // _ENTRY_HPP
idaman ea_t ida_export get_entry(uval_t ord)
Get entry point address by its ordinal.
idaman size_t ida_export get_entry_qty(void)
Get number of entry points.
idaman bool ida_export add_entry(uval_t ord, ea_t ea, const char *name, bool makecode, int flags=AEF_UTF8)
Add an entry point to the list of entry points.
idaman ssize_t ida_export get_entry_name(qstring *buf, uval_t ord)
Get name of the entry point by its ordinal.
idaman uval_t ida_export get_entry_ordinal(size_t idx)
Get ordinal number of an entry point.
idaman ssize_t ida_export get_entry_forwarder(qstring *buf, uval_t ord)
Get forwarder name for the entry point by its ordinal.
idaman bool ida_export rename_entry(uval_t ord, const char *name, int flags=AEF_UTF8)
Rename entry point.
idaman bool ida_export set_entry_forwarder(uval_t ord, const char *name, int flags=AEF_UTF8)
Set forwarder name for ordinal.
uval_t uval_t
Definition kernwin.hpp:1878
uint64 ea_t
Definition pro.h:421
ptrdiff_t ssize_t
Signed size_t - used to check for size overflows when the counter becomes negative.
Definition pro.h:381
_qstring< char > qstring
regular string
Definition pro.h:3694