github.com/ttpreport/gvisor-ligolo@v0.0.0-20240123134145-a858404967ba/pkg/sentry/kernel/uncaught_signal_go_proto/uncaught_signal.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.30.0
     4  // 	protoc        v3.21.7
     5  // source: pkg/sentry/kernel/uncaught_signal.proto
     6  
     7  package uncaught_signal_go_proto
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	registers_go_proto "github.com/ttpreport/gvisor-ligolo/pkg/sentry/arch/registers_go_proto"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type UncaughtSignal struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	Tid          int32                         `protobuf:"varint,1,opt,name=tid,proto3" json:"tid,omitempty"`
    30  	Pid          int32                         `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
    31  	Registers    *registers_go_proto.Registers `protobuf:"bytes,3,opt,name=registers,proto3" json:"registers,omitempty"`
    32  	SignalNumber int32                         `protobuf:"varint,4,opt,name=signal_number,json=signalNumber,proto3" json:"signal_number,omitempty"`
    33  	FaultAddr    uint64                        `protobuf:"varint,5,opt,name=fault_addr,json=faultAddr,proto3" json:"fault_addr,omitempty"`
    34  }
    35  
    36  func (x *UncaughtSignal) Reset() {
    37  	*x = UncaughtSignal{}
    38  	if protoimpl.UnsafeEnabled {
    39  		mi := &file_pkg_sentry_kernel_uncaught_signal_proto_msgTypes[0]
    40  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    41  		ms.StoreMessageInfo(mi)
    42  	}
    43  }
    44  
    45  func (x *UncaughtSignal) String() string {
    46  	return protoimpl.X.MessageStringOf(x)
    47  }
    48  
    49  func (*UncaughtSignal) ProtoMessage() {}
    50  
    51  func (x *UncaughtSignal) ProtoReflect() protoreflect.Message {
    52  	mi := &file_pkg_sentry_kernel_uncaught_signal_proto_msgTypes[0]
    53  	if protoimpl.UnsafeEnabled && x != nil {
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		if ms.LoadMessageInfo() == nil {
    56  			ms.StoreMessageInfo(mi)
    57  		}
    58  		return ms
    59  	}
    60  	return mi.MessageOf(x)
    61  }
    62  
    63  // Deprecated: Use UncaughtSignal.ProtoReflect.Descriptor instead.
    64  func (*UncaughtSignal) Descriptor() ([]byte, []int) {
    65  	return file_pkg_sentry_kernel_uncaught_signal_proto_rawDescGZIP(), []int{0}
    66  }
    67  
    68  func (x *UncaughtSignal) GetTid() int32 {
    69  	if x != nil {
    70  		return x.Tid
    71  	}
    72  	return 0
    73  }
    74  
    75  func (x *UncaughtSignal) GetPid() int32 {
    76  	if x != nil {
    77  		return x.Pid
    78  	}
    79  	return 0
    80  }
    81  
    82  func (x *UncaughtSignal) GetRegisters() *registers_go_proto.Registers {
    83  	if x != nil {
    84  		return x.Registers
    85  	}
    86  	return nil
    87  }
    88  
    89  func (x *UncaughtSignal) GetSignalNumber() int32 {
    90  	if x != nil {
    91  		return x.SignalNumber
    92  	}
    93  	return 0
    94  }
    95  
    96  func (x *UncaughtSignal) GetFaultAddr() uint64 {
    97  	if x != nil {
    98  		return x.FaultAddr
    99  	}
   100  	return 0
   101  }
   102  
   103  var File_pkg_sentry_kernel_uncaught_signal_proto protoreflect.FileDescriptor
   104  
   105  var file_pkg_sentry_kernel_uncaught_signal_proto_rawDesc = []byte{
   106  	0x0a, 0x27, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x65, 0x72,
   107  	0x6e, 0x65, 0x6c, 0x2f, 0x75, 0x6e, 0x63, 0x61, 0x75, 0x67, 0x68, 0x74, 0x5f, 0x73, 0x69, 0x67,
   108  	0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x76, 0x69, 0x73, 0x6f,
   109  	0x72, 0x1a, 0x1f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x72,
   110  	0x63, 0x68, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   111  	0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, 0x0e, 0x55, 0x6e, 0x63, 0x61, 0x75, 0x67, 0x68, 0x74, 0x53,
   112  	0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
   113  	0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02,
   114  	0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x09, 0x72, 0x65, 0x67,
   115  	0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67,
   116  	0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52,
   117  	0x09, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x69,
   118  	0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28,
   119  	0x05, 0x52, 0x0c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
   120  	0x1d, 0x0a, 0x0a, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20,
   121  	0x01, 0x28, 0x04, 0x52, 0x09, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x64, 0x64, 0x72, 0x62, 0x06,
   122  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   123  }
   124  
   125  var (
   126  	file_pkg_sentry_kernel_uncaught_signal_proto_rawDescOnce sync.Once
   127  	file_pkg_sentry_kernel_uncaught_signal_proto_rawDescData = file_pkg_sentry_kernel_uncaught_signal_proto_rawDesc
   128  )
   129  
   130  func file_pkg_sentry_kernel_uncaught_signal_proto_rawDescGZIP() []byte {
   131  	file_pkg_sentry_kernel_uncaught_signal_proto_rawDescOnce.Do(func() {
   132  		file_pkg_sentry_kernel_uncaught_signal_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_sentry_kernel_uncaught_signal_proto_rawDescData)
   133  	})
   134  	return file_pkg_sentry_kernel_uncaught_signal_proto_rawDescData
   135  }
   136  
   137  var file_pkg_sentry_kernel_uncaught_signal_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   138  var file_pkg_sentry_kernel_uncaught_signal_proto_goTypes = []interface{}{
   139  	(*UncaughtSignal)(nil),               // 0: gvisor.UncaughtSignal
   140  	(*registers_go_proto.Registers)(nil), // 1: gvisor.Registers
   141  }
   142  var file_pkg_sentry_kernel_uncaught_signal_proto_depIdxs = []int32{
   143  	1, // 0: gvisor.UncaughtSignal.registers:type_name -> gvisor.Registers
   144  	1, // [1:1] is the sub-list for method output_type
   145  	1, // [1:1] is the sub-list for method input_type
   146  	1, // [1:1] is the sub-list for extension type_name
   147  	1, // [1:1] is the sub-list for extension extendee
   148  	0, // [0:1] is the sub-list for field type_name
   149  }
   150  
   151  func init() { file_pkg_sentry_kernel_uncaught_signal_proto_init() }
   152  func file_pkg_sentry_kernel_uncaught_signal_proto_init() {
   153  	if File_pkg_sentry_kernel_uncaught_signal_proto != nil {
   154  		return
   155  	}
   156  	if !protoimpl.UnsafeEnabled {
   157  		file_pkg_sentry_kernel_uncaught_signal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   158  			switch v := v.(*UncaughtSignal); i {
   159  			case 0:
   160  				return &v.state
   161  			case 1:
   162  				return &v.sizeCache
   163  			case 2:
   164  				return &v.unknownFields
   165  			default:
   166  				return nil
   167  			}
   168  		}
   169  	}
   170  	type x struct{}
   171  	out := protoimpl.TypeBuilder{
   172  		File: protoimpl.DescBuilder{
   173  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   174  			RawDescriptor: file_pkg_sentry_kernel_uncaught_signal_proto_rawDesc,
   175  			NumEnums:      0,
   176  			NumMessages:   1,
   177  			NumExtensions: 0,
   178  			NumServices:   0,
   179  		},
   180  		GoTypes:           file_pkg_sentry_kernel_uncaught_signal_proto_goTypes,
   181  		DependencyIndexes: file_pkg_sentry_kernel_uncaught_signal_proto_depIdxs,
   182  		MessageInfos:      file_pkg_sentry_kernel_uncaught_signal_proto_msgTypes,
   183  	}.Build()
   184  	File_pkg_sentry_kernel_uncaught_signal_proto = out.File
   185  	file_pkg_sentry_kernel_uncaught_signal_proto_rawDesc = nil
   186  	file_pkg_sentry_kernel_uncaught_signal_proto_goTypes = nil
   187  	file_pkg_sentry_kernel_uncaught_signal_proto_depIdxs = nil
   188  }