MCPcopy Create free account
hub / github.com/dobin/RedEdr / EventStats

Method EventStats

RedEdr/event_processor.cpp:213–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212
213void EventProcessor::EventStats(nlohmann::json& j) {
214 if (j["type"] == "kernel") {
215 num_kernel += 1;
216 }
217 else if (j["type"] == "dll") {
218 num_dll += 1;
219 }
220 else if (j["type"] == "etw") {
221 if (j["etw_provider_name"] == "Microsoft-Windows-Threat-Intelligence") {
222 num_etwti += 1;
223 }
224 else {
225 num_etw += 1;
226 }
227 }
228}
229
230
231void EventProcessor::ResetData() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected