python-flirt 0.10.2__tar.gz → 0.11.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_flirt-0.10.2 → python_flirt-0.11.1}/Cargo.lock +111 -114
- {python_flirt-0.10.2 → python_flirt-0.11.1}/PKG-INFO +3 -2
- {python_flirt-0.10.2 → python_flirt-0.11.1}/README.md +2 -1
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/Cargo.toml +3 -6
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/README.md +4 -2
- python_flirt-0.11.1/flirt/benches/match.rs +50 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/src/lib.rs +465 -202
- python_flirt-0.11.1/flirt/src/sig/mod.rs +471 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyflirt/Cargo.toml +2 -2
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyflirt/README.md +2 -1
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyflirt/src/lib.rs +23 -4
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyproject.toml +1 -1
- python_flirt-0.10.2/flirt/benches/fragments.txt +0 -172
- python_flirt-0.10.2/flirt/benches/patterns.txt +0 -34503
- python_flirt-0.10.2/flirt/benches/regex.rs +0 -40123
- python_flirt-0.10.2/flirt/src/decision_tree.rs +0 -675
- python_flirt-0.10.2/flirt/src/pattern_set.rs +0 -300
- python_flirt-0.10.2/flirt/src/sig/mod.rs +0 -677
- {python_flirt-0.10.2 → python_flirt-0.11.1}/Cargo.toml +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/LICENSE.txt +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/sig.bt +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/sigs/pat/__EH_prolog3.pat +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/sigs/sig/libcmt_15_msvc_x86.dumpsig +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/sigs/sig/libcmt_15_msvc_x86.sig +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/sigs/yara/__EH_prolog3.yara +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/src/bin/decompress_sig.rs +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/src/bin/parsepat.rs +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/src/bin/sig2pat.rs +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/flirt/src/pat/mod.rs +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyflirt/.gitignore +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyflirt/LICENSE.txt +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyflirt/tests/data/__EH_prolog3.pat +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyflirt/tests/data/__EH_prolog3.sig +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyflirt/tests/fixtures.py +0 -0
- {python_flirt-0.10.2 → python_flirt-0.11.1}/pyflirt/tests/test_pyflirt.py +0 -0
|
@@ -4,9 +4,9 @@ version = 4
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "addr2line"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.27.1"
|
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "
|
|
9
|
+
checksum = "e567177890eb1617b1f774005b66b26b2377afd138a2ca37aae7d8f0c81429d4"
|
|
10
10
|
dependencies = [
|
|
11
11
|
"gimli",
|
|
12
12
|
]
|
|
@@ -17,12 +17,6 @@ version = "2.0.1"
|
|
|
17
17
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
18
|
checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
|
|
19
19
|
|
|
20
|
-
[[package]]
|
|
21
|
-
name = "adler32"
|
|
22
|
-
version = "1.2.0"
|
|
23
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
-
checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234"
|
|
25
|
-
|
|
26
20
|
[[package]]
|
|
27
21
|
name = "aho-corasick"
|
|
28
22
|
version = "1.1.5"
|
|
@@ -34,9 +28,9 @@ dependencies = [
|
|
|
34
28
|
|
|
35
29
|
[[package]]
|
|
36
30
|
name = "android_system_properties"
|
|
37
|
-
version = "0.1.
|
|
31
|
+
version = "0.1.7"
|
|
38
32
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
-
checksum = "
|
|
33
|
+
checksum = "204ddd8b860c1ff4b89d3cef1d23180caa4d0c34d34c9c2b009bc441ffb94d0f"
|
|
40
34
|
dependencies = [
|
|
41
35
|
"libc",
|
|
42
36
|
]
|
|
@@ -49,9 +43,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
|
|
49
43
|
|
|
50
44
|
[[package]]
|
|
51
45
|
name = "anstream"
|
|
52
|
-
version = "1.0.
|
|
46
|
+
version = "1.0.1"
|
|
53
47
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
54
|
-
checksum = "
|
|
48
|
+
checksum = "85c097ce94629611e0a15ef1078a2fe2ce3b4a0f4b44708e85eeb09dd5f188eb"
|
|
55
49
|
dependencies = [
|
|
56
50
|
"anstyle",
|
|
57
51
|
"anstyle-parse",
|
|
@@ -64,44 +58,44 @@ dependencies = [
|
|
|
64
58
|
|
|
65
59
|
[[package]]
|
|
66
60
|
name = "anstyle"
|
|
67
|
-
version = "1.0.
|
|
61
|
+
version = "1.0.15"
|
|
68
62
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
69
|
-
checksum = "
|
|
63
|
+
checksum = "6c7a9e344b352bef7873e51ff425c2f90d5aa2a252db2b84289c93ff30beb3d7"
|
|
70
64
|
|
|
71
65
|
[[package]]
|
|
72
66
|
name = "anstyle-parse"
|
|
73
|
-
version = "1.0.
|
|
67
|
+
version = "1.0.1"
|
|
74
68
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
75
|
-
checksum = "
|
|
69
|
+
checksum = "a0571a23d2188b4aae7adc1df454cc81d6232cf37674fa717ac119f6c74d0dc1"
|
|
76
70
|
dependencies = [
|
|
77
71
|
"utf8parse",
|
|
78
72
|
]
|
|
79
73
|
|
|
80
74
|
[[package]]
|
|
81
75
|
name = "anstyle-query"
|
|
82
|
-
version = "1.1.
|
|
76
|
+
version = "1.1.6"
|
|
83
77
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
-
checksum = "
|
|
78
|
+
checksum = "76a5cf9d05ffa9c878c447b33b069605e890ebcd36d2761f86367873c2ecaa7f"
|
|
85
79
|
dependencies = [
|
|
86
|
-
"windows-sys 0.
|
|
80
|
+
"windows-sys 0.101.0",
|
|
87
81
|
]
|
|
88
82
|
|
|
89
83
|
[[package]]
|
|
90
84
|
name = "anstyle-wincon"
|
|
91
|
-
version = "3.0.
|
|
85
|
+
version = "3.0.12"
|
|
92
86
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
93
|
-
checksum = "
|
|
87
|
+
checksum = "2c2d00c1b2d84cef823d89d4da02ad8ff1e76c969e029da990b40f16dc834221"
|
|
94
88
|
dependencies = [
|
|
95
89
|
"anstyle",
|
|
96
90
|
"once_cell_polyfill",
|
|
97
|
-
"windows-sys 0.
|
|
91
|
+
"windows-sys 0.101.0",
|
|
98
92
|
]
|
|
99
93
|
|
|
100
94
|
[[package]]
|
|
101
95
|
name = "anyhow"
|
|
102
|
-
version = "1.0.
|
|
96
|
+
version = "1.0.105"
|
|
103
97
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
-
checksum = "
|
|
98
|
+
checksum = "2cb931c189b85683d69a5cfad41d4d418671e1ac413dd209f3f2fc31e3cfd902"
|
|
105
99
|
|
|
106
100
|
[[package]]
|
|
107
101
|
name = "ar"
|
|
@@ -110,9 +104,9 @@ source = "git+https://github.com/mdsteele/rust-ar?rev=03d664b#03d664bddb8cc5ebff
|
|
|
110
104
|
|
|
111
105
|
[[package]]
|
|
112
106
|
name = "arc-swap"
|
|
113
|
-
version = "1.9.
|
|
107
|
+
version = "1.9.5"
|
|
114
108
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
115
|
-
checksum = "
|
|
109
|
+
checksum = "84a22b5d51209f6de83d37a0b33d320acb8da88823e42a94c075140708f032a5"
|
|
116
110
|
dependencies = [
|
|
117
111
|
"rustversion",
|
|
118
112
|
]
|
|
@@ -125,7 +119,7 @@ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
|
|
|
125
119
|
dependencies = [
|
|
126
120
|
"proc-macro2",
|
|
127
121
|
"quote",
|
|
128
|
-
"syn 3.0.
|
|
122
|
+
"syn 3.0.10",
|
|
129
123
|
]
|
|
130
124
|
|
|
131
125
|
[[package]]
|
|
@@ -136,17 +130,17 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
|
136
130
|
|
|
137
131
|
[[package]]
|
|
138
132
|
name = "backtrace"
|
|
139
|
-
version = "0.3.
|
|
133
|
+
version = "0.3.77"
|
|
140
134
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
-
checksum = "
|
|
135
|
+
checksum = "42f4220217f3288537b83684130f42fad43320b1c3b805f1910d683d52ded24f"
|
|
142
136
|
dependencies = [
|
|
143
137
|
"addr2line",
|
|
144
138
|
"cfg-if",
|
|
145
139
|
"libc",
|
|
146
|
-
"miniz_oxide 0.
|
|
147
|
-
"object 0.
|
|
140
|
+
"miniz_oxide 0.9.1",
|
|
141
|
+
"object 0.40.0",
|
|
148
142
|
"rustc-demangle",
|
|
149
|
-
"windows-link",
|
|
143
|
+
"windows-link 0.2.1",
|
|
150
144
|
]
|
|
151
145
|
|
|
152
146
|
[[package]]
|
|
@@ -217,21 +211,21 @@ dependencies = [
|
|
|
217
211
|
|
|
218
212
|
[[package]]
|
|
219
213
|
name = "bumpalo"
|
|
220
|
-
version = "3.20.
|
|
214
|
+
version = "3.20.4"
|
|
221
215
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
222
|
-
checksum = "
|
|
216
|
+
checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db"
|
|
223
217
|
|
|
224
218
|
[[package]]
|
|
225
219
|
name = "byteorder"
|
|
226
|
-
version = "1.5.
|
|
220
|
+
version = "1.5.1"
|
|
227
221
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
228
|
-
checksum = "
|
|
222
|
+
checksum = "34fb07aac3b9f547c7af8dc897dfe73c10847b6c71130c364bdd7891d979c816"
|
|
229
223
|
|
|
230
224
|
[[package]]
|
|
231
225
|
name = "bytes"
|
|
232
|
-
version = "1.12.
|
|
226
|
+
version = "1.12.2"
|
|
233
227
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
-
checksum = "
|
|
228
|
+
checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c"
|
|
235
229
|
|
|
236
230
|
[[package]]
|
|
237
231
|
name = "cast"
|
|
@@ -241,9 +235,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
|
|
241
235
|
|
|
242
236
|
[[package]]
|
|
243
237
|
name = "cc"
|
|
244
|
-
version = "1.
|
|
238
|
+
version = "1.12.0"
|
|
245
239
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
-
checksum = "
|
|
240
|
+
checksum = "95e45cf2980b2d467be49a9ed942c9179b701063a7ca3d037de7ee9bd67f8d66"
|
|
247
241
|
dependencies = [
|
|
248
242
|
"find-msvc-tools",
|
|
249
243
|
"shlex 2.0.1",
|
|
@@ -274,7 +268,7 @@ dependencies = [
|
|
|
274
268
|
"js-sys",
|
|
275
269
|
"num-traits",
|
|
276
270
|
"wasm-bindgen",
|
|
277
|
-
"windows-link",
|
|
271
|
+
"windows-link 0.2.1",
|
|
278
272
|
]
|
|
279
273
|
|
|
280
274
|
[[package]]
|
|
@@ -317,18 +311,18 @@ dependencies = [
|
|
|
317
311
|
|
|
318
312
|
[[package]]
|
|
319
313
|
name = "clap"
|
|
320
|
-
version = "4.6.
|
|
314
|
+
version = "4.6.10"
|
|
321
315
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
322
|
-
checksum = "
|
|
316
|
+
checksum = "50066ca966813ca8957ee15361752f19424a8ff620dbe9c8993d9f99d99b04b3"
|
|
323
317
|
dependencies = [
|
|
324
318
|
"clap_builder",
|
|
325
319
|
]
|
|
326
320
|
|
|
327
321
|
[[package]]
|
|
328
322
|
name = "clap_builder"
|
|
329
|
-
version = "4.6.
|
|
323
|
+
version = "4.6.10"
|
|
330
324
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
|
-
checksum = "
|
|
325
|
+
checksum = "a0ed97c96ef4efb3cc84e09fa388df4463e7cc3224ec38d7b1d9e45749333590"
|
|
332
326
|
dependencies = [
|
|
333
327
|
"anstream",
|
|
334
328
|
"anstyle",
|
|
@@ -338,9 +332,9 @@ dependencies = [
|
|
|
338
332
|
|
|
339
333
|
[[package]]
|
|
340
334
|
name = "clap_lex"
|
|
341
|
-
version = "1.1.
|
|
335
|
+
version = "1.1.2"
|
|
342
336
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
-
checksum = "
|
|
337
|
+
checksum = "e0921b3876b3a1df8a1c9f912e7f94342458022c2e84288015893d83c4d62a79"
|
|
344
338
|
|
|
345
339
|
[[package]]
|
|
346
340
|
name = "cmake"
|
|
@@ -353,9 +347,9 @@ dependencies = [
|
|
|
353
347
|
|
|
354
348
|
[[package]]
|
|
355
349
|
name = "colorchoice"
|
|
356
|
-
version = "1.0.
|
|
350
|
+
version = "1.0.6"
|
|
357
351
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
358
|
-
checksum = "
|
|
352
|
+
checksum = "8f7f11958434c85b6efac08f8299dc08bd263184ce080232e2168940cda4368e"
|
|
359
353
|
|
|
360
354
|
[[package]]
|
|
361
355
|
name = "console"
|
|
@@ -396,9 +390,9 @@ dependencies = [
|
|
|
396
390
|
|
|
397
391
|
[[package]]
|
|
398
392
|
name = "crc32fast"
|
|
399
|
-
version = "1.5.
|
|
393
|
+
version = "1.5.6"
|
|
400
394
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
401
|
-
checksum = "
|
|
395
|
+
checksum = "fd9ae8fcb3ea71b0b26338b4ffb13006bb175de8fd07921089a906ce7e5e6945"
|
|
402
396
|
dependencies = [
|
|
403
397
|
"cfg-if",
|
|
404
398
|
]
|
|
@@ -539,15 +533,15 @@ dependencies = [
|
|
|
539
533
|
|
|
540
534
|
[[package]]
|
|
541
535
|
name = "find-msvc-tools"
|
|
542
|
-
version = "0.1.
|
|
536
|
+
version = "0.1.16"
|
|
543
537
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
544
|
-
checksum = "
|
|
538
|
+
checksum = "3e44f110d1777dc6559a51e7d45083945ded4f1bf3305494350f693b6d20b9c8"
|
|
545
539
|
|
|
546
540
|
[[package]]
|
|
547
541
|
name = "flate2"
|
|
548
|
-
version = "1.1.
|
|
542
|
+
version = "1.1.11"
|
|
549
543
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
550
|
-
checksum = "
|
|
544
|
+
checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4"
|
|
551
545
|
dependencies = [
|
|
552
546
|
"crc32fast",
|
|
553
547
|
"miniz_oxide 0.9.1",
|
|
@@ -572,9 +566,9 @@ dependencies = [
|
|
|
572
566
|
|
|
573
567
|
[[package]]
|
|
574
568
|
name = "gimli"
|
|
575
|
-
version = "0.
|
|
569
|
+
version = "0.34.0"
|
|
576
570
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
577
|
-
checksum = "
|
|
571
|
+
checksum = "1033caf0b349c518623b5396bfb2cf0bddf44f0306d543a250e5743297aafd10"
|
|
578
572
|
|
|
579
573
|
[[package]]
|
|
580
574
|
name = "glob"
|
|
@@ -655,15 +649,6 @@ dependencies = [
|
|
|
655
649
|
"rustversion",
|
|
656
650
|
]
|
|
657
651
|
|
|
658
|
-
[[package]]
|
|
659
|
-
name = "inflate"
|
|
660
|
-
version = "0.4.5"
|
|
661
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
662
|
-
checksum = "1cdb29978cc5797bd8dcc8e5bf7de604891df2a8dc576973d71a281e916db2ff"
|
|
663
|
-
dependencies = [
|
|
664
|
-
"adler32",
|
|
665
|
-
]
|
|
666
|
-
|
|
667
652
|
[[package]]
|
|
668
653
|
name = "is-terminal"
|
|
669
654
|
version = "0.4.17"
|
|
@@ -710,9 +695,9 @@ dependencies = [
|
|
|
710
695
|
|
|
711
696
|
[[package]]
|
|
712
697
|
name = "itoa"
|
|
713
|
-
version = "1.0.
|
|
698
|
+
version = "1.0.19"
|
|
714
699
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
715
|
-
checksum = "
|
|
700
|
+
checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
|
|
716
701
|
|
|
717
702
|
[[package]]
|
|
718
703
|
name = "js-sys"
|
|
@@ -726,7 +711,7 @@ dependencies = [
|
|
|
726
711
|
|
|
727
712
|
[[package]]
|
|
728
713
|
name = "jslancelot"
|
|
729
|
-
version = "0.
|
|
714
|
+
version = "0.11.1"
|
|
730
715
|
dependencies = [
|
|
731
716
|
"anyhow",
|
|
732
717
|
"chrono",
|
|
@@ -740,7 +725,7 @@ dependencies = [
|
|
|
740
725
|
|
|
741
726
|
[[package]]
|
|
742
727
|
name = "lancelot"
|
|
743
|
-
version = "0.
|
|
728
|
+
version = "0.11.1"
|
|
744
729
|
dependencies = [
|
|
745
730
|
"anyhow",
|
|
746
731
|
"bitflags 2.13.2",
|
|
@@ -767,7 +752,7 @@ dependencies = [
|
|
|
767
752
|
|
|
768
753
|
[[package]]
|
|
769
754
|
name = "lancelot-bin"
|
|
770
|
-
version = "0.
|
|
755
|
+
version = "0.11.1"
|
|
771
756
|
dependencies = [
|
|
772
757
|
"anyhow",
|
|
773
758
|
"ar",
|
|
@@ -785,21 +770,18 @@ dependencies = [
|
|
|
785
770
|
|
|
786
771
|
[[package]]
|
|
787
772
|
name = "lancelot-flirt"
|
|
788
|
-
version = "0.
|
|
773
|
+
version = "0.11.1"
|
|
789
774
|
dependencies = [
|
|
790
775
|
"anyhow",
|
|
791
776
|
"better-panic",
|
|
792
777
|
"bitflags 2.13.2",
|
|
793
|
-
"bitvec",
|
|
794
778
|
"chrono",
|
|
795
779
|
"clap",
|
|
796
780
|
"criterion",
|
|
797
781
|
"fern",
|
|
798
|
-
"inflate",
|
|
799
782
|
"log",
|
|
783
|
+
"miniz_oxide 0.8.9",
|
|
800
784
|
"nom",
|
|
801
|
-
"regex",
|
|
802
|
-
"smallvec",
|
|
803
785
|
"thiserror",
|
|
804
786
|
]
|
|
805
787
|
|
|
@@ -822,14 +804,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
822
804
|
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
|
|
823
805
|
dependencies = [
|
|
824
806
|
"cfg-if",
|
|
825
|
-
"windows-link",
|
|
807
|
+
"windows-link 0.2.1",
|
|
826
808
|
]
|
|
827
809
|
|
|
828
810
|
[[package]]
|
|
829
811
|
name = "log"
|
|
830
|
-
version = "0.4.
|
|
812
|
+
version = "0.4.35"
|
|
831
813
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
832
|
-
checksum = "
|
|
814
|
+
checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c"
|
|
833
815
|
|
|
834
816
|
[[package]]
|
|
835
817
|
name = "memchr"
|
|
@@ -921,9 +903,9 @@ dependencies = [
|
|
|
921
903
|
|
|
922
904
|
[[package]]
|
|
923
905
|
name = "object"
|
|
924
|
-
version = "0.
|
|
906
|
+
version = "0.40.0"
|
|
925
907
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
926
|
-
checksum = "
|
|
908
|
+
checksum = "dd229a0361b9d0d4396176e02d65897f487eebeab7caa6d443855ee152ca0b9c"
|
|
927
909
|
dependencies = [
|
|
928
910
|
"memchr",
|
|
929
911
|
]
|
|
@@ -948,9 +930,9 @@ checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
|
|
|
948
930
|
|
|
949
931
|
[[package]]
|
|
950
932
|
name = "pin-project-lite"
|
|
951
|
-
version = "0.2.
|
|
933
|
+
version = "0.2.19"
|
|
952
934
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
953
|
-
checksum = "
|
|
935
|
+
checksum = "f120c8d5021b34abd2f2ffd7ee96687cbcd6c54a3e68d86b6169f4a5cd480ffe"
|
|
954
936
|
|
|
955
937
|
[[package]]
|
|
956
938
|
name = "pkg-config"
|
|
@@ -1066,7 +1048,7 @@ dependencies = [
|
|
|
1066
1048
|
|
|
1067
1049
|
[[package]]
|
|
1068
1050
|
name = "pylancelot"
|
|
1069
|
-
version = "0.
|
|
1051
|
+
version = "0.11.1"
|
|
1070
1052
|
dependencies = [
|
|
1071
1053
|
"anyhow",
|
|
1072
1054
|
"lancelot",
|
|
@@ -1114,9 +1096,9 @@ dependencies = [
|
|
|
1114
1096
|
|
|
1115
1097
|
[[package]]
|
|
1116
1098
|
name = "pyo3-log"
|
|
1117
|
-
version = "0.13.
|
|
1099
|
+
version = "0.13.5"
|
|
1118
1100
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1119
|
-
checksum = "
|
|
1101
|
+
checksum = "b91aabf1c0d674a2e3b0b55daab6cef1308ce6f0ad3697ae56f4f68db54c98a1"
|
|
1120
1102
|
dependencies = [
|
|
1121
1103
|
"arc-swap",
|
|
1122
1104
|
"log",
|
|
@@ -1150,7 +1132,7 @@ dependencies = [
|
|
|
1150
1132
|
|
|
1151
1133
|
[[package]]
|
|
1152
1134
|
name = "python-flirt"
|
|
1153
|
-
version = "0.
|
|
1135
|
+
version = "0.11.1"
|
|
1154
1136
|
dependencies = [
|
|
1155
1137
|
"anyhow",
|
|
1156
1138
|
"lancelot-flirt",
|
|
@@ -1203,9 +1185,9 @@ dependencies = [
|
|
|
1203
1185
|
|
|
1204
1186
|
[[package]]
|
|
1205
1187
|
name = "regex"
|
|
1206
|
-
version = "1.13.
|
|
1188
|
+
version = "1.13.2"
|
|
1207
1189
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1208
|
-
checksum = "
|
|
1190
|
+
checksum = "9807af0e638c12e753aa1b4e601791bf2a8f71274023c8bbeec12fc149950857"
|
|
1209
1191
|
dependencies = [
|
|
1210
1192
|
"aho-corasick",
|
|
1211
1193
|
"memchr",
|
|
@@ -1215,9 +1197,9 @@ dependencies = [
|
|
|
1215
1197
|
|
|
1216
1198
|
[[package]]
|
|
1217
1199
|
name = "regex-automata"
|
|
1218
|
-
version = "0.4.
|
|
1200
|
+
version = "0.4.19"
|
|
1219
1201
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1220
|
-
checksum = "
|
|
1202
|
+
checksum = "41d60ef07df457506a0a1a2073112eb4aae5733dbd2813c3da77d1b0fd441158"
|
|
1221
1203
|
dependencies = [
|
|
1222
1204
|
"aho-corasick",
|
|
1223
1205
|
"memchr",
|
|
@@ -1226,9 +1208,9 @@ dependencies = [
|
|
|
1226
1208
|
|
|
1227
1209
|
[[package]]
|
|
1228
1210
|
name = "regex-syntax"
|
|
1229
|
-
version = "0.8.
|
|
1211
|
+
version = "0.8.12"
|
|
1230
1212
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1231
|
-
checksum = "
|
|
1213
|
+
checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6"
|
|
1232
1214
|
|
|
1233
1215
|
[[package]]
|
|
1234
1216
|
name = "rustc-demangle"
|
|
@@ -1283,7 +1265,7 @@ checksum = "e1a36a382ed65dbcc0ab47fd5e9a94112417ccd34560a392ef3b7b0f0ec39148"
|
|
|
1283
1265
|
dependencies = [
|
|
1284
1266
|
"proc-macro2",
|
|
1285
1267
|
"quote",
|
|
1286
|
-
"syn 3.0.
|
|
1268
|
+
"syn 3.0.10",
|
|
1287
1269
|
]
|
|
1288
1270
|
|
|
1289
1271
|
[[package]]
|
|
@@ -1313,7 +1295,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
|
1313
1295
|
dependencies = [
|
|
1314
1296
|
"proc-macro2",
|
|
1315
1297
|
"quote",
|
|
1316
|
-
"syn 3.0.
|
|
1298
|
+
"syn 3.0.10",
|
|
1317
1299
|
]
|
|
1318
1300
|
|
|
1319
1301
|
[[package]]
|
|
@@ -1373,9 +1355,9 @@ checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
|
|
|
1373
1355
|
|
|
1374
1356
|
[[package]]
|
|
1375
1357
|
name = "smallvec"
|
|
1376
|
-
version = "1.16.
|
|
1358
|
+
version = "1.16.6"
|
|
1377
1359
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1378
|
-
checksum = "
|
|
1360
|
+
checksum = "3244542535d5de959d90ec55d1b5ff0fd2bb7b1310223907d5f11932847f7b59"
|
|
1379
1361
|
|
|
1380
1362
|
[[package]]
|
|
1381
1363
|
name = "static_assertions"
|
|
@@ -1413,9 +1395,9 @@ dependencies = [
|
|
|
1413
1395
|
|
|
1414
1396
|
[[package]]
|
|
1415
1397
|
name = "syn"
|
|
1416
|
-
version = "3.0.
|
|
1398
|
+
version = "3.0.10"
|
|
1417
1399
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1418
|
-
checksum = "
|
|
1400
|
+
checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
|
|
1419
1401
|
dependencies = [
|
|
1420
1402
|
"proc-macro2",
|
|
1421
1403
|
"quote",
|
|
@@ -1430,9 +1412,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
|
|
1430
1412
|
|
|
1431
1413
|
[[package]]
|
|
1432
1414
|
name = "target-lexicon"
|
|
1433
|
-
version = "0.13.
|
|
1415
|
+
version = "0.13.6"
|
|
1434
1416
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1435
|
-
checksum = "
|
|
1417
|
+
checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
|
|
1436
1418
|
|
|
1437
1419
|
[[package]]
|
|
1438
1420
|
name = "thiserror"
|
|
@@ -1451,7 +1433,7 @@ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
|
|
|
1451
1433
|
dependencies = [
|
|
1452
1434
|
"proc-macro2",
|
|
1453
1435
|
"quote",
|
|
1454
|
-
"syn 3.0.
|
|
1436
|
+
"syn 3.0.10",
|
|
1455
1437
|
]
|
|
1456
1438
|
|
|
1457
1439
|
[[package]]
|
|
@@ -1542,9 +1524,9 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
|
1542
1524
|
|
|
1543
1525
|
[[package]]
|
|
1544
1526
|
name = "walkdir"
|
|
1545
|
-
version = "2.5.
|
|
1527
|
+
version = "2.5.1"
|
|
1546
1528
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1547
|
-
checksum = "
|
|
1529
|
+
checksum = "b42e295b7452c4604982280d8586001fcad9b8b201cac67bca9771e7a7475403"
|
|
1548
1530
|
dependencies = [
|
|
1549
1531
|
"same-file",
|
|
1550
1532
|
"winapi-util",
|
|
@@ -1641,7 +1623,7 @@ checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
|
|
|
1641
1623
|
dependencies = [
|
|
1642
1624
|
"windows-implement",
|
|
1643
1625
|
"windows-interface",
|
|
1644
|
-
"windows-link",
|
|
1626
|
+
"windows-link 0.2.1",
|
|
1645
1627
|
"windows-result",
|
|
1646
1628
|
"windows-strings",
|
|
1647
1629
|
]
|
|
@@ -1674,13 +1656,19 @@ version = "0.2.1"
|
|
|
1674
1656
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1675
1657
|
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
1676
1658
|
|
|
1659
|
+
[[package]]
|
|
1660
|
+
name = "windows-link"
|
|
1661
|
+
version = "0.101.0"
|
|
1662
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1663
|
+
checksum = "f4e57b2aae53a240c62b65069a63eaf8d5fa747f5d0d8e670c5210a98847bce4"
|
|
1664
|
+
|
|
1677
1665
|
[[package]]
|
|
1678
1666
|
name = "windows-result"
|
|
1679
1667
|
version = "0.4.1"
|
|
1680
1668
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1681
1669
|
checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
|
|
1682
1670
|
dependencies = [
|
|
1683
|
-
"windows-link",
|
|
1671
|
+
"windows-link 0.2.1",
|
|
1684
1672
|
]
|
|
1685
1673
|
|
|
1686
1674
|
[[package]]
|
|
@@ -1689,7 +1677,7 @@ version = "0.5.1"
|
|
|
1689
1677
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1690
1678
|
checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
|
|
1691
1679
|
dependencies = [
|
|
1692
|
-
"windows-link",
|
|
1680
|
+
"windows-link 0.2.1",
|
|
1693
1681
|
]
|
|
1694
1682
|
|
|
1695
1683
|
[[package]]
|
|
@@ -1707,7 +1695,16 @@ version = "0.61.2"
|
|
|
1707
1695
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1708
1696
|
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
1709
1697
|
dependencies = [
|
|
1710
|
-
"windows-link",
|
|
1698
|
+
"windows-link 0.2.1",
|
|
1699
|
+
]
|
|
1700
|
+
|
|
1701
|
+
[[package]]
|
|
1702
|
+
name = "windows-sys"
|
|
1703
|
+
version = "0.101.0"
|
|
1704
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1705
|
+
checksum = "eed2df9f5f458664c87437f6758f0d93085b06433bf66b2b84c23c19f3d2012c"
|
|
1706
|
+
dependencies = [
|
|
1707
|
+
"windows-link 0.101.0",
|
|
1711
1708
|
]
|
|
1712
1709
|
|
|
1713
1710
|
[[package]]
|
|
@@ -1785,18 +1782,18 @@ dependencies = [
|
|
|
1785
1782
|
|
|
1786
1783
|
[[package]]
|
|
1787
1784
|
name = "zerocopy"
|
|
1788
|
-
version = "0.8.
|
|
1785
|
+
version = "0.8.66"
|
|
1789
1786
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1790
|
-
checksum = "
|
|
1787
|
+
checksum = "cba8a86aee14fc8cc6c208af60854b3d4ab7185a9a369a12c648faa2716ff42a"
|
|
1791
1788
|
dependencies = [
|
|
1792
1789
|
"zerocopy-derive",
|
|
1793
1790
|
]
|
|
1794
1791
|
|
|
1795
1792
|
[[package]]
|
|
1796
1793
|
name = "zerocopy-derive"
|
|
1797
|
-
version = "0.8.
|
|
1794
|
+
version = "0.8.66"
|
|
1798
1795
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1799
|
-
checksum = "
|
|
1796
|
+
checksum = "f89bca3b96ceb3cfcb4572790402f977442270d252b9a8504ebc258760c55f94"
|
|
1800
1797
|
dependencies = [
|
|
1801
1798
|
"proc-macro2",
|
|
1802
1799
|
"quote",
|
|
@@ -1805,9 +1802,9 @@ dependencies = [
|
|
|
1805
1802
|
|
|
1806
1803
|
[[package]]
|
|
1807
1804
|
name = "zlib-rs"
|
|
1808
|
-
version = "0.6.
|
|
1805
|
+
version = "0.6.9"
|
|
1809
1806
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1810
|
-
checksum = "
|
|
1807
|
+
checksum = "aa76918995d776d9dd34d371030be228d021137449771493d56e29f77e4148ac"
|
|
1811
1808
|
|
|
1812
1809
|
[[package]]
|
|
1813
1810
|
name = "zmij"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-flirt
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.1
|
|
4
4
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
5
5
|
Classifier: Natural Language :: English
|
|
6
6
|
Classifier: Operating System :: OS Independent
|
|
@@ -108,7 +108,7 @@ however, it does give a sense for the required setup to parse and compile rules.
|
|
|
108
108
|
|
|
109
109
|
This library supports loading signatures from both the .sig and .pat file formats:
|
|
110
110
|
|
|
111
|
-
- .sig files are the compiled signatures usually fed into IDA Pro for matching. They are structurally compressed (and
|
|
111
|
+
- .sig files are the compiled signatures usually fed into IDA Pro for matching. They are structurally compressed (and sometimes also zlib-compressed) and have a raw binary representation.
|
|
112
112
|
|
|
113
113
|
- .pat files are the ASCII-encoded text files generated by `sigmake.exe`. These are typically compiled into .sig files for use in IDA Pro; however, since `lancelot-flirt` compiles the rules into its own intermediate representation, you can use them directly. Notably, this library supports a slight extension to enable a file header with lines prefixed with `#`, which enables you to embed a acknowledgement/copyright/license.
|
|
114
114
|
|
|
@@ -123,6 +123,7 @@ Unfortunately, client code must coordinate the recursive invocation of FLIRT mat
|
|
|
123
123
|
|
|
124
124
|
Therefore, when integrating this library into a client application, you should review the matching logic of `lancelot::core::analysis::flirt` [here](https://github.com/williballenthin/lancelot/blob/master/core/src/analysis/flirt.rs).
|
|
125
125
|
Essentially, you'll need to inspect the "references" found within a function and recursively FLIRT match those routines to resolve the best matching signature.
|
|
126
|
+
A reference can also point to an import address table entry; then, compare the name of the import with the referenced name.
|
|
126
127
|
There's also a matching implementation in Python for vivisect [here](https://github.com/williballenthin/viv-utils/blob/master/viv_utils/flirt.py) that relies on more thorough code flow recovery.
|
|
127
128
|
|
|
128
129
|
|
|
@@ -78,7 +78,7 @@ however, it does give a sense for the required setup to parse and compile rules.
|
|
|
78
78
|
|
|
79
79
|
This library supports loading signatures from both the .sig and .pat file formats:
|
|
80
80
|
|
|
81
|
-
- .sig files are the compiled signatures usually fed into IDA Pro for matching. They are structurally compressed (and
|
|
81
|
+
- .sig files are the compiled signatures usually fed into IDA Pro for matching. They are structurally compressed (and sometimes also zlib-compressed) and have a raw binary representation.
|
|
82
82
|
|
|
83
83
|
- .pat files are the ASCII-encoded text files generated by `sigmake.exe`. These are typically compiled into .sig files for use in IDA Pro; however, since `lancelot-flirt` compiles the rules into its own intermediate representation, you can use them directly. Notably, this library supports a slight extension to enable a file header with lines prefixed with `#`, which enables you to embed a acknowledgement/copyright/license.
|
|
84
84
|
|
|
@@ -93,6 +93,7 @@ Unfortunately, client code must coordinate the recursive invocation of FLIRT mat
|
|
|
93
93
|
|
|
94
94
|
Therefore, when integrating this library into a client application, you should review the matching logic of `lancelot::core::analysis::flirt` [here](https://github.com/williballenthin/lancelot/blob/master/core/src/analysis/flirt.rs).
|
|
95
95
|
Essentially, you'll need to inspect the "references" found within a function and recursively FLIRT match those routines to resolve the best matching signature.
|
|
96
|
+
A reference can also point to an import address table entry; then, compare the name of the import with the referenced name.
|
|
96
97
|
There's also a matching implementation in Python for vivisect [here](https://github.com/williballenthin/viv-utils/blob/master/viv_utils/flirt.py) that relies on more thorough code flow recovery.
|
|
97
98
|
|
|
98
99
|
|