1 #ifndef IdaCommandBuilder_H
2 #define IdaCommandBuilder_H
51 IdaCommandBuilder &set_compiler(
const std::string &name,
const std::string &abi =
"");
129 IdaCommandBuilder &run_script(
const std::string &script_file,
const std::vector<std::string> &args = {});
135 IdaCommandBuilder &set_file_type(
const std::string &file_type,
const std::string &member =
"");
164 std::string build_args()
const;
170 return m_auto_analysis;
174 bool m_auto_analysis;
175 bool m_autonomous_mode;
176 bool m_has_loading_address;
177 unsigned int m_loading_address;
178 bool m_create_new_db;
180 std::string m_compiler;
181 std::vector<std::string> m_first_pass_directives;
182 std::vector<std::string> m_second_pass_directives;
184 bool m_has_entry_point;
185 unsigned int m_entry_point;
186 bool m_has_jit_debugger;
189 std::string m_log_file;
190 bool m_disable_mouse;
191 bool m_has_plugin_options;
192 std::string m_plugin_options;
193 bool m_has_output_database;
194 std::string m_output_database;
195 bool m_has_processor_type;
196 std::string m_processor_type;
197 enum class db_compression
204 bool m_has_database_compression;
205 db_compression m_database_compression;
206 bool m_has_run_debugger;
207 std::string m_run_debugger;
208 bool m_load_resources;
209 bool m_has_script_file;
210 std::string m_script_file;
211 std::vector<std::string> m_script_args;
212 bool m_has_file_type;
213 std::string m_file_type;
214 bool m_has_file_member;
215 std::string m_file_member;
216 bool m_create_empty_db;
217 bool m_has_windows_dir;
218 std::string m_windows_dir;
219 bool m_no_segmentation;
220 unsigned int m_debug_flags;
221 bool m_use_text_mode;
224 unsigned int parse_debug_flag_names(
const std::vector<std::string> &flag_names)
const;
225 static std::string quote_if_needed(
const std::string &str);
Class to build and manage IDA command line options. Provides a fluent interface to set options and ge...
Definition: ida_command_builder.hpp:18
bool get_auto_analysis() const
Get auto-analysis option status.
Definition: ida_command_builder.hpp:168
#define IDA_API
Definition: common_defines.hpp:11
#define ABI_VERSION_NS
Definition: version.hpp:17