|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
Add stack check to pcall/xpcall. Analyzed by Peter Cawley. (cherry picked from commit a4c164043) The `pcall()` and `xpcall()` calls in GC64 mode require 2 slots. This means that all arguments should be moved up during emitting of the frame link to the stack. Hence, this may cause stack overflow without the corresponding check. This patch adds the corresponding checks to the VM. Non-GC64 VMs are updated as well for the consistency. Sergey Bronnikov: * added the description and the test for the problem Part of tarantool/tarantool#12134 Reviewed-by: Sergey Kaplun <skaplun@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>
5709 of 6049 branches covered (94.38%)
Branch coverage included in aggregate %.
21795 of 23525 relevant lines covered (92.65%)
3860373.56 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
99.18 |
-0.33% | src/lj_gc.c |
| 5 |
77.03 |
-0.39% | src/lj_opt_fold.c |
| 7 |
94.74 |
-4.78% | src/lj_str.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23141227996.1 | 89 |
93.0 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|