[utils] decode_packed_codes: Fix missing key handling (#15440)

Authored by: cesbar
This commit is contained in:
cesbar 2025-12-30 14:57:42 +01:00 committed by GitHub
parent 2a7e048a60
commit f24b9ac0c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4478,7 +4478,7 @@ def decode_packed_codes(code):
symbol_table[base_n_count] = symbols[count] or base_n_count symbol_table[base_n_count] = symbols[count] or base_n_count
return re.sub( return re.sub(
r'\b(\w+)\b', lambda mobj: symbol_table[mobj.group(0)], r'\b(\w+)\b', lambda m: symbol_table.get(m.group(0), m.group(0)),
obfuscated_code) obfuscated_code)