| 66 | |
| 67 | |
| 68 | CompleteObjectLocator::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 | |
| 88 | std::optional<CompleteObjectLocator> ReadCompleteObjectorLocator(BinaryView *view, uint64_t address) |
nothing calls this directly
no test coverage detected