aboutsummaryrefslogtreecommitdiff
path: root/src/host/genversion.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
3 daysFix minilua undefined behavior in bit.tohex.v2.0masterMike Pall2-4/+4
Note: this is not a vulnerability! minilua is only used during the LuaJIT build process. It only runs controlled and static Lua code (DynASM), which is entirely contained within this repo and does not trigger the undefined behavior. This change is solely for the benefit of others, who might possibly use minilua for purposes other than running DynASM. Reported by quart27219. #1424
3 daysIgnore PDB files for git.Mike Pall1-0/+1
Thanks to Michael Fisher. #1423
3 daysBump copyright date.Mike Pall175-190/+190
2025-12-08Fix string.format for limited precision FP conversions.Mike Pall1-3/+40
Enforce round-to-even semantics. #1363
2025-12-06PPC: Fix soft-float lj_num2u64().Mike Pall1-0/+2
Reported by Doug Crawford. #1411
2025-12-06ARM64: More fixes for ARM BTI.Mike Pall1-0/+4
Reported by Yuichiro Naito. #1415
2025-12-06DUALNUM: Fix narrowing of unary minus.Mike Pall1-2/+2
Reported by Sergey Kaplun. #1418
2025-12-06DUALNUM: Add missing type conversion for FORI slots.Mike Pall1-8/+17
Reported by Sergey Kaplun. #1413
2025-12-01Remove pointless GCC/MSVC const function attributes.Mike Pall1-7/+7
They are only called from JIT-compiled code and not from C. Reported by Richard Beckmann. #1414
2025-11-27Fix MSVC LJ_CONSTF declaration.Mike Pall1-6/+1
Reading MS docs is hard. #1412
2025-11-27Back out MSVC LJ_CONSTF declaration.Mike Pall1-0/+5
The reason for the error message is still unclear. #1412.
2025-11-27Remove compiler flag for FP conversions. Now unnecessary.Mike Pall1-3/+0
Undo #1355. #1397 #1411
2025-11-27Unify Lua number to FFI integer conversions.Mike Pall41-431/+1067
Phew. #1411
2025-11-27ARM64: Fix disassembly of certain sub-word-size loads/stores.Mike Pall1-3/+3
2025-11-16ELF/Mach-O: Force default visibility for public API functions.Mike Pall2-0/+4
Thanks to Dymphna. #1409
2025-11-16x86/x64: Backport fix for math.min()/math.max() argument check.Mike Pall1-1/+1
Reported by puffy.
2025-11-14Fix edge cases when generating IR for string.byte/sub/find.Mike Pall1-3/+3
Contributed by XmiliaH. #1407
2025-11-10FFI: Avoid dangling cts->L.Mike Pall1-0/+4
Reported by ZumiKua. #1405
2025-11-10Run VM events and finalizers in separate state.Mike Pall7-67/+76
Reported by Sergey Kaplun. #1403
2025-11-08macOS: Change Mach-O object file layout required by XCode 15.0.Mike Pall1-12/+18
Reported by George Zhao. #1404
2025-11-08ARM64: Enable unaligned accesses if indicated by the toolchain.Mike Pall3-1/+15
If you get a crash in jit_init() then you need to fix your toolchain.
2025-11-06Allow mcode allocations outside of the jump range to the support code.Mike Pall19-228/+477
Thank you for your patience. #285
2025-11-06ARM64: Fix disassembly of >2GB branch targets.Mike Pall1-1/+1
2025-10-29x64: Fix CET IBT.Mike Pall1-0/+3
Reported by Yuichiro Naito. #1400
2025-10-29ARM64: Fix ARM BTI.Mike Pall1-0/+3
Reported by Yuichiro Naito. #1400
2025-10-28Windows: Fix lua52compat option for msvcbuild.bat.Mike Pall1-6/+6
Thanks to Alex Orlenko. #1395 #1366
2025-10-28ARM64: Add support for ARM BTI.Mike Pall7-3/+124
Note: this is not enabled by default, look for CET in lj_arch.h. Thanks to Yuichiro Naito. #1398
2025-10-28x64: Various fixes for CET IBT.Mike Pall6-38/+101
Also add ELF notes. #1391
2025-10-16x64: Add support for CET IBT.Mike Pall7-10/+95
Note: this is not enabled by default, look for CET in lj_arch.h Contributed by Yuichiro Naito. #1391
2025-10-16Gracefully handle broken custom allocator.Mike Pall1-1/+5
Reported by Alex Orlenko. #1393
2025-10-16Add GNU/Hurd build support.Mike Pall3-1/+7
Note: this is not an officially supported target. Contributed by Pino Toscano and Samuel Thibault. #1383 #1384
2025-10-16Fix io.write() of newly created buffer.Mike Pall1-1/+1
Reported by vfprintf. #1386
2025-10-16Fix reporting of an error during error handling.Mike Pall2-0/+11
Reported by Sergey Kaplun. #1381
2025-07-24Windows: Add lua52compat option to msvcbuild.bat.Mike Pall1-5/+10
Thanks to Gil Reis. #1366
2025-07-24x86/x64: Don't use undefined MUL/IMUL zero flag.Mike Pall1-1/+2
Reported by VrIgHtEr. #1376
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-10Prevent Clang UB 'optimization' which breaks integerness checks.Mike Pall1-0/+3
Thanks to Kacper Michajłow. #1351 #1355
2025-04-10ARM: Fix soft-float math.min()/math.max().Mike Pall2-3/+3
Reported by Dong Jianqiang. #1356
2025-04-10ARM64: Fix pass-by-value struct calling conventions.Mike Pall1-5/+13
Reported by AnthonyK213. #1357
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-11Change handling of nil value markers in template tables.Mike Pall6-25/+24
Reported by Bernhard M. Wiedemann. #1348 #1155 Fixes from Peter Cawley, Christian Clason, Lewis Russell.
2025-03-10REVERT: Change handling of nil value markers in template tables.Mike Pall6-24/+25
2025-03-10macOS: Fix Apple hardened runtime support and put behind build option.Mike Pall2-2/+4
Reported by vanc. #1334
2025-03-10macOS: Fix support for Apple hardened runtime.Mike Pall1-1/+1
Reported by Christian Clason. #1334
2025-03-09Fix handling of nil value markers in template tables.Mike Pall1-1/+1
Thanks to Peter Cawley. #1348 #1155