rufus/src
Pete Batard e7b66e7e4c
[mingw] use delay loading for DLLs that are subject to side loading
* This reverts much of commits f6ac559f4d and 1947266837
  so that we call the Windows APIs directly again, while ensuring that, by the time we load the DLLs,
  sideloading mitigation has already been applied by the application.
* This is a continuation of #1877, and should help prevent re-introducing side-loading issues when we
  link against new libraries, as well as allow us to drop some of the manual DLL hooking we've been
  doing to prevent it, to clean up the code.
* Note that this is a bit more complex than what the stackoverflow post suggests, because we need to
  create delayloaded libs for both 32-bit and 64-bit, which use a different calling convention and
  therefore need to use different .def files. So there's a lot of gymkhana involved, with Makefiles
  and whatnot, to get us there.
* Also simplify the use of CM_Get_DevNode_Registry_PropertyA() in dev.c since recent versions of
  MinGW now have support for it.
* Also fix 2 small issues in net.c (potential overflow) and format.c (memory leak).
2022-04-12 11:09:59 +01:00
..
bled [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
ext2fs [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
getopt
libcdio [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
ms-sys [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
msvc-missing
syslinux [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
.editorconfig
badblocks.c [badblocks] use 0x55 and 0xAA for less than 2 passes checks 2020-11-10 17:24:52 +00:00
badblocks.h
checksum.c [misc] fix PVS-Studio warnings 2022-01-05 12:57:26 +01:00
db.h [misc] fix console hogger not being deleted on exit 2021-10-23 15:14:46 +01:00
dev.c [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
dev.h [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
dos.c [dos] update FreeDOS to version 1.3 2022-02-21 20:02:53 +00:00
dos.h
dos_locale.c [misc] fix PVS-Studio warnings 2022-01-05 12:57:26 +01:00
drive.c [iso] add ISOHybrid "CD" partition and ISO9660 file system detection 2022-04-05 18:31:03 +01:00
drive.h [core] reassign a letter for drives written in DD mode that don't have an ESP 2022-03-24 17:24:39 +00:00
format.c [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
format.h [core] fix format error when trying to use old BIOS fixes with VHDs 2020-07-03 15:24:37 +01:00
format_ext.c [misc] fix PVS-Studio warnings 2022-01-05 12:57:26 +01:00
format_fat32.c [iso] fix ISO→ESP creation for Windows 11 2022-01-20 15:24:35 +01:00
gpt_types.h [loc] fix Russian translation for KB/MB/GB... 2020-12-11 17:10:48 +00:00
hdd_vs_ufd.h [core] speed up the clearing of MBR/GPT sectors 2021-09-19 14:29:30 +01:00
icon.c [misc] fix PVS-Studio warnings 2022-01-05 12:57:26 +01:00
iso.c [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
license.h [misc] add regexp engine 2021-04-22 22:43:20 +01:00
localization.c
localization.h
localization_data.h [ui] add a message for ISOHybrids that don't allow for ISO mode 2021-03-25 20:49:45 +00:00
localization_data.sh [misc] update copyright year 2022-01-09 15:02:50 +00:00
Makefile.am [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
Makefile.in [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
mbr_types.h [iso] add ISOHybrid "CD" partition and ISO9660 file system detection 2022-04-05 18:31:03 +01:00
missing.h [misc] fix PVS-Studio warnings 2022-01-05 12:57:26 +01:00
msapi_utf8.h [misc] fix PVS-Studio warnings 2022-01-05 12:57:26 +01:00
net.c [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
parser.c [misc] fix PVS-Studio warnings 2022-01-05 12:57:26 +01:00
pki.c [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
process.c [misc] fix PVS-Studio warnings 2022-01-05 12:57:26 +01:00
process.h
re.c [misc] add regexp engine 2021-04-22 22:43:20 +01:00
re.h [misc] add regexp engine 2021-04-22 22:43:20 +01:00
registry.h [misc] small Windows versioning improvement 2021-09-28 15:39:51 +01:00
resource.h [ui] add a message for ISOHybrids that don't allow for ISO mode 2021-03-25 20:49:45 +00:00
rufus.c v3.18 (Build 1877) 2022-03-11 16:51:59 +00:00
rufus.h [iso] add support for distros using a NONSTANDARD GRUB 2.0 prefix directory 2022-04-07 01:58:22 +01:00
rufus.manifest [dev] add exception for Realtek card readers 2021-01-06 19:27:31 +00:00
rufus.rc [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
settings.h [ui] add cheat mode (Alt-M) to ignore Boot Marker 2020-11-12 17:38:20 +00:00
smart.c [misc] UFD vs HDD detection improvements 2021-04-23 12:03:43 +01:00
smart.h
stdfn.c [misc] improve Windows edition reporting 2021-10-27 09:51:28 +01:00
stdio.c [misc] fix PVS-Studio warnings 2022-01-05 12:57:26 +01:00
stdlg.c [misc] update copyright year 2022-01-09 15:02:50 +00:00
syslinux.c [ui] fix regression in conditional expression and use %c always 2022-01-31 16:55:42 +00:00
ui.c [ui] fix regression in conditional expression and use %c always 2022-01-31 16:55:42 +00:00
ui.h [core] add option to bypass TPM 2.0/Secure Boot/RAM requirements for Windows 11 ISOs 2021-10-08 19:24:10 +01:00
ui_data.h [ui] fix missing labels for accessibility 2020-07-02 22:55:01 +01:00
vhd.c [ui] produce a more explicit error message when an image can't be opened/read 2022-01-07 13:27:15 +00:00
winio.h [core] switch to async I/O for image writing 2021-04-22 01:01:56 +01:00