Skip to content

Commit

Permalink
Skip alttab.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
m417z committed Aug 26, 2024
1 parent 7511edb commit bafe4b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/01_extract_mod_symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',),
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit bafe4b3

Please sign in to comment.