MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Global

Function Global

internal/observedtools/store.go:120–125  ·  view source on GitHub ↗

Global returns the process-wide observed tools store.

()

Source from the content-addressed store, hash-verified

118
119// Global returns the process-wide observed tools store.
120func Global() *Store {
121 globalStoreOnce.Do(func() {
122 globalStore = NewStore()
123 })
124 return globalStore
125}

Callers 4

GetObservedToolsMethod · 0.92
DeleteObservedToolsMethod · 0.92
PrepareInjectionMethod · 0.92
TestGlobalFunction · 0.70

Calls 2

NewStoreFunction · 0.85
DoMethod · 0.65

Tested by 1

TestGlobalFunction · 0.56