Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com> Update structs Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
10 lines
184 B
Go
10 lines
184 B
Go
//go:build (linux || android) && amd64
|
|
|
|
package proot
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
func (tracee *Tracee) fetchRegs() error {
|
|
return unix.PtraceGetRegs(tracee.PID, &tracee.Regs)
|
|
}
|