Skip to content

Releases: Northern-Lights/yara-parser

v0.8.0

21 Dec 05:24
Compare
Choose a tag to compare

Adds support for operators in YARA 4.2.2, thanks to the work of @SaretX

v0.7.0

21 Dec 05:22
Compare
Choose a tag to compare
fix #24 add missing errors.go file for YARAError

yara-parser v0.6.0

14 Nov 16:28
Compare
Choose a tag to compare

Changes for this release include:

  • Update YARA grammar to libyara's in v3.8.1
  • Implement XOR string modifier

yara-parser v0.5.0

14 Jun 23:12
Compare
Choose a tag to compare

Changes for this release include:

  • Add .Serialize() method to each field in a ruleset struct to turn the struct back into a YARA ruleset
  • Add .String() method to each field in a ruleset to return a reasonable string representation of that field (e.g. rule name for a Rule struct, [modifier1 modifier2 ... modifierN] for StringModifiers type, etc.)
  • Add j2y command to reverse y2j output (to turn JSON rulesets back into YARA rulesets)

yara-parser v0.4.0

24 Mar 20:49
Compare
Choose a tag to compare

Changes for this release include:

  • JSON output is no longer HTML-escaped (< characters and such are preserved)
  • Fixed #5: Issue with leading slashes in regex end being stripped
  • Fixed #7: JSON keys for meta "key" and "value" changed to lowercase
  • Fixed #8: error conditions in lexer are now handled
  • Better documentation for y2j the file output (see the data.proto file)
  • Added tests for common issues and moved rules into Go test files, themselves

yara-parser v0.3.0

19 Mar 04:26
Compare
Choose a tag to compare

This release includes the following fixes and enhancements:

  • Lexical errors show line numbers
  • Fix #3
  • Disallow error conditions which allowed errors between includes/imports and rules
  • Forbid duplicate rules
  • Fix an issue with errors in one parse leaving residue for a subsequent one

yara-parser v0.2.0

18 Mar 20:05
Compare
Choose a tag to compare

Changes include:

  • Treat meta and strings as a list/slice, as libyara does
  • Allow duplicate $ (anonymous) strings
  • Allow duplicates for identical meta key/value pairs in list of metas
  • Forbid duplicate tags

yara-parser v0.1.0

17 Mar 23:51
Compare
Choose a tag to compare

First release includes:

  • y2j tool for YARA ruleset serialization to JSON
  • github.com/Northern-Lights/yara-parser/grammar package for parsing YARA rulesets in Go
  • github.com/Northern-Lights/yara-parser/data.go package contains structs for ruleset manipulation