Comments (1)
It looks like Blacktop handles this much better than I do (link), including hex escapes and unicode as well, which I never considered:
- Hex escapes example: https://github.com/Neo23x0/signature-base/blob/e360605894c12859de36f28fda95140aa330694b/yara/apt_apt15.yar#L141
- Unicode escapes: TBD
Some parts I'm unfamiliar with though ([0-3]\\d{0,2}|[4-7]\\d?
), so I'll need to dig into them to figure out what they're intended to match
EDIT: I found a part of the documentation that details which escape sequences are supported:
Sequence | Description |
---|---|
" | Double quote |
\ | Backslash |
\r | Carriage return |
\t | Horizontal tab |
\n | New line |
\xdd | Any byte in hexadecimal notation |
Note: Carriage return (\r
) is only available in 4.1+
from vscode-yara.
Related Issues (20)
- Greedy regex HOT 2
- Configuration-based metadata HOT 2
- Research and add FileSystemProvider support if needed HOT 1
- Hex string highlights invalid non-hex characters HOT 1
- Highlight invalid/missing escapes as errors
- Rename repo HOT 2
- private rules do not support goto definition, peek definition, ctrl+click HOT 1
- Open VSX Listing: Signing the Publisher Agreement HOT 3
- Automatically publish packages to the VSCode and OpenVSX marketplace
- Add extension output channel
- Make some decent images
- Broken Syntax Highlighting HOT 5
- Additional Syntax Opportunities
- Fix "Publish to VSCode" action HOT 1
- Support Web Extensions
- Web Extension shows syntax, but no language features like Definitons, References, etc.
- Avast YLS HOT 1
- Invalid regex in grammar: lookbehind assertion is not fixed length
- Comments in grouping
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 vscode-yara.