Commit Graph

3 Commits

Author SHA1 Message Date
Mintsuki
19eb9942aa pe: Add bounds check for e_lfanew offset in pe_bits 2026-01-13 01:03:08 +01:00
Mintsuki
7d811beee6 pe: Validate PE header offsets against file size 2026-01-11 23:45:22 +01:00
czapek
8b01ea3430 lib: Add support for loading PE images (#442)
* lib: Add support for loading PE images

* lib/pe: Use standard integer types

* lib/pe: Fix section alignment

* lib/pe: Properly iterate base relocation blocks

* lib/pe: Add missing machine types

* protos/limine: Add kernel format detection logic

* lib/pe: Fix integer to pointer conversion errors

* lib/elf: Add previously removed check

* lib/pe: Fix base relocation block iteration code

* lib/pe: Add missing machine types to pe_bits
2025-01-08 00:35:15 +01:00