Xz Backdoor, Cybersecurity.
ifunc_symbols = [] for section in elffile.iter_sections(): # Only process the symbol table section if isinstance(section, SymbolTableSection): for symbol in section.iter_symbols(): # Check if the symbol type is 'STT_GNU_IFUNC' if symbol['st_info']['type'] == 'STT_LOOS': ifunc_symbols.append(symbol)