From 23fb497e0adb625f416241d1054e576be086c9b2 Mon Sep 17 00:00:00 2001 From: bird_egop Date: Fri, 18 Apr 2025 14:20:15 +0300 Subject: [PATCH] Remove debug output from Disassembler for cleaner output --- X86Disassembler/X86/Disassembler.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/X86Disassembler/X86/Disassembler.cs b/X86Disassembler/X86/Disassembler.cs index d3ce829..301bb90 100644 --- a/X86Disassembler/X86/Disassembler.cs +++ b/X86Disassembler/X86/Disassembler.cs @@ -128,9 +128,6 @@ public class Disassembler // The _baseAddress is the section's RVA (stored in Program.cs) // We need to calculate the offset within the section by subtracting the section's RVA from the start RVA int startOffset = (int)(startRva - _baseAddress); - - // Debug output to verify addresses - Console.WriteLine($"Debug: startRva=0x{startRva:X8}, sectionRVA=0x{_baseAddress:X8}, calculated offset=0x{startOffset:X8}"); // Validate the offset is within bounds if (startOffset < 0 || startOffset >= _length)