From 6a09d1bb58fbe13676fe6ac7b5827207fdb3226a Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Wed, 31 Jul 2024 09:15:28 +0200 Subject: [PATCH] docs: some changes in the blog post about the new parser. --- site/content/blog/a-new-parser-for-yara/index.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/site/content/blog/a-new-parser-for-yara/index.md b/site/content/blog/a-new-parser-for-yara/index.md index b26ce3e1..ef2e78c1 100644 --- a/site/content/blog/a-new-parser-for-yara/index.md +++ b/site/content/blog/a-new-parser-for-yara/index.md @@ -2,8 +2,8 @@ title: "An new parser for YARA" description: "" summary: "" -date: 2024-07-30T00:00:00+01:00 -lastmod: 2024-07-30T00:00:00+01:00 +date: 2024-07-31T00:00:00+01:00 +lastmod: 2024-07-31T00:00:00+01:00 draft: true weight: 50 categories: [ ] @@ -56,13 +56,15 @@ prototyping, I embarked on a major refactoring effort. This resulted in the complete removal of the Pest-based parser and the creation of a new parser that addresses all the previously mentioned shortcomings. -The new parser is not only error-resilient and capable of producing a modifiable -CST, but it is also faster for certain rules that were problematic for the -Pest-based parser. For instance, this seemingly simple YARA rule fails to -compile with YARA-X 0.5.0 but works perfectly with version 0.6.0. +The new parser is error-resilient, and in the future it will be capable of +producing a modifiable CST. Additionally, it is faster for certain rules that +were pathologically bad cases for the Pest-based parser. For instance, this +seemingly simple YARA rule fails to compile with YARA-X 0.5.0 but works +perfectly with version 0.6.0. ```yara rule bad { condition: (((((((((( true )))))))))) } ``` - +With these changes, the groundwork has been laid for developing more advanced +and powerful tools that can leverage the improved parsing capabilities.