Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
0058bee5 07/11/2025 05:47 AM Misaki Shioi

Fix heap-use-after-free in rb_getaddrinfo (#13856)

This change addresses the following ASAN error:

==1973462==ERROR: AddressSanitizer: heap-use-after-free on address 0x5110002117dc at pc 0x749c307c8a65 bp 0x7ffc3af331d0 sp 0x7ffc3af331c8
READ of size 4 at 0x5110002117dc thread T0...
a02dcbfd 07/11/2025 01:15 AM Luke Gruber

Remove accidentally committed method Module.gccct_clear_table

This was probably meant to be only for debugging. It was introduced in
the big namespace on read commit: 382645d440d

0e2bae82 07/11/2025 01:12 AM Takashi Kokubun

ZJIT: Print a message about ZJIT_RB_BUG when unused (#13852)

6c664580 07/10/2025 10:57 PM jhawthorn (John Hawthorn)

Fix rb_eSystemExit raised in Ractor

[Bug #21505]

Previously Ractor.new { exit }.join would hang because SystemExit was
special cased.

This commit updates this to take the same path as other exceptions,
which wraps the exception in a Ractor::RemoteError and does not end up...

470e11a4 07/10/2025 09:10 PM Max Bernstein

ZJIT: Mark Snapshot as having an output

Other instructions use it as an operand and #13814 especially needs it
to have an output for validation.

45be0e99 07/10/2025 09:10 PM Max Bernstein

ZJIT: Validate that each IR instruction appears at most once

b1828cbb 07/10/2025 08:40 PM Takashi Kokubun

ZJIT: Implement patch points on BOP redefinition (#13850)

Co-authored-by: Max Bernstein

214983bd 07/10/2025 07:11 PM Ken Jin

ZJIT: Add def-use validator via dataflow analysis (#13814)

This PR adds a validator based on dataflow analysis to ZJIT. It checks that all uses are dominated by a GEN-DEF prior.

See issue https://github.com/Shopify/ruby/issues/591

This is especially useful in validating optimizations don't zap away instructions that are actually needed, e.g. DCE....

9ab80a74 07/10/2025 07:08 PM Takashi Kokubun

ZJIT: Avoid optimizing locals on eval (#13840)

  • ZJIT: Avoid optimizing locals on eval

  • Maintain the local state for eval

9d41541b 07/10/2025 03:56 PM peterzhu2118 (Peter Zhu)

Fix unused variable warnings in default.c in modular GC

The asan and valgrind macros when BUILDING_MODULAR_GC don't use the variables
which could the compiler to emit unused variable warnings.

View all revisions | View revisions

Also available in: Atom