Projects STRLCPY GoReSym Commits 3e211798
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    GoReSym.proto
     1 +syntax = "proto3";
     2 +package GoReSym;
     3 +option go_package = "protobuf/GoReSym/";
     4 + 
     5 +message PcLnTabMetadata {
     6 + uint64 va = 1;
     7 + string version = 2;
     8 + string endianess = 3;
     9 + uint32 cpuQuantum = 4;
     10 + string cpuQuantumStr = 5;
     11 + uint32 pointerSize = 6;
     12 +}
     13 + 
     14 +message FuncMetadata {
     15 + uint64 start = 1;
     16 + uint64 end = 2;
     17 + string packageName = 3;
     18 + string fullName = 4;
     19 +}
     20 + 
     21 +message GoSlice {
     22 + uint64 data = 1;
     23 + uint64 len = 2;
     24 + uint64 capacity = 3;
     25 +}
     26 + 
     27 +message ModuleData {
     28 + uint64 va = 1;
     29 + uint64 types = 2;
     30 + uint64 etypes = 3;
     31 + GoSlice typeLinks = 4;
     32 + GoSlice itabLinks = 5;
     33 + GoSlice legacyTypes = 6;
     34 +}
     35 + 
     36 +message Type {
     37 + uint64 va = 1;
     38 + string str = 2;
     39 + string kind = 3;
     40 + string reconstructed = 4;
     41 +}
     42 + 
     43 +message Module {
     44 + string path = 1;
     45 + string version = 2;
     46 + string sum = 3;
     47 +}
     48 + 
     49 +message BuildSetting {
     50 + string key = 1;
     51 + string value = 2;
     52 +}
     53 + 
     54 +message BuildInfo {
     55 + string goVersion = 1;
     56 + string path = 2;
     57 + Module main = 3;
     58 + repeated Module deps = 4;
     59 + repeated BuildSetting settings = 5;
     60 +}
     61 + 
     62 +message ExtractMetadata {
     63 + string version = 1;
     64 + string buildId = 2;
     65 + string arch = 3;
     66 + string os = 4;
     67 + PcLnTabMetadata tabMeta = 5;
     68 + ModuleData moduleMeta = 6;
     69 + repeated Type types = 7;
     70 + repeated Type interfaces = 8;
     71 + BuildInfo buildInfo = 9;
     72 + repeated string files = 10;
     73 + repeated FuncMetadata userFunctions = 11;
     74 + repeated FuncMetadata stdFunctions = 12;
     75 +}
  • ■ ■ ■ ■ ■ ■
    objfile/objfile.go
    skipped 753 lines
    754 754   case "1.17":
    755 755   fallthrough
    756 756   case "1.18":
     757 + fallthrough
     758 + case "1.19":
    757 759   varint_len, namelen, err := e.readVarint(namePtr + 1)
    758 760   if err != nil {
    759 761   return "", fmt.Errorf("Failed to read name")
    skipped 183 lines
    943 945   case "1.17":
    944 946   fallthrough
    945 947   case "1.18":
     948 + fallthrough
     949 + case "1.19":
    946 950   if is64bit {
    947 951   var rtype Rtype114_115_116_117_118_64
    948 952   rtype_raw, err := e.raw.read_memory(typeAddress, uint64(unsafe.Sizeof(rtype)))
    skipped 372 lines
    1321 1325   case "1.17":
    1322 1326   fallthrough
    1323 1327   case "1.18":
     1328 + fallthrough
     1329 + case "1.19":
    1324 1330   // type structType struct {
    1325 1331   // rtype
    1326 1332   // pkgPath name // pointer
    skipped 222 lines
Please wait...
Page is in error, reload to recover