aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* FFI: Don't load PC from non-function object in FFI continuation.Mike Pall2021-09-203-3/+3
| | | | Reported by Yichun Zhang. #743
* FFI: Fix missing cts->L initialization in argv2ctype().Mike Pall2021-09-201-1/+1
|
* Consider slots used by upvalues in use-def analysis.Mike Pall2021-07-271-3/+32
| | | | Reported by XmiliaH.
* Prevent loop in snap_usedef().Mike Pall2021-07-231-1/+6
| | | | Reported by XmiliaH.
* Fix io.close() error message.Mike Pall2021-07-221-2/+8
| | | | Reported by François Perrad.
* Fix io.close().Mike Pall2021-07-221-9/+11
| | | | Reported by farmboy0.
* Fix minilua vararg stack handling.Mike Pall2021-07-211-1/+1
| | | | | | | | | | Note: this is not exploitable! 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. LuaJIT itself has completely different stack handling code and is not affected either. This change is solely for the benefit of others, who might possibly use minilua for purposes other than running DynASM.
* Avoid out-of-range number of results when compiling select(k, ...).Mike Pall2021-07-191-1/+1
| | | | The interpreter will throw and abort the trace, anyway.
* Fix jit.dump() output for IR_CONV.Mike Pall2021-07-191-1/+1
|
* DynASM/x86: Add missing escape in pattern.Mike Pall2021-06-081-1/+1
|
* Fix HTML.Mike Pall2021-06-071-4/+3
|
* FFI: Fix dangling reference to CType.Mike Pall2021-06-011-0/+2
|
* PPC/PS3: Fix BC_ADD*/BC_SUB*.Mike Pall2021-05-291-4/+4
| | | | Thanks to MaryWan1982.
* Fix use-def analysis for vararg functions.Mike Pall2021-05-291-2/+4
| | | | Reported by Shmuel Zeigerman.
* Fix use-def analysis for BC_VARG.Mike Pall2021-05-241-1/+3
| | | | Reported by Ryan Lucia.
* Fix compiler warnings.Mike Pall2021-05-171-3/+1
|
* Add FAQ about table iteration order.Mike Pall2021-04-251-0/+13
|
* Detect inconsistent renames even in the presence of sunk values.Mike Pall2021-03-231-13/+12
| | | | Reported by Igor Munkin.
* Remove specific version numbers from the docs.Mike Pall2021-03-112-8/+12
|
* Clarify macOS build instructions.Mike Pall2021-01-121-2/+5
|
* Bump copyright date.Mike Pall2021-01-02176-193/+193
|
* Documentation cleanup.Mike Pall2021-01-024-62/+49
|
* FFI: Fix recording of union initialization.Mike Pall2020-12-281-0/+5
| | | | Thanks to Alex Shpilkin.
* x64: Fix __call metamethod return dispatch.Mike Pall2020-12-041-0/+4
| | | | Reported by Igor Munkin.
* Fix warning.Mike Pall2020-11-301-2/+1
|
* Minor changes and https-ify links.Mike Pall2020-10-1218-47/+47
|
* Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.Mike Pall2020-10-122-4/+8
| | | | | Reported by Arseny Vakhrushev. Fix contributed by Peter Cawley.
* Ensure full init of IR_NOP instructions.Mike Pall2020-10-124-25/+15
|
* Prevent patching of the GC exit check branch.Mike Pall2020-09-274-7/+31
| | | | Reported by Arseny Vakhrushev.
* Mark CONV as non-weak, to prevent elimination of its side-effect.Mike Pall2020-09-221-1/+1
| | | | An unused guarded CONV int.num cannot be omitted in general.
* DynASM/x86: Fix VREG support.Mike Pall2020-09-121-4/+7
|
* Limit path length passed to C library loader.Mike Pall2020-09-051-1/+6
|
* Call error function on rethrow after trace exit.Mike Pall2020-08-099-15/+11
|
* Fix handling of errors during snapshot restore.Mike Pall2020-08-091-0/+2
|
* ARM: Ensure relative GG_State element alignment differently.Mike Pall2020-08-052-5/+9
| | | | Thanks to jojo59516 and dwing4g.
* Fix Makefile dependencies.Mike Pall2020-08-051-1/+1
| | | | Thanks to Stefanos Chaliasos.
* Add FAQ about sandboxing. Minor fixes.Mike Pall2020-07-122-9/+33
|
* Fix frame traversal for __gc handler frames.Mike Pall2020-07-121-0/+1
| | | | Reported by Changochen.
* Fix debug.debug() for non-string errors.Mike Pall2020-06-071-1/+2
|
* Fix bytecode register allocation for comparisons.Mike Pall2020-05-221-2/+5
|
* FFI: Always fall back to metamethods for cdata length/concat.Mike Pall2020-05-084-14/+6
| | | | Thanks to Egor Skriptunoff.
* Fix overflow check in unpack().Mike Pall2020-04-281-2/+4
| | | | Thanks to HybridDog.
* Fix Windows make clean.Mike Pall2020-04-281-1/+1
|
* Fix write barrier for lua_setupvalue() and debug.setupvalue().Mike Pall2020-03-203-6/+12
|
* x86/x64: Fix loop realignment.Mike Pall2020-02-021-2/+3
|
* Documentation cleanup.Mike Pall2020-01-2614-1148/+64
|
* Fix POSIX install with missing or incompatible ldconfig.Mike Pall2020-01-251-2/+2
|
* Fix C file generation in jit.bcsave.Mike Pall2020-01-221-1/+1
| | | | Thanks to codicodi.
* Bump copyright date.Mike Pall2020-01-20177-195/+195
|
* Fix embedded bytecode loader.Mike Pall2020-01-133-1/+8
|