Comments (3)
This is doable. I am including this as a feature for the 3.0.0 release that I'm working on currently. I think the best way to implement this is actually to have a utility. I'm building the new version nearly from scratch. The idea is to follow closely the best practices for building a compiler. Therefore, there will be a data model object at the end of a parsing session.
To implement this enhancement properly, there will be a utility that is given the path to a YARA file. From the path, it will walk the file system and replace all includes failing if something is missing.
Does this sound like it would work for your use case?
from plyara.
This may fit best as a flag on the CLI which then uses said utility.
from plyara.
sweet. I was thinking exactly the same thing following a compiler logic for parsing and resolution.
from plyara.
Related Issues (20)
- Add Logic Hash Versioning
- Condition parsing fault HOT 2
- Rule rebuild on plyara.utils.rebuild_yara_rule using external variable as a part of loop condition - bug HOT 1
- Improved Comment Handling
- Mistake with terms parsing in condition. HOT 1
- Bug in plyara.utils.detect_dependencies() with rule reference in last condition HOT 4
- Yet another problem with minuses/dashes parsing in condition terms HOT 2
- Unexpected result when parsing imports HOT 2
- Support for new operators introduced in 4.1.0 HOT 3
- clear problem with lot of rules HOT 1
- Looking for New Maintainer HOT 1
- STRING_ESCAPE_CHARS should contain 'r' HOT 3
- [BUG] plyara parses invalid rule
- Add New PLY as Vendor Directory HOT 2
- Codacy: Parser._add_element is too complex (19) HOT 1
- Windows Newlines Need Improved Unit Test HOT 2
- .clear() does not work to reset start_line and stop_line fields HOT 1
- plyara does not recognise base64 keyword HOT 2
- parse_string() rules construction causes duplicate results when loading multiple rulesets with one Plyara instance HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plyara.