mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 16:18:37 +03:00
basic decompiler and fixes
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user