File: //opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/__pycache__/yara.cpython-311.pyc
�
�;f{ � �h � d Z ddlmZmZ ddlmZmZmZmZm Z m
Z
mZmZm
Z
dgZ G d� de� � ZdS )z�
pygments.lexers.yara
~~~~~~~~~~~~~~~~~~~~
Lexers for YARA.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
RegexLexer�words) �Comment�String�Name�Text�Punctuation�Operator�Keyword�
Whitespace�Number� YaraLexerc � � e Zd ZdZdZdZddgZdgZdgZdZ d e
fd
ej fdej fdej
d
f eddd�� � ej f eddd�� � ef eddd�� � ej fdej fdej fdej fdej fdej fdej fdej fdefdefdefdefgdej
fdej
dfd ej
d!fd"ej
fgd#�Zd$S )%r z
For YARA rules
�YARAz"https://virustotal.github.io/yara/�yara�yarz*.yarztext/x-yaraz2.16z\s+z//.*?$z\#.*?$z/\*�comment)�rule�private�global�import�includez\b)�prefix�suffix)�strings� condition�meta)(�ascii�at�base64�
base64wider �contains�endswith�
entrypoint�filesize�for�fullword� icontains� iendswith�iequals�inr �int16�int16be�int32�int32be�int8�int8be�istartswith�matchesr �nocase�none�of�
startswithr �them�uint16�uint16be�uint32�uint32be�uint8�uint8be�wide�xor�definedz(true|false)\bz(and|or|not|any|all)\bz(\$\w+)z"[^"]*"z
\'[^\']*\'z\{.*?\}$z(/.*?/)z [a-z_]\w*z[$(){}[\].?+*|]z[:=,;]�.z[^*/]+z#pushz\*/z#popz[*/])�rootr N)�__name__�
__module__�__qualname__�__doc__�name�url�aliases� filenames� mimetypes�
version_addedr r �Single� Multiliner r �Declarationr �Builtin�Constantr
�Word�Variabler �Doubler
�Hex�Regexr r �tokens� � �G/opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/yara.pyr r s� � � � � � �� � �D�
.�C��u�o�G�� �I���I��M� �Z� �
���'�
���'�
�W�&� �2�
�U�E���/� /� /�
�
�
"� �U�3�E�%�
P�
P�
P�
�
�
�U� .� ��/� /� /� �\�
� �� 0�1�
&��
�6�
���'�
���'�
�F�M�*�
�&�*�%�
���&�
�4� �
��-�
��$�
�4�L�=
�B ��)�*�
�W�&��0�
�W�&��/�
�g�'�(�
�C'� '�F�F�FrZ N)rG �pygments.lexerr r �pygments.tokenr r r r r r
r r r
�__all__r rY rZ r[ �<module>r_ s� ��� � -� ,� ,� ,� ,� ,� ,� ,�*� *� *� *� *� *� *� *� *� *� *� *� *� *� *� *� *� *� *� *� *� *� �-��3� 3� 3� 3� 3�
� 3� 3� 3� 3� 3rZ