demangle 0.9.0__tar.gz → 0.9.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- demangle-0.9.2/ARCHITECTURE.md +209 -0
- {demangle-0.9.0 → demangle-0.9.2}/CHANGELOG.md +41 -2
- {demangle-0.9.0 → demangle-0.9.2}/CITATION.cff +1 -1
- {demangle-0.9.0 → demangle-0.9.2}/CONFORMANCE.md +5 -12
- {demangle-0.9.0 → demangle-0.9.2}/CONTRIBUTING.md +53 -53
- {demangle-0.9.0 → demangle-0.9.2}/PKG-INFO +9 -13
- {demangle-0.9.0 → demangle-0.9.2}/README.md +8 -12
- {demangle-0.9.0 → demangle-0.9.2}/SECURITY.md +38 -42
- {demangle-0.9.0 → demangle-0.9.2}/benchmarks/bench.py +1 -1
- {demangle-0.9.0 → demangle-0.9.2}/benchmarks/bench_playground_browser.py +3 -3
- {demangle-0.9.0 → demangle-0.9.2}/docs/adding-a-scheme.md +35 -37
- demangle-0.9.2/docs/analysing-a-binary.md +139 -0
- demangle-0.9.2/docs/assets/logo.svg +1 -0
- demangle-0.9.0/docs/hooks.py → demangle-0.9.2/docs/build.py +47 -28
- {demangle-0.9.0 → demangle-0.9.2}/docs/comparison.md +91 -87
- demangle-0.9.2/docs/index.md +38 -0
- demangle-0.9.2/docs/integrations.md +256 -0
- demangle-0.9.2/docs/labelling-a-symbol-table.md +95 -0
- demangle-0.9.2/docs/overrides/partials/source.html +9 -0
- demangle-0.9.2/docs/playground.md +32 -0
- {demangle-0.9.0 → demangle-0.9.2}/docs/reference/api.md +0 -18
- {demangle-0.9.0 → demangle-0.9.2}/docs/reference/schemes.md +33 -39
- demangle-0.9.2/docs/stylesheets/extra.css +163 -0
- demangle-0.9.2/docs/testing.md +269 -0
- demangle-0.9.2/docs/usage.md +341 -0
- {demangle-0.9.0 → demangle-0.9.2}/playground/README.md +4 -4
- {demangle-0.9.0 → demangle-0.9.2}/playground/index.html +2 -2
- {demangle-0.9.0 → demangle-0.9.2}/playground/playground-worker.js +1 -1
- {demangle-0.9.0 → demangle-0.9.2}/playground/style.css +5 -4
- {demangle-0.9.0 → demangle-0.9.2}/pyproject.toml +6 -7
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/__init__.py +1 -1
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/_signature.py +20 -19
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/api.py +5 -16
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/reader.py +2 -2
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/gnuv2/_parser.py +22 -2
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/itanium/__init__.py +1 -1
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/itanium/parser.py +65 -53
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/jni/__init__.py +1 -1
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/msvc/_parser.py +15 -2
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/rust/__init__.py +14 -1
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/_demangler.py +2 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/_node.py +1 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/_printer.py +1 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/browser/test_playground_browser.py +14 -4
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/itanium-reference-defects.txt +15 -2
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/swift-upstream.txt +4 -1
- demangle-0.9.2/tests/test_check_pypi_releases.py +50 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_conformance.py +2 -2
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_docs.py +19 -3
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_itanium_import_thunk.py +25 -5
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_limits.py +9 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_playground.py +31 -26
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_swift.py +9 -0
- demangle-0.9.2/tools/check_pypi_releases.py +65 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/README.md +1 -0
- demangle-0.9.2/tools/corpus_sources/reference_defects/objc_protocol_builtin.mm +21 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/generate_msvc_dbghelp_corpus.py +1 -1
- {demangle-0.9.0 → demangle-0.9.2}/tools/swift-demangle-reference/README.md +15 -8
- {demangle-0.9.0 → demangle-0.9.2}/tools/swift-demangle-reference/build.sh +1 -1
- demangle-0.9.2/zensical.toml +144 -0
- demangle-0.9.0/ARCHITECTURE.md +0 -231
- demangle-0.9.0/docs/analysing-a-binary.md +0 -163
- demangle-0.9.0/docs/index.md +0 -2
- demangle-0.9.0/docs/integrations.md +0 -387
- demangle-0.9.0/docs/labelling-a-symbol-table.md +0 -109
- demangle-0.9.0/docs/playground.md +0 -32
- demangle-0.9.0/docs/testing.md +0 -273
- demangle-0.9.0/docs/usage.md +0 -320
- demangle-0.9.0/mkdocs.yml +0 -104
- {demangle-0.9.0 → demangle-0.9.2}/.gitignore +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/CODE_OF_CONDUCT.md +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/LICENSE +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/NOTICE +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/benchmarks/baseline.json +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/benchmarks/compare.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/benchmarks/end_to_end.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/docs/ARCHITECTURE.md +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/docs/CHANGELOG.md +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/docs/CONFORMANCE.md +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/docs/CONTRIBUTING.md +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/docs/SECURITY.md +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/docs/reference/core.md +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/docs/specs/itanium-grammar.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/integrations/demangle_binja.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/integrations/demangle_ghidra.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/integrations/demangle_ida.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/integrations/demangle_labels.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/playground/playground.js +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/playground/playground_bridge.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/playground/theme.js +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/__main__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/cli.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/ast.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/builder.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/cache.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/decorations.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/errors.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/limits.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/plugin.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/registry.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/spelling.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/core/style.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/filter.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/py.typed +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/ada/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/ada/_parser.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/ada/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/codewarrior/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/codewarrior/_parser.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/codewarrior/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/codewarrior/options.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/d/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/d/_parser.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/d/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/delphi/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/delphi/_parser.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/delphi/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/gnuv2/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/gnuv2/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/gnuv2/options.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/go/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/go/_parser.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/go/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/itanium/options.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/itanium/substitutions.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/itanium/tables.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/jni/_parser.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/jni/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/msvc/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/msvc/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/msvc/options.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/nim/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/nim/_parser.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/nim/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/objc/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/objc/_parser.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/objc/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/pascal/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/pascal/_parser.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/pascal/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/rust/_dispatch.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/rust/_legacy.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/rust/_v0.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/rust/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/rust/options.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/_old_demangler.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/_punycode.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/nodes.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/options.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/resolve.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/src/demangle/schemes/swift/symbolic.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/__init__.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/ada-libiberty.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/ada-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/codewarrior-cwdemangle.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/d-libiberty.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/d-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/delphi-constructs.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/delphi-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/delphi-refusals.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/delphi-tdump.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/gnuv2-libiberty.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/gnuv2-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/go-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/itanium-libcxxabi.txt.gz +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/itanium-libstdcxx.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/itanium-real-world-gnu.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/itanium-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/itanium-types-llvm.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/itanium-types.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/jni-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/msvc-arm64ec.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/msvc-boost.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/msvc-clang.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/msvc-dbghelp.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/msvc-llvm-corpus.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/msvc-name-only.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/msvc-reference-defects.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/msvc-suppressions.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/msvc-type-descriptors.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/nim-lossy.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/nim-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/objc-lossy.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/objc-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/objc-refusals.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/pascal-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/pascal-refusals.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/reported/d-gnu.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/reported/gnuv2-gnu.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/reported/itanium-gnu.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/reported/itanium.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/reported/rust.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/reported/swift.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/rust-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/rust-toolchain.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/rustc-upstream.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/swift-real-world.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/swift-reference-defects.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/swift-refusals.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/swift-simplified.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conformance/swift-symbolic.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/conftest.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_ada.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_address_of.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_api.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_api_surface.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_architecture.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_benchmarks.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_cli.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_codewarrior.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_compare.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_compiled.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_concurrency.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_core.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_d.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_delphi.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_differential.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_expressions.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_gnu_expressions.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_gnuv2.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_go.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_integrations.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_integrations_ghidra_live.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_integrations_hosts.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_invariants.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_itanium_apple_auto.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_itanium_closure_prefix.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_itanium_utf8.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_jni.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_llvm_oracle.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_local_names.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_msvc.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_msvc_arm64ec.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_msvc_ast.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_msvc_descriptors.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_msvc_instantiations.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_msvc_options.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_nim.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_objc.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_parity.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_pascal.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_prepare_release.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_readme.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_release_publish.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_repro.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_robustness.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_rust.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_rust_ast.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_rust_consts.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_signature.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_special_names.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_substitution_parameters.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_swift_fast_paths.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_swift_simplified.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_swift_symbolic.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_types.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_upstream_drift.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tests/test_upstream_workflow.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/ci-install.sh +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/features.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/go/go.mod +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/go/main.go +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/go/plain/lib.go +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/go/v2.5/lib.go +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/go/weird.pkg.name/lib.go +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/modern.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/modern23.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/msvc/modern.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/msvc/msvc.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/auto_marshall.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/closure_prefix.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/division.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/generic_lambda.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/inheriting_constructor.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/insort.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/insort_composite.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/member_template_lambda.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/prepare_execution.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/template_template_param.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/reference_defects/value_init_new.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/rust/consts.rs +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/rust/features.rs +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/rust/library.rs +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/corpus_sources/rust/types.rs +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/cplus-dem-reference/README.md +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/cplus-dem-reference/SHA256SUMS +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/cplus-dem-reference/build.sh +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/cplus-dem-reference/main.c +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/differential.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/ensure_release_publish.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/enumerate.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/generate_ada_corpus.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/generate_corpus.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/generate_d_corpus.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/generate_delphi_corpus.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/generate_go_corpus.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/generate_rust_corpus.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/hatch_build.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/invariants.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/llvm-oracle-requirements.txt +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/llvm_oracle.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/mutate.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/prepare_release.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/probe_substitutions.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/repro.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/rustc-demangle-reference/Cargo.lock +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/rustc-demangle-reference/Cargo.toml +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/rustc-demangle-reference/README.md +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/rustc-demangle-reference/src/main.rs +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/sweep_rust_chars.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/swift-demangle-reference/main.cpp +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/upstream_drift.py +0 -0
- {demangle-0.9.0 → demangle-0.9.2}/tools/uv-requirements.txt +0 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
# Architecture
|
|
2
|
+
|
|
3
|
+
`demangle` turns a mangled symbol name back into the declaration a programmer wrote. It
|
|
4
|
+
reads fourteen unrelated mangling schemes, is pure Python with no dependencies, and is
|
|
5
|
+
meant to sit inside tools that process millions of symbols. Most of the design comes
|
|
6
|
+
from wanting all three at once.
|
|
7
|
+
|
|
8
|
+
## The problem
|
|
9
|
+
|
|
10
|
+
A demangler can parse straight to a string. That's fast and small, and it's what
|
|
11
|
+
nearly every demangler does, but the caller gets an opaque string. A tool that wants
|
|
12
|
+
the namespace, the template arguments or the parameter types has to pull the output
|
|
13
|
+
apart again, and C++ declarations can't be pulled apart with a regular expression.
|
|
14
|
+
|
|
15
|
+
Or it can parse to a tree, which is structured but allocates an object per grammar
|
|
16
|
+
node. In Python that costs: building the tree takes about a fifth longer than building
|
|
17
|
+
the string, and most callers only wanted the string.
|
|
18
|
+
|
|
19
|
+
## Parsers write to a builder
|
|
20
|
+
|
|
21
|
+
So no parser here builds its own output. Each is written against the `Builder`
|
|
22
|
+
protocol in `core/builder.py` and calls methods like `builder.pointer(inner)` or
|
|
23
|
+
`builder.template(name, args)` as it recognises grammar productions. What those calls
|
|
24
|
+
produce is up to the builder.
|
|
25
|
+
|
|
26
|
+
Two builders ship:
|
|
27
|
+
|
|
28
|
+
| Builder | Produces | Use |
|
|
29
|
+
|---|---|---|
|
|
30
|
+
| `SpellingBuilder` | `Spelling` pairs, immediately concatenable | `demangle()` -- the hot path |
|
|
31
|
+
| `AstBuilder` | `Node` trees | `parse()` -- structured access |
|
|
32
|
+
|
|
33
|
+
The parser is written once and the caller picks the cost. A third backend, say JSON or
|
|
34
|
+
a token stream for a syntax highlighter, is one new class and no parser changes.
|
|
35
|
+
|
|
36
|
+
This is the rule that matters most. A parser that builds strings itself,
|
|
37
|
+
however convenient locally, breaks it. `tests/test_architecture.py` fails if a scheme
|
|
38
|
+
imports `core.spelling`, which is as far as a test can reach: a parser that
|
|
39
|
+
concatenates strings and hands the result to `builder.name()` imports nothing, and
|
|
40
|
+
only review catches that.
|
|
41
|
+
|
|
42
|
+
### Expressions
|
|
43
|
+
|
|
44
|
+
An expression inside a type goes through `Builder.expression(form, parts)`, so it
|
|
45
|
+
reaches the tree as structure rather than one opaque node. `parts` interleaves the
|
|
46
|
+
production's fixed text with its operands' handles and `form` names the shape --
|
|
47
|
+
`binary`, `conditional`, `call`, `sizeof`.
|
|
48
|
+
|
|
49
|
+
It's one method, not one per operator. Fifteen methods would be fifteen things
|
|
50
|
+
every future builder has to implement, and still wouldn't cover the next operator
|
|
51
|
+
someone mangles. The parser already owns operator spelling (it comes from `tables.py`,
|
|
52
|
+
which exists to be checked against the ABI), so all that's left for the builder is
|
|
53
|
+
structure.
|
|
54
|
+
|
|
55
|
+
Brackets are parts like any other. Whether an operand needs them is a precedence
|
|
56
|
+
question only the parser can answer, so a consumer walking the tree sees a `paren`
|
|
57
|
+
expression wrapping the operand.
|
|
58
|
+
|
|
59
|
+
Rust gets there differently. Its printer emits one linear stream of fragments and a
|
|
60
|
+
sink decides what to do with them: `TextSink` concatenates, `TreeSink` remembers where
|
|
61
|
+
each production began and ended. The tree is the same traversal with its boundaries
|
|
62
|
+
kept, so it renders to what `demangle()` returns by construction. That works because
|
|
63
|
+
Rust's spelling is strictly left to right. A C-family declarator wraps the name it
|
|
64
|
+
declares and can't be recovered from a linear stream.
|
|
65
|
+
|
|
66
|
+
### When a scheme needs its own spelling
|
|
67
|
+
|
|
68
|
+
`core/spelling.py` implements C-family declarator placement. A scheme whose output
|
|
69
|
+
looks like a C declaration uses it and gets the hard part for free. One whose output
|
|
70
|
+
doesn't, like MSVC with its calling convention inside the parentheses and its own
|
|
71
|
+
spacing, supplies its own node kinds and renderer, subclassing `core.ast.Node` so
|
|
72
|
+
`walk()`, `find()` and `spell()` keep working. `AstBuilder` is shared either way.
|
|
73
|
+
|
|
74
|
+
That's on purpose: one renderer for every scheme would mean MSVC-shaped branches
|
|
75
|
+
inside `core`.
|
|
76
|
+
|
|
77
|
+
## Layout
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
demangle/
|
|
81
|
+
api.py demangle(), parse(), detect() -- the public surface
|
|
82
|
+
_signature.py signature(): the parts of a name rather than its spelling
|
|
83
|
+
filter.py demangling the symbols out of text that is not only symbols
|
|
84
|
+
cli.py the `demangle` command
|
|
85
|
+
__main__.py `python -m demangle`, the same command
|
|
86
|
+
core/
|
|
87
|
+
reader.py a bounds-checked cursor; the input primitive for a new parser
|
|
88
|
+
builder.py the Builder protocol -- the contract between parser and output
|
|
89
|
+
spelling.py SpellingBuilder: C++ declarator placement, the fast path
|
|
90
|
+
ast.py AstBuilder and the Node hierarchy
|
|
91
|
+
errors.py the exception hierarchy
|
|
92
|
+
limits.py the bounds a parser reads before it recurses or emits
|
|
93
|
+
style.py named styles, and composing one for a single call
|
|
94
|
+
decorations.py what a symbol table adds around a name, which belongs to no scheme
|
|
95
|
+
plugin.py LanguagePlugin: the contract a scheme implements
|
|
96
|
+
cache.py bounded memoisation
|
|
97
|
+
registry.py scheme discovery, including third-party plugins
|
|
98
|
+
schemes/
|
|
99
|
+
itanium/ the Itanium C++ ABI (GCC, Clang, and everything that follows them)
|
|
100
|
+
msvc/ Microsoft's scheme, spelled as `llvm-undname` spells it
|
|
101
|
+
rust/ Rust legacy (_ZN) and v0 (_R)
|
|
102
|
+
swift/ Swift, both the current mangling and Swift 3's
|
|
103
|
+
d/ D, as GNU binutils reverses it
|
|
104
|
+
go/ Go package paths and receivers
|
|
105
|
+
nim/ Nim, whose symbols are ordinary C identifiers
|
|
106
|
+
objc/ Objective-C
|
|
107
|
+
pascal/ Free Pascal
|
|
108
|
+
delphi/ Borland/Embarcadero Delphi and C++Builder
|
|
109
|
+
gnuv2/ pre-Itanium C++: g++ before 3.0, cfront/ARM, Lucid, HP aCC, EDG
|
|
110
|
+
codewarrior/ Metrowerks CodeWarrior, the other pre-Itanium C++ mangling
|
|
111
|
+
ada/ Ada, as GNAT encodes it
|
|
112
|
+
jni/ the C function a Java `native` method is called through
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
`core` never imports from `schemes`; `schemes/*` never import from each other. Both are
|
|
116
|
+
enforced by a test; the cross-scheme rule's test is itself tested against a constructed
|
|
117
|
+
violation.
|
|
118
|
+
|
|
119
|
+
`core/style.py` imports no scheme: it names each scheme's option module by dotted path
|
|
120
|
+
and imports it on first use, so `core` stays free of `schemes` at import time.
|
|
121
|
+
|
|
122
|
+
## Why declarator placement is its own module
|
|
123
|
+
|
|
124
|
+
C++ spells a type around the name it declares, `int (*f)(char)`, so a type under
|
|
125
|
+
construction is two strings with a hole between them. Keeping that hole in the right
|
|
126
|
+
place through nested declarators is where demanglers most often go subtly wrong, so
|
|
127
|
+
`core/spelling.py` does it once, with its own tests, for every scheme whose output
|
|
128
|
+
looks like a C declaration. Its
|
|
129
|
+
[reference](https://r0ny123.github.io/demangle/reference/core/#spelling) has the
|
|
130
|
+
mechanics.
|
|
131
|
+
|
|
132
|
+
## Substitutions
|
|
133
|
+
|
|
134
|
+
The Itanium scheme compresses repeated components into back-references: `S_`, `S0_`,
|
|
135
|
+
`S1_`. The numbering is implicit. It depends on which components the encoder counted
|
|
136
|
+
as substitutable, and in what order. Add one entry the specification doesn't, or miss
|
|
137
|
+
one it does, and every later back-reference in the name points at the wrong thing.
|
|
138
|
+
|
|
139
|
+
The rules are ABI section 5.1.10, and `schemes/itanium/substitutions.py` implements
|
|
140
|
+
them as a separate, directly testable component with the specification quoted at each
|
|
141
|
+
decision. Rust v0 has its own back-reference rules, in its own module for the same
|
|
142
|
+
reason.
|
|
143
|
+
|
|
144
|
+
## Adding a scheme
|
|
145
|
+
|
|
146
|
+
A scheme is a directory under `schemes/` exposing a `LanguagePlugin` (`core/plugin.py`).
|
|
147
|
+
Nothing in `core` knows the list of schemes at import time: `core/registry.py` finds the
|
|
148
|
+
built-ins lazily, and third-party plugins through the `demangle.languages` entry-point
|
|
149
|
+
group once a caller runs `load_plugins()`.
|
|
150
|
+
|
|
151
|
+
Detection is the part that has to be cheap. It runs on every symbol in a binary, and
|
|
152
|
+
most of them aren't mangled, so `detect` is expected to be a prefix test, and the
|
|
153
|
+
registry narrows what a name is offered to before any `detect` runs. A
|
|
154
|
+
scheme with a fixed first character declares it (`first_characters`), and a name
|
|
155
|
+
starting with anything else never reaches it. A scheme whose names are ordinary C
|
|
156
|
+
identifiers has none, so it declares a `DETECT_SCREEN`: the markers and openings that a
|
|
157
|
+
name must hold for its `detect` to say yes, and a name with none of them is not offered
|
|
158
|
+
to it. Both can apply: Nim and Free Pascal names are identifiers, so they also declare
|
|
159
|
+
the letters and `_` as first characters, which keeps them off MSVC's `?` and Swift's
|
|
160
|
+
`$s` names even though those hold the `__` and `$` they screen on. The schemes whose
|
|
161
|
+
names carry no marker at all (Ada and the two pre-Itanium C++ manglings, whose `detect`
|
|
162
|
+
has to parse) are offered last, behind everything a prefix settles.
|
|
163
|
+
|
|
164
|
+
[Adding a scheme](https://github.com/r0ny123/demangle/blob/main/docs/adding-a-scheme.md)
|
|
165
|
+
is the walk-through.
|
|
166
|
+
|
|
167
|
+
## Performance
|
|
168
|
+
|
|
169
|
+
Design rules, in the order they matter:
|
|
170
|
+
|
|
171
|
+
1. **The common call must not allocate an AST.** Hence the builder protocol.
|
|
172
|
+
2. **Detection precedes parsing.** See [Adding a scheme](#adding-a-scheme).
|
|
173
|
+
3. **Results are memoised.** Symbol tables repeat names heavily: the same
|
|
174
|
+
`std::allocator<char>` appears thousands of times in one binary. Caches are bounded
|
|
175
|
+
so a long-running process can't grow without limit.
|
|
176
|
+
4. **`__slots__` on every hot class.** Node and Spelling instances are created in the
|
|
177
|
+
millions.
|
|
178
|
+
5. **No regular expressions in the hot parse loops.** The Itanium, MSVC, Rust and Swift
|
|
179
|
+
parsers advance by character dispatch; a regular expression appears there only to
|
|
180
|
+
test a whole token or a suffix. The smaller schemes (JNI, Objective-C, Pascal,
|
|
181
|
+
Delphi, CodeWarrior, Ada, Nim) use them over short names.
|
|
182
|
+
6. **The Itanium hot path also ships compiled.** `tools/hatch_build.py` builds the
|
|
183
|
+
reader, the spelling builder and the Itanium parser with mypyc for CPython's
|
|
184
|
+
platform wheels. It is the same source, so the pure modules stay the reference, but
|
|
185
|
+
mypyc checks at run time the types mypy infers: an attribute or local has to keep
|
|
186
|
+
one type, and one that mypy would narrow to `None` across a call that sets it is
|
|
187
|
+
annotated `Any`. The build fails if those files do not pass
|
|
188
|
+
`mypy --check-untyped-defs`.
|
|
189
|
+
|
|
190
|
+
`benchmarks/bench.py --check` measures this against real symbol corpora in CI on every
|
|
191
|
+
pull request, so a regression fails the build.
|
|
192
|
+
|
|
193
|
+
## Correctness
|
|
194
|
+
|
|
195
|
+
Correct means agreeing with the reference demangler, not with our reading of the
|
|
196
|
+
specification. Where a scheme has no reference it's checked against what the compiler
|
|
197
|
+
recorded for each symbol, and Go and JNI, which have neither, must re-mangle to the
|
|
198
|
+
symbol they were read from. [CONFORMANCE.md](CONFORMANCE.md) says what each scheme is
|
|
199
|
+
measured against and what the measurement says.
|
|
200
|
+
|
|
201
|
+
`tests/conformance/` holds frozen corpora with the reference output next to each name;
|
|
202
|
+
[CONTRIBUTING.md](CONTRIBUTING.md#conformance-numbers) says how their pass counts are
|
|
203
|
+
pinned. The harness in `tools/` regenerates the corpora and can run a live differential
|
|
204
|
+
against the reference binaries when they're installed.
|
|
205
|
+
|
|
206
|
+
`demangle()` never raises over a name and returns its input unchanged when it can't do
|
|
207
|
+
better, because a wrong expansion is worse than a mangled name: it matches neither the
|
|
208
|
+
symbol nor the declaration. Callers who need to know the difference use `parse()`,
|
|
209
|
+
which raises.
|
|
@@ -8,6 +8,43 @@ the reference demanglers, and a **Performance** section.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.9.2] - 2026-11-18
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **A short MSVC name can no longer take minutes.** A dynamic initialiser nested in
|
|
16
|
+
another was read twice at each level, so twenty of them in a 540-character name took ten
|
|
17
|
+
seconds and every further one doubled it. It now takes milliseconds.
|
|
18
|
+
- **A short g++ 2.x name can no longer hang `demangle()` or run it out of memory.**
|
|
19
|
+
`f__FiN99999999_0` repeats an argument a hundred million times and `H999999999_`
|
|
20
|
+
claims as many template arguments, and both are read by detection without being asked
|
|
21
|
+
for. A name now gets 16,384 arguments in all, and a template can't claim more arguments
|
|
22
|
+
than it has characters left.
|
|
23
|
+
|
|
24
|
+
## [0.9.1] - 2026-11-18
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- **A Rust name behind a PE import thunk reads as Rust.** `__imp__ZN...17h<hash>E` was
|
|
29
|
+
read as C++, the way llvm-cxxfilt reads it, which kept the hash and left escapes like
|
|
30
|
+
`$LT$` in. It is now `import thunk for` plus the same spelling the name gets on its
|
|
31
|
+
own, and v0 names behind the prefix are read too. Windows-gnu Rust binaries are full
|
|
32
|
+
of these: one RustyStealer sample has 686.
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- **Objective-C++ names with `id<P>` or `Class<P>` read every later back-reference
|
|
37
|
+
right.** Under protocols clang writes `id` and `Class` as builtins, which take no
|
|
38
|
+
substitution entry, and they were given one, so `_Z1pPU11objcproto1P11objc_objectS0_`
|
|
39
|
+
came out `p(id<P>, objc_object<P>)` instead of `p(id<P>, id<P>)`, and some names were
|
|
40
|
+
refused. llvm-cxxfilt and GNU c++filt have the same bug. Found in the symbol table of
|
|
41
|
+
the SeaFlower macOS sample.
|
|
42
|
+
- **Swift reads the `Md` demangling cache variable.** Upstream's mangler now writes
|
|
43
|
+
`$s4main5KlassCACYTcMd` where it wrote `...MD`, and the name came back unchanged. Both
|
|
44
|
+
spellings read, and so does the new `MR` (`mangled name ref for type metadata for`).
|
|
45
|
+
The Swift reference build moves to swiftlang/swift `main` @ `251fbaad`, and
|
|
46
|
+
`swift-upstream.txt` takes the edited row and three `MnTwa` vectors: 538 / 538.
|
|
47
|
+
|
|
11
48
|
## [0.9.0] - 2026-11-14
|
|
12
49
|
|
|
13
50
|
### Changed
|
|
@@ -1674,7 +1711,7 @@ the reference demanglers, and a **Performance** section.
|
|
|
1674
1711
|
the qualifier from an array element in a variable's type that it prints in a
|
|
1675
1712
|
parameter's. Draws nine and ten added six: a special name's local entity -- `GV`,
|
|
1676
1713
|
`TH`, `TW`, `GR` -- took a function type after it, so `_ZGVZ1fvE1gv` was a guard
|
|
1677
|
-
variable for a function, where `parseSpecialName` reads an
|
|
1714
|
+
variable for a function, where `parseSpecialName` reads an `<object name>` and returns;
|
|
1678
1715
|
a requires-clause with no template arguments before it spelled `j<>`; `fp` with no `_`
|
|
1679
1716
|
read as a parameter, and `fpK_`, a qualified one, was refused; the explicit object
|
|
1680
1717
|
marker `H` in a nested name read as a type put `this` on the parameters of the
|
|
@@ -4307,7 +4344,9 @@ substitution table contents, pinned by name.
|
|
|
4307
4344
|
faster by doing less work.
|
|
4308
4345
|
- API reference published from docstrings at <https://r0ny123.github.io/demangle/>.
|
|
4309
4346
|
|
|
4310
|
-
[Unreleased]: https://github.com/r0ny123/demangle/compare/v0.9.
|
|
4347
|
+
[Unreleased]: https://github.com/r0ny123/demangle/compare/v0.9.2...HEAD
|
|
4348
|
+
[0.9.2]: https://github.com/r0ny123/demangle/compare/v0.9.1...v0.9.2
|
|
4349
|
+
[0.9.1]: https://github.com/r0ny123/demangle/compare/v0.9.0...v0.9.1
|
|
4311
4350
|
[0.9.0]: https://github.com/r0ny123/demangle/compare/v0.8.0...v0.9.0
|
|
4312
4351
|
[0.8.0]: https://github.com/r0ny123/demangle/compare/v0.7.1...v0.8.0
|
|
4313
4352
|
[0.7.1]: https://github.com/r0ny123/demangle/compare/v0.7.0...v0.7.1
|
|
@@ -9,13 +9,6 @@ for D's), so an improvement cannot quietly mask a regression, and `tests/test_re
|
|
|
9
9
|
checks this page against those pins. The [whole symbol tables](#whole-symbol-tables)
|
|
10
10
|
are live runs, not pinned counts.
|
|
11
11
|
|
|
12
|
-
**Contents** — [checked-in corpora](#checked-in-corpora) ·
|
|
13
|
-
[notes on the corpora](#notes-on-the-corpora) ·
|
|
14
|
-
[whole symbol tables](#whole-symbol-tables) ·
|
|
15
|
-
[printing the name without its signature](#printing-the-name-without-its-signature) ·
|
|
16
|
-
[on trusting the references](#on-trusting-the-references) ·
|
|
17
|
-
[schemes not covered](#schemes-not-covered)
|
|
18
|
-
|
|
19
12
|
## Checked-in corpora
|
|
20
13
|
|
|
21
14
|
Replayed by the test suite. No compiler and no reference demangler needed.
|
|
@@ -33,11 +26,11 @@ Replayed by the test suite. No compiler and no reference demangler needed.
|
|
|
33
26
|
| Purpose-built C++, llvm style | `llvm-cxxfilt` 18.1.3 | **318 / 318** |
|
|
34
27
|
| Purpose-built C++, gnu style | GNU `c++filt` 2.42 | **311 / 311** |
|
|
35
28
|
| Reported names, one file per scheme in `tests/conformance/reported/` | the reference each report cites | **every entry** |
|
|
36
|
-
| Names a reference reads wrongly <sup>[17](#17-where-following-a-reference-would-be-the-defect)</sup> | the declaration | **
|
|
29
|
+
| Names a reference reads wrongly <sup>[17](#17-where-following-a-reference-would-be-the-defect)</sup> | the declaration | **42 / 42** |
|
|
37
30
|
| Bare `<type>` encodings, llvm style | `llvm-cxxfilt --types` 18.1.3 | **1076 / 1076** |
|
|
38
31
|
| Bare `<type>` encodings, gnu style | GNU `c++filt -t` 2.42 | **1076 / 1076** <sup>[3](#3-bare-types-under-both-references)</sup> |
|
|
39
32
|
| Swift runtime + the compiler's own test corpus | `swift-demangle`, built from source <sup>[6](#6-the-swift-reference-is-built-here)</sup> | **8494 / 8494** |
|
|
40
|
-
| Swift — the compiler's own demangler vectors | `swift-demangle`, built from source <sup>[6](#6-the-swift-reference-is-built-here)</sup> | **
|
|
33
|
+
| Swift — the compiler's own demangler vectors | `swift-demangle`, built from source <sup>[6](#6-the-swift-reference-is-built-here)</sup> | **538 / 538** |
|
|
41
34
|
| Nim 1.6 and 2.2, against the compiler's own record <sup>[14](#14-nim)</sup> | `.ndi` debug mapping | **2115 / 2115** |
|
|
42
35
|
| Free Pascal 3.2.2 runtime and packages <sup>[5](#5-free-pascal)</sup> | re-assembly + `ppudump` | **3899 / 3899** |
|
|
43
36
|
| Go, from the shipped toolchain | round trip <sup>[16](#16-go)</sup> | **1517 / 1517** |
|
|
@@ -348,11 +341,11 @@ mentions a local entity. Freezing it prints a type the source disproves:
|
|
|
348
341
|
`llvm::BasicBlock*`, a generic lambda's `operator()<int>` taking `auto`, or a closure
|
|
349
342
|
declared `[](auto x)` taking `int`.
|
|
350
343
|
|
|
351
|
-
Settled against
|
|
344
|
+
Settled against twelve reduced sources compiled by g++ 13.3.0 and clang++ 18.1.3 —
|
|
352
345
|
`insort`, `insort_composite`, `generic_lambda`, `member_template_lambda`,
|
|
353
346
|
`prepare_execution`, `auto_marshall`, `value_init_new`, `division`, `closure_prefix`,
|
|
354
|
-
`template_template_param` and `
|
|
355
|
-
`tools/corpus_sources/reference_defects/`. They give
|
|
347
|
+
`template_template_param`, `inheriting_constructor` and `objc_protocol_builtin` —
|
|
348
|
+
checked in under `tools/corpus_sources/reference_defects/`. They give 30 of the 42 names in
|
|
356
349
|
`tests/conformance/itanium-reference-defects.txt`; two more come from the general corpus
|
|
357
350
|
sources and ten from shipped libraries and bottles. It is the Itanium corpus whose
|
|
358
351
|
expected column comes from the declaration rather than from a demangler.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# Contributing
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
You can work on this one piece at a time. Adding a scheme, fixing a spelling or
|
|
4
|
+
contributing a corpus shouldn't need the whole codebase in your head.
|
|
5
5
|
|
|
6
6
|
Everyone taking part follows the [Code of Conduct](https://github.com/r0ny123/demangle/blob/main/CODE_OF_CONDUCT.md).
|
|
7
7
|
|
|
8
8
|
## Getting set up
|
|
9
9
|
|
|
10
10
|
The project builds with [Hatch](https://hatch.pypa.io/) and installs with
|
|
11
|
-
[uv](https://docs.astral.sh/uv/).
|
|
12
|
-
|
|
11
|
+
[uv](https://docs.astral.sh/uv/). Plain pip works too, but with those two the local
|
|
12
|
+
check is one command.
|
|
13
13
|
|
|
14
14
|
```console
|
|
15
15
|
git clone https://github.com/r0ny123/demangle
|
|
@@ -24,9 +24,9 @@ The pieces are available on their own: `hatch run test`, `cover`, `lint`, `fmt`,
|
|
|
24
24
|
`bench`, `differential`. `hatch run test:test` runs the suite on Python 3.11 to 3.14 and
|
|
25
25
|
PyPy 3.11, and `hatch run docs:serve` previews the documentation site.
|
|
26
26
|
|
|
27
|
-
`hatch run quick` while iterating (about a minute)
|
|
28
|
-
(about seven minutes on four cores). `quick` skips the tests marked `sweep
|
|
29
|
-
properties checked over every corpus name, which are most of the suite's time
|
|
27
|
+
Use `hatch run quick` while iterating (about a minute) and `hatch run check` before
|
|
28
|
+
pushing (about seven minutes on four cores). `quick` skips the tests marked `sweep`,
|
|
29
|
+
the properties checked over every corpus name, which are most of the suite's time. CI
|
|
30
30
|
runs everything.
|
|
31
31
|
|
|
32
32
|
Without Hatch:
|
|
@@ -37,10 +37,8 @@ pytest
|
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Development requirements are [dependency groups](https://peps.python.org/pep-0735/),
|
|
40
|
-
not extras
|
|
41
|
-
|
|
42
|
-
linter is not a feature of a demangler. The groups are `test`, `format`, `lint`, `docs`,
|
|
43
|
-
`browser`, and `dev`, which includes the first three.
|
|
40
|
+
not extras, so PyPI doesn't offer users a `demangle[dev]`. The groups are `test`,
|
|
41
|
+
`format`, `lint`, `docs`, `browser`, and `dev`, which includes the first three.
|
|
44
42
|
|
|
45
43
|
The browser suite is opt-in: it needs the browser dependency group, a built docs site,
|
|
46
44
|
and Chromium. It uses a deterministic fake worker for UI regressions; the real Pyodide
|
|
@@ -49,7 +47,7 @@ smoke test is separately opt-in.
|
|
|
49
47
|
```console
|
|
50
48
|
uv pip install -e . --group browser --group docs --group test
|
|
51
49
|
python -m playwright install chromium
|
|
52
|
-
|
|
50
|
+
python docs/build.py
|
|
53
51
|
DEMANGLE_BROWSER_TESTS=1 python -m pytest -q tests/browser/test_playground_browser.py
|
|
54
52
|
|
|
55
53
|
# Also start the real Pyodide runtime the build fetched, as the browser CI job does.
|
|
@@ -104,28 +102,28 @@ picked up without an edit.
|
|
|
104
102
|
|
|
105
103
|
## The rules that matter
|
|
106
104
|
|
|
107
|
-
Most of the codebase is ordinary Python. Three rules
|
|
108
|
-
design rests on them.
|
|
109
|
-
|
|
105
|
+
Most of the codebase is ordinary Python. Three rules aren't negotiable, because the
|
|
106
|
+
design rests on them. Tests enforce the last two fully and the first as far as a test
|
|
107
|
+
can reach:
|
|
110
108
|
|
|
111
109
|
1. **Parsers never build their own output.** Write against the `Builder` protocol
|
|
112
|
-
(`core/builder.py`); ARCHITECTURE.md
|
|
110
|
+
(`core/builder.py`); [ARCHITECTURE.md](ARCHITECTURE.md#parsers-write-to-a-builder)
|
|
111
|
+
says why, and what the test can't catch.
|
|
113
112
|
2. **`core` never imports a scheme, and schemes never import each other**
|
|
114
113
|
([ARCHITECTURE.md](ARCHITECTURE.md#layout)).
|
|
115
|
-
3. **No third-party dependencies.**
|
|
116
|
-
|
|
117
|
-
not just against the source tree.
|
|
114
|
+
3. **No third-party dependencies.** It's why a lot of people can use this at all. CI
|
|
115
|
+
checks it against a clean install of the built wheel, not just the source tree.
|
|
118
116
|
|
|
119
117
|
## Working on the Itanium parser
|
|
120
118
|
|
|
121
|
-
Substitution numbering is
|
|
122
|
-
has the rules.
|
|
119
|
+
Substitution numbering is the part to get right;
|
|
120
|
+
[ARCHITECTURE.md](ARCHITECTURE.md#substitutions) has the rules.
|
|
123
121
|
|
|
124
|
-
The specification
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
122
|
+
The specification is ambiguous in places. Don't guess, ask the reference.
|
|
123
|
+
`tools/probe_substitutions.py` appends `S_`, `S0_`, `S1_` to a name under construction,
|
|
124
|
+
which makes the reference print its own substitution table back at you. Several
|
|
125
|
+
decisions in the parser were settled that way, and each has a comment naming the probe
|
|
126
|
+
that settled it.
|
|
129
127
|
|
|
130
128
|
## Adding a scheme
|
|
131
129
|
|
|
@@ -147,7 +145,7 @@ python benchmarks/bench.py --check
|
|
|
147
145
|
```
|
|
148
146
|
|
|
149
147
|
That is what `check` covers. CI also runs the three fuzzers against the built references,
|
|
150
|
-
the cross-version reference check,
|
|
148
|
+
the cross-version reference check, the docs build, and a build of the
|
|
151
149
|
distributions with the wheel installed in a clean environment, so a pull request can fail
|
|
152
150
|
there with `check` passing.
|
|
153
151
|
|
|
@@ -181,30 +179,31 @@ number moved and why; so does one that moves a benchmark.
|
|
|
181
179
|
|
|
182
180
|
### The fuzzers
|
|
183
181
|
|
|
184
|
-
A change to a parser's
|
|
185
|
-
|
|
186
|
-
`tools/invariants.py`.
|
|
182
|
+
A change to a parser's shape rules, meaning what it accepts, not how it spells it,
|
|
183
|
+
has been through `tools/enumerate.py`, `tools/mutate.py` and `tools/invariants.py`.
|
|
187
184
|
[Fuzzing and the reference demanglers](https://github.com/r0ny123/demangle/blob/main/docs/testing.md)
|
|
188
185
|
has why, what each asks, and how to build the references for Rust, Swift and
|
|
189
186
|
pre-Itanium C++ that no distribution ships.
|
|
190
187
|
|
|
191
188
|
## Preparing a release
|
|
192
189
|
|
|
193
|
-
|
|
194
|
-
its stable semantic version. The command defaults the date to today; pass `--date` for a
|
|
195
|
-
specific `YYYY-MM-DD` date. It updates the package and citation versions, moves the notes
|
|
196
|
-
under the dated changelog heading, refreshes comparison links, then runs the documentation
|
|
197
|
-
metadata checks. If those checks fail, it restores the original files. Merge that change
|
|
198
|
-
to `main` through a pull request; `tag-release.yml` creates the tag and release only after
|
|
199
|
-
push CI passes for that exact commit. It then starts the PyPI publishing workflow. If starting
|
|
200
|
-
publishing fails, rerun the tag-release job: an existing release no longer stops recovery.
|
|
201
|
-
Active or successful publishing runs are left alone; failed runs retry only failed jobs.
|
|
202
|
-
Cancelled runs require an explicit manual restart.
|
|
190
|
+
Once the Unreleased section has notes worth publishing:
|
|
203
191
|
|
|
204
192
|
```console
|
|
205
193
|
python tools/prepare_release.py 0.8.0 --date 2026-12-01
|
|
206
194
|
```
|
|
207
195
|
|
|
196
|
+
That updates the package and citation versions, moves the notes under a dated changelog
|
|
197
|
+
heading, refreshes the comparison links and runs the documentation metadata checks,
|
|
198
|
+
restoring the files if they fail. The version has to be a stable `X.Y.Z`, and `--date`
|
|
199
|
+
defaults to today.
|
|
200
|
+
|
|
201
|
+
Merge the change to `main` through a pull request. `tag-release.yml` creates the tag
|
|
202
|
+
and the release once push CI passes for that exact commit, then starts the PyPI
|
|
203
|
+
publishing workflow. If that start fails, rerun the tag-release job; an existing
|
|
204
|
+
release doesn't stop it. Active or successful publishing runs are left alone, failed
|
|
205
|
+
ones retry only their failed jobs, and a cancelled one needs a manual restart.
|
|
206
|
+
|
|
208
207
|
## How changes get merged
|
|
209
208
|
|
|
210
209
|
Leave `CHANGELOG.md` alone: the maintainer writes the entry when merging. A first-time
|
|
@@ -227,24 +226,25 @@ and `actions: write` on that one job; it starts `release.yml`, which publishes t
|
|
|
227
226
|
PyPI Trusted Publishing, so there is no long-lived API token in repository secrets. The
|
|
228
227
|
`pypi` environment still waits for a maintainer to approve.
|
|
229
228
|
|
|
230
|
-
The test matrix
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
exception, because they are platform code: `wheels.yml`
|
|
238
|
-
platform and Python they ship for, and the `compiled`
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
229
|
+
The test matrix isn't a cross product. Every supported version runs on Linux, PyPy
|
|
230
|
+
3.11 included. macOS and Windows get one row each, the newest and the oldest Python,
|
|
231
|
+
and one more row runs the free-threaded 3.14t build for `tests/test_concurrency.py`.
|
|
232
|
+
Everything that has ever differed between platforms differed in the harness (a glob, a
|
|
233
|
+
subprocess, a console encoding), and one row per operating system catches that as well
|
|
234
|
+
as a cross product would.
|
|
235
|
+
|
|
236
|
+
The compiled wheels are the exception, because they are platform code: `wheels.yml`
|
|
237
|
+
builds and tests one for every platform and Python they ship for, and the `compiled`
|
|
238
|
+
job runs the whole suite and the Itanium fuzzers against one.
|
|
239
|
+
|
|
240
|
+
Each extra row has a comment in `ci.yml` saying why it's there. Add a row when a
|
|
241
|
+
defect shows up that only that row would have caught, and say so in its comment.
|
|
242
242
|
|
|
243
243
|
Two rules for anyone editing `.github/`:
|
|
244
244
|
|
|
245
245
|
- Never use `pull_request_target`. It runs with a writable token against the fork's
|
|
246
246
|
code, which makes any pull request arbitrary code execution with our secrets.
|
|
247
|
-
- Never interpolate untrusted values
|
|
247
|
+
- Never interpolate untrusted values (issue titles, branch names, PR bodies) into a
|
|
248
248
|
`run:` block. Pass them through `env:` and reference the variable.
|
|
249
249
|
|
|
250
250
|
## Style
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: demangle
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.2
|
|
4
4
|
Summary: Read mangled symbol names -- Itanium C++, MSVC, Rust, Swift, Objective-C, Go, D, Nim, Free Pascal, Delphi, Ada/GNAT, JNI and pre-Itanium C++ (g++ 2.x, cfront/ARM, Lucid, HP aCC, CodeWarrior) -- in pure Python, with no dependencies.
|
|
5
5
|
Project-URL: Homepage, https://github.com/r0ny123/demangle
|
|
6
6
|
Project-URL: Documentation, https://r0ny123.github.io/demangle/
|
|
@@ -39,6 +39,7 @@ Description-Content-Type: text/markdown
|
|
|
39
39
|
[](https://r0ny123.github.io/demangle/)
|
|
40
40
|
[](https://r0ny123.github.io/demangle/playground/)
|
|
41
41
|
|
|
42
|
+
<!-- --8<-- [start:home] -->
|
|
42
43
|
**Read mangled symbol names in pure Python.** Itanium C++ (GCC, Clang), MSVC, Rust,
|
|
43
44
|
Swift, Objective-C, Go, D, Nim, Free Pascal, Delphi and C++Builder, Ada/GNAT, JNI, and
|
|
44
45
|
the pre-Itanium C++ families (g++ 2.x, cfront/ARM, Lucid, HP aCC, CodeWarrior), with no
|
|
@@ -110,20 +111,15 @@ Ghidra](https://r0ny123.github.io/demangle/integrations/) relabel a database wit
|
|
|
110
111
|
and the [playground](https://r0ny123.github.io/demangle/playground/) runs it in the
|
|
111
112
|
browser.
|
|
112
113
|
|
|
114
|
+
<!-- --8<-- [end:home] -->
|
|
113
115
|
## Documentation
|
|
114
116
|
|
|
115
|
-
The
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
| [Labelling a symbol table](https://r0ny123.github.io/demangle/labelling-a-symbol-table/) | One label per address, the same whichever compiler built the binary |
|
|
122
|
-
| [API reference](https://r0ny123.github.io/demangle/reference/api/) | Signatures and docstrings |
|
|
123
|
-
| [Conformance](https://r0ny123.github.io/demangle/CONFORMANCE/) | What each scheme is measured against, and every number |
|
|
124
|
-
| [Comparison](https://r0ny123.github.io/demangle/comparison/) | Coverage and speed beside LLVM, `cpp_demangle` and `itanium_demangler` |
|
|
125
|
-
| [Security policy](https://r0ny123.github.io/demangle/SECURITY/) | The threat model, the bounds, and how to report privately |
|
|
126
|
-
| [Architecture](https://r0ny123.github.io/demangle/ARCHITECTURE/) | How the parsers, builders and schemes fit together |
|
|
117
|
+
The [documentation](https://r0ny123.github.io/demangle/) has the
|
|
118
|
+
[guide](https://r0ny123.github.io/demangle/usage/), the
|
|
119
|
+
[API reference](https://r0ny123.github.io/demangle/reference/api/), the
|
|
120
|
+
[conformance numbers](https://r0ny123.github.io/demangle/CONFORMANCE/), a
|
|
121
|
+
[comparison](https://r0ny123.github.io/demangle/comparison/) with other demanglers and
|
|
122
|
+
the [security policy](https://r0ny123.github.io/demangle/SECURITY/).
|
|
127
123
|
|
|
128
124
|
## Performance
|
|
129
125
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
[](https://r0ny123.github.io/demangle/)
|
|
7
7
|
[](https://r0ny123.github.io/demangle/playground/)
|
|
8
8
|
|
|
9
|
+
<!-- --8<-- [start:home] -->
|
|
9
10
|
**Read mangled symbol names in pure Python.** Itanium C++ (GCC, Clang), MSVC, Rust,
|
|
10
11
|
Swift, Objective-C, Go, D, Nim, Free Pascal, Delphi and C++Builder, Ada/GNAT, JNI, and
|
|
11
12
|
the pre-Itanium C++ families (g++ 2.x, cfront/ARM, Lucid, HP aCC, CodeWarrior), with no
|
|
@@ -77,20 +78,15 @@ Ghidra](https://r0ny123.github.io/demangle/integrations/) relabel a database wit
|
|
|
77
78
|
and the [playground](https://r0ny123.github.io/demangle/playground/) runs it in the
|
|
78
79
|
browser.
|
|
79
80
|
|
|
81
|
+
<!-- --8<-- [end:home] -->
|
|
80
82
|
## Documentation
|
|
81
83
|
|
|
82
|
-
The
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
| [Labelling a symbol table](https://r0ny123.github.io/demangle/labelling-a-symbol-table/) | One label per address, the same whichever compiler built the binary |
|
|
89
|
-
| [API reference](https://r0ny123.github.io/demangle/reference/api/) | Signatures and docstrings |
|
|
90
|
-
| [Conformance](https://r0ny123.github.io/demangle/CONFORMANCE/) | What each scheme is measured against, and every number |
|
|
91
|
-
| [Comparison](https://r0ny123.github.io/demangle/comparison/) | Coverage and speed beside LLVM, `cpp_demangle` and `itanium_demangler` |
|
|
92
|
-
| [Security policy](https://r0ny123.github.io/demangle/SECURITY/) | The threat model, the bounds, and how to report privately |
|
|
93
|
-
| [Architecture](https://r0ny123.github.io/demangle/ARCHITECTURE/) | How the parsers, builders and schemes fit together |
|
|
84
|
+
The [documentation](https://r0ny123.github.io/demangle/) has the
|
|
85
|
+
[guide](https://r0ny123.github.io/demangle/usage/), the
|
|
86
|
+
[API reference](https://r0ny123.github.io/demangle/reference/api/), the
|
|
87
|
+
[conformance numbers](https://r0ny123.github.io/demangle/CONFORMANCE/), a
|
|
88
|
+
[comparison](https://r0ny123.github.io/demangle/comparison/) with other demanglers and
|
|
89
|
+
the [security policy](https://r0ny123.github.io/demangle/SECURITY/).
|
|
94
90
|
|
|
95
91
|
## Performance
|
|
96
92
|
|