summaryrefslogtreecommitdiff
path: root/pe.c
AgeCommit message (Expand)Author
2023-12-05Print errors when setting/clearing memory attrsPeter Jones
2023-12-05CVE-2023-40548 Fix integer overflow on SBAT section size on 32-bit systemPeter Jones
2023-07-19Correctly free memory allocated in handle_image()Dennis Tseng
2023-06-23Split pe.c up even more.Peter Jones
2023-06-21pe: only process RelocDir->Size of reloc sectionMike Beaton
2023-01-27pe: Add IS_PAGE_ALIGNED macroNicholas Bishop
2023-01-27pe: Align section size up to page size for mem attrsNicholas Bishop
2022-11-14pe: Fix image section entry-point validationIlya Okomin
2022-10-04shim: Flush the memory region from i-cache before executiondann frazier
2022-05-24Also avoid CVE-2022-28737 in verify_image()Peter Jones
2022-05-24pe: Perform image verification earlier when loading grubChris Coulson
2022-05-24pe: Fix a buffer overflow when SizeOfRawData > VirtualSizeChris Coulson
2022-05-17Add MokPolicy variable and MOK_POLICY_REQUIRE_NXPeter Jones
2022-05-17PE Loader: support and require NXPeter Jones
2022-05-17Add verify_imageEric Snowberg
2022-04-05shim: implement SBAT verification for the shim_lock protocolChris Coulson
2022-02-03pe: missing perror argumentHeinrich Schuchardt
2021-09-10pe: simplify generate_hash()Heinrich Schuchardt
2021-09-07cleanup: always use BS and RT, not gBS and gRTPeter Jones
2021-07-20shim: another attempt to fix load options handlingChris Coulson
2021-03-30sbat: add more dprint()Peter Jones
2021-03-10Restructure our includes.Peter Jones
2021-02-25sbat: Don't assume VirtualSize == SizeOfRawDataChris Coulson
2021-02-25sbat: fix the residual "resource section" for SBATGary Lin
2021-02-25SBAT: make our sbat section parser use the csv parserPeter Jones
2021-02-25Fix all the places we need UNUSED on arguments.Peter Jones
2021-02-19sbat: make shim to parse it's own .sbat section on initJavier Martinez Canillas
2021-02-19pe.c: move sbat verification to its own function.Peter Jones
2021-02-19Don't re-parse the SBAT EFI variable for each binary we load.Javier Martinez Canillas
2021-02-19pe.c: parse SBAT variable and perform basic verificationAlex Burmashev
2021-02-19sbat: drop the struct sbat and just use two variables insteadPeter Jones
2021-02-16sbat: use correct type for parse_sbat_var() return valueJavier Martinez Canillas
2021-02-16sbat: remove unused buffer parameter in parse_sbat() functionJavier Martinez Canillas
2021-02-13SBAT: parse a copy of the table that's got a NUL at the endPeter Jones
2021-02-13Add a function to parse the SBAT metadata from the .sbat sectionJavier Martinez Canillas
2021-02-13Add the beginning of .sbat parsing stuffPeter Jones
2021-02-13Add some more PE helpers we need for SBATPeter Jones
2021-02-13Refactor some PE handling codePeter Jones
2021-02-13Move a bunch of PE-related stuff out of shim.cPeter Jones