MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / GetRelativeMethod

Method GetRelativeMethod

view/sharedcache/core/ObjC.cpp:95–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void SharedCacheObjCProcessor::GetRelativeMethod(ObjCReader* reader, method_t& meth)
96{
97 if (m_customRelativeMethodSelectorBase.has_value())
98 {
99 meth.name = m_customRelativeMethodSelectorBase.value() + reader->ReadS32();
100 meth.types = reader->GetOffset() + reader->ReadS32();
101 meth.imp = reader->GetOffset() + reader->ReadS32();
102 }
103 else
104 {
105 ObjCProcessor::GetRelativeMethod(reader, meth);
106 }
107}
108
109std::optional<ObjCOptimizationHeader> GetObjCOptimizationHeader(SharedCache& cache, VirtualMemoryReader& reader)
110{

Callers

nothing calls this directly

Calls 3

valueMethod · 0.45
ReadS32Method · 0.45
GetOffsetMethod · 0.45

Tested by

no test coverage detected