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

tarantool / luajit / 6849066481
89%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/gh-4808-jslots-trace-ir-cdata-ctype
DEFAULT BRANCH: tarantool/master
Ran 13 Nov 2023 11:05AM UTC
Jobs 1
Files 89
Run time 8s
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

13 Nov 2023 10:57AM UTC coverage: 88.446% (-0.03%) from 88.476%
6849066481

push

github

Buristan
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 to uint32_t the operands to compare. 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

5361 of 5976 branches covered (0.0%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

11 existing lines in 3 files now uncovered.

20537 of 23305 relevant lines covered (88.12%)

2743885.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6849066481.1 13 Nov 2023 11:05AM UTC 0
88.45
GitHub Action Run
Source Files on build 6849066481
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #6849066481
  • 8d864453 on github
  • Prev Build on tarantool/master (#6848089359)
  • Next Build on skaplun/lj-794-abc-fold-constants (#6929314139)
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

© 2026 Coveralls, Inc