Commit Graph

6 Commits

Author SHA1 Message Date
Alessandro Arzilli
f6e8fb37a4 proc: changed windows backend to deal with simultaneous breakpoints (#598)
* proc: changed windows backend to deal with simultaneous breakpoints

* bugfix: forgot to add windowsPrologue3 to the prologues list in e4c7df1

* Tolerate errors returned by Stacktrace in TestStacktraceGoroutine.

* bugfix: proc: propagate debug events we don't cause back to the target process

Fixes: #594

* proc: fixed TestStepConcurrentPtr

Implementation of nextInProgress was wrong.
2016-10-21 21:51:34 -07:00
Alex Brainman
4d8daeb1a8 proc: implement detach on windows (#615) 2016-09-12 11:16:41 -07:00
Alex Brainman
f09ef23f9e proc: implement attach on windows
Updates #363
2016-08-12 12:30:01 +10:00
Alex Brainman
8d4d0871cf proc: replace cgo with syscalls on windows
Unrelated to conversion, I have also changed (*Thread).readMemory
to return only first count bytes of memory just as advised
by ReadProcessMemory.

Fixes #409
Fixes #412
Fixes #416
2016-02-19 15:55:20 +11:00
Alex Brainman
270ebbbb8c [proc] do not export ThreadBasicInformation 2016-02-10 15:35:34 +11:00
Alex Brainman
c61de7b0c1 [proc] use syscall package to call NtQueryInformationThread
I was hoping this will fix the issue below.
But there is more code that break new cgo rules.

Fixes #409 (partial)
2016-02-09 17:24:14 +11:00