INNER CODE UNIT · Python
analyze_obj
SpaRcle-Studio/SREngine · CI/scripts/analyze_msvc_symbols.py:57
def analyze_obj(obj: Path):
try:
result = subprocess.run(
["dumpbin", "/symbols", str(obj)],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
encoding="utf-8",
errors="ignore",
check=True,
)
except FileNotFoundError:
print("Не найден dumpbin.exe")
exit(1)
count = 0
for line in result.stdout.splitlines():