SMDA
Copyright (c) 2018-2020, Daniel Plohmann and Steffen Enders

This product is licensed under the BSD 2-Clause License; see LICENSE.

It includes third-party code, listed below with the notices its license
requires.

================================================================================
rust_demangler
--------------------------------------------------------------------------------
src/smda/common/labelprovider/rust_demangler/ is derived from the rust_demangler
package by Team bi0s (https://github.com/teambi0s/rust_demangler), used under the
MIT License and modified for use here.

MIT License

Copyright (c) 2021 Team bi0s

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

================================================================================
Ghidra
--------------------------------------------------------------------------------
Parts of the same directory reimplement behaviour from Ghidra's Rust demanglers
(https://github.com/NationalSecurityAgency/ghidra), specifically
Ghidra/Features/Rust/src/main/java/ghidra/app/plugin/core/analysis/rust/demangler/
RustDemanglerV0.java and RustDemanglerLegacy.java: the recursion bound in the v0
demangler and the strict hash handling in the legacy demangler. Ghidra is
licensed under the Apache License, Version 2.0, available at

    http://www.apache.org/licenses/LICENSE-2.0

Ghidra's own V0 demangler is a port of the rustc-demangle crate
(https://github.com/rust-lang/rustc-demangle), dual-licensed Apache-2.0 OR MIT.

================================================================================
LLVM demangler test corpus
--------------------------------------------------------------------------------
tests/msvc_reference_corpus.txt lists MSVC mangled symbol names taken from the
LLVM Project's demangler tests (llvm/test/Demangle/ms-*.test), together with the
spelling llvm-undname produces for each. It is used to measure this project's
MSVC demangler against a reference implementation.

The LLVM Project is licensed under the Apache License, Version 2.0, with the
LLVM exception. The license is available at

    https://llvm.org/LICENSE.txt

================================================================================
Tarjan's algorithm
--------------------------------------------------------------------------------
src/smda/common/Tarjan.py is based on the implementation by Bas Westerbaan
(https://github.com/bwesterb/py-tarjan), refactored into a class for pooled
computation.

================================================================================
Lengauer-Tarjan dominator tree
--------------------------------------------------------------------------------
src/smda/common/DominatorTree.py is based on the implementation by Armin Rigo
(https://bitbucket.org/arigo/arigo/src/default/hack/pypy-hack/heapstats/dominator.py).
