Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PE: parse rich header and refactor DOS stub parser #406

Merged
merged 38 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b3714de
PE: parse rich header
kkent030315 Apr 13, 2024
9088827
Fix comments
kkent030315 Apr 13, 2024
d10f92a
Fix no method named `to_string` found for reference `&'static str` in…
kkent030315 Apr 13, 2024
61515b0
Explicitly isolate the Rich header from DOS stub
kkent030315 Apr 13, 2024
e29c121
Separate build and struct; revert DOS stub change
kkent030315 Apr 13, 2024
7274230
Fix rich header parser for stability
kkent030315 Oct 10, 2024
998b6f1
Lifetime reverts; implicit lifetime for now and deep copy
kkent030315 Oct 10, 2024
b1b841c
Make DosStub implicit lifetime aswell as 998b6f1
kkent030315 Oct 10, 2024
0e7c377
static to const, of vector datas in tests
kkent030315 Oct 10, 2024
7bcc51b
Move ptr to symbol table assert before gwrite borrow
kkent030315 Oct 10, 2024
7dc98ad
Fixed pe pointer issue, added DOS explanation, add Borland tests
kkent030315 Oct 10, 2024
275f0fa
impl Pread, Pwrite for DosStub
kkent030315 Oct 10, 2024
a39eb99
Merge remote-tracking branch 'upstream/master' into richh
kkent030315 Oct 25, 2024
d204a9b
Fix doc
kkent030315 Oct 25, 2024
67e5e0f
impl `TryIntoCtx` for `DosStub`
kkent030315 Oct 25, 2024
892341e
Revert to PE_POINTER_OFFSET
kkent030315 Oct 26, 2024
21bcc0c
Remove `#[repr(C)]` from `DosStub`
kkent030315 Oct 26, 2024
ab9b2ce
`pe::Header` is explicit lifetime now, impl iterator for `RichMetadata`
kkent030315 Oct 26, 2024
a473034
Return explicit error when rich scan range is invalid
kkent030315 Oct 26, 2024
8adac12
Remove `pe::header::rich_header` comment
kkent030315 Oct 26, 2024
ceeb6ac
impl `parse` in `RichMetadata`
kkent030315 Oct 26, 2024
5116ab9
Documented marker subtract
kkent030315 Oct 26, 2024
c539b53
panic-free rich header padding size calculation
kkent030315 Oct 26, 2024
a878275
more stricter dos stub offset check
kkent030315 Oct 26, 2024
c309f67
improve rich key discovery strategy and syntax
kkent030315 Oct 26, 2024
c5e7e83
Add rich offset checks for buffer scopes
kkent030315 Oct 26, 2024
2cf7861
Use `core::mem` instead of `std::mem`
kkent030315 Oct 26, 2024
d22797c
`DosStub` has explicit lifetime and dynamic size now
kkent030315 Oct 26, 2024
ff8e282
Fix doc comment for dos program
kkent030315 Oct 26, 2024
72a449b
impl `Copy` for `pe::Header`
kkent030315 Oct 26, 2024
56653d4
Remove unused imports
kkent030315 Oct 26, 2024
b307a5b
panic-free DanS marker discovery
kkent030315 Oct 26, 2024
00c5d78
Revert unnecessary changes
kkent030315 Oct 26, 2024
bddc811
Kindly deleting comment
kkent030315 Oct 26, 2024
49bcd5b
Merge branch 'master' into richh
kkent030315 Oct 27, 2024
65ad6f0
Merge with upstream
kkent030315 Oct 27, 2024
8b3757e
Fix tests
kkent030315 Oct 27, 2024
f8b390f
Add test for `parse_without_dos`
kkent030315 Oct 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading