Skip to content

Commit

Permalink
assigning Gofunc
Browse files Browse the repository at this point in the history
  • Loading branch information
brigadier-general authored Jun 7, 2024
1 parent 189e50e commit f5dc310
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions objfile/objfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ETypes = uint64(module.Etypes)
moduleData.Typelinks = module.Typelinks
moduleData.ITablinks = module.Itablinks

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
} else {
var module ModuleData121_32
Expand Down Expand Up @@ -410,6 +413,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ITablinks.Data = pvoid64(module.Itablinks.Data)
moduleData.ITablinks.Len = uint64(module.Itablinks.Len)
moduleData.ITablinks.Capacity = uint64(module.Itablinks.Capacity)

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
}
case "1.20":
Expand Down Expand Up @@ -466,6 +472,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ETypes = uint64(module.Etypes)
moduleData.Typelinks = module.Typelinks
moduleData.ITablinks = module.Itablinks

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
} else {
var module ModuleData120_32
Expand Down Expand Up @@ -525,6 +534,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ITablinks.Data = pvoid64(module.Itablinks.Data)
moduleData.ITablinks.Len = uint64(module.Itablinks.Len)
moduleData.ITablinks.Capacity = uint64(module.Itablinks.Capacity)

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
}
case "1.18":
Expand Down Expand Up @@ -581,6 +593,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ETypes = uint64(module.Etypes)
moduleData.Typelinks = module.Typelinks
moduleData.ITablinks = module.Itablinks

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
} else {
var module ModuleData118_32
Expand Down Expand Up @@ -640,6 +655,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ITablinks.Data = pvoid64(module.Itablinks.Data)
moduleData.ITablinks.Len = uint64(module.Itablinks.Len)
moduleData.ITablinks.Capacity = uint64(module.Itablinks.Capacity)

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
}
case "1.16":
Expand Down Expand Up @@ -674,6 +692,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ETypes = uint64(module.Etypes)
moduleData.Typelinks = module.Typelinks
moduleData.ITablinks = module.Itablinks

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
} else {
var module ModuleData116_32
Expand Down Expand Up @@ -711,6 +732,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ITablinks.Data = pvoid64(module.Itablinks.Data)
moduleData.ITablinks.Len = uint64(module.Itablinks.Len)
moduleData.ITablinks.Capacity = uint64(module.Itablinks.Capacity)

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
}

Expand Down Expand Up @@ -817,6 +841,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ETypes = uint64(module.Etypes)
moduleData.Typelinks = module.Typelinks
moduleData.ITablinks = module.Itablinks

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
} else {
var module ModuleData12_r17_32
Expand Down Expand Up @@ -854,6 +881,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ITablinks.Data = pvoid64(module.Itablinks.Data)
moduleData.ITablinks.Len = uint64(module.Itablinks.Len)
moduleData.ITablinks.Capacity = uint64(module.Itablinks.Capacity)

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
}
case "1.8":
Expand Down Expand Up @@ -902,6 +932,9 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ETypes = uint64(module.Etypes)
moduleData.Typelinks = module.Typelinks
moduleData.ITablinks = module.Itablinks

moduleData.Gofunc = uint64(module.Gofunc)

return secStart, moduleData, err
} else {
var module ModuleData12_32
Expand Down Expand Up @@ -939,6 +972,8 @@ func (e *Entry) ModuleDataTable(pclntabVA uint64, runtimeVersion string, version
moduleData.ITablinks.Data = pvoid64(module.Itablinks.Data)
moduleData.ITablinks.Len = uint64(module.Itablinks.Len)
moduleData.ITablinks.Capacity = uint64(module.Itablinks.Capacity)

moduleData.Gofunc = uint64(module.Gofunc)
return secStart, moduleData, err
}
}
Expand Down

0 comments on commit f5dc310

Please sign in to comment.