gef-file-to-map 0.1.1__tar.gz → 0.2.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.
- gef_file_to_map-0.2.1/.github/renovate.json +3 -0
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/.github/workflows/release_pypi.yaml +19 -10
- gef_file_to_map-0.2.1/CHANGELOG.md +91 -0
- gef_file_to_map-0.2.1/Cargo.lock +485 -0
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/Cargo.toml +10 -8
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/PKG-INFO +2 -2
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/README.md +1 -1
- gef_file_to_map-0.2.1/benches/test_gef.rs +21 -0
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/pyproject.toml +2 -1
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/src/error.rs +1 -1
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/src/header.rs +79 -67
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/src/lib.rs +30 -4
- gef_file_to_map-0.2.1/tests/big-file.gef +1136 -0
- gef_file_to_map-0.2.1/tests/header.gef +80 -0
- gef_file_to_map-0.1.1/CHANGELOG.md +0 -26
- gef_file_to_map-0.1.1/Cargo.lock +0 -231
- gef_file_to_map-0.1.1/src/nom.rs +0 -7
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/.gitignore +0 -0
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/LICENSE +0 -0
- {gef_file_to_map-0.1.1 → gef_file_to_map-0.2.1}/tests/test.gef +0 -0
|
@@ -12,14 +12,17 @@ jobs:
|
|
|
12
12
|
linux:
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
16
|
-
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions-rs/toolchain@v1
|
|
17
|
+
with:
|
|
18
|
+
toolchain: stable
|
|
19
|
+
profile: minimal
|
|
20
|
+
default: true
|
|
17
21
|
- uses: PyO3/maturin-action@v1
|
|
18
22
|
with:
|
|
19
23
|
manylinux: auto
|
|
20
24
|
command: build
|
|
21
25
|
args: --release --sdist -o dist
|
|
22
|
-
|
|
23
26
|
- name: Upload wheels
|
|
24
27
|
uses: actions/upload-artifact@v4
|
|
25
28
|
with:
|
|
@@ -29,13 +32,16 @@ jobs:
|
|
|
29
32
|
windows:
|
|
30
33
|
runs-on: windows-latest
|
|
31
34
|
steps:
|
|
32
|
-
- uses: actions/checkout@
|
|
33
|
-
|
|
35
|
+
- uses: actions/checkout@v4
|
|
36
|
+
- uses: actions-rs/toolchain@v1
|
|
37
|
+
with:
|
|
38
|
+
toolchain: stable
|
|
39
|
+
profile: minimal
|
|
40
|
+
default: true
|
|
34
41
|
- uses: PyO3/maturin-action@v1
|
|
35
42
|
with:
|
|
36
43
|
command: build
|
|
37
44
|
args: --release -o dist
|
|
38
|
-
|
|
39
45
|
- name: Upload wheels
|
|
40
46
|
uses: actions/upload-artifact@v4
|
|
41
47
|
with:
|
|
@@ -45,13 +51,16 @@ jobs:
|
|
|
45
51
|
macos:
|
|
46
52
|
runs-on: macos-latest
|
|
47
53
|
steps:
|
|
48
|
-
- uses: actions/checkout@
|
|
49
|
-
|
|
54
|
+
- uses: actions/checkout@v4
|
|
55
|
+
- uses: actions-rs/toolchain@v1
|
|
56
|
+
with:
|
|
57
|
+
toolchain: stable
|
|
58
|
+
profile: minimal
|
|
59
|
+
default: true
|
|
50
60
|
- uses: PyO3/maturin-action@v1
|
|
51
61
|
with:
|
|
52
62
|
command: build
|
|
53
63
|
args: --release -o dist
|
|
54
|
-
|
|
55
64
|
- name: Upload wheels
|
|
56
65
|
uses: actions/upload-artifact@v4
|
|
57
66
|
with:
|
|
@@ -77,7 +86,7 @@ jobs:
|
|
|
77
86
|
- uses: actions/download-artifact@v4
|
|
78
87
|
|
|
79
88
|
- name: Generate artifact attestation
|
|
80
|
-
uses: actions/attest-build-provenance@
|
|
89
|
+
uses: actions/attest-build-provenance@v2
|
|
81
90
|
with:
|
|
82
91
|
subject-path: "wheels-*/*"
|
|
83
92
|
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [0.2.1] - 2025-07-22
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
#### Header
|
|
10
|
+
|
|
11
|
+
- Allow empty header values
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Documentation
|
|
15
|
+
|
|
16
|
+
#### Readme
|
|
17
|
+
|
|
18
|
+
- Don't link to specific version in PyPi badge
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Miscellaneous Tasks
|
|
22
|
+
|
|
23
|
+
#### Ci
|
|
24
|
+
|
|
25
|
+
- Move from dependabot to renovate
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Testing
|
|
29
|
+
|
|
30
|
+
#### Bench
|
|
31
|
+
|
|
32
|
+
- Add benchmarks
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## [0.2.0] - 2025-03-10
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
#### Ci
|
|
40
|
+
|
|
41
|
+
- Manually install Rust pipeline in CI
|
|
42
|
+
|
|
43
|
+
#### Deps
|
|
44
|
+
|
|
45
|
+
- Update nom to 8
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Refactor
|
|
49
|
+
|
|
50
|
+
#### Deps
|
|
51
|
+
|
|
52
|
+
- Migrate nom to winnow 0.3
|
|
53
|
+
|
|
54
|
+
#### Parsing
|
|
55
|
+
|
|
56
|
+
- [**breaking**] Improve parsing of headers and add better error reporting
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## [0.1.1] - 2025-03-10
|
|
60
|
+
|
|
61
|
+
### Bug Fixes
|
|
62
|
+
|
|
63
|
+
#### Ci
|
|
64
|
+
|
|
65
|
+
- Fix publishing CI
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Documentation
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### Miscellaneous Tasks
|
|
72
|
+
|
|
73
|
+
#### Ci
|
|
74
|
+
|
|
75
|
+
- Only run release CI on tags
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## [0.1.0] - 2023-02-22
|
|
79
|
+
|
|
80
|
+
### Bug Fixes
|
|
81
|
+
|
|
82
|
+
#### Ci
|
|
83
|
+
|
|
84
|
+
- Copy wheel generation from @messense
|
|
85
|
+
- Require minimum Python version of 3.8
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Refactor
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
<!-- CEMS BV. -->
|
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "anstyle"
|
|
7
|
+
version = "1.0.11"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "autocfg"
|
|
13
|
+
version = "1.5.0"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "bitflags"
|
|
19
|
+
version = "2.9.1"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "cfg-if"
|
|
25
|
+
version = "1.0.1"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "clap"
|
|
31
|
+
version = "4.5.41"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "be92d32e80243a54711e5d7ce823c35c41c9d929dc4ab58e1276f625841aadf9"
|
|
34
|
+
dependencies = [
|
|
35
|
+
"clap_builder",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[[package]]
|
|
39
|
+
name = "clap_builder"
|
|
40
|
+
version = "4.5.41"
|
|
41
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
42
|
+
checksum = "707eab41e9622f9139419d573eca0900137718000c517d47da73045f54331c3d"
|
|
43
|
+
dependencies = [
|
|
44
|
+
"anstyle",
|
|
45
|
+
"clap_lex",
|
|
46
|
+
"terminal_size",
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
[[package]]
|
|
50
|
+
name = "clap_lex"
|
|
51
|
+
version = "0.7.5"
|
|
52
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
53
|
+
checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675"
|
|
54
|
+
|
|
55
|
+
[[package]]
|
|
56
|
+
name = "condtype"
|
|
57
|
+
version = "1.3.0"
|
|
58
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
59
|
+
checksum = "baf0a07a401f374238ab8e2f11a104d2851bf9ce711ec69804834de8af45c7af"
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "divan"
|
|
63
|
+
version = "0.1.21"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "a405457ec78b8fe08b0e32b4a3570ab5dff6dd16eb9e76a5ee0a9d9cbd898933"
|
|
66
|
+
dependencies = [
|
|
67
|
+
"cfg-if",
|
|
68
|
+
"clap",
|
|
69
|
+
"condtype",
|
|
70
|
+
"divan-macros",
|
|
71
|
+
"libc",
|
|
72
|
+
"regex-lite",
|
|
73
|
+
]
|
|
74
|
+
|
|
75
|
+
[[package]]
|
|
76
|
+
name = "divan-macros"
|
|
77
|
+
version = "0.1.21"
|
|
78
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
79
|
+
checksum = "9556bc800956545d6420a640173e5ba7dfa82f38d3ea5a167eb555bc69ac3323"
|
|
80
|
+
dependencies = [
|
|
81
|
+
"proc-macro2",
|
|
82
|
+
"quote",
|
|
83
|
+
"syn",
|
|
84
|
+
]
|
|
85
|
+
|
|
86
|
+
[[package]]
|
|
87
|
+
name = "either"
|
|
88
|
+
version = "1.15.0"
|
|
89
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
+
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
91
|
+
|
|
92
|
+
[[package]]
|
|
93
|
+
name = "errno"
|
|
94
|
+
version = "0.3.13"
|
|
95
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
96
|
+
checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
|
|
97
|
+
dependencies = [
|
|
98
|
+
"libc",
|
|
99
|
+
"windows-sys 0.60.2",
|
|
100
|
+
]
|
|
101
|
+
|
|
102
|
+
[[package]]
|
|
103
|
+
name = "gef-file-to-map"
|
|
104
|
+
version = "0.2.1"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"divan",
|
|
107
|
+
"itertools",
|
|
108
|
+
"pyo3",
|
|
109
|
+
"thiserror",
|
|
110
|
+
"winnow",
|
|
111
|
+
]
|
|
112
|
+
|
|
113
|
+
[[package]]
|
|
114
|
+
name = "heck"
|
|
115
|
+
version = "0.5.0"
|
|
116
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
117
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
118
|
+
|
|
119
|
+
[[package]]
|
|
120
|
+
name = "indoc"
|
|
121
|
+
version = "2.0.6"
|
|
122
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
123
|
+
checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
|
|
124
|
+
|
|
125
|
+
[[package]]
|
|
126
|
+
name = "itertools"
|
|
127
|
+
version = "0.14.0"
|
|
128
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
129
|
+
checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
|
|
130
|
+
dependencies = [
|
|
131
|
+
"either",
|
|
132
|
+
]
|
|
133
|
+
|
|
134
|
+
[[package]]
|
|
135
|
+
name = "libc"
|
|
136
|
+
version = "0.2.174"
|
|
137
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
138
|
+
checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
|
|
139
|
+
|
|
140
|
+
[[package]]
|
|
141
|
+
name = "linux-raw-sys"
|
|
142
|
+
version = "0.9.4"
|
|
143
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
144
|
+
checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
|
|
145
|
+
|
|
146
|
+
[[package]]
|
|
147
|
+
name = "memchr"
|
|
148
|
+
version = "2.7.5"
|
|
149
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
150
|
+
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
|
|
151
|
+
|
|
152
|
+
[[package]]
|
|
153
|
+
name = "memoffset"
|
|
154
|
+
version = "0.9.1"
|
|
155
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
156
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
157
|
+
dependencies = [
|
|
158
|
+
"autocfg",
|
|
159
|
+
]
|
|
160
|
+
|
|
161
|
+
[[package]]
|
|
162
|
+
name = "once_cell"
|
|
163
|
+
version = "1.21.3"
|
|
164
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
165
|
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
166
|
+
|
|
167
|
+
[[package]]
|
|
168
|
+
name = "portable-atomic"
|
|
169
|
+
version = "1.11.1"
|
|
170
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
+
checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
|
|
172
|
+
|
|
173
|
+
[[package]]
|
|
174
|
+
name = "proc-macro2"
|
|
175
|
+
version = "1.0.95"
|
|
176
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
177
|
+
checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
|
|
178
|
+
dependencies = [
|
|
179
|
+
"unicode-ident",
|
|
180
|
+
]
|
|
181
|
+
|
|
182
|
+
[[package]]
|
|
183
|
+
name = "pyo3"
|
|
184
|
+
version = "0.24.2"
|
|
185
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
186
|
+
checksum = "e5203598f366b11a02b13aa20cab591229ff0a89fd121a308a5df751d5fc9219"
|
|
187
|
+
dependencies = [
|
|
188
|
+
"cfg-if",
|
|
189
|
+
"indoc",
|
|
190
|
+
"libc",
|
|
191
|
+
"memoffset",
|
|
192
|
+
"once_cell",
|
|
193
|
+
"portable-atomic",
|
|
194
|
+
"pyo3-build-config",
|
|
195
|
+
"pyo3-ffi",
|
|
196
|
+
"pyo3-macros",
|
|
197
|
+
"unindent",
|
|
198
|
+
]
|
|
199
|
+
|
|
200
|
+
[[package]]
|
|
201
|
+
name = "pyo3-build-config"
|
|
202
|
+
version = "0.24.2"
|
|
203
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
204
|
+
checksum = "99636d423fa2ca130fa5acde3059308006d46f98caac629418e53f7ebb1e9999"
|
|
205
|
+
dependencies = [
|
|
206
|
+
"once_cell",
|
|
207
|
+
"target-lexicon",
|
|
208
|
+
]
|
|
209
|
+
|
|
210
|
+
[[package]]
|
|
211
|
+
name = "pyo3-ffi"
|
|
212
|
+
version = "0.24.2"
|
|
213
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
+
checksum = "78f9cf92ba9c409279bc3305b5409d90db2d2c22392d443a87df3a1adad59e33"
|
|
215
|
+
dependencies = [
|
|
216
|
+
"libc",
|
|
217
|
+
"pyo3-build-config",
|
|
218
|
+
]
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "pyo3-macros"
|
|
222
|
+
version = "0.24.2"
|
|
223
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
+
checksum = "0b999cb1a6ce21f9a6b147dcf1be9ffedf02e0043aec74dc390f3007047cecd9"
|
|
225
|
+
dependencies = [
|
|
226
|
+
"proc-macro2",
|
|
227
|
+
"pyo3-macros-backend",
|
|
228
|
+
"quote",
|
|
229
|
+
"syn",
|
|
230
|
+
]
|
|
231
|
+
|
|
232
|
+
[[package]]
|
|
233
|
+
name = "pyo3-macros-backend"
|
|
234
|
+
version = "0.24.2"
|
|
235
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
236
|
+
checksum = "822ece1c7e1012745607d5cf0bcb2874769f0f7cb34c4cde03b9358eb9ef911a"
|
|
237
|
+
dependencies = [
|
|
238
|
+
"heck",
|
|
239
|
+
"proc-macro2",
|
|
240
|
+
"pyo3-build-config",
|
|
241
|
+
"quote",
|
|
242
|
+
"syn",
|
|
243
|
+
]
|
|
244
|
+
|
|
245
|
+
[[package]]
|
|
246
|
+
name = "quote"
|
|
247
|
+
version = "1.0.40"
|
|
248
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
+
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
|
|
250
|
+
dependencies = [
|
|
251
|
+
"proc-macro2",
|
|
252
|
+
]
|
|
253
|
+
|
|
254
|
+
[[package]]
|
|
255
|
+
name = "regex-lite"
|
|
256
|
+
version = "0.1.6"
|
|
257
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
258
|
+
checksum = "53a49587ad06b26609c52e423de037e7f57f20d53535d66e08c695f347df952a"
|
|
259
|
+
|
|
260
|
+
[[package]]
|
|
261
|
+
name = "rustix"
|
|
262
|
+
version = "1.0.8"
|
|
263
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
264
|
+
checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8"
|
|
265
|
+
dependencies = [
|
|
266
|
+
"bitflags",
|
|
267
|
+
"errno",
|
|
268
|
+
"libc",
|
|
269
|
+
"linux-raw-sys",
|
|
270
|
+
"windows-sys 0.60.2",
|
|
271
|
+
]
|
|
272
|
+
|
|
273
|
+
[[package]]
|
|
274
|
+
name = "syn"
|
|
275
|
+
version = "2.0.104"
|
|
276
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
277
|
+
checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
|
|
278
|
+
dependencies = [
|
|
279
|
+
"proc-macro2",
|
|
280
|
+
"quote",
|
|
281
|
+
"unicode-ident",
|
|
282
|
+
]
|
|
283
|
+
|
|
284
|
+
[[package]]
|
|
285
|
+
name = "target-lexicon"
|
|
286
|
+
version = "0.13.2"
|
|
287
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
288
|
+
checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
|
|
289
|
+
|
|
290
|
+
[[package]]
|
|
291
|
+
name = "terminal_size"
|
|
292
|
+
version = "0.4.2"
|
|
293
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
294
|
+
checksum = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed"
|
|
295
|
+
dependencies = [
|
|
296
|
+
"rustix",
|
|
297
|
+
"windows-sys 0.59.0",
|
|
298
|
+
]
|
|
299
|
+
|
|
300
|
+
[[package]]
|
|
301
|
+
name = "thiserror"
|
|
302
|
+
version = "2.0.12"
|
|
303
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
304
|
+
checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
|
|
305
|
+
dependencies = [
|
|
306
|
+
"thiserror-impl",
|
|
307
|
+
]
|
|
308
|
+
|
|
309
|
+
[[package]]
|
|
310
|
+
name = "thiserror-impl"
|
|
311
|
+
version = "2.0.12"
|
|
312
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
313
|
+
checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
|
|
314
|
+
dependencies = [
|
|
315
|
+
"proc-macro2",
|
|
316
|
+
"quote",
|
|
317
|
+
"syn",
|
|
318
|
+
]
|
|
319
|
+
|
|
320
|
+
[[package]]
|
|
321
|
+
name = "unicode-ident"
|
|
322
|
+
version = "1.0.18"
|
|
323
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
324
|
+
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
|
325
|
+
|
|
326
|
+
[[package]]
|
|
327
|
+
name = "unindent"
|
|
328
|
+
version = "0.2.4"
|
|
329
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
331
|
+
|
|
332
|
+
[[package]]
|
|
333
|
+
name = "windows-sys"
|
|
334
|
+
version = "0.59.0"
|
|
335
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
336
|
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
|
337
|
+
dependencies = [
|
|
338
|
+
"windows-targets 0.52.6",
|
|
339
|
+
]
|
|
340
|
+
|
|
341
|
+
[[package]]
|
|
342
|
+
name = "windows-sys"
|
|
343
|
+
version = "0.60.2"
|
|
344
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
345
|
+
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
|
|
346
|
+
dependencies = [
|
|
347
|
+
"windows-targets 0.53.2",
|
|
348
|
+
]
|
|
349
|
+
|
|
350
|
+
[[package]]
|
|
351
|
+
name = "windows-targets"
|
|
352
|
+
version = "0.52.6"
|
|
353
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
354
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
355
|
+
dependencies = [
|
|
356
|
+
"windows_aarch64_gnullvm 0.52.6",
|
|
357
|
+
"windows_aarch64_msvc 0.52.6",
|
|
358
|
+
"windows_i686_gnu 0.52.6",
|
|
359
|
+
"windows_i686_gnullvm 0.52.6",
|
|
360
|
+
"windows_i686_msvc 0.52.6",
|
|
361
|
+
"windows_x86_64_gnu 0.52.6",
|
|
362
|
+
"windows_x86_64_gnullvm 0.52.6",
|
|
363
|
+
"windows_x86_64_msvc 0.52.6",
|
|
364
|
+
]
|
|
365
|
+
|
|
366
|
+
[[package]]
|
|
367
|
+
name = "windows-targets"
|
|
368
|
+
version = "0.53.2"
|
|
369
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
370
|
+
checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef"
|
|
371
|
+
dependencies = [
|
|
372
|
+
"windows_aarch64_gnullvm 0.53.0",
|
|
373
|
+
"windows_aarch64_msvc 0.53.0",
|
|
374
|
+
"windows_i686_gnu 0.53.0",
|
|
375
|
+
"windows_i686_gnullvm 0.53.0",
|
|
376
|
+
"windows_i686_msvc 0.53.0",
|
|
377
|
+
"windows_x86_64_gnu 0.53.0",
|
|
378
|
+
"windows_x86_64_gnullvm 0.53.0",
|
|
379
|
+
"windows_x86_64_msvc 0.53.0",
|
|
380
|
+
]
|
|
381
|
+
|
|
382
|
+
[[package]]
|
|
383
|
+
name = "windows_aarch64_gnullvm"
|
|
384
|
+
version = "0.52.6"
|
|
385
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
386
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
387
|
+
|
|
388
|
+
[[package]]
|
|
389
|
+
name = "windows_aarch64_gnullvm"
|
|
390
|
+
version = "0.53.0"
|
|
391
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
392
|
+
checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
|
|
393
|
+
|
|
394
|
+
[[package]]
|
|
395
|
+
name = "windows_aarch64_msvc"
|
|
396
|
+
version = "0.52.6"
|
|
397
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
398
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
399
|
+
|
|
400
|
+
[[package]]
|
|
401
|
+
name = "windows_aarch64_msvc"
|
|
402
|
+
version = "0.53.0"
|
|
403
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
404
|
+
checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
|
|
405
|
+
|
|
406
|
+
[[package]]
|
|
407
|
+
name = "windows_i686_gnu"
|
|
408
|
+
version = "0.52.6"
|
|
409
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
411
|
+
|
|
412
|
+
[[package]]
|
|
413
|
+
name = "windows_i686_gnu"
|
|
414
|
+
version = "0.53.0"
|
|
415
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
416
|
+
checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
|
|
417
|
+
|
|
418
|
+
[[package]]
|
|
419
|
+
name = "windows_i686_gnullvm"
|
|
420
|
+
version = "0.52.6"
|
|
421
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
422
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
423
|
+
|
|
424
|
+
[[package]]
|
|
425
|
+
name = "windows_i686_gnullvm"
|
|
426
|
+
version = "0.53.0"
|
|
427
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
428
|
+
checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
|
|
429
|
+
|
|
430
|
+
[[package]]
|
|
431
|
+
name = "windows_i686_msvc"
|
|
432
|
+
version = "0.52.6"
|
|
433
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
434
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
435
|
+
|
|
436
|
+
[[package]]
|
|
437
|
+
name = "windows_i686_msvc"
|
|
438
|
+
version = "0.53.0"
|
|
439
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
440
|
+
checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
|
|
441
|
+
|
|
442
|
+
[[package]]
|
|
443
|
+
name = "windows_x86_64_gnu"
|
|
444
|
+
version = "0.52.6"
|
|
445
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
446
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
447
|
+
|
|
448
|
+
[[package]]
|
|
449
|
+
name = "windows_x86_64_gnu"
|
|
450
|
+
version = "0.53.0"
|
|
451
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
452
|
+
checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
|
|
453
|
+
|
|
454
|
+
[[package]]
|
|
455
|
+
name = "windows_x86_64_gnullvm"
|
|
456
|
+
version = "0.52.6"
|
|
457
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
458
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
459
|
+
|
|
460
|
+
[[package]]
|
|
461
|
+
name = "windows_x86_64_gnullvm"
|
|
462
|
+
version = "0.53.0"
|
|
463
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
464
|
+
checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
|
|
465
|
+
|
|
466
|
+
[[package]]
|
|
467
|
+
name = "windows_x86_64_msvc"
|
|
468
|
+
version = "0.52.6"
|
|
469
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
470
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
471
|
+
|
|
472
|
+
[[package]]
|
|
473
|
+
name = "windows_x86_64_msvc"
|
|
474
|
+
version = "0.53.0"
|
|
475
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
476
|
+
checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
|
|
477
|
+
|
|
478
|
+
[[package]]
|
|
479
|
+
name = "winnow"
|
|
480
|
+
version = "0.7.12"
|
|
481
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
482
|
+
checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95"
|
|
483
|
+
dependencies = [
|
|
484
|
+
"memchr",
|
|
485
|
+
]
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "gef-file-to-map"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.2.1"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
rust-version = "1.85.0"
|
|
6
6
|
|
|
7
|
-
[lib]
|
|
8
|
-
# Name of the python module
|
|
9
|
-
name = "gef_file_to_map"
|
|
10
|
-
crate-type = ["cdylib"]
|
|
11
|
-
|
|
12
7
|
[dependencies]
|
|
13
8
|
itertools = "0.14.0"
|
|
14
|
-
|
|
15
|
-
pyo3 = { version = "0.24.0", features = ["extension-module", "abi3-py37"] }
|
|
9
|
+
pyo3 = { version = "0.24.2", features = ["extension-module", "abi3-py37"] }
|
|
16
10
|
thiserror = "2.0.12"
|
|
11
|
+
winnow = "0.7.7"
|
|
12
|
+
|
|
13
|
+
[dev-dependencies]
|
|
14
|
+
divan = "0.1.21"
|
|
15
|
+
|
|
16
|
+
[[bench]]
|
|
17
|
+
name = "test_gef"
|
|
18
|
+
harness = false
|
|
17
19
|
|
|
18
20
|
[profile.release]
|
|
19
21
|
lto = true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gef-file-to-map
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -14,7 +14,7 @@ Project-URL: repository, https://github.com/cemsbv/gef-file-to-map
|
|
|
14
14
|
|
|
15
15
|
# gef-file-to-map
|
|
16
16
|
|
|
17
|
-
[](https://pypi.org/project/gef-file-to-map
|
|
17
|
+
[](https://pypi.org/project/gef-file-to-map)
|
|
18
18
|
|
|
19
19
|
Utility library for parsing of .gef files, written for [pygef](https://github.com/cemsbv/pygef).
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# gef-file-to-map
|
|
2
2
|
|
|
3
|
-
[](https://pypi.org/project/gef-file-to-map
|
|
3
|
+
[](https://pypi.org/project/gef-file-to-map)
|
|
4
4
|
|
|
5
5
|
Utility library for parsing of .gef files, written for [pygef](https://github.com/cemsbv/pygef).
|
|
6
6
|
|