gvisor/pkg/marshal
Rahat Mahmood 387501219e Replace remaining uses of reflection-based marshalling.
- Rewrite arch.Stack.{Push,Pop}. For the most part, stack now
  implements marshal.CopyContext and can be used as the target of
  marshal operations. Stack.Push had some extra logic for
  automatically null-terminating slices. This was only used for two
  specific types of slices, and is now handled explicitly.

- Delete usermem.CopyObject{In,Out}.

- Replace most remaining uses of the encoding/binary package with
  go-marshal. Most of these were using the binary package to compute
  the size of a struct, which go-marshal can directly replace. ~3 uses
  of the binary package remain. These aren't reasonably replaceable by
  go-marshal: for example one use is to construct the syscall
  trampoline for systrap.

- Fill out remaining convenience wrappers in the primitive package.

PiperOrigin-RevId: 334502375
2020-09-29 18:08:07 -07:00
..
primitive Replace remaining uses of reflection-based marshalling. 2020-09-29 18:08:07 -07:00
BUILD Replace remaining uses of reflection-based marshalling. 2020-09-29 18:08:07 -07:00
marshal.go Rename marshal.Task to marshal.CopyContext. 2020-09-16 02:10:12 -07:00
marshal_impl_util.go fuse: use safe go_marshal API for FUSE 2020-09-16 12:19:30 -07:00