You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
11 lines
264 B
Python
11 lines
264 B
Python
from xml.dom.minidom import parse
|
|
import xml.dom.minidom
|
|
import sys
|
|
|
|
|
|
DOMTree = xml.dom.minidom.parse(sys.argv[1])
|
|
symbols = DOMTree.getElementsByTagName("elf-symbol")
|
|
print("[abi_symbol_list]")
|
|
for symbol in symbols:
|
|
print(" " + symbol.getAttribute("name"))
|