diff options
Diffstat (limited to 'src/debug/dwarf')
| -rw-r--r-- | src/debug/dwarf/open.go | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/debug/dwarf/open.go b/src/debug/dwarf/open.go index e94103a1d7..994b7262d1 100644 --- a/src/debug/dwarf/open.go +++ b/src/debug/dwarf/open.go @@ -2,9 +2,19 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package dwarf provides access to DWARF debugging information loaded from -// executable files, as defined in the DWARF 2.0 Standard at -// http://dwarfstd.org/doc/dwarf-2.0.0.pdf +/* +Package dwarf provides access to DWARF debugging information loaded from +executable files, as defined in the DWARF 2.0 Standard at +http://dwarfstd.org/doc/dwarf-2.0.0.pdf. + +# Security + +This package is not designed to be hardened against adversarial inputs, and is +outside the scope of https://go.dev/security/policy. In particular, only basic +validation is done when parsing object files. As such, care should be taken when +parsing untrusted inputs, as parsing malformed files may consume significant +resources, or cause panics. +*/ package dwarf import ( |
