| 5 | Interceptor *Interceptor::priv_interceptor_ = nullptr; |
| 6 | |
| 7 | Interceptor *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 | |
| 15 | HookEntryNode *Interceptor::find_hook_entry_node(void *address) { |
| 16 | HookEntryNode *entry_node = nullptr; |
nothing calls this directly
no outgoing calls
no test coverage detected