parameters: (self, bv, current_function)
docstring: Find functions similar to the current one.
docstring_summary: Find functions similar to the current one.
docstring_tokens: Find functions similar to the current one .
function: def find_hash(self, bv, current_function):
      """
        Find functions similar to the current one.
      """
      search_index = self.init_index(bv)
      h1, h2 = self.extract_flowgraph_hash(current_function)
      if h1 and h2:
        report = self.find_function_hash(bv, h1, h2, current_function.start, search_index, "")
        bn.interaction.show_markdown_report('Function Similarity Search Report\n', report, plaintext=report) # I know it sucks
      else:
        bn.log_info('[-] Did not search for function <{:x}:0x{:x}> to search index.'.format(self.get_exec_id(bv.file.filename), current_function.start))
function_tokens: def find_hash ( self , bv , current_function ) : search_index = self . init_index ( bv ) h1 , h2 = self . extract_flowgraph_hash ( current_function ) if h1 and h2 : report = self . find_function_hash ( bv , h1 , h2 , current_function . start , search_index , "" ) bn . interaction . show_markdown_report ( 'Function Similarity Search Report\n' , report , plaintext = report ) # I know it sucks else : bn . log_info ( '[-] Did not search for function <{:x}:0x{:x}> to search index.' . format ( self . get_exec_id ( bv . file . filename ) , current_function . start ) )