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