MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / ReAddChannel

Method ReAddChannel

Src/Core/Profiler.cpp:734–742  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

732
733////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
734FSecure::C3::Core::Profiler::Channel* FSecure::C3::Core::Profiler::Agent::ReAddChannel(Device::Id did, HashT typeNameHash, bool isReturnChannel /*= false*/, bool isNegotiationChannel /*= false*/)
735{
736 auto channel = Relay::ReAddChannel(did, typeNameHash, isReturnChannel, isNegotiationChannel);
737
738 if (auto it = m_ScheduledDevices.find(did.ToUnderlyingType()); it != m_ScheduledDevices.cend())
739 channel->m_StartupArguments = it->second;
740
741 return channel;
742}
743
744////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
745FSecure::C3::Core::Profiler::Device* FSecure::C3::Core::Profiler::Agent::ReAddPeripheral(Device::Id did, HashT typeNameHash)

Callers 4

RestoreFromSnapshotMethod · 0.80
ReAddRemoteAgentMethod · 0.80
CreateAndAttachDeviceMethod · 0.80
OnMethod · 0.80

Calls 3

findMethod · 0.45
cendMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected