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

Method ReadPointerAccountingForRelocations

objectivec/objc.cpp:1236–1244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1234}
1235
1236uint64_t ObjCProcessor::ReadPointerAccountingForRelocations(ObjCReader* reader)
1237{
1238 if (auto it = m_relocationPointerRewrites.find(reader->GetOffset()); it != m_relocationPointerRewrites.end())
1239 {
1240 reader->SeekRelative(m_data->GetAddressSize());
1241 return it->second;
1242 }
1243 return reader->ReadPointer();
1244}
1245
1246
1247ObjCProcessor::ObjCProcessor(BinaryView* data, const char* loggerName, bool isBackedByDatabase, bool skipClassBaseProtocols) :

Callers

nothing calls this directly

Calls 6

findMethod · 0.80
GetOffsetMethod · 0.45
endMethod · 0.45
SeekRelativeMethod · 0.45
GetAddressSizeMethod · 0.45
ReadPointerMethod · 0.45

Tested by

no test coverage detected