aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Always exit after machine code page protection change fails.Mike Pall2022-01-231-1/+2
| | | | Reported by Sergey Kaplun.
* Save trace recorder state around VM event call.Mike Pall2022-01-161-1/+5
| | | | Reported by Sergey Kaplun.
* Bump copyright date.Mike Pall2022-01-15146-147/+147
|
* Limit exponent range in number parsing.Mike Pall2022-01-131-1/+4
| | | | Reported by XmiliaH.
* Fix tonumber("-0") in dual-number mode.Mike Pall2022-01-131-2/+6
| | | | Reported by Sergey Kaplun.
* Limit work done in SINK pass.Mike Pall2022-01-131-4/+12
| | | | Reported by XmiliaH.
* Fix ABC FOLD rule with constants.Mike Pall2022-01-131-2/+3
| | | | Reported by XmiliaH.
* Prevent CSE of a REF_BASE operand across IR_RETF.Mike Pall2021-12-191-0/+11
| | | | Reported by XmiliaH.
* Fix FOLD rule for x-0.Mike Pall2021-12-171-2/+1
| | | | Reported by XmiliaH.
* MIPS: Fix register allocation in assembly of HREF.Mike Pall2021-10-021-3/+5
| | | | Reported by Jakub Piotr Cłapa.
* Fix stack allocation after on-trace stack check.Mike Pall2021-09-211-1/+5
|
* 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
|
* 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
|
* Detect inconsistent renames even in the presence of sunk values.Mike Pall2021-03-231-13/+12
| | | | Reported by Igor Munkin.
* Bump copyright date.Mike Pall2021-01-02146-147/+147
|
* 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-124-9/+9
|
* 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.
* 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.
* 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
|
* Fix C file generation in jit.bcsave.Mike Pall2020-01-221-1/+1
| | | | Thanks to codicodi.
* Bump copyright date.Mike Pall2020-01-20146-147/+147
|