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