class TurboRex::MSRPC::RPCBase::RPC_SERVER_INTERFACE_Klass
Public Instance Methods
DispatchTable()
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 577 def DispatchTable @dispatch_table_link_to || @value_table[:DispatchTable] end
InterfaceId()
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 569 def InterfaceId @interface_id_link_to || @value_table[:InterfaceId] end
InterpreterInfo()
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 581 def InterpreterInfo @interpreterInfo_link_to || @value_table[:InterpreterInfo] end
TransferSyntax()
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 573 def TransferSyntax @transfer_syntax_link_to || @value_table[:TransferSyntax] end
dce?()
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 546 def dce? DCE_TransferSyntax.to_s == @value_table[:TransferSyntax] end
dispatch_table_nullptr?()
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 550 def dispatch_table_nullptr? @value_table[:DispatchTable] == 0 end
interpreter_info_nullptr?()
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 554 def interpreter_info_nullptr? @value_table[:InterpreterInfo] == 0 end
link_to(struct)
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 585 def link_to(struct) if struct.to_s == DCE_TransferSyntax.to_s || struct.to_s == NDR64_TransferSyntax.to_s return link_and_xref(:transfer_syntax_link_to, struct) end case struct when RPC_SYNTAX_IDENTIFIER_Klass case struct.type when :interface_id link_and_xref :interface_id_link_to, struct when :transfer_syntax link_and_xref :transfer_syntax_link_to, struct end when MIDL_SERVER_INFO_Klass link_and_xref :interpreterInfo_link_to, struct when RPC_DISPATCH_TABLE_Klass link_and_xref :dispatch_table_link_to, struct when MIDL_STUBLESS_PROXY_INFO_Klass link_and_xref :interpreterInfo_link_to, struct end end
ndr64?()
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 542 def ndr64? NDR64_TransferSyntax.to_s == @value_table[:TransferSyntax] end
parse_struct(cstruct)
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 520 def parse_struct(cstruct) @value_table = { Length: cstruct['length'].value, InterfaceId: cstruct['interfaceId'].to_s, TransferSyntax: cstruct['transferSyntax'].to_s, DispatchTable: cstruct['dispatchTable'].value, RpcProtseqEndpointCount: cstruct['rpcProtseqEndpointCount'].value, RpcProtseqEndpoint: cstruct['rpcProtseqEndpoint'].value, DefaultManagerEpv: cstruct['defaultManagerEpv'].value, InterpreterInfo: cstruct['interpreterInfo'].value, Flags: cstruct['flags'].value } @interface_id_link_to = nil link_and_xref :interface_id_link_to, RPC_SYNTAX_IDENTIFIER_Klass.new(cstruct['interfaceId']) link_and_xref :transfer_syntax_link_to, RPC_SYNTAX_IDENTIFIER_Klass.new(cstruct['transferSyntax']) @interpreterInfo_link_to = nil @dispatch_table_link_to = nil true end
server_routines()
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 558 def server_routines unless interpreter_info_nullptr? begin routines = self.InterpreterInfo.server_routines return routines end end [] end