1. 05 3月, 2021 3 次提交
  2. 04 3月, 2021 1 次提交
  3. 02 3月, 2021 1 次提交
  4. 25 2月, 2021 2 次提交
  5. 24 2月, 2021 7 次提交
  6. 23 2月, 2021 2 次提交
  7. 22 2月, 2021 4 次提交
  8. 21 2月, 2021 3 次提交
  9. 11 2月, 2021 1 次提交
  10. 06 2月, 2021 1 次提交
  11. 30 1月, 2021 4 次提交
    • A
      terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) · 2c1a8226
      Alessandro Arzilli 提交于
      * proc/core: off-by-one error reading ELF core files
      
      core.(*splicedMemory).ReadMemory checked the entry interval
      erroneously when dealing with contiguous entries.
      
      * terminal,service,proc/*: adds dump command (gcore equivalent)
      
      Adds the `dump` command that creates a core file from the target process.
      
      Backends will need to implement a new, optional, method `MemoryMap` that
      returns a list of mapped memory regions.
      Additionally the method `DumpProcessNotes` can be implemented to write out
      to the core file notes describing the target process and its threads. If
      DumpProcessNotes is not implemented `proc.Dump` will write a description of
      the process and its threads in a OS/arch-independent format (that only Delve
      understands).
      
      Currently only linux/amd64 implements `DumpProcessNotes`.
      
      Core files are only written in ELF, there is no minidump or macho-o writers.
      
      # Conflicts:
      #	pkg/proc/proc_test.go
      2c1a8226
    • A
      proc/core: off-by-one error reading ELF core files (#2333) · 11e4ed2b
      Alessandro Arzilli 提交于
      core.(*splicedMemory).ReadMemory checked the entry interval
      erroneously when dealing with contiguous entries.
      11e4ed2b
    • A
      proc: fix embedded field search (#2320) · f19d5e5c
      Alessandro Arzilli 提交于
      Both structMember and findMethod implemented a depth-first search in
      embedded fields but the Go specification requires a breadth-first
      search. They also allowed promotion of fields in the concrete type of
      embedded interfaces even though this is not allowed by Go.
      Furthermore they both lacked protection from infinite recursion
      when a type embeds itself and the user requests a non-existent field.
      
      Fixes #2316
      f19d5e5c
    • T
      pkg/proc: fix for file reference handling with DWARF 5 compilation units (#2327) · dceffacb
      Than McIntosh 提交于
      Add a helper method for collecting line table file references that
      does the correct thing for DWARF 5 vs DWARF 4 (in the latter case you
      have an implicit 0 entry which is the comp dir, whereas in the former
      case you do not). This is to avoid out-of-bounds errors when examining
      the file table section of a DWARF 5 compilation unit's line table.
      
      Included is a new linux/amd-only test that includes a precompiled C
      object file with a DWARF-5 section that triggers the bug in question.
      
      Fixes #2319
      dceffacb
  12. 29 1月, 2021 1 次提交
  13. 28 1月, 2021 1 次提交
  14. 27 1月, 2021 5 次提交
  15. 26 1月, 2021 3 次提交
  16. 21 1月, 2021 1 次提交