Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 13:03:06 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return 0 if no propagation happened. Return negative error code if error* happened. Otherwise, return the propagated bit.
Proto:static int propagate_liveness_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, struct bpf_reg_state *parent_reg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_verifier_env * | env | |
struct bpf_reg_state * | reg | |
struct bpf_reg_state * | parent_reg |
7361 | parent_flag = live & REG_LIVE_READ |
7362 | flag = live & REG_LIVE_READ |
7369 | If parent_flag == likewise, but full 64-bit content matters || Not flag || parent_flag == flag Then Return 0 |
7376 | err = Parentage chain of this register (or stack slot) should take care of all* issues like callee-saved registers, stack slot allocation time, etc. |
7380 | Return flag |
Name | Describe |
---|---|
propagate_liveness | A write screens off any subsequent reads; but write marks come from the* straight-line code between a state and its parent |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |