summaryrefslogtreecommitdiffhomepage
path: root/pkg/usermem
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
commit69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch)
tree9b57d56a75d3900b35c7814bf1417057f8fac933 /pkg/usermem
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/usermem')
-rw-r--r--pkg/usermem/usermem_state_autogen.go26
1 files changed, 13 insertions, 13 deletions
diff --git a/pkg/usermem/usermem_state_autogen.go b/pkg/usermem/usermem_state_autogen.go
index 9ea1da43e..ca2035504 100644
--- a/pkg/usermem/usermem_state_autogen.go
+++ b/pkg/usermem/usermem_state_autogen.go
@@ -35,38 +35,38 @@ func (a *AccessType) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(2, &a.Execute)
}
-func (a *Addr) StateTypeName() string {
+func (v *Addr) StateTypeName() string {
return "pkg/usermem.Addr"
}
-func (a *Addr) StateFields() []string {
+func (v *Addr) StateFields() []string {
return nil
}
-func (a *AddrRange) StateTypeName() string {
+func (r *AddrRange) StateTypeName() string {
return "pkg/usermem.AddrRange"
}
-func (a *AddrRange) StateFields() []string {
+func (r *AddrRange) StateFields() []string {
return []string{
"Start",
"End",
}
}
-func (a *AddrRange) beforeSave() {}
+func (r *AddrRange) beforeSave() {}
-func (a *AddrRange) StateSave(stateSinkObject state.Sink) {
- a.beforeSave()
- stateSinkObject.Save(0, &a.Start)
- stateSinkObject.Save(1, &a.End)
+func (r *AddrRange) StateSave(stateSinkObject state.Sink) {
+ r.beforeSave()
+ stateSinkObject.Save(0, &r.Start)
+ stateSinkObject.Save(1, &r.End)
}
-func (a *AddrRange) afterLoad() {}
+func (r *AddrRange) afterLoad() {}
-func (a *AddrRange) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &a.Start)
- stateSourceObject.Load(1, &a.End)
+func (r *AddrRange) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &r.Start)
+ stateSourceObject.Load(1, &r.End)
}
func init() {