IDA C++ SDK 9.2
|
Topics | |
Set compiler flags |
Typedefs | |
typedef qvector< comp_t > | compvec_t |
Collection of compiler descriptions. |
Functions | |
THREAD_SAFE comp_t | get_comp (comp_t comp) |
Get compiler bits. | |
idaman const char *ida_export | get_compiler_name (comp_t id) |
Get full compiler name. | |
idaman const char *ida_export | get_compiler_abbr (comp_t id) |
Get abbreviated compiler name. | |
idaman void ida_export | get_compilers (compvec_t *ids, qstrvec_t *names, qstrvec_t *abbrs) |
Get names of all built-in compilers. | |
THREAD_SAFE comp_t | is_comp_unsure (comp_t comp) |
See COMP_UNSURE. | |
comp_t | default_compiler () |
Get compiler specified by inf.cc. | |
bool | is_gcc () |
Is the target compiler COMP_GNU? | |
bool | is_gcc32 () |
Is the target compiler 32 bit gcc? | |
bool | is_gcc64 () |
Is the target compiler 64 bit gcc? | |
bool | gcc_layout () |
Should use the struct/union layout as done by gcc? | |
idaman bool ida_export | set_compiler (const compiler_info_t &cc, int flags, const char *abiname=nullptr) |
Change current compiler. | |
bool idaapi | set_compiler_id (comp_t id, const char *abiname=nullptr) |
Set the compiler id (see Compiler IDs) | |
bool idaapi | set_abi_name (const char *abiname, bool user_level=false) |
Set abi name (see Compiler IDs) | |
idaman ssize_t ida_export | get_abi_name (qstring *out) |
Get ABI name. | |
idaman bool ida_export | append_abi_opts (const char *abi_opts, bool user_level=false) |
Add/remove/check ABI option General form of full abi name: abiname-opt1-opt2-... or -opt1-opt2-... | |
idaman bool ida_export | remove_abi_opts (const char *abi_opts, bool user_level=false) |
idaman bool ida_export | set_compiler_string (const char *compstr, bool user_level) |
bool | use_golang_cc () |
is GOLANG calling convention used by default? | |
void | switch_to_golang () |
switch to GOLANG calling convention (to be used as default CC) |
idaman const char *ida_export get_compiler_name | ( | comp_t | id | ) |
Get full compiler name.
idaman const char *ida_export get_compiler_abbr | ( | comp_t | id | ) |
Get abbreviated compiler name.
Get names of all built-in compilers.
See COMP_UNSURE.
|
inline |
Is the target compiler 32 bit gcc?
|
inline |
Is the target compiler 64 bit gcc?
|
inline |
Should use the struct/union layout as done by gcc?
idaman bool ida_export set_compiler | ( | const compiler_info_t & | cc, |
int | flags, | ||
const char * | abiname = nullptr ) |
Change current compiler.
cc | compiler to switch to |
flags | Set compiler flags |
abiname | ABI name |
Set the compiler id (see Compiler IDs)
Set abi name (see Compiler IDs)
Get ABI name.
Add/remove/check ABI option General form of full abi name: abiname-opt1-opt2-... or -opt1-opt2-...
abi_opts | - ABI options to add/remove in form opt1-opt2-... |
user_level | - initiated by user if TRUE (==SETCOMP_BY_USER) |
compstr | - compiler description in form <abbr>:<abiname> |
user_level | - initiated by user if TRUE |
|
inline |
is GOLANG calling convention used by default?
|
inline |
switch to GOLANG calling convention (to be used as default CC)