// PokeText is the same as PokeData on AMD64.
PokeText is the same as PokeData on AMD64.
// PokeText is the same as PokeData on AMD64 .
func (t *Tracer) PokeText(addr uintptr, data []byte) (int, error) {
	var nwritten int
	for nwritten < len(data) {
		n, err := unix.PtracePokeText(t.pid, addr, data[nwritten:])
		if n == 0 || err != nil {
			return nwritten, err
		}
		nwritten += n
	}
	return nwritten, nil
}
func ( t * Tracer ) PokeText ( addr uintptr , data [ ] byte ) ( int , error ) { var nwritten int for nwritten < len ( data ) { n , err := unix . PtracePokeText ( t . pid , addr , data [ nwritten : ] ) if n == 0 || err != nil { return nwritten , err } nwritten += n } return nwritten , nil }
PokeText is the same as PokeData on AMD64.
PokeText is the same as PokeData on AMD64 .