IDA C++ SDK 9.2
Loading...
Searching...
No Matches
idacfg.hpp File Reference

Go to the source code of this file.

Functions

idaman const char *ida_export cfg_get_cc_parm (comp_t compid, const char *name)
 Get one of config parameters defined by CC_PARMS in ida.cfg.
const char * cfg_get_cc_header_path (comp_t compid)
 Get header path config parameter from ida.cfg.
const char * cfg_get_cc_predefined_macros (comp_t compid)
 Get predefined macros config parameter from ida.cfg.
idaman void ida_export process_config_directive (const char *directive, int priority=IDPOPT_PRI_HIGH)
 Process one or more config directive(s).

Function Documentation

◆ cfg_get_cc_parm()

idaman const char *ida_export cfg_get_cc_parm ( comp_t compid,
const char * name )

Get one of config parameters defined by CC_PARMS in ida.cfg.

All parameters for all compilers are stored in local map during last read of ida.cfg - this function just returns previously stored parameter value for given compiler (nullptr if no such parameter)

◆ cfg_get_cc_header_path()

const char * cfg_get_cc_header_path ( comp_t compid)
inline

Get header path config parameter from ida.cfg.

Also see cfg_get_cc_parm()

◆ cfg_get_cc_predefined_macros()

const char * cfg_get_cc_predefined_macros ( comp_t compid)
inline

Get predefined macros config parameter from ida.cfg.

Also see cfg_get_cc_parm()

◆ process_config_directive()

idaman void ida_export process_config_directive ( const char * directive,
int priority = IDPOPT_PRI_HIGH )

Process one or more config directive(s).

Parameters
directivethe directives to process
prioritypriority Option result codes In the case of errors this function displays a message and exits.