delve/Documentation
Derek Parker 6c77c35586
pkg/proc: add inline function support for stripped binaries (#3549)
This patch adds support for listing and setting breakpoints on inlined functions within stripped binaries. It uses a forked version of `debug/gosym` copied from golang.org/x/vuln/internal/vulncheck/internal/gosym which adds support for parsing the inline tree of the pclntab section. Parsing this section requires knowing the offset of the "go:func.*" symbol, which is not present in stripped binaries via the ``.symtab` section so instead, we search the `.noptrdata` section which contains `runtime.moduledatap` which contains the value of that missing symbol, which we then can use to find the inline tree for a given function.

Given all this we parse the inline tree for each function we find, and then add that information the the appropriate `Function` contained in `bi.Functions`, using a relatively empty `Function` struct as what would be the abstract origin.
2023-11-03 10:00:49 +01:00
..
api Documentation: fix typo and grammar issues (#3291) 2023-02-28 14:52:52 +01:00
cli pkg/terminal: add 'packages' command (#3499) 2023-09-18 08:59:58 -07:00
installation Documentation: add homebrew installation instructions back again 2022-10-03 21:05:19 +02:00
internal Documentation: add notes on porting Delve to other architectures (#2666) 2021-08-20 09:32:56 -07:00
usage Documentation,cmd/dlv: clean up command line usage help (#3395) 2023-08-09 10:37:55 -07:00
backend_test_health.md pkg/proc: add inline function support for stripped binaries (#3549) 2023-11-03 10:00:49 +01:00
EditorIntegration.md Add Debugger to UIs list in EditorIntegration (#3127) 2022-08-29 13:31:08 +02:00
faq.md *: misc improvements to config command and substitute-path rules (#3335) 2023-05-02 12:23:59 -07:00
KnownBugs.md Doc: update KnownBugs and faq. (#2196) 2020-10-19 08:21:03 -07:00
README.md documentation: add gdlv to list of alternative UIs (#774) 2017-03-24 16:10:01 -07:00

Delve Documentation

Documentation for the project will reside in this directory.