def print_file_meta_info(vw, selected_functions): print("\nVivisect workspace analysis information") try: for k, v in get_vivisect_meta_info(vw, selected_functions).iteritems(): print("%s: %s" % (k, v or "N/A")) # display N/A if value is None except Exception, e: floss_logger.error("Failed to print vivisect analysis information: {0}".format(e.message))
def print_file_meta_info(vw, selected_functions): print("\nVivisect workspace analysis information") try: for k, v in get_vivisect_meta_info(vw, selected_functions).iteritems(): print("%s: %s" % (k, v or "N/A")) # display N/A if value is None except Exception, e: floss_logger.error("Failed to print vivisect analysis information: {0}".format(e.message))