Sha256: 3148ef332ae164e19e447a3859d35c96dd56de0833f22f622d5e73f9a0d1c009

Contents?: true

Size: 721 Bytes

Versions: 16

Compression:

Stored size: 721 Bytes

Contents

// Code generated by linux/mkall.go generatePtraceRegSet("arm64"). DO NOT EDIT.

package unix

import "unsafe"

// PtraceGetRegSetArm64 fetches the registers used by arm64 binaries.
func PtraceGetRegSetArm64(pid, addr int, regsout *PtraceRegsArm64) error {
	iovec := Iovec{(*byte)(unsafe.Pointer(regsout)), uint64(unsafe.Sizeof(*regsout))}
	return ptracePtr(PTRACE_GETREGSET, pid, uintptr(addr), unsafe.Pointer(&iovec))
}

// PtraceSetRegSetArm64 sets the registers used by arm64 binaries.
func PtraceSetRegSetArm64(pid, addr int, regs *PtraceRegsArm64) error {
	iovec := Iovec{(*byte)(unsafe.Pointer(regs)), uint64(unsafe.Sizeof(*regs))}
	return ptracePtr(PTRACE_SETREGSET, pid, uintptr(addr), unsafe.Pointer(&iovec))
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.3.7 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.3.6 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.3.5 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.3.4 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.3.4.pre.debug ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.3.3.pre.debug ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.3.2 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.3.1 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.3.0 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.2.1 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.2.0 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.1.1 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.1.0 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.0.2 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.0.1 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
ruby_snowflake_client-1.0.0 ext/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go