Example #1
0
def save_database(*args):
    r"""
    save_database(outfile, flags, root=None, attr=None) -> bool


    Save current database using a new file name.when both root and attr
    are not NULL then the snapshot attributes will be updated, otherwise
    the snapshot attributes will be inherited from the current database.
    
    @param outfile: output database file name (C++: const char *)
    @param flags: Database flags (C++: uint32)
    @param root: optional: snapshot tree root. (C++: const  snapshot_t  *)
    @param attr: optional: snapshot attributes (C++: const  snapshot_t  *)
    @return: success
    """
    return _ida_loader.save_database(*args)
Example #2
0
 def save_database(outfile, flags=0):
     if isinstance(flags, bool):
         flags = DBFL_KILL if flags else 0
     return _ida_loader.save_database(outfile, flags)
Example #3
0
def save_database(*args):
    """
  save_database(outfile, flags, root=None, attr=None) -> bool
  """
    return _ida_loader.save_database(*args)