MCPcopy Index your code
hub / github.com/subtrace/subtrace / vmWriteUint32

Method vmWriteUint32

cmd/run/engine/process/vm.go:202–204  ·  view source on GitHub ↗

vmWriteInt32 writes a uint32 to the process' memory at ptr.

(n *seccomp.Notif, ptr uintptr, val uint32)

Source from the content-addressed store, hash-verified

200
201// vmWriteInt32 writes a uint32 to the process' memory at ptr.
202func (p *Process) vmWriteUint32(n *seccomp.Notif, ptr uintptr, val uint32) (syscall.Errno, error) {
203 return p.vmWriteBytes(n, ptr, arch.AppendUint32(nil, val))
204}
205
206// vmWriteSockaddr writes a sockaddr struct and its length to the process'
207// memory at ptr. It panics if addr is invalid or if ptr/sizePtr is NULL.

Callers 3

handleGetsockoptMethod · 0.95
handleGetsocknameMethod · 0.95
vmWriteSockaddrMethod · 0.95

Calls 1

vmWriteBytesMethod · 0.95

Tested by

no test coverage detected