vscode-yara icon indicating copy to clipboard operation
vscode-yara copied to clipboard

Comments in grouping

Open codedninja opened this issue 2 years ago • 0 comments

Syntax highlight of comments inside of a grouping doesn't work. It thinks it's part of the grouping instead of a comment. Below it an example rule and what it looks like.

rule test {
    meta:
        author = "Author"
        description = "Description"

    strings:
        $instructions = {
            72 ?? ?? ?? ??  // IL_0000: ldstr
            80 ?? ?? 00 04  // IL_0005: stsfld
            (
                72 ?? ?? ?? ?? // Comment inside of a grouping

            )
        }
        
    condition:
        all of them
        
}

image

codedninja avatar Jun 07 '23 15:06 codedninja