diff options
| author | Mason Reed <mason@vector35.com> | 2024-11-05 17:51:02 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-11-05 17:51:06 -0500 |
| commit | e72a8290a9ede1caa2dc842e9c9b473d3bc35819 (patch) | |
| tree | 15dd8a2168f60a5a377d3c1079c1b6108a928930 /plugins | |
| parent | 00622fa4829c3852ffad840fb7f94cc96ecee83f (diff) | |
MSVC RTTI: Formatting changes
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/msvc_rtti/rtti.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/plugins/msvc_rtti/rtti.cpp b/plugins/msvc_rtti/rtti.cpp index 073acdd6..b84ffff4 100644 --- a/plugins/msvc_rtti/rtti.cpp +++ b/plugins/msvc_rtti/rtti.cpp @@ -64,7 +64,8 @@ CompleteObjectLocator::CompleteObjectLocator(BinaryView *view, uint64_t address) if (signature == COL_SIG_REV1) { pSelf = static_cast<int32_t>(reader.Read32()); - } else + } + else { pSelf = 0; } @@ -655,7 +656,8 @@ void MicrosoftRTTIProcessor::ProcessRTTI() if (auto classInfo = ProcessRTTI(coLocatorAddr)) m_classInfo[coLocatorAddr] = classInfo.value(); } - } else if (sigVal == COL_SIG_REV0) + } + else if (sigVal == COL_SIG_REV0) { // Check ?AV optReader.SeekRelative(8); @@ -687,7 +689,8 @@ void MicrosoftRTTIProcessor::ProcessRTTI() { m_logger->LogDebug("Attempting to find VirtualFunctionTables in segment %llx", segment->GetStart()); scan(segment); - } else if (checkWritableRData && rdataSection && rdataSection->GetStart() == segment->GetStart()) + } + else if (checkWritableRData && rdataSection && rdataSection->GetStart() == segment->GetStart()) { m_logger->LogDebug("Attempting to find VirtualFunctionTables in writable rdata segment %llx", segment->GetStart()); @@ -742,7 +745,8 @@ void MicrosoftRTTIProcessor::ProcessVFT() { m_logger->LogDebug("Attempting to find VirtualFunctionTables in segment %llx", segment->GetStart()); scan(segment); - } else if (checkWritableRData && rdataSection && rdataSection->GetStart() == segment->GetStart()) + } + else if (checkWritableRData && rdataSection && rdataSection->GetStart() == segment->GetStart()) { m_logger->LogDebug("Attempting to find VirtualFunctionTables in writable rdata segment %llx", segment->GetStart()); |
