Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
Limit number of string format elements to compile. Reported by pwnhacker0x18. (cherry picked from commit 4fc48c50f) When compiling `string.format()` with a huge sequence of elements, it is possible that too many KGC IRs underflow the IR buffer. This patch limits the maximum number of `string.format()` elements to be compiled to 100. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#10199 Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>
5686 of 6026 branches covered (94.36%)
Branch coverage included in aggregate %.
2 of 2 new or added lines in 1 file covered. (100.0%)
10 existing lines in 3 files now uncovered.21676 of 23433 relevant lines covered (92.5%)
2953686.99 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.26 |
-0.05% | src/lj_record.c |
2 |
91.11 |
-0.32% | src/lj_alloc.c |
7 |
77.94 |
-0.71% | src/lj_opt_fold.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 10733088357.1 | 89 |
92.88 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
13.79 | src/lj_utils_leb128.c | 132 | 51 | 7 | 44 | 1847662.0 - 11 | 1 | 6 | |
61.83 | src/lj_clib.c | 431 | 101 | 65 | 36 | 4063.0 - 91 | 16 | 14 | |
77.8 | src/lj_api.c | 1369 | 860 | 665 | 195 | 919183.0 - 21 | 183 | 47 | |
77.92 | src/lj_wbuf.c | 141 | 66 | 49 | 17 | 646412.0 - 3 | 11 | 0 | |
77.94 | src/lj_opt_fold.c | 2542 | 977 | 746 - 7 | 231 + 7 | 803273.0 - 48533 | 247 - 2 | 50 + 2 | |
78.75 | src/lib_math.c | 224 | 72 | 56 | 16 | 20826.0 - 19 | 7 | 1 | |
84.03 | src/lj_ccall.c | 1183 | 172 | 145 | 27 | 31393.0 - 719 | 55 | 11 | |
84.21 | src/lj_load.c | 164 | 81 | 69 | 12 | 30924.0 + 1.0 | 11 | 3 | |
86.84 | src/lj_vmevent.c | 57 | 31 | 27 | 4 | 18763.0 - 3 | 6 | 1 | |
87.21 | src/lib_jit.c | 771 | 323 | 283 | 40 | 422.0 | 58 | 10 |