aboutsummaryrefslogtreecommitdiff
path: root/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-07-24Avoid out-of-range PC for stack overflow error from snapshot restore.Mike Pall1-0/+1
Reported by Sergey Kaplun. #1369
2025-07-24FFI: Fix dangling CType references (again).Mike Pall1-5/+6
Reported by Sergey Kaplun. Collateral of #1360
2025-05-28Fix JIT slot overflow during up-recursion.Mike Pall1-1/+2
Reported by Sergey Kaplun. #1358
2025-05-28Avoid out-of-range PC for stack overflow error from snapshot restore.Mike Pall3-15/+10
Reported by Sergey Kaplun. #1359
2025-05-28FFI: Fix dangling CType references.Mike Pall2-15/+25
Reported by Sergey Kaplun. Collateral of #1360
2025-04-07Fix error generation in load*.Mike Pall1-1/+2
Reported by Sergey Kaplun. #1353
2025-04-07Initialize unused value when specializing to cdata metatable.Mike Pall1-1/+4
Reported by jakitliang. #1354
2025-03-09Avoid unpatching bytecode twice after a trace flush.Mike Pall1-11/+4
Reported by Sergey Kaplun. #1345
2025-03-09Add compatibility string coercion for fp:seek() argument.Mike Pall2-2/+4
Reported by Magnus Wibeck. #1343
2025-01-13Fix recording of BC_VARG.Mike Pall1-1/+1
Reported by Bachir Bendrissou.
2025-01-13Reject negative getfenv()/setfenv() levels to prevent compiler warning.Mike Pall1-0/+4
Thanks to Sergey Kaplun. #1329
2025-01-13Bump copyright date.Mike Pall175-190/+190
2024-12-16Force fallback source name for stripped bytecode.Mike Pall1-1/+1
Reported by Lyrth. #1319
2024-11-28Fix detection of inconsistent renames due to sunk values.Mike Pall1-2/+2
Thanks to Sergey Kaplun. #1295 #584
2024-09-29Fix compiliation of getmetatable() for UDTYPE_IO_FILE.Mike Pall1-3/+3
Reported by Sergey Bronnikov. #1279
2024-09-29Remove ancient RtlUnwindEx workaround for MinGW64.Mike Pall1-6/+0
Thanks to Kacper Michajłow. #1272
2024-08-24Fix limit check in narrow_conv_backprop().Mike Pall1-1/+2
Thanks to Sergey Kaplun. #1262
2024-08-24Always use IRT_NIL for IR_TBAR.Mike Pall1-1/+1
Thanks to Peter Cawley. #1258
2024-08-20ARM: Make hard-float tobit conversions match JIT backend behavior.Mike Pall1-1/+12
Reported by Peter Cawley. #1253
2024-08-19Fix another potential file descriptor leak in luaL_loadfile*().Mike Pall1-8/+8
Reported by Peter Cawley. #1249
2024-08-19MIPS32: Fix little-endian IR_RETF.Mike Pall1-1/+1
Thanks to Peter Cawley. #1250
2024-08-19Correctly close VM state after early OOM during open.Mike Pall1-3/+2
Reported by Assumeru. #1248
2024-08-19Fix potential file descriptor leak in luaL_loadfile*().Mike Pall1-1/+2
Reported by Assumeru. #1249
2024-08-15Different fix for partial snapshot restore due to stack overflow.Mike Pall2-4/+3
Reported by Junlong Li. Fixed by Peter Cawley. #1196
2024-08-15Fix IR_ABC hoisting.Mike Pall2-4/+6
Reported by pwnhacker0x18. Fixed by Peter Cawley. #1194
2024-08-15Limit CSE for IR_CARG to fix loop optimizations.Mike Pall1-0/+11
Thanks to Peter Cawley. #1244
2024-07-03FFI: Fix various issues in recff_cdata_arith.Mike Pall1-4/+6
Thanks to Sergey Kaplun. #1224
2024-07-03Fix predict_next() in parser (for real now).Mike Pall1-4/+2
Reported by Sergey Kaplun. #1226 #1054
2024-07-03FFI: Fix __tostring metamethod access to enum cdata value.Mike Pall1-1/+1
Thanks to Sergey Kaplun. #1232
2024-07-03Fix typo.Mike Pall1-1/+1
Reported by Sergey Bronnikov. #1223
2024-07-03Handle partial snapshot restore due to stack overflow.Mike Pall2-4/+9
Reported by pwnhacker0x18. Fixed by Peter Cawley. #1196
2024-05-25Prevent sanitizer warning in snap_restoredata().Mike Pall1-2/+4
Thanks to Sergey Kaplun. #1193
2024-04-19Fix segment release check in internal memory allocator.Mike Pall1-1/+1
Thanks to Jinji Zeng. #1179 #1157
2024-03-10Prevent down-recursion for side traces.Mike Pall1-1/+1
Thanks to Sergey Kaplun. #1169
2024-03-10Check frame size limit before returning to a lower frame.Mike Pall1-0/+2
Thanks to Sergey Kaplun. #1173
2024-03-10FFI: Treat cdata finalizer table as a GC root.Mike Pall1-0/+3
Thanks to Sergey Bronnikov. #1168
2024-03-10Handle stack reallocation in debug.setmetatable() and lua_setmetatable().Mike Pall1-0/+1
Thanks to Sergey Kaplun. #1172
2024-02-04Rework stack overflow handling.Mike Pall4-21/+57
Reported by pwnhacker0x18. Fixed by Peter Cawley. #1152
2024-01-31Preserve keys with dynamic values in template tables when saving bytecode.Mike Pall1-2/+2
Reported by Lyrthras. Fixed by Peter Cawley. #1155
2024-01-31Prevent include of luajit_rolling.h.Mike Pall2-1/+2
Thanks to Peter Cawley. #1145
2024-01-26Fix documentation bug about '\z' string escape.Mike Pall1-1/+1
2024-01-23Fix unsinking of IR_FSTORE for NULL metatable.Mike Pall1-3/+8
Reported by pwnhacker0x18. #1147
2023-12-23Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.Mike Pall2-0/+3
Thanks to Peter Cawley. #1133
2023-12-23Respect jit.off() on pending trace exit.Mike Pall1-1/+1
Thanks to Sergey Kaplun. #1134
2023-12-23Simplify handling of instable types in TNEW/TDUP load forwarding.Mike Pall1-11/+9
Thanks to Peter Cawley. #994
2023-12-11Only emit proper parent references in snapshot replay.Mike Pall1-4/+8
Thanks to Peter Cawley. #1132
2023-12-10ARM: Fix stack restore for FP slots.Mike Pall1-1/+9
Thanks to Peter Cawley. #1131
2023-12-10Document workaround for multilib vs. cross-compiler conflict.Mike Pall1-1/+4
Reported by igorpupkinable. #1126
2023-12-10Fix runtime library flags for MSVC debug builds.Mike Pall1-2/+4
Reported by igor725. #1127
2023-12-10Fix .debug_abbrev section in GDB JIT API.Mike Pall1-1/+1
Thanks to Dmitry Stogov. #1129