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

Method CompleteObjectLocator

plugins/rtti/microsoft.cpp:68–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68CompleteObjectLocator::CompleteObjectLocator(BinaryView *view, uint64_t address)
69{
70 BinaryReader reader = BinaryReader(view);
71 reader.Seek(address);
72 signature = reader.Read32();
73 offset = reader.Read32();
74 cdOffset = reader.Read32();
75 pTypeDescriptor = static_cast<int32_t>(reader.Read32());
76 pClassHierarchyDescriptor = static_cast<int32_t>(reader.Read32());
77 if (signature == COL_SIG_REV1)
78 {
79 pSelf = static_cast<int32_t>(reader.Read32());
80 }
81 else
82 {
83 pSelf = 0;
84 }
85}
86
87
88std::optional<CompleteObjectLocator> ReadCompleteObjectorLocator(BinaryView *view, uint64_t address)

Callers

nothing calls this directly

Calls 3

BinaryReaderClass · 0.50
SeekMethod · 0.45
Read32Method · 0.45

Tested by

no test coverage detected