pe: add address range checks for LoadConfiguration fields

Add VA range validation for all address fields in LoadConfiguration
that were previously unchecked. It validates that
each address falls within [imagebase, imagebase + virtual_size).
This commit is contained in:
Romain Thomas
2026-03-20 18:00:41 +01:00
parent 69219fdbe7
commit 8da5388b94
2 changed files with 126 additions and 8 deletions
+2 -4
View File
@@ -1014,11 +1014,9 @@ class ImportEntry(lief.Symbol):
@property
def hint(self) -> int: ...
@property
def iat_value(self) -> int: ...
iat_value: int
@property
def ilt_value(self) -> int: ...
ilt_value: int
@property
def iat_address(self) -> int: ...