basic decompiler and fixes

This commit is contained in:
bird_egop
2025-04-14 02:07:17 +03:00
parent 157171fa90
commit c516e063e7
10 changed files with 1314 additions and 16 deletions
@@ -38,8 +38,7 @@ public class JmpRel32Handler : InstructionHandler
instruction.Mnemonic = "jmp";
// Check if we have enough bytes for the offset (4 bytes)
int position = Decoder.GetPosition();
if (position + 4 > Length)
if (!Decoder.CanReadUInt())
{
return false;
}