|  | 
| "bool" | load_binary_file ("char const *" filename, "linput_t *" li, "ushort" _neflags, "qoff64_t" fileoff, "ea_t" basepara, "ea_t" binoff, "uint64" nbytes) | 
|  | load_binary_file(filename, li, _neflags, fileoff, basepara, binoff, nbytes) -> bool Load a binary file into the database. 
 | 
|  | 
| "qstring *" | process_archive ("qstring *" temp_file, "linput_t *" li, "qstring *" module_name, "ushort *" neflags, "char const *" defmember, "load_info_t const *" loader) | 
|  | process_archive(temp_file, li, module_name, neflags, defmember, loader) -> str Calls loader_t::process_archive() For parameters and return value description look at loader_t::process_archive(). 
 | 
|  | 
| "int" | gen_file ("ofile_type_t" otype, "FILE *" fp, "ea_t" ea1, "ea_t" ea2, "int" flags) | 
|  | gen_file(otype, fp, ea1, ea2, flags) -> int Generate an output file. 
 | 
|  | 
| "int" | file2base ("linput_t *" li, "qoff64_t" pos, "ea_t" ea1, "ea_t" ea2, "int" patchable) | 
|  | file2base(li, pos, ea1, ea2, patchable) -> int Load portion of file into the database. 
 | 
|  | 
| "int" | base2file ("FILE *" fp, "qoff64_t" pos, "ea_t" ea1, "ea_t" ea2) | 
|  | base2file(fp, pos, ea1, ea2) -> int Unload database to a binary file. 
 | 
|  | 
| "filetype_t" | get_basic_file_type ("linput_t *" li) | 
|  | get_basic_file_type(li) -> filetype_t Get the input file type. 
 | 
|  | 
| "size_t" | get_file_type_name () | 
|  | get_file_type_name() -> str Get name of the current file type. 
 | 
|  | 
| "void" | set_import_ordinal ("uval_t" modnode, "ea_t" ea, "uval_t" ord) | 
|  | set_import_ordinal(modnode, ea, ord) Set information about the ordinal import entry. 
 | 
|  | 
| "void" | set_import_name ("uval_t" modnode, "ea_t" ea, "char const *" name) | 
|  | set_import_name(modnode, ea, name) Set information about the named import entry. 
 | 
|  | 
| "int" | load_ids_module ("char *" fname) | 
|  | load_ids_module(fname) -> int Load and apply IDS file. 
 | 
|  | 
| "char const *" | get_plugin_options ("char const *" plugin) | 
|  | get_plugin_options(plugin) -> char const * Get plugin options from the command line. 
 | 
|  | 
| "plugin_t *" | find_plugin ("char const *" name, "bool" load_if_needed=False) | 
|  | find_plugin(name, load_if_needed=False) -> plugin_t Find a user-defined plugin and optionally load it. 
 | 
|  | 
| "qoff64_t" | get_fileregion_offset ("ea_t" ea) | 
|  | get_fileregion_offset(ea) -> qoff64_t Get offset in the input file which corresponds to the given ea. 
 | 
|  | 
| "ea_t" | get_fileregion_ea ("qoff64_t" offset) | 
|  | get_fileregion_ea(offset) -> ea_t Get linear address which corresponds to the specified input file offset. 
 | 
|  | 
| "int" | gen_exe_file ("FILE *" fp) | 
|  | gen_exe_file(fp) -> int Generate an exe file (unload the database in binary form). 
 | 
|  | 
| "bool" | reload_file ("char const *" file, "bool" is_remote) | 
|  | reload_file(file, is_remote) -> bool Reload the input file. 
 | 
|  | 
| "bool" | build_snapshot_tree ("snapshot_t" root) | 
|  | build_snapshot_tree(root) -> bool Build the snapshot tree. 
 | 
|  | 
| "int" | flush_buffers () | 
|  | flush_buffers() -> int Flush buffers to the disk. 
 | 
|  | 
| "bool" | is_trusted_idb () | 
|  | is_trusted_idb() -> bool Is the database considered as trusted? 
 | 
|  | 
| "bool" | save_database ("char const *" outfile=None, "uint32" flags=-1, "snapshot_t" root=None, "snapshot_t" attr=None) | 
|  | save_database(outfile=None, flags=-1, root=None, attr=None) -> bool Save current database using a new file name. 
 | 
|  | 
| "bool" | is_database_flag ("uint32" dbfl) | 
|  | is_database_flag(dbfl) -> bool Get the current database flag 
 | 
|  | 
| "void" | set_database_flag ("uint32" dbfl, "bool" cnd=True) | 
|  | set_database_flag(dbfl, cnd=True) Set or clear database flag 
 | 
|  | 
| "void" | clr_database_flag ("uint32" dbfl) | 
|  | clr_database_flag(dbfl) 
 | 
|  | 
| "char const *" | get_path ("path_type_t" pt) | 
|  | get_path(pt) -> char const * Get the file path 
 | 
|  | 
| "void" | set_path ("path_type_t" pt, "char const *" path) | 
|  | set_path(pt, path) Set the file path 
 | 
|  | 
| "char const *" | get_elf_debug_file_directory () | 
|  | get_elf_debug_file_directory() -> char const * Get the value of the ELF_DEBUG_FILE_DIRECTORY configuration directive. 
 | 
|  | 
| "int" | mem2base ("PyObject *" py_mem, "ea_t" ea, "qoff64_t" fpos=-1) | 
|  | Load database from the memory. 
 | 
|  | 
| "PyObject *" | load_plugin ("char const *" name) | 
|  | Loads a plugin. 
 | 
|  | 
| "bool" | run_plugin ("PyObject *" plg, "size_t" arg) | 
|  | Runs a plugin. 
 | 
|  | 
| "bool" | load_and_run_plugin ("char const *" name, "size_t" arg) | 
|  | load_and_run_plugin(name, arg) -> bool Load & run a plugin. 
 | 
|  | 
| "PyObject *" | extract_module_from_archive ("char const *" fname, "bool" is_remote=False) | 
|  | extract_module_from_archive(fname, is_remote=False) -> PyObject Extract a module for an archive file. 
 | 
|  |