0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-06-20 16:18:37 +03:00
This commit is contained in:
bird_egop
2025-04-12 23:40:48 +03:00
parent 3cc6d27e33
commit f658f4384c
9 changed files with 16 additions and 158 deletions

View File

@ -1,6 +1,6 @@
namespace X86Disassembler.X86;
using X86Disassembler.X86.Handlers;
using Handlers;
/// <summary>
/// Decodes x86 instructions from a byte buffer
@ -25,7 +25,7 @@ public class InstructionDecoder
private bool _segmentOverridePrefix;
private bool _lockPrefix;
private bool _repPrefix;
private string _segmentOverride = string.Empty;
private string _segmentOverride;
/// <summary>
/// Initializes a new instance of the InstructionDecoder class
@ -37,7 +37,7 @@ public class InstructionDecoder
_codeBuffer = codeBuffer;
_length = length;
_position = 0;
_segmentOverride = string.Empty;
_segmentOverride = "";
// Create the instruction handler factory
_handlerFactory = new InstructionHandlerFactory(_codeBuffer, this, _length);