|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check. Thanks to Peter Cawley. (cherry picked from commit 658530562) The `lj_opt_fwd_wasnonnil()` skips the check for HREF and HREFK that may alias. Hence, the guard for the non-nil value may be skipped, and the `__newindex` metamethod call is omitted too. This patch adds the aforementioned check for different reference types (HREF vs. HREFK), which were not detected by the previous analysis. Also, the helper macro `irt_isp32()` is introduced to check that the IR type is `IRT_P32` (KSLOT type). Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#9924 Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 61cef9ec4)
5664 of 6021 branches covered (94.07%)
Branch coverage included in aggregate %.
1 of 1 new or added line in 1 file covered. (100.0%)
15 existing lines in 4 files now uncovered.21623 of 23431 relevant lines covered (92.28%)
2932711.3 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
87.27 |
-0.08% | src/lj_crecord.c |
| 2 |
77.24 |
-0.24% | src/lj_opt_fold.c |
| 2 |
91.96 |
-0.45% | src/luajit.c |
| 10 |
77.43 |
-1.01% | src/lj_api.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 9567448067.1 | 89 |
92.65 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|