Comment by MayeulC

3 days ago

Putting instructions that halt execution in unreachable parts of the code would make sense, but this is just a jump with a fixed offset, which may technically still be exploitable.

If trap instructions are not possible, I would at least try to make it an unconditional jump to create an infinite loop.