From bafe4b3197a2f6c0640182a7663b5c2786e9e48a Mon Sep 17 00:00:00 2001 From: Michael Maltsev <4129781+m417z@users.noreply.github.com> Date: Mon, 26 Aug 2024 10:45:37 +0300 Subject: [PATCH] Skip alttab.dll --- scripts/01_extract_mod_symbols.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/01_extract_mod_symbols.py b/scripts/01_extract_mod_symbols.py index fe4f6a7cb..285837c9d 100644 --- a/scripts/01_extract_mod_symbols.py +++ b/scripts/01_extract_mod_symbols.py @@ -8,6 +8,11 @@ 'x86-64', ] +SYMBOL_MODULES_SKIP: dict[str, list[str]] = { + # Win7 only. + 'win7-alttab-loader': ['alttab.dll'], +} + SYMBOL_BLOCK_MODULES_BY_BLOCK_NAME: dict[tuple[str, str], tuple[str, ...]] = { ('aero-tray', 'hooks'): ('explorer.exe',), ('desktop-watermark-tweaks', 'hooks'): ('shell32.dll',), @@ -248,6 +253,8 @@ def sub_braced(match): modules = deduce_symbol_block_target_modules(mod_name, mod_source, symbol_block_match) + modules = [x for x in modules if x not in SYMBOL_MODULES_SKIP.get(mod_name, [])] + return { 'symbols': symbols, 'modules': modules,