IDA SDK

- Main Page
- Header Files
- Classes
- Modules

Modules | Typedefs | Functions
Functions: work with compiler IDs
CC

## Detailed Description

## Modules
| Set compiler flags

## Typedefs
typedef qvector< comp_t > | compvec_t
| Collection of compiler descriptions.

## Functions
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.
comp_t | is_comp_unsure (comp_t comp)
| See COMP_UNSURE.
comp_t | default_compiler (void)
| Get compiler specified by inf.cc.
bool | is_gcc (void)
| Is the target compiler COMP_GNU?
bool | is_gcc32 (void)
| Is the target compiler 32 bit gcc?
bool | is_gcc64 (void)
| Is the target compiler 64 bit gcc?
idaman bool ida_export | set_compiler2 (const compiler_info_t &cc, int flags, const char *abiname=NULL)
| Change current compiler. More...
bool idaapi | set_compiler_id (comp_t id, const char *abiname=NULL)
| Set the compiler id (see Compiler IDs)
bool idaapi | set_abi_name (const char *abiname)
| Set abi name (see Compiler IDs)

## Function Documentation

idaman bool ida_export set_compiler2 | ( | const compiler_info_t & | cc,
|  | int | flags,
|  | const char * | abiname = `NULL`
| ) |  |

Change current compiler.

Parameters

  cc | compiler to switch to
  flags | Set compiler flags
  abiname | ABI name

Returns
  success