kernel: export customized symbols (#58)

This commit is contained in:
Ylarod
2023-01-14 10:43:16 +08:00
committed by GitHub
parent 21b0d6ceaf
commit 50f44fff9e
4 changed files with 62 additions and 9 deletions

10
scripts/abi_gki_all.py Normal file
View File

@@ -0,0 +1,10 @@
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"))