mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
Simplifies PE header reading and validation logic, extracting common functionality into helper functions. Introduces `get_nt_header_from_file` to handle both x86 and x64 PE headers. Adds validation checks for both DOS and NT headers to ensure file integrity. Improves code readability and maintainability by reducing redundancy in header parsing. Relates to feature/pe_scanner
6.4 KiB
6.4 KiB