original_docstring: Match on one of the following: pid= filepath= or data=
          Require one of the following:
             filepath - filepath to match against
             pid - process id
             data - filepath to match against
  
          Options:
              externals - define boolean, integer, or string variables
              callback - provide a callback function which will get called with
                        the match results as they comes in.
               Note #1: If callback is set, the Rules object doesn't bother
                        storing the match results and this func will return []...
                        The callback hander needs to deal with individual
                        matches.
               Note #2:
                        The callback can abort the matching sequence by returning
                        a CALLBACK_ABORT or raising a StopIteration() exception.
                        To continue, a return object of None or CALLBACK_CONTINUE
                        is required.
  
          Functionally equivalent to (yara-python.c).match
          
docstring: Match on one of the following: pid= filepath= or data
  Require one of the following:
  filepath - filepath to match against
  pid - process id
  data - filepath to match against
  
  define boolean, integer, or string variables
  callback - provide a callback function which will get called with
  the match results as they comes in.
  Note #1: If callback is set, the Rules object doesn't bother
  storing the match results and this func will return []
  The callback hander needs to deal with individual
  matches.
  Note #2:
  The callback can abort the matching sequence by returning
  a CALLBACK_ABORT or raising a StopIteration() exception.
  To continue, a return object of None or CALLBACK_CONTINUE
  is required.
  
  
docstring_tokens: Match on one of the following : pid = filepath = or data Require one of the following : filepath - filepath to match against pid - process id data - filepath to match against define boolean integer or string variables callback - provide a callback function which will get called with the match results as they comes in . Note #1 : If callback is set the Rules object doesn ' t bother storing the match results and this func will return [] The callback hander needs to deal with individual matches . Note #2 : The callback can abort the matching sequence by returning a CALLBACK_ABORT or raising a StopIteration () exception . To continue a return object of None or CALLBACK_CONTINUE is required .
code: def match(self, filepath=None, pid=None, data=None, **match_kwargs):
          """Match on one of the following: pid= filepath= or data=
          Require one of the following:
             filepath - filepath to match against
             pid - process id
             data - filepath to match against
  
          Options:
              externals - define boolean, integer, or string variables
              callback - provide a callback function which will get called with
                        the match results as they comes in.
               Note #1: If callback is set, the Rules object doesn't bother
                        storing the match results and this func will return []...
                        The callback hander needs to deal with individual
                        matches.
               Note #2:
                        The callback can abort the matching sequence by returning
                        a CALLBACK_ABORT or raising a StopIteration() exception.
                        To continue, a return object of None or CALLBACK_CONTINUE
                        is required.
  
          Functionally equivalent to (yara-python.c).match
          """
          if filepath is not None:
              return self.match_path(filepath, **match_kwargs)
          elif pid is not None:
              return self.match_proc(pid, **match_kwargs)
          elif data is not None:
              return self.match_data(data, **match_kwargs)
          else:
              raise Exception("matche() missing a required argument")
code_tokens: def match ( self , filepath = None , pid = None , data = None , ** match_kwargs ) : if filepath is not None : return self . match_path ( filepath , ** match_kwargs ) elif pid is not None : return self . match_proc ( pid , ** match_kwargs ) elif data is not None : return self . match_data ( data , ** match_kwargs ) else : raise Exception ( "matche() missing a required argument" )
short_docstring: Match on one of the following: pid= filepath= or data
  Require one of the following:
  filepath - filepath to match against
  pid - process id
  data - filepath to match against
short_docstring_tokens: Match on one of the following : pid = filepath = or data Require one of the following : filepath - filepath to match against pid - process id data - filepath to match against
comment: """Match on one of the following: pid= filepath= or data=
          Require one of the following:
             filepath - filepath to match against
             pid - process id
             data - filepath to match against
  
          Options:
              externals - define boolean, integer, or string variables
              callback - provide a callback function which will get called with
                        the match results as they comes in.
               Note #1: If callback is set, the Rules object doesn't bother
                        storing the match results and this func will return []...
                        The callback hander needs to deal with individual
                        matches.
               Note #2:
                        The callback can abort the matching sequence by returning
                        a CALLBACK_ABORT or raising a StopIteration() exception.
                        To continue, a return object of None or CALLBACK_CONTINUE
                        is required.
  
          Functionally equivalent to (yara-python.c).match
          """