MCPcopy Create free account
hub / github.com/vercel/vercel / extract_symbol

Function extract_symbol

packages/python-analysis/scripts/profile-wasm.py:318–323  ·  view source on GitHub ↗

Extract a symbol name from a linker map entry, if present.

(detail)

Source from the content-addressed store, hash-verified

316
317
318def extract_symbol(detail):
319 """Extract a symbol name from a linker map entry, if present."""
320 m = re.search(r":\((.+?)\)", detail)
321 if m:
322 return m.group(1)
323 return ""
324
325
326def demangle_symbols(entries):

Callers 1

parse_linker_mapFunction · 0.85

Calls 1

groupMethod · 0.80

Tested by

no test coverage detected