1. 28 1月, 2020 1 次提交
  2. 28 11月, 2019 1 次提交
  3. 27 2月, 2019 1 次提交
  4. 23 10月, 2018 1 次提交
  5. 20 9月, 2018 1 次提交
  6. 31 8月, 2018 2 次提交
    • A
      proc/native: implement Copy/RestoreRegisters on windows · b8e80746
      aarzilli 提交于
      b8e80746
    • A
      proc: replace SavedRegisters interface with a Copy method · 438e51f3
      aarzilli 提交于
      Fncall.go was written with the assumption that the object returned by
      proc.Thread.Registers does not change after we call
      proc.Thread.SetPC/etc.
      
      This is true for the native backend but not for gdbserial. I had
      anticipated this problem and introduced the Save/SavedRegisters
      mechanism during the first implementation of fncall.go but that's
      insufficient.
      
      Instead:
      
      1. clarify that the object returned by proc.Thread.Registers could
         change when the CPU registers are modified.
      2. add a Copy method to Registers that returns a copy of the registers
         that are guaranteed not to change when the CPU registers change.
      3. remove the Save/SavedRegisters mechanism.
      
      This solution leaves us the option, in the future, to cache the output
      of proc.(Thread).Registers, avoiding a system call every time it's
      called.
      438e51f3
  7. 14 7月, 2018 1 次提交
  8. 18 11月, 2017 1 次提交
    • A
      proc: refactor stack.go to use DWARF registers · f4e2000f
      aarzilli 提交于
      Instead of only tracking a few cherrypicked registers in stack.go track
      all DWARF registers.
      
      This is needed for cgo code and for the locationlists emitted by go in
      1.10:
      * The debug_frame sections emitted by C compilers can not be used
        without tracking all registers
      * the loclists emitted by go1.10 need all registers of a frame to be
        interpreted.
      f4e2000f
  9. 21 7月, 2017 1 次提交
  10. 22 4月, 2017 2 次提交
    • A
      proc: refactoring: merge target into proc · b6fe5aeb
      aarzilli 提交于
      - moved target.Interface into proc as proc.Process
      - rename proc.IThread to proc.Thread
      - replaced interfaces DisassembleInfo, Continuable and
        EvalScopeConvertible with Process.
      - removed superfluous Gdbserver prefix from types in the gdbserial
        backend.
      - removed superfluous Core prefix from types in the core backend.
      b6fe5aeb
    • A
      proc: refactoring: split backends to separate packages · 15bac719
      aarzilli 提交于
      - move native backend to pkg/proc/native
      - move gdbserver backend to pkg/proc/gdbserial
      - move core dumps backend to pkg/proc/core
      15bac719
  11. 19 4月, 2017 2 次提交
  12. 23 2月, 2017 1 次提交
    • A
      proc/stack: use BP when FDE is not available · 92faa95b
      aarzilli 提交于
      On Windows we can sometimes encounter threads stopped in locations for
      which we do not have entries in debug_frame.
      These cases seem to be due to calls to Windows API in the go runtime,
      we can still produce a (partial) stack trace in this circumstance by
      following frame pointers (starting with BP).
      We still prefer debug_frame entries when available since go functions
      do not have frame pointers before go1.8.
      92faa95b
  13. 09 2月, 2017 1 次提交
  14. 20 12月, 2016 1 次提交
  15. 21 7月, 2016 1 次提交
  16. 30 5月, 2016 1 次提交
  17. 12 2月, 2016 1 次提交
  18. 10 1月, 2016 1 次提交
  19. 28 7月, 2015 1 次提交
  20. 20 6月, 2015 1 次提交
  21. 13 6月, 2015 2 次提交
  22. 12 6月, 2015 1 次提交
  23. 28 4月, 2015 1 次提交