You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Becavalier, I think the function epilogue in bfJITCompile miscalculates the jump offset and can lead to segmentation fault if the provided brainfuck input does not contain . opcode:
Hi Becavalier, I think the function epilogue in
bfJITCompile
miscalculates the jump offset and can lead to segmentation fault if the provided brainfuck input does not contain.
opcode:brainfuck-jit-interpreter/interpreter.cc
Lines 361 to 366 in 9b65632
The
je 8
is wrong since it jumps across the thejmpq *(%rsp)
instruction. I think the correct instruction should beje 5
.The text was updated successfully, but these errors were encountered: