• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 6936091537 / 1
89%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: tarantool/archive/3.4
DEFAULT BRANCH: tarantool/master
Ran 20 Nov 2023 09:40PM UTC
Files 89
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Nov 2023 09:32PM UTC coverage: 88.592% (+0.06%) from 88.537%
6936091537.1

push

github

igormunkin
Fix ABC FOLD rule with constants.

Reported by XmiliaH.

(cherry-picked from commit c8bcf1e5f)

`fold_abc_k()` doesn't patch the first ABC check when the right constant
operand is negative. This leads to out-of-bounds access from the array
on a trace. This patch casts the operands to uint32_t for comparison. If
the right IR contains a negative integer, the second IR will always be
patched. Also, because the ABC check on the trace is unordered, this
guard will always fail.

Also, this fold rule creates new instructions that reference operands
across PHIs. This opens the room for other optimizations (like DCE), so
some guards become eliminated, and we use out-of-bounds access from the
array part of the table on trace. This patch adds the missing
`PHIBARRIER()` check.

Sergey Kaplun:
* added the description and the test for the problem

Part of tarantool/tarantool#9145

5377 of 5986 branches covered (0.0%)

Branch coverage included in aggregate %.

20615 of 23353 relevant lines covered (88.28%)

2747321.4 hits per line

Source Files on job 6936091537.1
  • Tree
  • List 89
  • Changed 84
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6936091537
  • 3a5de42b on github
  • Prev Job for on skaplun/lj-794-abc-fold-constants (#6936072890.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc