MCPcopy Create free account
hub / github.com/Vector35/debugger / API_OBJECT_REF

Function API_OBJECT_REF

core/ffi.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43// From refcountobject.h
44template <typename T>
45static auto* API_OBJECT_REF(T* obj)
46{
47 if (obj == nullptr)
48 return (decltype(obj->m_object))nullptr;
49 obj->AddRef();
50 return obj->m_object;
51}
52
53template <typename T>
54static auto* API_OBJECT_REF(const BinaryNinja::Ref<T>& obj)

Callers 3

BNDebuggerGetLiveViewFunction · 0.85
BNDebuggerGetDataFunction · 0.85

Calls 1

AddRefMethod · 0.45

Tested by

no test coverage detected