code: def AnalyzeDex(filename, session=None):
      
      log.debug("AnalyzeDex")
  
      if not session:
          session = get_default_session()
  
      with open(filename, "rb") as fd:
          data = fd.read()
  
      return session.addDEX(filename, data)
docs: Analyze an android dex file and setup all stuff for a more quickly analysis !
  
      :param filename: the filename of the android dex file or a buffer which represents the dex file
      :type filename: string
      :param session: A session (Default None)
  
      :rtype: return a tuple of (sha256hash, :class:`DalvikVMFormat`, :class:`Analysis`)