File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1610,6 +1610,12 @@ identifier/value pairs like in the following example:
1610
1610
my_identifier_1 = "Some string data"
1611
1611
my_identifier_2 = 24
1612
1612
my_identifier_3 = true
1613
+ my_identifier_4 = """
1614
+ I am a multiline string literal.
1615
+ I will be stored in your rule directly as is. If you have
1616
+ escape sequences like \x41 those will be converted to their
1617
+ raw byte value. When done, just add the closing quotes.
1618
+ """
1613
1619
1614
1620
strings:
1615
1621
$my_text_string = "text here"
@@ -1626,6 +1632,8 @@ Note that identifier/value pairs defined in the metadata section cannot be used
1626
1632
in the condition section, their only purpose is to store additional information
1627
1633
about the rule.
1628
1634
1635
+ NOTE: Multiline string literals are supported starting in YARA 4.6.0.
1636
+
1629
1637
.. _using-modules :
1630
1638
1631
1639
Using modules
You can’t perform that action at this time.
0 commit comments