Skip to content

Commit

Permalink
Merge pull request VirusTotal#568 from raviteja7/raviteja7-patch-1
Browse files Browse the repository at this point in the history
Update writingrules.rst
  • Loading branch information
plusvic authored Nov 27, 2016
2 parents 0ac7f46 + a6ee593 commit 779b9a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/writingrules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Rules are generally composed of two sections: strings definition and condition.
The strings definition section can be omitted if the rule doesn't rely on any
string, but the condition section is always required. The strings definition
section is where the strings that will be part of the rule are defined. Each
string has an identifier consisting in a $ character followed by a sequence of
string has an identifier consisting of a $ character followed by a sequence of
alphanumeric characters and underscores, these identifiers can be used in the
condition section to refer to the corresponding string. Strings can be defined
in text or hexadecimal form, as shown in the following example::
Expand All @@ -94,7 +94,7 @@ The condition section is where the logic of the rule resides. This section must
contain a boolean expression telling under which circumstances a file or process
satisfies the rule or not. Generally, the condition will refer to previously
defined strings by using their identifiers. In this context the string
identifier acts as a boolean variable which evaluate to true of the string was
identifier acts as a boolean variable which evaluate to true if the string was
found in the file or process memory, or false if otherwise.

Comments
Expand Down

0 comments on commit 779b9a7

Please sign in to comment.