|
| 1 | +SMDA |
| 2 | +Copyright (c) 2018-2020, Daniel Plohmann and Steffen Enders |
| 3 | + |
| 4 | +This product is licensed under the BSD 2-Clause License; see LICENSE. |
| 5 | + |
| 6 | +It includes third-party code, listed below with the notices its license |
| 7 | +requires. |
| 8 | + |
| 9 | +================================================================================ |
| 10 | +rust_demangler |
| 11 | +-------------------------------------------------------------------------------- |
| 12 | +src/smda/common/labelprovider/rust_demangler/ is derived from the rust_demangler |
| 13 | +package by Team bi0s (https://github.com/teambi0s/rust_demangler), used under the |
| 14 | +MIT License and modified for use here. |
| 15 | + |
| 16 | +MIT License |
| 17 | + |
| 18 | +Copyright (c) 2021 Team bi0s |
| 19 | + |
| 20 | +Permission is hereby granted, free of charge, to any person obtaining a copy |
| 21 | +of this software and associated documentation files (the "Software"), to deal |
| 22 | +in the Software without restriction, including without limitation the rights |
| 23 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 24 | +copies of the Software, and to permit persons to whom the Software is |
| 25 | +furnished to do so, subject to the following conditions: |
| 26 | + |
| 27 | +The above copyright notice and this permission notice shall be included in all |
| 28 | +copies or substantial portions of the Software. |
| 29 | + |
| 30 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 31 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 32 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 33 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 34 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 35 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 36 | +SOFTWARE. |
| 37 | + |
| 38 | +================================================================================ |
| 39 | +Ghidra |
| 40 | +-------------------------------------------------------------------------------- |
| 41 | +Parts of the same directory reimplement behaviour from Ghidra's Rust demanglers |
| 42 | +(https://github.com/NationalSecurityAgency/ghidra), specifically |
| 43 | +Ghidra/Features/Rust/src/main/java/ghidra/app/plugin/core/analysis/rust/demangler/ |
| 44 | +RustDemanglerV0.java and RustDemanglerLegacy.java: the recursion bound in the v0 |
| 45 | +demangler and the strict hash handling in the legacy demangler. Ghidra is |
| 46 | +licensed under the Apache License, Version 2.0, available at |
| 47 | + |
| 48 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 49 | + |
| 50 | +Ghidra's own V0 demangler is a port of the rustc-demangle crate |
| 51 | +(https://github.com/rust-lang/rustc-demangle), dual-licensed Apache-2.0 OR MIT. |
| 52 | + |
| 53 | +================================================================================ |
| 54 | +Tarjan's algorithm |
| 55 | +-------------------------------------------------------------------------------- |
| 56 | +src/smda/common/Tarjan.py is based on the implementation by Bas Westerbaan |
| 57 | +(https://github.com/bwesterb/py-tarjan), refactored into a class for pooled |
| 58 | +computation. |
| 59 | + |
| 60 | +================================================================================ |
| 61 | +Lengauer-Tarjan dominator tree |
| 62 | +-------------------------------------------------------------------------------- |
| 63 | +src/smda/common/DominatorTree.py is based on the implementation by Armin Rigo |
| 64 | +(https://bitbucket.org/arigo/arigo/src/default/hack/pypy-hack/heapstats/dominator.py). |
0 commit comments