MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / SharedInstance

Method SharedInstance

Bcore/src/main/cpp/Dobby/source/Interceptor.cpp:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5Interceptor *Interceptor::priv_interceptor_ = nullptr;
6
7Interceptor *Interceptor::SharedInstance() {
8 if (Interceptor::priv_interceptor_ == nullptr) {
9 Interceptor::priv_interceptor_ = new Interceptor();
10 INIT_LIST_HEAD(&Interceptor::priv_interceptor_->hook_entry_list_);
11 }
12 return Interceptor::priv_interceptor_;
13}
14
15HookEntryNode *Interceptor::find_hook_entry_node(void *address) {
16 HookEntryNode *entry_node = nullptr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected