aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Avoid unpatching bytecode twice after a trace flush.v2.0masterMike Pall6 days1-11/+4
| | | | Reported by Sergey Kaplun. #1345
* Add compatibility string coercion for fp:seek() argument.Mike Pall6 days2-2/+4
| | | | Reported by Magnus Wibeck. #1343
* Fix recording of BC_VARG.Mike Pall2025-01-131-1/+1
| | | | Reported by Bachir Bendrissou.
* Reject negative getfenv()/setfenv() levels to prevent compiler warning.Mike Pall2025-01-131-0/+4
| | | | Thanks to Sergey Kaplun. #1329
* Bump copyright date.Mike Pall2025-01-13175-190/+190
|
* Force fallback source name for stripped bytecode.Mike Pall2024-12-161-1/+1
| | | | Reported by Lyrth. #1319
* Fix detection of inconsistent renames due to sunk values.Mike Pall2024-11-281-2/+2
| | | | Thanks to Sergey Kaplun. #1295 #584
* Fix compiliation of getmetatable() for UDTYPE_IO_FILE.Mike Pall2024-09-291-3/+3
| | | | Reported by Sergey Bronnikov. #1279
* Remove ancient RtlUnwindEx workaround for MinGW64.Mike Pall2024-09-291-6/+0
| | | | Thanks to Kacper Michajłow. #1272
* Fix limit check in narrow_conv_backprop().Mike Pall2024-08-241-1/+2
| | | | Thanks to Sergey Kaplun. #1262
* Always use IRT_NIL for IR_TBAR.Mike Pall2024-08-241-1/+1
| | | | Thanks to Peter Cawley. #1258
* ARM: Make hard-float tobit conversions match JIT backend behavior.Mike Pall2024-08-201-1/+12
| | | | Reported by Peter Cawley. #1253
* Fix another potential file descriptor leak in luaL_loadfile*().Mike Pall2024-08-191-8/+8
| | | | Reported by Peter Cawley. #1249
* MIPS32: Fix little-endian IR_RETF.Mike Pall2024-08-191-1/+1
| | | | Thanks to Peter Cawley. #1250
* Correctly close VM state after early OOM during open.Mike Pall2024-08-191-3/+2
| | | | Reported by Assumeru. #1248
* Fix potential file descriptor leak in luaL_loadfile*().Mike Pall2024-08-191-1/+2
| | | | Reported by Assumeru. #1249
* Different fix for partial snapshot restore due to stack overflow.Mike Pall2024-08-152-4/+3
| | | | Reported by Junlong Li. Fixed by Peter Cawley. #1196
* Fix IR_ABC hoisting.Mike Pall2024-08-152-4/+6
| | | | Reported by pwnhacker0x18. Fixed by Peter Cawley. #1194
* Limit CSE for IR_CARG to fix loop optimizations.Mike Pall2024-08-151-0/+11
| | | | Thanks to Peter Cawley. #1244
* FFI: Fix various issues in recff_cdata_arith.Mike Pall2024-07-031-4/+6
| | | | Thanks to Sergey Kaplun. #1224
* Fix predict_next() in parser (for real now).Mike Pall2024-07-031-4/+2
| | | | Reported by Sergey Kaplun. #1226 #1054
* FFI: Fix __tostring metamethod access to enum cdata value.Mike Pall2024-07-031-1/+1
| | | | Thanks to Sergey Kaplun. #1232
* Fix typo.Mike Pall2024-07-031-1/+1
| | | | Reported by Sergey Bronnikov. #1223
* Handle partial snapshot restore due to stack overflow.Mike Pall2024-07-032-4/+9
| | | | Reported by pwnhacker0x18. Fixed by Peter Cawley. #1196
* Prevent sanitizer warning in snap_restoredata().Mike Pall2024-05-251-2/+4
| | | | Thanks to Sergey Kaplun. #1193
* Fix segment release check in internal memory allocator.Mike Pall2024-04-191-1/+1
| | | | Thanks to Jinji Zeng. #1179 #1157
* Prevent down-recursion for side traces.Mike Pall2024-03-101-1/+1
| | | | Thanks to Sergey Kaplun. #1169
* Check frame size limit before returning to a lower frame.Mike Pall2024-03-101-0/+2
| | | | Thanks to Sergey Kaplun. #1173
* FFI: Treat cdata finalizer table as a GC root.Mike Pall2024-03-101-0/+3
| | | | Thanks to Sergey Bronnikov. #1168
* Handle stack reallocation in debug.setmetatable() and lua_setmetatable().Mike Pall2024-03-101-0/+1
| | | | Thanks to Sergey Kaplun. #1172
* Rework stack overflow handling.Mike Pall2024-02-044-21/+57
| | | | Reported by pwnhacker0x18. Fixed by Peter Cawley. #1152
* Preserve keys with dynamic values in template tables when saving bytecode.Mike Pall2024-01-311-2/+2
| | | | Reported by Lyrthras. Fixed by Peter Cawley. #1155
* Prevent include of luajit_rolling.h.Mike Pall2024-01-312-1/+2
| | | | Thanks to Peter Cawley. #1145
* Fix documentation bug about '\z' string escape.Mike Pall2024-01-261-1/+1
|
* Fix unsinking of IR_FSTORE for NULL metatable.Mike Pall2024-01-231-3/+8
| | | | Reported by pwnhacker0x18. #1147
* Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.Mike Pall2023-12-232-0/+3
| | | | Thanks to Peter Cawley. #1133
* Respect jit.off() on pending trace exit.Mike Pall2023-12-231-1/+1
| | | | Thanks to Sergey Kaplun. #1134
* Simplify handling of instable types in TNEW/TDUP load forwarding.Mike Pall2023-12-231-11/+9
| | | | Thanks to Peter Cawley. #994
* Only emit proper parent references in snapshot replay.Mike Pall2023-12-111-4/+8
| | | | Thanks to Peter Cawley. #1132
* ARM: Fix stack restore for FP slots.Mike Pall2023-12-101-1/+9
| | | | Thanks to Peter Cawley. #1131
* Document workaround for multilib vs. cross-compiler conflict.Mike Pall2023-12-101-1/+4
| | | | Reported by igorpupkinable. #1126
* Fix runtime library flags for MSVC debug builds.Mike Pall2023-12-101-2/+4
| | | | Reported by igor725. #1127
* Fix .debug_abbrev section in GDB JIT API.Mike Pall2023-12-101-1/+1
| | | | Thanks to Dmitry Stogov. #1129
* Emit sunk IR_NEWREF only once per key on snapshot replay.Mike Pall2023-12-101-0/+12
| | | | Thanks to Sergey Kaplun and Peter Cawley. #1128
* x86/x64: Don't fuse loads across IR_NEWREF.Mike Pall2023-11-141-7/+9
| | | | Reported by Peter Cawley. #1117
* x86/x64: Add more red zone checks to assembler backend.Mike Pall2023-11-121-1/+6
| | | | Thanks to Peter Cawley. #1116
* Add stack check to pcall/xpcall.Mike Pall2023-11-125-1/+38
| | | | Analyzed by Peter Cawley. #1048
* Invalidate SCEV entry when returning to lower frame.Mike Pall2023-11-091-0/+1
| | | | Thanks to Zhongwei Yao. #1115
* FFI: Fix pragma push stack limit check and throw on overflow.Mike Pall2023-11-071-1/+3
| | | | Reported by Sergey Kaplun. #1114
* x64: Properly fix __call metamethod return dispatch.Mike Pall2023-11-051-1/+1
| | | | Reported by Sergey Kaplun. #1110