-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
TODO.txt
22 lines (17 loc) · 1.21 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
===================================================
Used to maintain requested features or future work.
===================================================
- "offset" in the regex type, does it mean lines or bytes?
- maybe compile the magic file into a serialized compressed file for size reasons?
- at least pre-process it to normalize whitespace
- need to handle the indirect type?
- is the quad date in seconds or millis?? find a magic that uses them
- need to support the &( (& and the &(& constructs, I don't understand the man pages on it yet even
- need to support the "recursive" patterns such as tiff.jpg with under linux outputs
tiff.jpg: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=0], baseline, precision 8, 1800x2400, frames 3
I think the [...] stuff is recursive
------------------------------------------------------------------------------------------------------------
Speed improvements:
- categorize the file as ~ascii or not, only run the search and regex on the ascii files
- maybe process the file by lines and search each rule instead of having each rule search the file
------------------------------------------------------------------------------------------------------------