0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-07-01 12:40:25 +03:00

Remove debug output from Disassembler for cleaner output

This commit is contained in:
bird_egop
2025-04-18 14:20:15 +03:00
parent 54a0a3e9c0
commit 23fb497e0a

View File

@ -129,9 +129,6 @@ public class Disassembler
// We need to calculate the offset within the section by subtracting the section's RVA from the start RVA // We need to calculate the offset within the section by subtracting the section's RVA from the start RVA
int startOffset = (int)(startRva - _baseAddress); 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 // Validate the offset is within bounds
if (startOffset < 0 || startOffset >= _length) if (startOffset < 0 || startOffset >= _length)
{ {