Oleksandr Redko
13143680f7
proc/dwarf: LEB128 encode/decode in separate pkg ( #3235 )
2023-01-10 12:29:58 -08:00
Alessandro Arzilli
29eae8f617
*: clean up staticcheck problems ( #2723 )
...
Fix problems that can be fixed, ignore the ones that don't make sense
2021-09-28 12:07:42 -07:00
Alessandro Arzilli
fdb5189e8c
dwarf/op,proc: implement more DWARF expression opcodes ( #2606 )
2021-08-03 09:51:15 -07:00
Alessandro Arzilli
c6e52ecf5c
dwarf: make debug_line header parser more resilient ( #2456 )
...
Check for errors, log them and return early, do not try to allocate
large chunks of memory that we can never possibly read from the file.
Fixes #2449
2021-05-04 12:36:22 -07:00
Alessandro Arzilli
314ae669a3
dwarf/frame,proc: use eh_frame section ( #2344 )
...
The eh_frame section is similar to debug_frame but uses a slightly
different format. Gcc and clang by default only emit eh_frame.
2021-03-04 20:17:00 -08:00
hitzhangjie
d481eabab9
dwarf/*: add godoc comments ( #2265 )
2020-12-14 09:31:11 -08:00
Alessandro Arzilli
328cf87808
dwarf/loclist,godwarf,proc: support DWARF version 5 loclists and debug_addr ( #2097 )
...
Parses and uses the new debug_loclists section added to DWARFv5.
2020-08-17 17:19:46 -07:00
chainhelen
f3a191cd73
pkg/proc,service: support linux/386 ( #1884 )
...
Implement debugging function for 386 on linux with reference to AMD64.
There are a few remaining problems that need to be solved in another time.
1. The stacktrace of cgo are not exactly as expected.
2. Not implement `core` for now.
3. Not implement `call` for now. Can't not find `runtime·debugCallV1` or
similar function in $GOROOT/src/runtime/asm_386.s.
Update #20
2020-03-10 09:34:40 -07:00
aarzilli
f098915192
proc/tests: testing apparatus for complex location expressions
2017-11-21 11:51:02 -08:00
Derek Parker
53f0d24057
Move top-level packages into pkg
2017-02-08 12:17:19 -08:00